On Wed, May 25, 2011 at 09:18:46AM -0400, Tres Seaver wrote:
[3] FAILED Zope Buildbot / zopetoolkit-1.0-py2.5 slave-osx https://mail.zope.org/pipermail/zope-tests/2011-May/041867.html
The is an FTP test failure, similar to others which have showed up::
-------------------------- $< ------------------------- Failure in test testHELP (zope.server.ftp.tests.test_ftpserver.Tests) Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py", line 260, in run testMethod() File "/Users/buildslave/.buildout/eggs/zope.server-3.6.2-py2.5.egg/zope/server/ftp/tests/test_ftpserver.py", line 278, in testHELP self.assertEqual(self.execute('HELP', 1), result) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py", line 334, in failUnlessEqual (msg or '%r != %r' % (first, second)) AssertionError: '214-The following commands are recognized\r\n' != '214-The following commands are recognized\r\nHelp goes here somewhen.\r\n214 Help done.\r\n' -------------------------- $< -------------------------
I have no idea why this failure is only occasionaly, and only on OS/X.
I had a theory and proposed a possible fix a while ago, but had no way of testing it: https://mail.zope.org/pipermail/zope-dev/2010-December/042138.html
[17] FAILED winbot / ztk_dev py_270_win64 https://mail.zope.org/pipermail/zope-tests/2011-May/041897.html
These are all the same bug::
-------------------------- $< ------------------------- Error in test testNoTargetLanguage (zope.app.i18n.tests.test_translationdomain.TestTranslationDomain) Traceback (most recent call last): File "c:\Python27_64\lib\unittest\case.py", line 318, in run testMethod() File "c:\buildslave\ztk_dev_py_270_win64\build\src\zope.i18n\src\zope\i18n\tests\test_itranslationdomain.py", line 99, in testNoTargetLanguage eq(translate('short_greeting', context=context, default=42), 42) File "c:\buildslave\ztk_dev_py_270_win64\build\src\zope.app.i18n\src\zope\app\i18n\translationdomain.py", line 74, in translate catalog_names = self._catalogs.get(target_language, []) TypeError: Object has default comparison -------------------------- $< -------------------------
WTF? We have tests for zope.i18n which pull in code from zope.app.i18n? Not only that, but we have an error being raised from the OOBTree changes Jim landed in October, in a code base which hasn't changed since March.
Buildout egg caches, maybe? Insufficient version pinning? newest = false in a buildout.cfg? Who can tell? Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development