Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_multiprocessing_spawn: test_interrupt() fails randomly #133744

Closed
@vstinner

Description

@vstinner

On a Free Threading build when tests are run in parallel (-F -j14) to stress the test:

vstinner@mona$ /opt/py314b1-ft/bin/python3.14td -m test test_multiprocessing_spawn.test_processes -W -m test_interrupt -F -j14Using random seed: 18518563300:00:00 load avg: 1.58 Run tests in parallel using 14 worker processes0:00:03 load avg: 1.58 [  1/1] test_multiprocessing_spawn.test_processes failed (1 failure)test_interrupt (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt) ...Traceback (most recent call last):  File "<string>", line 1, in <module>    from multiprocessing.spawn import spawn_main; spawn_main(tracker_fd=5, pipe_handle=7)                                                  ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/opt/py314b1-ft/lib/python3.14t/multiprocessing/spawn.py", line 122, in spawn_main    exitcode = _main(fd, parent_sentinel)  File "/opt/py314b1-ft/lib/python3.14t/multiprocessing/spawn.py", line 132, in _main    self = reduction.pickle.load(from_parent)  File "/opt/py314b1-ft/lib/python3.14t/test/test_multiprocessing_spawn/test_processes.py", line 2, in <module>    from test._test_multiprocessing import install_tests_in_module_dict  File "/opt/py314b1-ft/lib/python3.14t/test/_test_multiprocessing.py", line 53, in <module>    import multiprocessing.managers  File "/opt/py314b1-ft/lib/python3.14t/multiprocessing/managers.py", line 32, in <module>    from . import pool  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked  File "<frozen importlib._bootstrap_external>", line 758, in exec_module  File "<frozen importlib._bootstrap_external>", line 891, in get_code  File "<frozen importlib._bootstrap_external>", line 516, in _compile_bytecode  File "<frozen importlib._bootstrap>", line 494, in _verbose_messageKeyboardInterruptFAIL======================================================================FAIL: test_interrupt (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt)----------------------------------------------------------------------Traceback (most recent call last):  File "/opt/py314b1-ft/lib/python3.14t/test/_test_multiprocessing.py", line 578, in test_interrupt    self.assertEqual(exitcode, 1)    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^AssertionError: -2 != 1

Python installed from the Python-3.14.0b1 tarball with:

$ ./configure --disable-gil --prefix /opt/py314b1-ft --with-pydebug$ make$ make install

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp