You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_asyncio and test_compileall leak temporary files/directories #109295
0:19:14 load avg: 6.45 [2/3/2] test_generated_cases failed (uncaught exception)
Re-running test_generated_cases in verbose mode
test test_generated_cases crashed -- Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\test\libregrtest\single.py", line 139, in _runtest_env_changed_exc
_load_run_test(result, runtests)
File "D:\a\cpython\cpython\Lib\test\libregrtest\single.py", line 87, in _load_run_test
test_mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\importlib\__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1381, in _gcd_import
File "<frozen importlib._bootstrap>", line 1354, in _find_and_load
File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 929, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1006, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "D:\a\cpython\cpython\Lib\test\test_generated_cases.py", line 11, in <module>
import generate_cases
File "D:\a\cpython\cpython\Tools\cases_generator\generate_cases.py", line 41, in <module>
DEFAULT_INPUT = os.path.relpath(os.path.join(ROOT, "Python/bytecodes.c"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\ntpath.py", line 791, in relpath
raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'D:', start on mount 'C:'
Activity
pythongh-109295: test_asyncio and test_compileall clean multiprocessing
pythongh-109295: test_asyncio and test_compileall clean multiprocessing
pythongh-109295: Fix test_os.test_access_denied() for TEMP=cwd
pythongh-109295: Fix test_os.test_access_denied() for TEMP=cwd
vstinner commentedon Sep 12, 2023
Another problem: test_os fails if the
TEMPenvironment variable is equal to the current working directory.gh-109295: Clean up multiprocessing in test_asyncio and test_compilea…
pythongh-109295: Clean up multiprocessing in test_asyncio and test_co…
pythongh-109295: Clean up multiprocessing in test_asyncio and test_co…
gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (#109299)
pythongh-109295: Fix test_os.test_access_denied() for TEMP=cwd (pytho…
pythongh-109295: Fix test_os.test_access_denied() for TEMP=cwd (pytho…
[3.11] gh-109295: Clean up multiprocessing in test_asyncio and test_c…
vstinner commentedon Sep 12, 2023
Last issue with test_generated_cases:
See PR #109290 for the background.
pythongh-109295: Skip test_generated_cases if different mount drives
pythongh-109295: Skip test_generated_cases if different mount drives
[3.11] gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-1…
gh-109295: Skip test_generated_cases if different mount drives (#109308)
[3.12] gh-109295: Clean up multiprocessing in test_asyncio and test_c…
[3.12] gh-109295: Fix test_os.test_access_denied() for TEMP=cwd (GH-1…
pythongh-109295: Clean up multiprocessing in test_asyncio and test_co…
pythongh-109295: Fix test_os.test_access_denied() for TEMP=cwd (pytho…
pythongh-109295: Skip test_generated_cases if different mount drives (p…