Title: test_profiling.test_sampling_profiler: test_generator_not_under_consumer_arithmetic() failed on the Windows CI · Issue #150429 · python/cpython · GitHub
Open Graph Title: test_profiling.test_sampling_profiler: test_generator_not_under_consumer_arithmetic() failed on the Windows CI · Issue #150429 · python/cpython
X Title: test_profiling.test_sampling_profiler: test_generator_not_under_consumer_arithmetic() failed on the Windows CI · Issue #150429 · python/cpython
Description: "Windows / Build and test (x64, tail-call)" GHA CI: https://github.com/python/cpython/actions/runs/26413033443/job/77751481935?pr=150417 FAIL: test_generator_not_under_consumer_arithmetic (test.test_profiling.test_sampling_profiler.test_...
Open Graph Description: "Windows / Build and test (x64, tail-call)" GHA CI: https://github.com/python/cpython/actions/runs/26413033443/job/77751481935?pr=150417 FAIL: test_generator_not_under_consumer_arithmetic (test.tes...
X Description: "Windows / Build and test (x64, tail-call)" GHA CI: https://github.com/python/cpython/actions/runs/26413033443/job/77751481935?pr=150417 FAIL: test_generator_not_under_consumer_arithmetic...
Opengraph URL: https://github.com/python/cpython/issues/150429
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_profiling.test_sampling_profiler: test_generator_not_under_consumer_arithmetic() failed on the Windows CI","articleBody":"\"Windows / Build and test (x64, tail-call)\" GHA CI: https://github.com/python/cpython/actions/runs/26413033443/job/77751481935?pr=150417\n\n```\nFAIL: test_generator_not_under_consumer_arithmetic (test.test_profiling.test_sampling_profiler.test_blocking.TestBlockingModeStackAccuracy.test_generator_not_under_consumer_arithmetic)\nTest that fibonacci_generator doesn't appear when consume_generator does arithmetic.\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_profiling\\test_sampling_profiler\\test_blocking.py\", line 137, in test_generator_not_under_consumer_arithmetic\n self.assertEqual(invalid_stacks, 0,\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^\n f\"Found {invalid_stacks}/{arithmetic_samples} invalid stacks where \"\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n f\"fibonacci_generator appears in the stack when consume_generator \"\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n f\"is on an arithmetic line. This indicates torn/inconsistent stack \"\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n f\"traces are being captured.\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 303 != 0 : Found 303/6238 invalid stacks where fibonacci_generator appears in the stack when consume_generator is on an arithmetic line. This indicates torn/inconsistent stack traces are being captured.\n```\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-150433\n* gh-150734\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-05-25T19:38:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/150429/cpython/issues/150429"}
| 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:3f9762f4-89a7-7e41-6cb8-c6e948886070 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8766:15B8B1:2E885F:3D88E4:6A518D36 |
| html-safe-nonce | 91ad6c21b875cc67b32ca53e3e1dc35d9c09d92fcc149eab9241873c38ac6cf6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzY2OjE1QjhCMToyRTg4NUY6M0Q4OEU0OjZBNTE4RDM2IiwidmlzaXRvcl9pZCI6IjQ4NjQ3NTU4NDQxNjI2MjA3MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 147ebaa10edcc33aa17722e12dc7ee8c4395dd255c9e07944ae4551d348d96da |
| hovercard-subject-tag | issue:4519147114 |
| 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/150429/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4de8d8df11d5f5c22dd35f9ee35afe2fd480ca0c9625b180c21580e595cd397/python/cpython/issues/150429 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4de8d8df11d5f5c22dd35f9ee35afe2fd480ca0c9625b180c21580e595cd397/python/cpython/issues/150429 |
| og:image:alt | "Windows / Build and test (x64, tail-call)" GHA CI: https://github.com/python/cpython/actions/runs/26413033443/job/77751481935?pr=150417 FAIL: test_generator_not_under_consumer_arithmetic (test.tes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width