-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
OS-wasitestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
This test is flaky. It failed just a single time.
Link: https://github.com/python/cpython/actions/runs/16150807002/job/45581362165?pr=136435
0:02:27 load avg: 5.78 [363/491/1] test_int_literal failed (uncaught exception)
tests may fail, unable to create temporary directory '/build/test_python_545945æ': [Errno 20] File exists: '/build/test_python_545945æ'
Traceback (most recent call last):
File "/Lib/test/support/os_helper.py", line 524, in temp_dir
os.mkdir(path)
~~~~~~~~^^^^^^
FileExistsError: [Errno 20] File exists: '/build/test_python_545945æ'
Stack (most recent call last):
File "/Lib/runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Lib/runpy.py", line 88, in _run_code
exec(code, run_globals)
File "/Lib/test/libregrtest/worker.py", line 131, in <module>
main()
File "/Lib/test/libregrtest/worker.py", line 126, in main
with os_helper.temp_cwd(work_dir, quiet=True):
File "/Lib/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/Lib/test/support/os_helper.py", line 597, in temp_cwd
with temp_dir(path=name, quiet=quiet) as temp_path:
This looks like a race condition?
Metadata
Metadata
Assignees
Labels
OS-wasitestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error