[Zope-dev] zope-tests - FAILED: 4, OK: 40

Tres Seaver tseaver at palladion.com
Wed Feb 15 14:52:09 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/15/2012 02:44 AM, Michael Howitz wrote:
> Am 15.02.2012 um 02:00 schrieb Zope tests summarizer: [...]
>> [1]    FAILED  ZTK 1.0dev / Python2.4.6 Linux 64bit 
>> https://mail.zope.org/pipermail/zope-tests/2012-February/058108.html
>>
>> 
[2]    FAILED  ZTK 1.0dev / Python2.5.5 Linux 64bit
>> https://mail.zope.org/pipermail/zope-tests/2012-February/058110.html
>
>> 
> The latest change in zope.sendmail (Adding a name to the
> QueueProcessorThread in r124392) seems to be not compatible with
> Python 2.4 and 2.5. @Marius: Any ideas?


ZTK 1.0dev should be pinned to the 3.7 branch of zope.sendmail.


>> [3]    FAILED  winbot / zope.app.server_py_265_32 
>> https://mail.zope.org/pipermail/zope-tests/2012-February/058100.html
>
>> 
> Traceback (most recent call last): File
> "c:\buildslave\zope.app.server\build\src\zope\app\server\tests\test_accesslog.py",
> line 23, in <module> class
> TestAccessLogging(test_logger.LoggingTestBase): AttributeError:
> 'module' object has no attribute 'LoggingTestBase'
> 
> The fix for this was to downgrade the testtools version, right?


Nope, this is a ZConfig issue:  'test_logger' is imported from
ZConfig.components.logger.tests.  In r124378, the LoggingTestBase class
was renamed to 'LoggingTestHelper' and lost its unittest.TestCase base
class (to prevent test discovery).

We can:

a) pin ZConfig to a hard tag

b) update the code in test_accesslog to use the new spellings.

c) quit importing test shims from another package (fork the old copy
   inot z.a.server).


>> [4]    FAILED  winbot / zope.testrunner_py_265_32 
>> https://mail.zope.org/pipermail/zope-tests/2012-February/058102.html
>
>> 
> File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\testrunner-subunit.txt",
> line 331, in testrunner-subunit.txt Failed example: 
> testrunner.run_internal(defaults) Exception raised: Traceback (most
> recent call last): File "c:\Python26_32\lib\doctest.py", line 1253, in
> __run compileflags, 1) in test.globs File "<doctest
> testrunner-subunit.txt[23]>", line 1, in <module> File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\__init__.py",
> line 43, in run_internal runner.run() File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\runner.py",
> line 136, in run feature.global_setup() File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\find.py",
> line 454, in global_setup 
> self.runner.options.output.import_errors(self.import_errors) File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\formatter.py",
> line 902, in import_errors error.module, self.TAG_IMPORT_ERROR,
> error.exc_info) File
> "c:\buildslave\zope.testrunner\build\src\zope\testrunner\formatter.py",
> line 779, in _emit_error self._subunit.addError(test, exc_info) File
> "c:\eggs\python_subunit-0.0.7-py2.6.egg\subunit\__init__.py", line
> 626, in addError self._addOutcome("error", test, error=error,
> details=details) File
> "c:\eggs\python_subunit-0.0.7-py2.6.egg\subunit\__init__.py", line
> 687, in _addOutcome for line in self._exc_info_to_unicode(error,
> test).splitlines(): AttributeError: 'TestProtocolClient' object has no
> attribute '_exc_info_to_unicode'
> 
> Same solution like above?


This is the one that needs either a pin of testtools or else bugging
Jonathan Lange to release a BBB-compatible version.



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk87xpkACgkQ+gerLs4ltQ4cggCg1BLi1NjTO9BTHy1HpuMrF8CX
XewAn0gmEQ4Mtcm2C4CnEpx4jVnUU1kx
=ixeY
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list