From: Yoann Congal <[email protected]> With ptest-runner >= 2.5.0, ptests run with PYTHONUNBUFFERED="1" envvar to unbuffer the python output (to fix AB-INT timeout issues). A python3 test, "test_cmd_line.test_non_interactive_output_buffering", expects buffered output and fails on unbuffered output, skip it. See https://github.com/python/cpython/issues/128377.
Note: upstream fix also skip it on PYTHONUNBUFFERED!=0: https://github.com/python/cpython/commit/30268b5d2fbb1a5e6c876f0cdc4cbdb5d93315e6 Signed-off-by: Yoann Congal <[email protected]> --- v1->v2: use "--ignore <full test name>" that actually works --- meta/recipes-devtools/python/python3_3.12.14.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-devtools/python/python3_3.12.14.bb b/meta/recipes-devtools/python/python3_3.12.14.bb index 7ee32601cd3..14be125180b 100644 --- a/meta/recipes-devtools/python/python3_3.12.14.bb +++ b/meta/recipes-devtools/python/python3_3.12.14.bb @@ -260,6 +260,12 @@ SKIPPED_TESTS = " \ --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \ " +# With ptest-runner >= 2.5.0, ptests run with PYTHONUNBUFFERED="1" envvar. +# test_cmd_line.test_non_interactive_output_buffering expects buffered ouput, +# skip it. +# See: https://github.com/python/cpython/issues/128377 +SKIPPED_TESTS += "--ignore test.test_cmd_line.CmdLineTest.test_non_interactive_output_buffering" + SKIPPED_TESTS:append:class-target:libc-musl = " \ -x test__locale \ -x test_c_locale_coercion \
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246357): https://lists.openembedded.org/g/openembedded-core/message/246357 Mute This Topic: https://lists.openembedded.org/mt/121364903/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
