[Zope-dev] Zope Tests: 80 OK, 13 Failed

Tres Seaver tseaver at palladion.com
Wed Oct 27 10:56:06 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/27/2010 07:58 AM, Zope Tests Summarizer wrote:

> Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 11:22:55 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022341.html
> 
> Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 11:26:34 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022344.html
> 
> Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 11:29:27 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022346.html
> 
> Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 11:32:46 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022348.html
> 
> Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 14:42:34 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022352.html
> 
> Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 14:46:01 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022354.html
> 
> Subject: FAILED : Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 15:11:25 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022362.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 15:14:31 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022364.html
> 
> Subject: FAILED : Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 15:14:51 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022365.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Tue Oct 26 15:46:45 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022378.html
> 
> Subject: FAILED : winbot / ZODB_dev py_254_win32
> From: buildbot at winbot.zope.org
> Date: Tue Oct 26 19:21:31 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022397.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Wed Oct 27 04:49:22 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022426.html
> 
> Subject: FAILED : Zope Buildbot / zopetoolkit-py2.7 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Wed Oct 27 04:49:43 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/022427.html

Our failures now seem to be all on Python 2.7 (progress, of a sort).
Many of them fail due to the following attempt to use a proxy as the
target of a weakref:

- ----------------------------- %< -----------------------------
File
"/home/zope/.buildout/eggs/zope.security-3.7.4-py2.7-linux-i686.egg/zope/security/tests/test_standard_checkers.py",
line 509, in zope.security.tests.test_standard_checkers.test_ABCMeta
Failed example:
    issubclass(PBar, Foo)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest
zope.security.tests.test_standard_checkers.test_ABCMeta[6]>", line 1, in
<module>
        issubclass(PBar, Foo)
      File "/usr/lib/python2.7/abc.py", line 151, in __subclasscheck__
        if subclass in cls._abc_cache:
      File "/usr/lib/python2.7/_weakrefset.py", line 69, in __contains__
        return ref(item) in self.data
    TypeError: cannot create weak reference to
'zope.security._proxy._Proxy' object

  Ran 124 tests with 1 failures and 0 errors in 0.433 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
- ----------------------------- %< -----------------------------

Observations:

- - Proxies can't be weakref targets under either Python 2.6 or 2.7.

- - Under Python 2.7, the ABCMeta._abc_cache involved in the traceback
  is being morphed from a normal set (per the __new__ of the metaclass)
  to a _weakrefset.WeakSet.  Such sets cannot hold non-weakref-target
  objects.



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzIPYYACgkQ+gerLs4ltQ7xRQCdElwVAL+fWGyIYffbyJ2Ho+fx
abIAoM9H8wMAmaCQnUDBwSRpbQc5rRqN
=BRn1
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list