You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_embed.InitConfigTests.test_initconfig_api fails when cpython is built with --enable-experimental-jit=interpreter #126255
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 --enable-experimental-jit=interpreter --with-pydebug && make -j
then run
> ./python -m test test_embed --match test_initconfig_api
== CPython 3.14.0a1+ (bisect/bad:2d37c719ed7, Oct 31 2024, 11:39:42) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)]
== Linux-5.19.0-0_fbk21_hardened_12633_g4db063a1bcb5-x86_64-with-glibc2.34 little-endian
== Python build: debug JIT-interpreter
== cwd: /data/users/mpage/cpython/build/test_python_worker_1315808æ
== CPU count: 56
== encodings: locale=UTF-8 FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests
Using random seed: 2318555454
0:00:00 load avg: 1.23 Run 1 test sequentially in a single process
0:00:00 load avg: 1.23 [1/1] test_embed
test_initconfig_api (test.test_embed.InitConfigTests.test_initconfig_api)
configure_locale ... FAIL
======================================================================
FAIL: test_initconfig_api (test.test_embed.InitConfigTests.test_initconfig_api)
configure_locale
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/users/mpage/cpython/Lib/test/test_embed.py", line 1783, in test_initconfig_api
self.check_all_configs("test_initconfig_api", config, preconfig,
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api=API_ISOLATED)
^^^^^^^^^^^^^^^^^
File "/data/users/mpage/cpython/Lib/test/test_embed.py", line 928, in check_all_configs
self.assertEqual(err.rstrip(), stderr)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '<sys>:0: RuntimeWarning: JIT deactivated as perf profiling support is active' != ''
- <sys>:0: RuntimeWarning: JIT deactivated as perf profiling support is active
----------------------------------------------------------------------
Ran 1 test in 0.112s
FAILED (failures=1)
test test_embed failed
test_embed failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_embed
Total duration: 182 ms
Total tests: run=1 (filtered) failures=1
Total test files: run=1/1 (filtered) failed=1
Result: FAILURE
>
Activity
Eclips4 commentedon Oct 31, 2024
This is a known issue. See #126166. Though we may need to temporarily revert #124856.
Merge branch 'main' into pythongh-126255-temp-workaround-embed-test-f…
gh-126255: Ignore warning about JIT being deactivated when perf suppo…
pythongh-126255: Ignore warning about JIT being deactivated when perf…
pythongh-126255: Ignore warning about JIT being deactivated when perf…