Repository navigation
gh-161270: fix always-skipped InitConfigTests in test_embed
#217899
build.yml
on: pull_request
Change detection
/
Create context from changed files
15s
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Check if Autoconf files are up to date
31s
Check if generated files are up to date
4m 6s
C API Docs
/
Check if all C APIs are documented
13s
Ubuntu (installed)
/
build, install and test
6m 13s
Emscripten
/
build and test
19m 6s
WASI
/
build and test
4m 49s
Hypothesis tests on Ubuntu
9m 27s
Lazy imports enabled
/
Run Tests with lazy_imports=all
11m 30s
Cross build Linux
4m 46s
Docs
/
Check EPUB
Docs
/
Doctest
Matrix: build-android
Docs
/
...
/
Check for removed HTML IDs
All required checks pass
5s
Annotations
5 errors, 4 warnings, and 8 notices
|
Sanitizers / UBSan
Process completed with exit code 2.
|
|
test_initconfig_api (test.test_embed.InitConfigTests.test_initconfig_api):
Lib/test/test_embed.py#L174
AssertionError: 1 != 0 : bad returncode 1, stderr is 'Fatal Python error: Segmentation fault\n\nCurrent thread 0x00007b92db77f3c0 [_testembed] (most recent call first):\n\nCurrent thread\'s C stack trace (most recent call first):\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _Py_DumpStack+0x32 [0x5b901382e60a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x11cd6b3 [0x5b90138806b3]\n Binary file "/usr/lib/x86_64-linux-gnu/libc.so.6", at +0x47e10 [0x7b92db447e10]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x119edd9 [0x5b9013851dd9]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xede652 [0x5b9013591652]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf5e21 [0x5b90131a8e21]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf8e65 [0x5b90131abe65]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd2d20f [0x5b90133e020f]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd60a6a [0x5b9013413a6a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd133ab [0x5b90133c63ab]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _PyObject_MakeTpCall+0x55b [0x5b90131a9523]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf9390 [0x5b90131ac390]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at PyObject_CallFunction+0x8f [0x5b90131ac077]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xf7b692 [0x5b901362e692]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x128bac1 [0x5b901393eac1]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x1281423 [0x5b9013934423]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd133ab [0x5b90133c63ab]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _PyObject_MakeTpCall+0x55b [0x5b90131a9523]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf9b2e [0x5b90131acb2e]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _PyObject_CallMethod+0xc9 [0x5b90131acff1]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x10e4a72 [0x5b9013797a72]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x10e379e [0x5b901379679e]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x10e2806 [0x5b9013795806]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x10da1b3 [0x5b901378d1b3]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at Py_InitializeFromConfig+0x2d0 [0x5b901378ceb8]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at Py_InitializeFromInitConfig+0x12d [0x5b9013746975]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x82ac69 [0x5b9012eddc69]\n Binary file "/usr/lib/x86_64-linux-gnu/libc.so.6", at +0x2a8c1 [0x7b92db42a8c1]\n Binary file "/usr/lib/x86_64-linux-gnu/libc.so.6", at __libc_start_main+0x88 [0x7b92db42a9d8]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _start+0x25 [0x5b9012eabf65]\nUndefinedBehaviorSanitizer:DEADLYSIGNAL\n'
|
|
test_init_python_env (test.test_embed.InitConfigTests.test_init_python_env):
Lib/test/test_embed.py#L174
AssertionError: 1 != 0 : bad returncode 1, stderr is 'import _frozen_importlib # frozen\nimport _imp # builtin\nimport \'_thread\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport \'_warnings\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport \'_weakref\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: self [us] | cumulative | imported package\nimport \'_io\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 604 | 604 | _io\nimport \'marshal\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 199 | 199 | marshal\nimport \'posix\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 1042 | 1042 | posix\nimport \'_frozen_importlib_external\' # <class \'_frozen_importlib.FrozenImporter\'>\nimport time: 1856 | 3699 | _frozen_importlib_external\n# installing zipimport hook\nimport \'time\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 277 | 277 | time\nimport \'zipimport\' # <class \'_frozen_importlib.FrozenImporter\'>\nimport time: 1306 | 1582 | zipimport\n# installed zipimport hook\nimport \'faulthandler\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 198 | 198 | faulthandler\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/__init__.py\n# code object from /home/runner/work/cpython/cpython/Lib/codecs.py\nimport \'_codecs\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 332 | 332 | _codecs\nimport \'codecs\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8e9cb50>\nimport time: 13176 | 13507 | codecs\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/aliases.py\nimport \'encodings.aliases\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8d96ea0>\nimport time: 6292 | 6292 | encodings.aliases\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/_iconv_codecs.py\nimport \'encodings._iconv_codecs\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8e9c870>\nimport time: 1633 | 1633 | encodings._iconv_codecs\nimport \'encodings\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8d81a20>\nimport time: 6092 | 27522 | encodings\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/utf_8.py\nimport \'encodings.utf_8\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8da0a80>\nimport time: 2084 | 2084 | encodings.utf_8\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/latin_1.py\nimport \'encodings.latin_1\' # <_frozen_importlib_external.SourceFileLoader object at 0x5cf3b8e78340>\nimport time: 1402 | 1402 | encodings.latin_1\nimport \'_signal\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 307 | 307 | _signal\nFatal Python error: Segmentation fault\n\nCurrent thread 0x0000740b03d993c0 [_testembed] (most recent call first):\n\nCurrent thread\'s C stack trace (most recent call first):\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _Py_DumpStack+0x32 [0x5cf37a34260a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x11cd6b3 [0x5cf37a3946b3]\n Binary file "/usr/lib/x86_64-linux-gnu/libc.so.6", at +0x47e10 [0x740b03a47e10]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x119edd9 [0x5cf37a365dd9]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xede652 [0x5cf37a0a5652]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf5e21 [0x5cf379cbce21]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf8e65 [0x5cf379cbfe65]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd2d20f [0x5cf379ef420f]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd60a6a [0x5cf379f27a6a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd133ab [0x5cf379e
|
|
test_init_compat_env (test.test_embed.InitConfigTests.test_init_compat_env):
Lib/test/test_embed.py#L174
AssertionError: 1 != 0 : bad returncode 1, stderr is 'import _frozen_importlib # frozen\nimport _imp # builtin\nimport \'_thread\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport \'_warnings\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport \'_weakref\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: self [us] | cumulative | imported package\nimport \'_io\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 556 | 556 | _io\nimport \'marshal\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 194 | 194 | marshal\nimport \'posix\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 1035 | 1035 | posix\nimport \'_frozen_importlib_external\' # <class \'_frozen_importlib.FrozenImporter\'>\nimport time: 1858 | 3641 | _frozen_importlib_external\n# installing zipimport hook\nimport \'time\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 274 | 274 | time\nimport \'zipimport\' # <class \'_frozen_importlib.FrozenImporter\'>\nimport time: 1295 | 1568 | zipimport\n# installed zipimport hook\nimport \'faulthandler\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 179 | 179 | faulthandler\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/__init__.py\n# code object from /home/runner/work/cpython/cpython/Lib/codecs.py\nimport \'_codecs\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 312 | 312 | _codecs\nimport \'codecs\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7abb8b50>\nimport time: 13224 | 13536 | codecs\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/aliases.py\nimport \'encodings.aliases\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7aab2ea0>\nimport time: 6306 | 6306 | encodings.aliases\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/_iconv_codecs.py\nimport \'encodings._iconv_codecs\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7abb8870>\nimport time: 1628 | 1628 | encodings._iconv_codecs\nimport \'encodings\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7aa9da20>\nimport time: 6308 | 27777 | encodings\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/utf_8.py\nimport \'encodings.utf_8\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7aabca80>\nimport time: 2007 | 2007 | encodings.utf_8\n# code object from /home/runner/work/cpython/cpython/Lib/encodings/latin_1.py\nimport \'encodings.latin_1\' # <_frozen_importlib_external.SourceFileLoader object at 0x5d5c7ab94340>\nimport time: 1374 | 1374 | encodings.latin_1\nimport \'_signal\' # <class \'_frozen_importlib.BuiltinImporter\'>\nimport time: 323 | 323 | _signal\nFatal Python error: Segmentation fault\n\nCurrent thread 0x00007cefe15503c0 [_testembed] (most recent call first):\n\nCurrent thread\'s C stack trace (most recent call first):\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at _Py_DumpStack+0x32 [0x5d5c6f03760a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x11cd6b3 [0x5d5c6f0896b3]\n Binary file "/usr/lib/x86_64-linux-gnu/libc.so.6", at +0x47e10 [0x7cefe1247e10]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0x119edd9 [0x5d5c6f05add9]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xede652 [0x5d5c6ed9a652]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf5e21 [0x5d5c6e9b1e21]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xaf8e65 [0x5d5c6e9b4e65]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd2d20f [0x5d5c6ebe920f]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd60a6a [0x5d5c6ec1ca6a]\n Binary file "/home/runner/work/cpython/cpython/Programs/_testembed", at +0xd133ab [0x5d5c6eb
|
|
All required checks pass
Process completed with exit code 1.
|
|
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
|
|
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated
dependents or dependents with broken linkage!
|
|
macOS (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated
dependents or dependents with broken linkage!
|
|
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated
dependents or dependents with broken linkage!
|
|
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
|
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
|
|
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ASan-logs-default
|
2.5 KB |
sha256:bad550b3e7d14e09b995dd3c5f15fe96a4549694b81faa063175549461d4874a
|
|
|
MSan-logs-default
|
209 Bytes |
sha256:c65fa938558c3fd7b97de86e81886347f0cd0e54c30ef99d922e201477f51da4
|
|
|
UBSan-logs-default
|
5.26 KB |
sha256:eb04e60faae4c463f35276867dd9422369571cba6d674e5ab89bd9c92f94d720
|
|