Zope tests summarizer | 1 Mar 02:00 2012
Picon

zope-tests - OK: 23

This is the summary for test reports received on the 
zope-tests list between 2012-02-28 00:00:00 UTC and 2012-02-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received
----------------

       ZTK 1.0 / Python2.4.6 Linux 64bit
       ZTK 1.0 / Python2.5.5 Linux 64bit
       ZTK 1.0 / Python2.6.7 Linux 64bit
       ZTK 1.0dev / Python2.4.6 Linux 64bit
       ZTK 1.0dev / Python2.5.5 Linux 64bit
       ZTK 1.0dev / Python2.6.7 Linux 64bit
       ZTK 1.1 / Python2.5.5 Linux 64bit
       ZTK 1.1 / Python2.6.7 Linux 64bit
       ZTK 1.1 / Python2.7.2 Linux 64bit
       Zope 3.4 KGS / Python2.4.6 64bit linux
       Zope 3.4 KGS / Python2.5.5 64bit linux
       Zope 3.4 Known Good Set / py2.4-32bit-linux
       Zope 3.4 Known Good Set / py2.4-64bit-linux
       Zope 3.4 Known Good Set / py2.5-32bit-linux
       Zope 3.4 Known Good Set / py2.5-64bit-linux
       Zope-2.10 Python-2.4.6 : Linux
       Zope-2.11 Python-2.4.6 : Linux
       Zope-2.12 Python-2.6.6 : Linux
(Continue reading)

Suresh V. | 1 Mar 04:20 2012
Picon

Re: ZODB Mountpoint broken?

On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/28/2012 09:56 PM, Suresh V. wrote:
>> ZODB Mountpoint distributed with Plone 4.1.2 always seems to create
>> OFS.Folder even if the container-class is specified.
>>
>> Also getting a "KeyError: item already present wih same id" due to
>> _setObject and _setOb both being called.
>
>
> Can you post the full traceback for that error?
>

In Products.ZODBMountPoint.MountedObject.py around line 373:

     # Add a faux object to avoid generating manage_afterAdd() events
     # while appeasing OFS.ObjectManager._setObject(), then discreetly
     # replace the faux object with a MountedObject.
     faux = Folder()
     faux.id = mo.id
     faux.meta_type = loaded.meta_type
     container._setObject(faux.id, faux)
     # DM 2005-05-17: we want to keep our decision about automatic
     #  mount point creation
     #del mo._create_mount_points
     container._setOb(faux.id, mo)
     setMountPoint(container, faux.id, mo)

(Continue reading)

Suresh V. | 1 Mar 05:11 2012
Picon

Re: ZODB Mountpoint broken?

On Wednesday 29 February 2012 07:31 PM, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/28/2012 09:56 PM, Suresh V. wrote:
>> ZODB Mountpoint distributed with Plone 4.1.2 always seems to create
>> OFS.Folder even if the container-class is specified.
>>
>> Also getting a "KeyError: item already present wih same id" due to
>> _setObject and _setOb both being called.
>
>
> Can you post the full traceback for that error?

2012-03-01 09:40:22 ERROR Zope.SiteErrorLog 1330575022.340.697799684491 
http://localhost:8080/Plone/AllContent/manage_addProduct/ZODBMountPoint/manage_addMounts
Traceback (innermost last):
   Module ZPublisher.Publish, line 126, in publish
   Module ZPublisher.mapply, line 77, in mapply
   Module ZPublisher.Publish, line 46, in call_object
   Module Products.ZODBMountPoint.MountedObject, line 387, in 
manage_addMounts
   Module plone.folder.ordered, line 63, in _setOb
   Module Products.BTreeFolder2.BTreeFolder2, line 244, in _setOb
KeyError: 'There is already an item named "plant".'

_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Continue reading)

Christian Theune | 1 Mar 12:19 2012

zc.async versus Zope 2 SIGTERM

Hi,

zc.async's shutdown mechanism doesn't really work with Zope 2's SIGTERM 
handling: in my case it causes the Async's threaded dispatcher to die in 
the middle of something:

Exception in thread Thread-1 (most likely raised during interpreter 
shutdown):
Traceback (most recent call last):
   File "/home/ctheune/local/lib/python2.6/threading.py", line 532, in 
__bootstrap_inner
   File "/home/ctheune/local/lib/python2.6/threading.py", line 484, in run
   File

"/home/ctheune/gocept/code/...deployment/eggs/zc.async-1.5.4-py2.6.egg/zc/async/subscribers.py", 
line 115, in start
   File

"/home/ctheune/gocept/code/...deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", 
line 1158, in run
   File

"/home/ctheune/gocept/code/...deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", 
line 1172, in mainLoop
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'msg'

This ends up in the worker not correctly unregistered and thus on next 
startup:

Exception in thread Thread-1 (most likely raised during interpreter 
(Continue reading)

Tres Seaver | 1 Mar 13:36 2012

Re: zope-tests - OK: 23


On 02/29/2012 08:00 PM, Zope tests summarizer wrote:
> This is the summary for test reports received on the zope-tests list
> between 2012-02-28 00:00:00 UTC and 2012-02-29 00:00:00 UTC:
> 
> See the footnotes for test reports of unsuccessful builds.
> 
> An up-to date view of the builders is also available in our buildbot
> documentation: 
> http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
>
>  Reports received ----------------
> 
> ZTK 1.0 / Python2.4.6 Linux 64bit ZTK 1.0 / Python2.5.5 Linux 64bit 
> ZTK 1.0 / Python2.6.7 Linux 64bit ZTK 1.0dev / Python2.4.6 Linux
> 64bit ZTK 1.0dev / Python2.5.5 Linux 64bit ZTK 1.0dev / Python2.6.7
> Linux 64bit ZTK 1.1 / Python2.5.5 Linux 64bit ZTK 1.1 / Python2.6.7
> Linux 64bit ZTK 1.1 / Python2.7.2 Linux 64bit Zope 3.4 KGS /
> Python2.4.6 64bit linux Zope 3.4 KGS / Python2.5.5 64bit linux Zope
> 3.4 Known Good Set / py2.4-32bit-linux Zope 3.4 Known Good Set /
> py2.4-64bit-linux Zope 3.4 Known Good Set / py2.5-32bit-linux Zope 3.4
> Known Good Set / py2.5-64bit-linux Zope-2.10 Python-2.4.6 : Linux 
> Zope-2.11 Python-2.4.6 : Linux Zope-2.12 Python-2.6.6 : Linux 
> Zope-2.12-alltests Python-2.6.6 : Linux Zope-2.13 Python-2.6.6 :
> Linux Zope-2.13-alltests Python-2.6.6 : Linux Zope-trunk Python-2.6.6
> : Linux Zope-trunk-alltests Python-2.6.6 : Linux

Hmm, has the winbot fallen over?

Tres.
(Continue reading)

Vincent Fretin | 1 Mar 13:42 2012
Picon

Re: zc.async versus Zope 2 SIGTERM

Hi,

Did you look how http://pypi.python.org/pypi/plone.app.async have done the integration with Zope2?

Vincent Fretin
Ecreall
Site : http://vincentfretin.ecreall.com


On Thu, Mar 1, 2012 at 12:19 PM, Christian Theune <ct <at> gocept.com> wrote:
Hi,

zc.async's shutdown mechanism doesn't really work with Zope 2's SIGTERM handling: in my case it causes the Async's threaded dispatcher to die in the middle of something:

Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
 File "/home/ctheune/local/lib/python2.6/threading.py", line 532, in __bootstrap_inner
 File "/home/ctheune/local/lib/python2.6/threading.py", line 484, in run
 File "/home/ctheune/gocept/code/...deployment/eggs/zc.async-1.5.4-py2.6.egg/zc/async/subscribers.py", line 115, in start
 File "/home/ctheune/gocept/code/...deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1158, in run
 File "/home/ctheune/gocept/code/...deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1172, in mainLoop
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'msg'

This ends up in the worker not correctly unregistered and thus on next startup:

Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
 File "/home/ctheune/local/lib/python2.6/threading.py", line 532, in __bootstrap_inner
 File "/home/ctheune/local/lib/python2.6/threading.py", line 484, in run
 File "/home/ctheune/gocept/code/webwork.deployment/eggs/zc.async-1.5.4-py2.6.egg/zc/async/subscribers.py", line 115, in start
 File "/home/ctheune/gocept/code/webwork.deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1158, in run
 File "/home/ctheune/gocept/code/webwork.deployment/eggs/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/internet/base.py", line 1172, in mainLoop
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'msg'

The funny thing is: although this instance didn't get to register it will then on regular shutdown:

2012-03-01 11:54:56 INFO zc.async.events deactivated dispatcher
8da98af0-5c95-11e1-a205-0024e8d50597
2012-03-01 11:54:56 INFO SignalHandler Caught signal SIGINT
2012-03-01 11:54:56 INFO Z2 Shutting down

The first issue (fast shutdown) you can avoid by simply not sending SIGTERM and switching to always use SIGINT. (For some reason zdaemon seems to do that by default when sending SIGTERM to the daemon manager.)

The second issue seems like a bad thing. Right?

Any comments?
Christian



--
Christian Theune · ct <at> gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting, development, hosting, operations

_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )

_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
Hanno Schlichting | 1 Mar 14:08 2012
Picon

Re: zope-tests - OK: 23

On Thu, Mar 1, 2012 at 1:36 PM, Tres Seaver <tseaver <at> palladion.com> wrote:
> Hmm, has the winbot fallen over?

Yep. Looks like the build slave hung up on Feb 28. Nothing interesting
in the logs, so I just restarted the master and slave.

One build finished successfully again, so this should work. There
might be a false report about "ztk_11 py_265_win64" failing in the
next report.

Hanno
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Hanno Schlichting | 1 Mar 14:13 2012
Picon

Re: zc.async versus Zope 2 SIGTERM

On Thu, Mar 1, 2012 at 1:42 PM, Vincent Fretin <vincent.fretin <at> gmail.com> wrote:
> Did you look how http://pypi.python.org/pypi/plone.app.async have done the
> integration with Zope2?

IIRC we (Jarn) ran into the same problem when running p.a.async. Our
"solution" was to switch to using SIGINT for process shutdown. We used
supervisor, so for each Zope process section we added stopsignal=INT

But on unexpected process or server restarts, we still had stuck
workers once in a while. We never had the time to investigate, so just
handled those manually.

Hanno
_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Zope tests summarizer | 2 Mar 02:00 2012
Picon

zope-tests - OK: 51, UNKNOWN: 2

This is the summary for test reports received on the 
zope-tests list between 2012-02-29 00:00:00 UTC and 2012-03-01 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received
----------------

[1]    UNKNOWN : winbot / ztk_11 py_265_win64
[2]    UNKNOWN : winbot / ztk_11 py_265_win64
       ZTK 1.0 / Python2.4.6 Linux 64bit
       ZTK 1.0 / Python2.5.5 Linux 64bit
       ZTK 1.0 / Python2.6.7 Linux 64bit
       ZTK 1.0dev / Python2.4.6 Linux 64bit
       ZTK 1.0dev / Python2.5.5 Linux 64bit
       ZTK 1.0dev / Python2.6.7 Linux 64bit
       ZTK 1.1 / Python2.5.5 Linux 64bit
       ZTK 1.1 / Python2.6.7 Linux 64bit
       ZTK 1.1 / Python2.7.2 Linux 64bit
       Zope 3.4 KGS / Python2.4.6 64bit linux
       Zope 3.4 KGS / Python2.5.5 64bit linux
       Zope 3.4 Known Good Set / py2.4-32bit-linux
       Zope 3.4 Known Good Set / py2.4-64bit-linux
       Zope 3.4 Known Good Set / py2.5-32bit-linux
       Zope 3.4 Known Good Set / py2.5-64bit-linux
       Zope-2.10 Python-2.4.6 : Linux
       Zope-2.11 Python-2.4.6 : Linux
       Zope-2.12 Python-2.6.6 : Linux
       Zope-2.12-alltests Python-2.6.6 : Linux
       Zope-2.13 Python-2.6.6 : Linux
       Zope-2.13-alltests Python-2.6.6 : Linux
       Zope-trunk Python-2.6.6 : Linux
       Zope-trunk-alltests Python-2.6.6 : Linux
       winbot / ZODB_dev py_265_win32
       winbot / ZODB_dev py_265_win32
       winbot / ZODB_dev py_265_win64
       winbot / ZODB_dev py_265_win64
       winbot / ZODB_dev py_270_win32
       winbot / ZODB_dev py_270_win64
       winbot / ztk_10 py_254_win32
       winbot / ztk_10 py_254_win32
       winbot / ztk_10 py_265_win32
       winbot / ztk_10 py_265_win32
       winbot / ztk_10 py_265_win64
       winbot / ztk_10 py_265_win64
       winbot / ztk_11 py_254_win32
       winbot / ztk_11 py_254_win32
       winbot / ztk_11 py_265_win32
       winbot / ztk_11 py_265_win32
       winbot / ztk_11 py_270_win32
       winbot / ztk_11 py_270_win32
       winbot / ztk_11 py_270_win64
       winbot / ztk_11 py_270_win64
       winbot / ztk_dev py_265_win32
       winbot / ztk_dev py_265_win32
       winbot / ztk_dev py_265_win64
       winbot / ztk_dev py_265_win64
       winbot / ztk_dev py_270_win32
       winbot / ztk_dev py_270_win32
       winbot / ztk_dev py_270_win64
       winbot / ztk_dev py_270_win64

Non-OK results
--------------

[1]    UNKNOWN UNKNOWN : winbot / ztk_11 py_265_win64
       https://mail.zope.org/pipermail/zope-tests/2012-March/058792.html

[2]    UNKNOWN UNKNOWN : winbot / ztk_11 py_265_win64
       https://mail.zope.org/pipermail/zope-tests/2012-March/058767.html

_______________________________________________
Zope-Dev maillist  -  Zope-Dev <at> zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Tres Seaver | 2 Mar 03:32 2012

Re: zope-tests - OK: 51, UNKNOWN: 2


> [1]    UNKNOWN UNKNOWN : winbot / ztk_11 py_265_win64 
> https://mail.zope.org/pipermail/zope-tests/2012-March/058792.html
> 
> 
> [2]    UNKNOWN UNKNOWN : winbot / ztk_11 py_265_win64 
> https://mail.zope.org/pipermail/zope-tests/2012-March/058767.html

Both "file already open" WindowsErrors in the 'svn checkout' step.

Tres.
--

-- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver <at> palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com

Gmane