I checked in a test and fix tonight for http://www.zope.org/ Collectors/Zope3-dev/674 . Both worked on my Mac and my Ubuntu systems. On buildbot, the fix didn't break any tests, but the new test itself made two of five buildbots unhappy: one Linux slave and one Windows slave reported failure, while another Linux slave and two FreeBSD slaves reported success.

The test has to do a subprocess in order to demonstrate what the collector issue describes. I'm guessing I did something surprising somehow, but it looks fairly reasonable to me. I'll dig into the problems tomorrow, but any help would be appreciated, especially on the Linux tlotze one, since my Ubuntu doesn't duplicate the problem.


Meanwhile, forgive any extra buildbot email as I try to resolve these failures remotely.

Tracebacks for the two failures follow, if you are interested.

Gary

A Linux box failed with the following:

Tests with failures:
   testStandalone (zope.component.tests.StandaloneTests)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/lib/python2.4/logging/__init__.py", line 772, in close
    StreamHandler.close(self)
  File "/usr/lib/python2.4/logging/__init__.py", line 674, in close
    del _handlers[self]
KeyError: <logging.FileHandler instance at 0x4386e70c>
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/lib/python2.4/logging/__init__.py", line 772, in close
    StreamHandler.close(self)
  File "/usr/lib/python2.4/logging/__init__.py", line 674, in close
    del _handlers[self]
KeyError: <logging.FileHandler instance at 0x4386e70c>

A Windows box failed with the following:

testStandalone (zope.component.tests.StandaloneTests)

Failure in test testStandalone (zope.component.tests.StandaloneTests)
Traceback (most recent call last):
  File "c:\python24\lib\unittest.py", line 260, in run
    testMethod()
File "C:\buildbot\bbwin2\zc-bbwin3--Windows 2000--Zope3--- trunk--2.4\build\src\zope\component\tests.py", line 946, in testStandalone
    self.fail(''.join(lines))
  File "c:\python24\lib\unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: Traceback (most recent call last):

File "C:\buildbot\bbwin2\zc-bbwin3--Windows 2000--Zope3--- trunk--2.4\build\src\zope\component\standalonetests.py", line 10, in ?

    from zope.component.testing import setUp, tearDown

ImportError: No module named component.testing


_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to