[Zope 2.12.0a2]Acquisition+ExtensionClass failures with Python 2.6.2/Linux
Hi, I am working on the 2.12.0a2 release. I get test failures on my Linux box (OpenSuse 10.3/64 bit, fresh Python 2.6.2 installation): ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py", line 1732, in Acquisition.tests.test_proxying Failed example: list(i.c) Exception raised: Traceback (most recent call last): File "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest Acquisition.tests.test_proxying[11]>", line 1, in <module> list(i.c) MemoryError ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py", line 1781, in Acquisition.tests.test_proxying Failed example: list(i.c) Exception raised: Traceback (most recent call last): File "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest Acquisition.tests.test_proxying[23]>", line 1, in <module> list(i.c) MemoryError ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 419, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 0)) == x Expected: 1 Got: False ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 421, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 1)) == x Expected: 1 Got: False ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 423, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 2)) == x Expected: 1 Got: False However I have no failures on MacOSX. WTF? Andreas
In addition, some of the Acquistion test fail when trying to test the package alone: ajung@blackmoon:/develop/repository/svn.zope.org/Acquisition/tags/2.11.1> bin/test -vvvvvv Running tests at level 1 Running zope.testing.testrunner.layer.UnitTests tests: Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Running: tests (Acquisition) (0.008 s) old_tests (Acquisition.tests) (0.003 s) Failure in test old_tests (Acquisition.tests) Failed doctest test for Acquisition.tests.old_tests File "/home/develop/repository/ svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1204, in old_tests ---------------------------------------------------------------------- File "/home/develop/repository/ svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1238, in Acquisition.tests.old_tests Failed example: b.c.d == c Expected: 1 Got: False ---------------------------------------------------------------------- File "/home/develop/repository/ svn.zope.org/Acquisition/tags/2.11.1/src/Acquisition/tests.py", line 1242, in Acquisition.tests.old_tests Failed example: b.c == c Expected: 1 Got: False Can anyone reproduce this? Andreas On Fri, Apr 17, 2009 at 16:43, Andreas Jung <lists@zopyx.com> wrote:
Hi,
I am working on the 2.12.0a2 release. I get test failures on my Linux box (OpenSuse 10.3/64 bit, fresh Python 2.6.2 installation):
---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py", line 1732, in Acquisition.tests.test_proxying Failed example: list(i.c) Exception raised: Traceback (most recent call last): File "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest Acquisition.tests.test_proxying[11]>", line 1, in <module> list(i.c) MemoryError ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/Acquisition-2.12.1-py2.6-linux-x86_64.egg/Acquisition/tests.py", line 1781, in Acquisition.tests.test_proxying Failed example: list(i.c) Exception raised: Traceback (most recent call last): File "/home/ajung/.buildout/eggs/zope.testing-3.7.1-py2.6.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest Acquisition.tests.test_proxying[23]>", line 1, in <module> list(i.c) MemoryError
---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 419, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 0)) == x Expected: 1 Got: False ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 421, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 1)) == x Expected: 1 Got: False ---------------------------------------------------------------------- File "/home/ajung/.buildout/eggs/ExtensionClass-2.11.1-py2.6-linux-x86_64.egg/ExtensionClass/tests.py", line 423, in ExtensionClass.tests.test_pickling_w_slots_w_empty_dict Failed example: pickle.loads(pickle.dumps(x, 2)) == x Expected: 1 Got: False
However I have no failures on MacOSX.
WTF?
Andreas
Andreas Jung wrote:
In addition, some of the Acquistion test fail when trying to test the package alone:
$ svn co svn+ssh://chrisw@svn.zope.org/repos/main/Acquisition/tags/2.12.1 Acquisition $ python2.5 bootstrap/bootstrap.py $ bin/buildout $ bin/test Running zope.testing.testrunner.layer.UnitTests tests: Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Ran 97 tests with 0 failures and 0 errors in 0.267 seconds. $ python2.6 bootstrap/bootstrap.py $ bin/buildout $ bin/test Running zope.testing.testrunner.layer.UnitTests tests: Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Ran 97 tests with 0 failures and 0 errors in 0.229 seconds. Tearing down left over layers: Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds. Maybe it's a 64-bit thing? The above machine is 32 bit... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Andreas Jung wrote:
In addition, some of the Acquistion test fail when trying to test the package alone: [...] Can anyone reproduce this?
no, i don't see any failures with neither 2.11.1 nor 2.12.1 on a debian box (32-bit, though). andi -- zeidler it consulting - http://zitc.de/ - info@zitc.de friedelstraße 31 - 12047 berlin - telefon +49 30 25563779 pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/ plone 3.2.2 released! -- http://plone.org/products/plone/
Andreas Jung wrote:
I am working on the 2.12.0a2 release. I get test failures on my Linux box (OpenSuse 10.3/64 bit, fresh Python 2.6.2 installation):
64bit problem maybe? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Andreas Jung -
Andreas Zeidler -
Chris Withers