Title: `test_embed.InitConfigTests.test_initconfig_api` fails when cpython is built with `--enable-experimental-jit=interpreter` · Issue #126255 · python/cpython · GitHub
Open Graph Title: `test_embed.InitConfigTests.test_initconfig_api` fails when cpython is built with `--enable-experimental-jit=interpreter` · Issue #126255 · python/cpython
X Title: `test_embed.InitConfigTests.test_initconfig_api` fails when cpython is built with `--enable-experimental-jit=interpreter` · Issue #126255 · python/cpython
Description: Bug report Bug description: The test_embed.InitConfigTests.test_initconfig_api is failing on main when cpython is built with --enable-experimental-jit=interpreter at commit 0e8665554b2. To reproduce, build cpython with: > ./configure --e...
Open Graph Description: Bug report Bug description: The test_embed.InitConfigTests.test_initconfig_api is failing on main when cpython is built with --enable-experimental-jit=interpreter at commit 0e8665554b2. To reproduc...
X Description: Bug report Bug description: The test_embed.InitConfigTests.test_initconfig_api is failing on main when cpython is built with --enable-experimental-jit=interpreter at commit 0e8665554b2. To reproduc...
Opengraph URL: https://github.com/python/cpython/issues/126255
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_embed.InitConfigTests.test_initconfig_api` fails when cpython is built with `--enable-experimental-jit=interpreter`","articleBody":"# Bug report\n\n### Bug description:\n\nThe `test_embed.InitConfigTests.test_initconfig_api` is failing on main when cpython is built with `--enable-experimental-jit=interpreter` at commit `0e8665554b2`. \n\nTo reproduce, build cpython with:\n\n```\n\u003e ./configure --enable-experimental-jit=interpreter --with-pydebug \u0026\u0026 make -j\n```\n\nthen run\n\n```\n\u003e ./python -m test test_embed --match test_initconfig_api\n\n== CPython 3.14.0a1+ (bisect/bad:2d37c719ed7, Oct 31 2024, 11:39:42) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)]\n== Linux-5.19.0-0_fbk21_hardened_12633_g4db063a1bcb5-x86_64-with-glibc2.34 little-endian\n== Python build: debug JIT-interpreter\n== cwd: /data/users/mpage/cpython/build/test_python_worker_1315808æ\n== CPU count: 56\n== encodings: locale=UTF-8 FS=utf-8\n== resources: all test resources are disabled, use -u option to unskip tests\n\nUsing random seed: 2318555454\n0:00:00 load avg: 1.23 Run 1 test sequentially in a single process\n0:00:00 load avg: 1.23 [1/1] test_embed\ntest_initconfig_api (test.test_embed.InitConfigTests.test_initconfig_api)\nconfigure_locale ... FAIL\n\n======================================================================\nFAIL: test_initconfig_api (test.test_embed.InitConfigTests.test_initconfig_api)\nconfigure_locale\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/data/users/mpage/cpython/Lib/test/test_embed.py\", line 1783, in test_initconfig_api\n self.check_all_configs(\"test_initconfig_api\", config, preconfig,\n ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n api=API_ISOLATED)\n ^^^^^^^^^^^^^^^^^\n File \"/data/users/mpage/cpython/Lib/test/test_embed.py\", line 928, in check_all_configs\n self.assertEqual(err.rstrip(), stderr)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: '\u003csys\u003e:0: RuntimeWarning: JIT deactivated as perf profiling support is active' != ''\n- \u003csys\u003e:0: RuntimeWarning: JIT deactivated as perf profiling support is active\n\n\n----------------------------------------------------------------------\nRan 1 test in 0.112s\n\nFAILED (failures=1)\ntest test_embed failed\ntest_embed failed (1 failure)\n\n== Tests result: FAILURE ==\n\n1 test failed:\n test_embed\n\nTotal duration: 182 ms\nTotal tests: run=1 (filtered) failures=1\nTotal test files: run=1/1 (filtered) failed=1\nResult: FAILURE\n\u003e\n```\n\nThe failure bisects to https://github.com/python/cpython/pull/124856. cc @pablogsal \n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-126302\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mpage","@type":"Person","name":"mpage"},"datePublished":"2024-10-31T18:57:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/126255/cpython/issues/126255"}
| 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:10aca772-6146-e64f-5982-86941e2f99c5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAD6:2B1AB1:2680DE7:329249E:696B6171 |
| html-safe-nonce | 148538f31c74f38addfc3fdf66bb4f51e119986959378fa2ea496017461a28d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUQ2OjJCMUFCMToyNjgwREU3OjMyOTI0OUU6Njk2QjYxNzEiLCJ2aXNpdG9yX2lkIjoiNTg1NTY0ODc0OTczNTA3NjIwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dff235b5a6ed10c05dc60bc85f0fb41b1823546c50d7103f72285a6813f3d066 |
| hovercard-subject-tag | issue:2627612774 |
| 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/126255/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd2cb3e78b426092074543139dbb3a02fca005f5637d805b2d5efa649a0d3523/python/cpython/issues/126255 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd2cb3e78b426092074543139dbb3a02fca005f5637d805b2d5efa649a0d3523/python/cpython/issues/126255 |
| og:image:alt | Bug report Bug description: The test_embed.InitConfigTests.test_initconfig_api is failing on main when cpython is built with --enable-experimental-jit=interpreter at commit 0e8665554b2. To reproduc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mpage |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width