[Zope-dev] zope-tests - FAILED: 41, OK: 2
Marius Gedminas
marius at gedmin.as
Fri Dec 16 08:35:17 CET 2016
On Fri, Dec 16, 2016 at 01:00:02AM +0100, Zope tests summarizer wrote:
> [1] winbot / ZODB_dev py_330_win32
> [2] winbot / ZODB_dev py_330_win64
Both failed with
distutils.errors.DistutilsExecError: command '"C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' failed with exit
status -1073740777
while running setup.py develop.
Google suggests that -1073740777 (or 0xc0000417) is the Microsoft
equivalent of EINVAL.
> [3] winbot / ZODB_dev py_340_win32
> [4] winbot / ZODB_dev py_340_win64
Both failed with
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2:
invalid start byte
in pkg_resources while zc.recipe.egg was trying to install scripts.
> [5] winbot / persistent_py_270_win64
Something to do with 64-bitness?
Failure in test test_hash_equal (persistent.tests.test_timestamp.PyAndCComparisonTests)
Traceback (most recent call last):
File "c:\Python27_64\lib\unittest\case.py", line 329, in run
testMethod()
File "c:\buildslave\persistent_py_270_win64\build\persistent\tests\test_timestamp.py", line 266, in test_hash_equal
self.assertEqual(hash(c), hash(py))
File "c:\Python27_64\lib\unittest\case.py", line 513, in assertEqual
assertion_func(first, second, msg=msg)
File "c:\Python27_64\lib\unittest\case.py", line 506, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: -1419374591 != 1979033151
Failure in test test_hash_equal_constants (persistent.tests.test_timestamp.PyAndCComparisonTests)
Traceback (most recent call last):
File "c:\Python27_64\lib\unittest\case.py", line 329, in run
testMethod()
File "c:\buildslave\persistent_py_270_win64\build\persistent\tests\test_timestamp.py", line 334, in test_hash_equal_constants
self.assertEqual(c.__hash__(), 1000006000001)
File "c:\Python27_64\lib\unittest\case.py", line 513, in assertEqual
assertion_func(first, second, msg=msg)
File "c:\Python27_64\lib\unittest\case.py", line 506, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: -721379967 != 1000006000001L
These also show up on Appveyor.
I filed https://github.com/zopefoundation/persistent/issues/51 about
this test failure a while ago. I don't feel competent enough to fix it.
> [6] winbot / z3c.contents_py_270_win32
> [7] winbot / z3c.contents_py_270_win64
> [8] winbot / z3c.formui_py_270_win32
> [9] winbot / z3c.formui_py_270_win64
> [12] winbot / z3c.layer.ready2go_py_270_win32
> [13] winbot / z3c.layer.ready2go_py_270_win64
> [14] winbot / z3c.pagelet_py_270_win32
> [15] winbot / z3c.pagelet_py_270_win64
All of the above fail to build lxml with
src\lxml\includes\etree_defs.h(14) : fatal error C1083: Cannot open include file: 'libxml/xmlversion.h': No such file or directory
> [10] winbot / z3c.jsonrpc_py_270_win32
> [11] winbot / z3c.jsonrpc_py_270_win64
> [18] winbot / z3c.testing_py_270_win32
> [19] winbot / z3c.testing_py_270_win64
> [20] winbot / zc.catalog_py_270_win32
> [21] winbot / zc.catalog_py_270_win64
> [22] winbot / zc.resourcelibrary_py_270_win32
> [23] winbot / zc.resourcelibrary_py_270_win64
> [24] winbot / zope.app.applicationcontrol_py_270_win32
> [25] winbot / zope.app.applicationcontrol_py_270_win64
> [26] winbot / zope.app.authentication_py_270_win32
> [27] winbot / zope.app.authentication_py_270_win64
> [28] winbot / zope.app.component_py_270_win32
> [29] winbot / zope.app.component_py_270_win64
The new zope.testbrowser 5.0.0 release is not backwards compatible and
dependencies need to adapt:
NotImplementedError: zope.testbrowser.testing.Browser is no longer supported.
Please use zope.testbrowser.wsgi.Browser() in conjuction with
zope.app.wsgi.testlayer.BrowserLayer(), or some other custom test layer
that inherits from zope.testbrowser.wsgi.Layer.
Alternatively pin zope.testbrowser version to < 5.0.0 if you don't care
for Python 3 support and don't have the time to update your tests now.
> [16] winbot / z3c.ptcompat_py_270_win32
> [17] winbot / z3c.ptcompat_py_270_win64
Every single test fails with
Traceback (most recent call last):
File "c:\Python27_32\lib\unittest\case.py", line 329, in run
testMethod()
File "d:\eggs\zope.pagetemplate-4.2.1-py2.7.egg\zope\pagetemplate\tests\test_htmltests.py", line 133, in test_translation
out = t(msg=msg)
File "d:\eggs\zope.pagetemplate-4.2.1-py2.7.egg\zope\pagetemplate\pagetemplate.py", line 113, in __call__
return self.pt_render(self.pt_getContext(args, kwargs))
File "d:\eggs\zope.pagetemplate-4.2.1-py2.7.egg\zope\pagetemplate\pagetemplate.py", line 131, in pt_render
raise PTRuntimeError(str(self._v_errors))
- Warning: Compilation failed
- Warning: exceptions.AttributeError: 'NoneType' object has no attribute 'rfind'
PTRuntimeError: ['Compilation failed', "exceptions.AttributeError: 'NoneType' object has no attribute 'rfind'"]
> [30] winbot / zope.app.testing_py_270_win32
> [31] winbot / zope.app.testing_py_270_win64
One doctest (called testbrowser.txt) fails with
ImportError: No module named connection
while trying to import zope.testbrowser.connection, so I'm guessing it's
more zope.testbrowser 5.0.0 fallout.
> [32] winbot / ztk_dev py_270_win32
> [33] winbot / ztk_dev py_270_win32
> [34] winbot / ztk_dev py_270_win32
> [35] winbot / ztk_dev py_270_win64
> [36] winbot / ztk_dev py_270_win64
> [37] winbot / ztk_dev py_330_win32
> [38] winbot / ztk_dev py_330_win32
> [39] winbot / ztk_dev py_330_win64
> [40] winbot / ztk_dev py_330_win64
> [41] winbot / ztk_dev py_330_win64
These must be using an old version of zc.buildout because the error is
mr.developer: Creating missing sources dir c:\buildslave\ztk_dev_py_270_win32\build\src.
Upgraded:
setuptools version 28.0.0;
restarting.
Generated script 'c:\\buildslave\\ztk_dev_py_270_win32\\build\\bin\\buildout'.
Installing _mr.developer.
Generated script 'c:\\buildslave\\ztk_dev_py_270_win32\\build\\bin\\develop'.
Installing test-ztk.
Generated script 'c:\\buildslave\\ztk_dev_py_270_win32\\build\\bin\\test-ztk-zope.testing'.
Generated script 'c:\\buildslave\\ztk_dev_py_270_win32\\build\\bin\\test-ztk-zope.authentication'.
While:
Installing test-ztk.
Getting distribution for 'colorama>=0.3.5'.
Error: Picked: colorama = 0.3.7
which makes no sense whatsoever, and I thought newer zc.buildout
versions improved their error reporting.
Marius Gedminas
--
Undergraduates owe their happiness chiefly to the fact that they are no
longer at school...The nonsense which was knocked out of them at school is
all gently put back at Oxford or Cambridge
-- Sir Max Beerbohm (1872-1956)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20161216/b9d8841d/attachment.sig>
More information about the Zope-Dev
mailing list