Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Sep 30, 2023

Rename WORKER_ERROR to WORKER_BUG. Add WORKER_FAILED state: it does not stop the manager, whereas WORKER_BUG does.

Change also TestResults.display_result() order: display failed tests at the end, the important important information.

Rename WORKER_ERROR to WORKER_BUG. Add WORKER_FAILED state: it does not stop the manager, whereas WORKER_BUG does. Change also TestResults.display_result() order: display failed tests at the end, the important important information. WorkerThread now tries to get the signal name for negative exit code.
@vstinnervstinnerforce-pushed the regrtest_worker_failed branch from 8328f37 to 2a3e1a2CompareSeptember 30, 2023 17:01
@vstinnervstinner merged commit 2c23419 into python:mainSep 30, 2023
@vstinnervstinner deleted the regrtest_worker_failed branch September 30, 2023 20:48
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 FreeBSD 3.x has failed when building commit 2c23419.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1223/builds/292) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c23419) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1223/builds/292

Failed tests:

  • test.test_concurrent_futures.test_process_pool

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last): File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/forkserver.py", line 274, in main code = _serve_one(child_r, fds, ^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/forkserver.py", line 313, in _serve_one code = spawn._main(child_r, parent_sentinel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/spawn.py", line 132, in _mainself= reduction.pickle.load(from_parent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/synchronize.py", line 115, in __setstate__self._semlock = _multiprocessing.SemLock._rebuild(*state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [Errno 2] No such file or directory Traceback (most recent call last): File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/forkserver.py", line 274, in main code = _serve_one(child_r, fds, ^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/forkserver.py", line 313, in _serve_one code = spawn._main(child_r, parent_sentinel) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/spawn.py", line 132, in _mainself= reduction.pickle.load(from_parent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/synchronize.py", line 115, in __setstate__self._semlock = _multiprocessing.SemLock._rebuild(*state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [Errno 2] No such file or directory Timeout (0:20:00)! Thread 0x0000000830bca000 (most recent call first): File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/threading.py", line 348 in wait File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/multiprocessing/queues.py", line 251 in _feed File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/threading.py", line 1003 in run File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/threading.py", line 1066 in _bootstrap_inner File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/threading.py", line 1023 in _bootstrap 

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Rename WORKER_ERROR to WORKER_BUG. Add WORKER_FAILED state: it does not stop the manager, whereas WORKER_BUG does. Change also TestResults.display_result() order: display failed tests at the end, the important important information. WorkerThread now tries to get the signal name for negative exit code.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot