Title: Coverage.py test suite failure since commit 0749244d134 · Issue #115832 · python/cpython · GitHub
Open Graph Title: Coverage.py test suite failure since commit 0749244d134 · Issue #115832 · python/cpython
X Title: Coverage.py test suite failure since commit 0749244d134 · Issue #115832 · python/cpython
Description: Bug report Bug description: Coverage.py runs its test suite against nightly builds of Python. The tests stalled last night. Running them locally, there's one test that freezes the suite. The GitHub action is eventually cancelled by timin...
Open Graph Description: Bug report Bug description: Coverage.py runs its test suite against nightly builds of Python. The tests stalled last night. Running them locally, there's one test that freezes the suite. The GitHub...
X Description: Bug report Bug description: Coverage.py runs its test suite against nightly builds of Python. The tests stalled last night. Running them locally, there's one test that freezes the suite. The Gi...
Opengraph URL: https://github.com/python/cpython/issues/115832
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Coverage.py test suite failure since commit 0749244d134","articleBody":"# Bug report\n\n### Bug description:\n\nCoverage.py runs its test suite against nightly builds of Python. The tests stalled last night. Running them locally, there's one test that freezes the suite. The GitHub action is eventually cancelled by timing out after six hours: https://github.com/nedbat/coveragepy/actions/runs/8000886484\n\nBisecting CPython, the first bad commit is 0749244d13412d7cb5b53d834f586f2198f5b9a6\n\n```\ncommit 0749244d13412d7cb5b53d834f586f2198f5b9a6\nAuthor: Brett Simmers \u003cswtaarrs@users.noreply.github.com\u003e\nDate: Tue Feb 20 06:57:48 2024 -0800\n\n gh-112175: Add `eval_breaker` to `PyThreadState` (#115194)\n\n This change adds an `eval_breaker` field to `PyThreadState`. The primary\n motivation is for performance in free-threaded builds: with thread-local eval\n breakers, we can stop a specific thread (e.g., for an async exception) without\n interrupting other threads.\n\n The source of truth for the global instrumentation version is stored in the\n `instrumentation_version` field in PyInterpreterState. Threads usually read the\n version from their local `eval_breaker`, where it continues to be colocated\n with the eval breaker bits.\n```\nI'm still investigating, but I'm hoping that someone familiar with the change (@swtaarrs?) will be able to help.\n\nTo reproduce:\n```\n% git clone https://github.com/nedbat/coveragepy\n% cd coveragepy\n% export COVERAGE_ANYPY=/path/to/your/python3\n% pip install tox\n% tox -qre anypy -- -n 0 -vvv -k test_multiprocessing_simple\n=== CPython 3.13.0a4+ (rev 0749244d13) with C tracer (.tox/anypy/bin/python) ===\n===================================================================== test session starts ======================================================================\nplatform darwin -- Python 3.13.0a4+, pytest-8.0.1, pluggy-1.4.0 -- /Users/ned/coverage/trunk/.tox/anypy/bin/python\ncachedir: .tox/anypy/.pytest_cache\nhypothesis profile 'default' -\u003e database=DirectoryBasedExampleDatabase(PosixPath('/Users/ned/coverage/trunk/.hypothesis/examples'))\nrootdir: /Users/ned/coverage/trunk\nconfigfile: pyproject.toml\nplugins: flaky-3.7.0, xdist-3.5.0, hypothesis-6.98.9\ncollected 1386 items / 1384 deselected / 2 selected\nrun-last-failure: no previously failed tests, not deselecting items.\n\ntests/test_concurrency.py::MultiprocessingTest::test_multiprocessing_simple[fork] PASSED [ 50%]\ntests/test_concurrency.py::MultiprocessingTest::test_multiprocessing_simple[spawn] PASSED [100%]\n\n============================================================== 2 passed, 1384 deselected in 3.37s ==============================================================\n=== CPython 3.13.0a4+ (rev 0749244d13) with sys.monitoring (.tox/anypy/bin/python) ===\n===================================================================== test session starts ======================================================================\nplatform darwin -- Python 3.13.0a4+, pytest-8.0.1, pluggy-1.4.0 -- /Users/ned/coverage/trunk/.tox/anypy/bin/python\ncachedir: .tox/anypy/.pytest_cache\nhypothesis profile 'default' -\u003e database=DirectoryBasedExampleDatabase(PosixPath('/Users/ned/coverage/trunk/.hypothesis/examples'))\nrootdir: /Users/ned/coverage/trunk\nconfigfile: pyproject.toml\nplugins: flaky-3.7.0, xdist-3.5.0, hypothesis-6.98.9\ncollected 1386 items / 1384 deselected / 2 selected\nrun-last-failure: no previously failed tests, not deselecting items.\n\ntests/test_concurrency.py::MultiprocessingTest::test_multiprocessing_simple[fork] PASSED [ 50%]\ntests/test_concurrency.py::MultiprocessingTest::test_multiprocessing_simple[spawn]\n```\nand there it is stuck.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux, macOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115856\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/nedbat","@type":"Person","name":"nedbat"},"datePublished":"2024-02-22T18:45:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/115832/cpython/issues/115832"}
| 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:36aa8f22-6635-b2c0-907a-718578b38a84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9B6:27480A:E95EE1:1518005:6A562F65 |
| html-safe-nonce | 269ec321984d7cf3d5f91dae72cc00397d1ae8c8dc228171aac7b5c73ddef82a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUI2OjI3NDgwQTpFOTVFRTE6MTUxODAwNTo2QTU2MkY2NSIsInZpc2l0b3JfaWQiOiIzNzI1NDMyNjY1NTc2NzE0MDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9ceb239e1e992f38880cea2d8749e53afbd7f6b7e194a2f4e36c868d23c7dee4 |
| hovercard-subject-tag | issue:2149723503 |
| 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/115832/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc333a7593116273c48948256ca0e191c59d61fb21cd3cbdd6253bec60ffde6e/python/cpython/issues/115832 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc333a7593116273c48948256ca0e191c59d61fb21cd3cbdd6253bec60ffde6e/python/cpython/issues/115832 |
| og:image:alt | Bug report Bug description: Coverage.py runs its test suite against nightly builds of Python. The tests stalled last night. Running them locally, there's one test that freezes the suite. The GitHub... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nedbat |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b |
| 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 | 160a6fceec0fef718a0c3ac46f2d71ae9d5c0ff5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width