buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7559 Blamelist: flox,jinty,shh BUILD FAILED: failed test sincerely, -The Buildbot
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 buildbot@zope.com wrote:
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes Build Source Stamp: 7559 Blamelist: flox,jinty,shh
BUILD FAILED: failed test
sincerely, -The Buildbot
This set of failures appears to be due to the layer extraction tests Whit added, and Stefan modified: Traceback (most recent call last): File "test.py", line 112, in ? sys.exit(testrunner.run(defaults)) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 245, in run failed = run_with_options(options) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 395, in run_with_options setup_layers, failures, errors) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 566, in run_layer setup_layer(layer, setup_layers) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 650, in setup_layer layer.setUp() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/Testing/ZopeTestCase/zopedoctest/testLayerExtraction.py", line 38, in setUp transaction.commit() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/transaction/_manager.py", line 96, in commit return self.get().commit(sub, deprecation_wng=False) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/transaction/_transaction.py", line 395, in commit self._commitResources() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/transaction/_transaction.py", line 495, in _commitResources rm.commit(self) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/ZODB/Connection.py", line 484, in commit self._commit(transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/ZODB/Connection.py", line 526, in _commit self._store_objects(ObjectWriter(obj), transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope---trunk--2.4/build/lib/python/ZODB/Connection.py", line 560, in _store_objects self._cache[oid] = obj ValueError: Cache values may only be in one cache. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAa/T+gerLs4ltQ4RAmNSAJ9jP/0CvSMwDD8qv6K17I7E7SIZewCfflyB Q7D7/IIYrVxeXElKTMzNIyw= =xwBs -----END PGP SIGNATURE-----
/me scratches head. I only see the error when I use the bot's command line, a "normal" test run works fine. $ python2.4 test.py -q --all Running unit tests: The following test left new threads behind: testABOR (zope.server.ftp.tests.test_ftpserver.Tests) New thread(s): [<_DummyThread(Dummy-36, started daemon)>] Ran 5869 tests with 0 failures and 0 errors in 223.199 seconds. Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests: Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds. Ran 2 tests with 0 failures and 0 errors in 0.087 seconds. Tearing down left over layers: Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds. Total: 5871 tests, 0 failures, 0 errors Stefan On 8. Sep 2006, at 20:00, Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
buildbot@zope.com wrote:
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes Build Source Stamp: 7559 Blamelist: flox,jinty,shh
BUILD FAILED: failed test
sincerely, -The Buildbot
This set of failures appears to be due to the layer extraction tests Whit added, and Stefan modified:
Traceback (most recent call last): File "test.py", line 112, in ? sys.exit(testrunner.run(defaults)) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 245, in run failed = run_with_options(options) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 395, in run_with_options setup_layers, failures, errors) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 566, in run_layer setup_layer(layer, setup_layers) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 650, in setup_layer layer.setUp() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/Testing/ZopeTestCase/zopedoctest/ testLayerExtraction.py", line 38, in setUp transaction.commit() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_manager.py", line 96, in commit return self.get().commit(sub, deprecation_wng=False) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_transaction.py", line 395, in commit self._commitResources() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_transaction.py", line 495, in _commitResources rm.commit(self) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 484, in commit self._commit(transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 526, in _commit self._store_objects(ObjectWriter(obj), transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 560, in _store_objects self._cache[oid] = obj ValueError: Cache values may only be in one cache.
-- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams
So it looks like I have identified the bad test. It is ZODB.tests.testZODB.checkResetCachesAPI. When I suppress that test all goes well: $ python2.4 test.py -q -m '!^(ZEO|zope[.]app[.])' -t '! checkResetCachesAPI' --all Running unit tests: The following test left new threads behind: testABOR (zope.server.ftp.tests.test_ftpserver.Tests) New thread(s): [<_DummyThread(Dummy-117, started daemon)>] Ran 7970 tests with 0 failures and 0 errors in 492.328 seconds. Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests: Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds. Ran 2 tests with 0 failures and 0 errors in 0.022 seconds. Tearing down left over layers: Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds. Total: 7972 tests, 0 failures, 0 errors Stefan On 8. Sep 2006, at 22:44, Stefan H. Holek wrote:
/me scratches head. I only see the error when I use the bot's command line, a "normal" test run works fine.
$ python2.4 test.py -q --all Running unit tests: The following test left new threads behind: testABOR (zope.server.ftp.tests.test_ftpserver.Tests) New thread(s): [<_DummyThread(Dummy-36, started daemon)>] Ran 5869 tests with 0 failures and 0 errors in 223.199 seconds. Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests: Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds. Ran 2 tests with 0 failures and 0 errors in 0.087 seconds. Tearing down left over layers: Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.004 seconds. Total: 5871 tests, 0 failures, 0 errors
Stefan
On 8. Sep 2006, at 20:00, Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
buildbot@zope.com wrote:
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes Build Source Stamp: 7559 Blamelist: flox,jinty,shh
BUILD FAILED: failed test
sincerely, -The Buildbot
This set of failures appears to be due to the layer extraction tests Whit added, and Stefan modified:
Traceback (most recent call last): File "test.py", line 112, in ? sys.exit(testrunner.run(defaults)) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 245, in run failed = run_with_options(options) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 395, in run_with_options setup_layers, failures, errors) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 566, in run_layer setup_layer(layer, setup_layers) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/zope/testing/testrunner.py", line 650, in setup_layer layer.setUp() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/Testing/ZopeTestCase/zopedoctest/ testLayerExtraction.py", line 38, in setUp transaction.commit() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_manager.py", line 96, in commit return self.get().commit(sub, deprecation_wng=False) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_transaction.py", line 395, in commit self._commitResources() File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/transaction/_transaction.py", line 495, in _commitResources rm.commit(self) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 484, in commit self._commit(transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 526, in _commit self._store_objects(ObjectWriter(obj), transaction) File "/home/buildbot/slave-zope.org/zc-buildbot--Linux--Zope--- trunk--2.4/build/lib/python/ZODB/Connection.py", line 560, in _store_objects self._cache[oid] = obj ValueError: Cache values may only be in one cache.
-- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams
Stefan H. Holek wrote at 2006-9-10 17:14 +0200:
So it looks like I have identified the bad test. It is ZODB.tests.testZODB.checkResetCachesAPI. When I suppress that test all goes well:
Maybe the failure of this test explains why "Refresh" no longer works? -- Dieter
participants (4)
-
buildbot@zope.com -
Dieter Maurer -
Stefan H. Holek -
Tres Seaver