[zc.buildout] test failures on trunk
Hi All, I saw lots of failures on Windows, but I guess that's 'cos I need to have a C-compiler, right? Anyway, even on Linux there were still these failures with python 2.4.5: $ 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... 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. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Aug 12, 2008, at 4:20 PM, Chris Withers wrote:
Hi All,
I saw lots of failures on Windows, but I guess that's 'cos I need to have a C-compiler, right?
Yup.
Anyway, even on Linux there were still these failures with python 2.4.5:
$ 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...
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. Jim -- Jim Fulton Zope Corporation
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
Chris Withers wrote:
I saw lots of failures on Windows, but I guess that's 'cos I need to have a C-compiler, right?
This can be fixed easily: http://philikon.wordpress.com/2008/08/07/cheap-binary-windows-eggs/
participants (3)
-
Chris Withers -
Jim Fulton -
Philipp von Weitershausen