On Thu, Mar 09, 2006 at 08:52:28PM +0100, Brian Sutherland wrote:
> Hi,
> 
> I just started building the zope trunk tarball every night again, here is
> a failure I don't have time to debug right now.

Never mind, I got it, but now am completely stumped by this failure. It
seems to occur when running bin/zopetest from an instance, but not when
testing a checkout.

INFO: ========= running: cd tst && bin/zopetest =========
ERROR: Running unit tests:
ERROR:
ERROR:
ERROR: Failure in test 
/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt
ERROR: Failed doctest test for testrunner-coverage.txt
ERROR: File 
"/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt",
 line 0
ERROR:
ERROR: ----------------------------------------------------------------------
ERROR: File 
"/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt",
 line 20, in testrunner-coverage.txt
ERROR: Failed example:
ERROR: testrunner.run(defaults)
ERROR: Expected:
ERROR: Running unit tests:
ERROR: Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer1 tests:
ERROR: Set up samplelayers.Layer1 in N.NNN seconds.
ERROR: Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer11 tests:
ERROR: Set up samplelayers.Layer11 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer111 tests:
ERROR: Set up samplelayers.Layerx in N.NNN seconds.
ERROR: Set up samplelayers.Layer111 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer112 tests:
ERROR: Tear down samplelayers.Layer111 in N.NNN seconds.
ERROR: Set up samplelayers.Layer112 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer12 tests:
ERROR: Tear down samplelayers.Layer112 in N.NNN seconds.
ERROR: Tear down samplelayers.Layerx in N.NNN seconds.
ERROR: Tear down samplelayers.Layer11 in N.NNN seconds.
ERROR: Set up samplelayers.Layer12 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer121 tests:
ERROR: Set up samplelayers.Layer121 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer122 tests:
ERROR: Tear down samplelayers.Layer121 in N.NNN seconds.
ERROR: Set up samplelayers.Layer122 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Tearing down left over layers:
ERROR: Tear down samplelayers.Layer122 in N.NNN seconds.
ERROR: Tear down samplelayers.Layer12 in N.NNN seconds.
ERROR: Tear down samplelayers.Layer1 in N.NNN seconds.
ERROR: Total: 405 tests, 0 failures, 0 errors
ERROR: lines   cov%   module   (path)
ERROR: testrunner-ex/sample1/sample11/sampletests.py)
ERROR: testrunner-ex/sample1/sample13/sampletests.py)
ERROR: testrunner-ex/sample1/sampletests/test1.py)
ERROR: testrunner-ex/sample1/sampletests/test11.py)
ERROR: testrunner-ex/sample1/sampletests/test111.py)
ERROR: testrunner-ex/sample1/sampletests/test112.py)
ERROR: testrunner-ex/sample1/sampletests/test12.py)
ERROR: testrunner-ex/sample1/sampletests/test121.py)
ERROR: testrunner-ex/sample1/sampletests/test122.py)
ERROR: testrunner-ex/sample1/sampletests/test_one.py)
ERROR: testrunner-ex/sample1/sampletestsf.py)
ERROR: testrunner-ex/sample2/sample21/sampletests.py)
ERROR: testrunner-ex/sample2/sampletests/test_1.py)
ERROR: testrunner-ex/sample2/sampletests/testone.py)
ERROR: testrunner-ex/sample3/sampletests.py)
ERROR: testrunner-ex/samplelayers.py)
ERROR: testrunner-ex/sampletests/test1.py)
ERROR: testrunner-ex/sampletests/test11.py)
ERROR: testrunner-ex/sampletests/test111.py)
ERROR: testrunner-ex/sampletests/test112.py)
ERROR: testrunner-ex/sampletests/test12.py)
ERROR: testrunner-ex/sampletests/test121.py)
ERROR: testrunner-ex/sampletests/test122.py)
ERROR: testrunner-ex/sampletests/test_one.py)
ERROR: testrunner-ex/sampletestsf.py)
ERROR: False
ERROR: Got:
ERROR: Running unit tests:
ERROR: Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer1 tests:
ERROR: Set up samplelayers.Layer1 in N.NNN seconds.
ERROR: Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer11 tests:
ERROR: Set up samplelayers.Layer11 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer111 tests:
ERROR: Set up samplelayers.Layerx in N.NNN seconds.
ERROR: Set up samplelayers.Layer111 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer112 tests:
ERROR: Tear down samplelayers.Layer111 in N.NNN seconds.
ERROR: Set up samplelayers.Layer112 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer12 tests:
ERROR: Tear down samplelayers.Layer112 in N.NNN seconds.
ERROR: Tear down samplelayers.Layerx in N.NNN seconds.
ERROR: Tear down samplelayers.Layer11 in N.NNN seconds.
ERROR: Set up samplelayers.Layer12 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer121 tests:
ERROR: Set up samplelayers.Layer121 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Running samplelayers.Layer122 tests:
ERROR: Tear down samplelayers.Layer121 in N.NNN seconds.
ERROR: Set up samplelayers.Layer122 in N.NNN seconds.
ERROR: Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
ERROR: Tearing down left over layers:
ERROR: Tear down samplelayers.Layer122 in N.NNN seconds.
ERROR: Tear down samplelayers.Layer12 in N.NNN seconds.
ERROR: Tear down samplelayers.Layer1 in N.NNN seconds.
ERROR: Total: 405 tests, 0 failures, 0 errors
ERROR: False
ERROR: ----------------------------------------------------------------------
ERROR: File 
"/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt",
 line 86, in testrunner-coverage.txt
ERROR: Failed example:
ERROR: os.path.exists('coverage_dir')
ERROR: Expected:
ERROR: True
ERROR: Got:
ERROR: False
ERROR: ----------------------------------------------------------------------
ERROR: File 
"/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt",
 line 88, in testrunner-coverage.txt
ERROR: Failed example:
ERROR: os.listdir('coverage_dir')
ERROR: Exception raised:
ERROR: Traceback (most recent call last):
ERROR: File 
"/home/jinty/releases/Zope3/z/../tst/lib/python/zope/testing/doctest.py", line 
1256, in __run
ERROR: compileflags, 1) in test.globs
ERROR: File "<doctest testrunner-coverage.txt[7]>", line 1, in ?
ERROR: OSError: [Errno 2] No such file or directory: 'coverage_dir'
ERROR: ----------------------------------------------------------------------
ERROR: File 
"/home/jinty/releases/Zope3/tst/lib/python/zope/testing/testrunner-coverage.txt",
 line 94, in testrunner-coverage.txt
ERROR: Failed example:
ERROR: shutil.rmtree('coverage_dir')
ERROR: Exception raised:
ERROR: Traceback (most recent call last):
ERROR: File 
"/home/jinty/releases/Zope3/z/../tst/lib/python/zope/testing/doctest.py", line 
1256, in __run
ERROR: compileflags, 1) in test.globs
ERROR: File "<doctest testrunner-coverage.txt[9]>", line 1, in ?
ERROR: File "/usr/lib/python2.4/shutil.py", line 151, in rmtree
ERROR: onerror(os.listdir, path, sys.exc_info())
ERROR: File "/usr/lib/python2.4/shutil.py", line 149, in rmtree
ERROR: names = os.listdir(path)
ERROR: OSError: [Errno 2] No such file or directory: 'coverage_dir'
ERROR:
ERROR: Ran 7626 tests with 1 failures and 0 errors in 496.041 seconds.
ERROR: Running zope.app.testing.functional.Functional tests:
ERROR: Set up zope.app.testing.functional.Functional in 8.001 seconds.
ERROR: Ran 461 tests with 0 failures and 0 errors in 124.976 seconds.
ERROR: Tearing down left over layers:
ERROR: Tear down zope.app.testing.functional.Functional ... not supported
ERROR: Total: 8087 tests, 1 failures, 0 errors

-- 
Brian Sutherland

Metropolis - "it's the first movie with a robot. And she's a woman.
              And she's EVIL!!"
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to