New submission from STINNER Victor <vstin...@redhat.com>:

http://buildbot.python.org/all/#/builders/130/builds/87

======================================================================
FAIL: test_no_args_respects_force_flag (test.test_compileall.CommandLineTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"C:\buildbot.python.org\3.7.kloth-win64\build\lib\test\test_compileall.py", 
line 301, in test_no_args_respects_force_flag
    self.assertRunOK('-f', PYTHONPATH=self.directory)
  File 
"C:\buildbot.python.org\3.7.kloth-win64\build\lib\test\test_compileall.py", 
line 252, in assertRunOK
    *self._get_run_args(args), **env_vars)
  File 
"C:\buildbot.python.org\3.7.kloth-win64\build\lib\test\support\script_helper.py",
 line 157, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File 
"C:\buildbot.python.org\3.7.kloth-win64\build\lib\test\support\script_helper.py",
 line 143, in _assert_python
    res.fail(cmd_line)
  File 
"C:\buildbot.python.org\3.7.kloth-win64\build\lib\test\support\script_helper.py",
 line 84, in fail
    err))
AssertionError: Process return code is 1
command line: 
['C:\\buildbot.python.org\\3.7.kloth-win64\\build\\PCbuild\\amd64\\python_d.exe',
 '-X', 'faulthandler', '-S', '-m', 'compileall', '-f']

stdout:
---
(...)
Compiling 'C:\\buildbot.python.org\\3.7.kloth-win64\\build\\lib\\sndhdr.py'...
Compiling 'C:\\buildbot.python.org\\3.7.kloth-win64\\build\\lib\\socket.py'...
*** PermissionError: [WinError 5] Access is denied: 
'C:\\buildbot.python.org\\3.7.kloth-win64\\build\\lib\\__pycache__\\socket.cpython-37.pyc.30129088'
 -> 
'C:\\buildbot.python.org\\3.7.kloth-win64\\build\\lib\\__pycache__\\socket.cpython-37.pyc'
Compiling (...)
(...)
---

----------
components: Tests, Windows
messages: 320558
nosy: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
priority: normal
severity: normal
status: open
title: [Windows] test_compileall fails randomly with PermissionError: [WinError 
5] Access is denied: (...).pyc
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33977>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to