[Python-Dev] r88589 - python/branches/py3k/Lib/test/test_logging.py

Antoine Pitrou solipsis at pitrou.net
Fri Feb 25 23:24:56 CET 2011


On Fri, 25 Feb 2011 18:02:43 +0100 (CET)
vinay.sajip <python-checkins at python.org> wrote:
> Author: vinay.sajip
> Date: Fri Feb 25 18:02:43 2011
> New Revision: 88589
> 
> Log:
> logging: enabled test which was intermittently failing on buildbots.


Looks like it fails again:

( http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/2671/steps/test/logs/stdio )

======================================================================
ERROR: test_compute_rollover_MIDNIGHT (test.test_logging.TimedRotatingFileHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 1990, in tearDown
    os.unlink(self.fn)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'c:\\users\\db3l\\appdata\\local\\temp\\test_logging-2-vhc3k5.log'

======================================================================
FAIL: test_compute_rollover_MIDNIGHT (test.test_logging.TimedRotatingFileHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 2053, in test_compute_rollover
    self.assertEqual(exp, rh.computeRollover(0.0))
AssertionError: 82800 != 18000.0

======================================================================
FAIL: test_compute_rollover_S (test.test_logging.TimedRotatingFileHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 1981, in setUp
    BaseTest.setUp(self)
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 95, in setUp
    raise AssertionError('Unexpected handlers: %s' % hlist)
AssertionError: Unexpected handlers: [<logging.StreamHandler object at 0x0DAFC5B0>]

======================================================================
FAIL: test_compute_rollover_W0 (test.test_logging.TimedRotatingFileHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 1981, in setUp
    BaseTest.setUp(self)
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_logging.py", line 95, in setUp
    raise AssertionError('Unexpected handlers: %s' % hlist)
AssertionError: Unexpected handlers: [<logging.StreamHandler object at 0x0DAFC5B0>]




More information about the Python-Dev mailing list