[New-bugs-announce] [issue17384] test_logging failures on Windows

Ezio Melotti report at bugs.python.org
Fri Mar 8 06:02:44 CET 2013


New submission from Ezio Melotti:

test_logging is failing on some buildbots:
     test_logging::AMD64 Windows7 SP1 3.x a0b750 42970c 9aafc0
     test_logging::x86 Windows Server 2003 [SB] 3.x 9aafc0 6b69c1 c261b7
     test_logging::x86 XP-4 3.x 6b69c1 c261b7
     test_logging::x86 XP-5 3.x c261b7 7e8184

Only the Windows buildbots on 3.x seems to be affected.  The failing tests were introduced in #11557.

See e.g.:
http://buildbot.python.org/builders/x86%20XP-5%203.x/builds/1946/steps/test/logs/stdio

======================================================================
ERROR: test_filemode (test.test_logging.BasicConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\unittest\case.py", line 385, in _executeTestPart
    function()
  File "D:\Buildslave\3.x.moore-windows\build\lib\unittest\case.py", line 484, in <lambda>
    part = lambda: function(*args, **kwargs)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'test.log'

======================================================================
ERROR: test_filename (test.test_logging.BasicConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\unittest\case.py", line 385, in _executeTestPart
    function()
  File "D:\Buildslave\3.x.moore-windows\build\lib\unittest\case.py", line 484, in <lambda>
    part = lambda: function(*args, **kwargs)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'test.log'

----------------------------------------------------------------------
Ran 145 tests in 7.234s

FAILED (errors=2, skipped=2)

----------
assignee: vinay.sajip
keywords: buildbot
messages: 183726
nosy: ezio.melotti, vinay.sajip
priority: normal
severity: normal
stage: needs patch
status: open
title: test_logging failures on Windows
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17384>
_______________________________________


More information about the New-bugs-announce mailing list