Title: AssertionError in test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt · Issue #133651 · python/cpython · GitHub
Open Graph Title: AssertionError in test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt · Issue #133651 · python/cpython
X Title: AssertionError in test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt · Issue #133651 · python/cpython
Description: Bug report Bug description: I try to build Python 3.14.0b1 on Fedora Linux 42, 41, 40, the test has failed so far (the list is incomplete) for debug and freethreading-debug builds, on x86_64, i686, aarch64 arches. Traceback is in all cas...
Open Graph Description: Bug report Bug description: I try to build Python 3.14.0b1 on Fedora Linux 42, 41, 40, the test has failed so far (the list is incomplete) for debug and freethreading-debug builds, on x86_64, i686,...
X Description: Bug report Bug description: I try to build Python 3.14.0b1 on Fedora Linux 42, 41, 40, the test has failed so far (the list is incomplete) for debug and freethreading-debug builds, on x86_64, i686,...
Opengraph URL: https://github.com/python/cpython/issues/133651
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AssertionError in test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt","articleBody":"# Bug report\n\n### Bug description:\n\nI try to build Python 3.14.0b1 on Fedora Linux 42, 41, 40, the test has failed so far (the list is incomplete) for debug and freethreading-debug builds, on x86_64, i686, aarch64 arches. Traceback is in all cases similar with the difference of pipe_handle argument value.\n\n```\nRe-running test.test_multiprocessing_spawn.test_processes in verbose mode (matching: test_interrupt)\ntest_interrupt (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt) ... Traceback (most recent call last):\n File \"\u003cstring>\", line 1, in \u003cmodule>\n from multiprocessing.spawn import spawn_main; spawn_main(tracker_fd=5, pipe_handle=7)\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/multiprocessing/spawn.py\", line 122, in spawn_main\n exitcode = _main(fd, parent_sentinel)\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/multiprocessing/spawn.py\", line 131, in _main\n prepare(preparation_data)\n ~~~~~~~^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/multiprocessing/spawn.py\", line 244, in prepare\n _fixup_main_from_name(data['init_main_from_name'])\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/multiprocessing/spawn.py\", line 268, in _fixup_main_from_name\n main_content = runpy.run_module(mod_name,\n run_name=\"__mp_main__\",\n alter_sys=True)\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/runpy.py\", line 226, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/runpy.py\", line 98, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n mod_name, mod_spec, pkg_name, script_name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/runpy.py\", line 88, in _run_code\n exec(code, run_globals)\n ~~~~^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/test/libregrtest/worker.py\", line 8, in \u003cmodule>\n from .setup import setup_process, setup_test_dir\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/test/libregrtest/setup.py\", line 12, in \u003cmodule>\n from .runtests import RunTests\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/test/libregrtest/runtests.py\", line 194, in \u003cmodule>\n @dataclasses.dataclass(slots=True, frozen=True)\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/dataclasses.py\", line 1362, in wrap\n return _process_class(cls, init, repr, eq, order, unsafe_hash,\n frozen, match_args, kw_only, slots,\n weakref_slot)\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/dataclasses.py\", line 1163, in _process_class\n func_builder.add_fns_to_class(cls)\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/dataclasses.py\", line 507, in add_fns_to_class\n fns = ns['__create_fn__'](**self.locals)\n File \"\u003cstring>\", line 28, in __create_fn__\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/reprlib.py\", line 32, in decorating_function\n wrapper.__type_params__ = getattr(user_function, '__type_params__', ())\n ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nKeyboardInterrupt\nFAIL\n======================================================================\nFAIL: test_interrupt (test.test_multiprocessing_spawn.test_processes.WithProcessesTestProcess.test_interrupt)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/builddir/build/BUILD/Python-3.14.0b1/Lib/test/_test_multiprocessing.py\", line 578, in test_interrupt\n self.assertEqual(exitcode, 1)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\nAssertionError: -2 != 1\n```\n\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-160281\n* gh-160319\n* gh-160320\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/befeleme","@type":"Person","name":"befeleme"},"datePublished":"2025-05-08T09:34:34Z","url":"https://github.com/python/cpython/issues/133651"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d9badfac-2f1a-efa2-5afa-02ba3e5eb7d1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AB2:3A4875:35F690A:47DC459:6B020795 |
| html-safe-nonce | d27eaa90833310258a531980b297c9c931ec7f9cf88c006b633f10d758b718f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUIyOjNBNDg3NTozNUY2OTBBOjQ3REM0NTk6NkIwMjA3OTUiLCJ2aXNpdG9yX2lkIjoiMTEwNTk1MTkzNzMyNjYxNDQyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d747cdf6bb9b679a508202a2efd3fd05ba342c95181a4f261215887a8c6dc7cb |
| hovercard-subject-tag | issue:3048399324 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/133651/issue_layout |
| twitter:image | https://opengraph.githubassets.com/219570f9da09207261dfe41a5894d22f2e25674a3a516947fb451ecf7a079d84/python/cpython/issues/133651 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/219570f9da09207261dfe41a5894d22f2e25674a3a516947fb451ecf7a079d84/python/cpython/issues/133651 |
| og:image:alt | Bug report Bug description: I try to build Python 3.14.0b1 on Fedora Linux 42, 41, 40, the test has failed so far (the list is incomplete) for debug and freethreading-debug builds, on x86_64, i686,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | befeleme |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width