[Distutils] [zc.buildout] test failures on trunk
Chris Withers
chris at simplistix.co.uk
Wed Aug 13 11:05:01 CEST 2008
Jim Fulton wrote:
>> $ bin/test
>> Running zope.testing.testrunner.layer.UnitTests tests:
>> Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
>> zip_safe flag not set; analyzing archive contents...
>> zip_safe flag not set; analyzing archive contents...
>> zip_safe flag not set; analyzing archive contents...
>> zip_safe flag not set; analyzing archive contents...
>> zip_safe flag not set; analyzing archive contents...
>> zip_safe flag not set; analyzing archive contents...
Is the above output normal?
>> Failure in test test_bootstrap_py (zc.buildout.tests)
>> Failed doctest test for zc.buildout.tests.test_bootstrap_py
>> File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 581, in
>> test_bootstrap_py
>>
>> ----------------------------------------------------------------------
>> File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 592, in
>> zc.buildout.tests.test_bootstrap_py
>> Failed example:
>> print system(zc.buildout.easy_install._safe_arg(sys.executable)+' '+
>> 'bootstrap.py'), # doctest: +ELLIPSIS
>> Expected:
>> Downloading ...
>> Generated script '/sample/bin/buildout'.
>> Got:
>> Creating directory '/sample/bin'.
>> Creating directory '/sample/parts'.
>> Creating directory '/sample/eggs'.
>> Creating directory '/sample/develop-eggs'.
>> Generated script '/sample/bin/buildout'.
>> ----------------------------------------------------------------------
>> File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 609, in
>> zc.buildout.tests.test_bootstrap_py
>> Failed example:
>> ls(sample_buildout, 'eggs')
>> Expected:
>> - setuptools.eggpyN.N.egg
>> d zc.buildout.eggpyN.N.egg
>> Got:
>> d setuptools.eggpyN.N.egg
>> d zc.buildout.eggpyN.N.egg
>>
>> zip_safe flag not set; analyzing archive contents...
>> Ran 353 tests with 1 failures and 0 errors in 4 minutes 22.881 seconds.
>> Tearing down left over layers:
>> Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
>
> I'm not seeing any failures on Linux or Windows.
Well, this is on a fresh trunk checkout at r89787.
What version of python did you test with? I was using 2.4.5...
Other than that, I'm stumped, any ideas on the cause welcome...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Distutils-SIG
mailing list