[Zope3-dev] Zope3 tarball build/test run log

Brian Sutherland jinty at web.de
Mon Jan 2 09:19:58 EST 2006


On Mon, Jan 02, 2006 at 02:30:07PM +0100, Zope 3 tarball build/test script wrote:
> Traceback (most recent call last):
>   File "/home/jinty/releases/release-assistent.py", line 260, in ?
>     main(sys.argv)
>   File "/home/jinty/releases/release-assistent.py", line 257, in main
>     builder.run()
>   File "/home/jinty/releases/release-assistent.py", line 169, in run
>     self.buildReleases()
>   File "/home/jinty/releases/release-assistent.py", line 177, in buildReleases
>     self.buildRelease()
>   File "/home/jinty/releases/release-assistent.py", line 226, in buildRelease
>     self.runner.runMany(self.release['test_command'])
>   File "/home/jinty/releases/release-assistent.py", line 157, in runMany
>     self.run(cmd)
>   File "/home/jinty/releases/release-assistent.py", line 152, in run
>     raise CommandException('%s failed!' % cmd)
> __main__.CommandException: cd tst && bin/zopetest failed!

Apparently zopetest prints nothing out on STDERR when tests fail, here
is the interesting part of the log:

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


> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/jinty%40web.de
> 
> 

-- 
Brian Sutherland

Metropolis - "it's the first movie with a robot. And she's a woman.
              And she's EVIL!!"


More information about the Zope3-dev mailing list