New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 buildbot: test__xxsubinterpreters.test_already_running() fails randomly #77537
Comments
Windows10 3.x: test_already_running() failed once, but passed when run again: http://buildbot.python.org/all/#/builders/3/builds/817/steps/3/logs/stdio ====================================================================== Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test__xxsubinterpreters.py", line 561, in test_already_running
interpreters.run_string(self.id, 'print("spam")')
AssertionError: RuntimeError not raised (...) |
I didn't see this failure recently, I close the bug. |
The bug is still here. It looks like a race condition triggered on very slow buildbot like AMD64 FreeBSD 10-STABLE Non-Debug 3.x: https://buildbot.python.org/all/#/builders/167/builds/728 0:18:13 load avg: 4.84 [405/420/1] test__xxsubinterpreters failed -- running: test_tools (6 min 1 sec)
spam
test_bad_id (test.test__xxsubinterpreters.ChannelIDTests) ... ok
(...)
test_initial (test.test__xxsubinterpreters.ListAllTests) ... ok
test_SystemExit (test.test__xxsubinterpreters.RunStringTests) ... ok
test_already_running (test.test__xxsubinterpreters.RunStringTests) ... FAIL
test_bad_id (test.test__xxsubinterpreters.RunStringTests) ... Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10.nondebug/build/Lib/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/home/buildbot/python/3.x.koobs-freebsd10.nondebug/build/Lib/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/home/buildbot/python/3.x.koobs-freebsd10.nondebug/build/Lib/test/test__xxsubinterpreters.py", line 51, in run
interpreters.run_string(interp, dedent(f"""
RuntimeError: interpreter already running ok ====================================================================== Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10.nondebug/build/Lib/test/test__xxsubinterpreters.py", line 855, in test_already_running
interpreters.run_string(self.id, 'print("spam")')
AssertionError: RuntimeError not raised Ran 112 tests in 12.936s FAILED (failures=1, skipped=5) |
I'll take a look when I get a chance. |
I close this issue as a duplicate of bpo-37224. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: