Issue33977
Created on 2018-06-27 09:16 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg320558 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2018-06-27 09:16 | |
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 (...) (...) --- |
|||
| msg320564 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2018-06-27 09:38 | |
See also bpo-20760 which seems to be a duplicate but doesn't have the full output (stdout is missing). |
|||
| msg320733 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2018-06-29 19:44 | |
#20760 reported failures on Linux. I think one of these two issues should be closed. FWIW, I ran f:\dev\3x>python -m test -R 3:10 -m CommandLineTests test_compileall twice with no failures. |
|||
| msg320738 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2018-06-29 20:30 | |
While the issue is rare, I am sure that there is a race condition. The bug maybe happens when other tests run in parallel. The test should work in its own temporary directory to no be bothered by other tests. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:02 | admin | set | github: 78158 |
| 2018-09-24 15:59:22 | vstinner | set | status: open -> closed resolution: out of date stage: resolved |
| 2018-06-29 20:30:28 | vstinner | set | messages: + msg320738 |
| 2018-06-29 19:44:02 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg320733 |
| 2018-06-27 09:38:25 | vstinner | set | messages: + msg320564 |
| 2018-06-27 09:16:35 | vstinner | create | |
