This is failing intermittently on the Autobuilder. Disable it for now. With this change, we see this in the ptest log:
|PASS: test_simple_addition (test.test_pyrepl.test_unix_console.TestConsole.test_simple_addition) |PASS: test_wrap (test.test_pyrepl.test_unix_console.TestConsole.test_wrap) |test_eio_error_handling_in_restore (test.test_pyrepl.test_unix_console.TestUnixConsoleEIOHandling.test_eio_error_handling_in_restore) ... ^[[?2004h^[[?2004l^[[?1h^[=^[[?1l^[k |SKIP: test_repl_eio (test.test_pyrepl.test_unix_console.TestUnixConsoleEIOHandling.test_repl_eio) 'skipping problematic test' |PASS: test_gen_colors_keyword_highlighting (test.test_pyrepl.test_utils.TestUtils.test_gen_colors_keyword_highlighting) Also fix some inconsistent whitespace in the SRC_URI list. Signed-off-by: Trevor Gamblin <[email protected]> --- ...001-test_pyrepl-skip-test_pyrepl_eio.patch | 29 +++++++++++++++++++ .../recipes-devtools/python/python3_3.14.3.bb | 7 +++-- 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch diff --git a/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch b/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch new file mode 100644 index 0000000000..9fa441014a --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_pyrepl_eio.patch @@ -0,0 +1,29 @@ +From 79cc5e15edb5ae67832dce5dfa9e114b8740489f Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin <[email protected]> +Date: Sat, 21 Mar 2026 13:14:51 -0400 +Subject: [PATCH] test_pyrepl: skip test_pyrepl_eio + +Upstream-Status: Inappropriate [oe-specific] + +This test fails intermittently on the Autobuilder, so skip it for now. + +Signed-off-by: Trevor Gamblin <[email protected]> +--- + Lib/test/test_pyrepl/test_unix_console.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Lib/test/test_pyrepl/test_unix_console.py b/Lib/test/test_pyrepl/test_unix_console.py +index 680adbc2d96..2cc69e7807e 100644 +--- a/Lib/test/test_pyrepl/test_unix_console.py ++++ b/Lib/test/test_pyrepl/test_unix_console.py +@@ -370,6 +370,7 @@ def test_eio_error_handling_in_restore(self, mock_tcgetattr, mock_tcsetattr): + # EIO error should be handled gracefully in restore() + console.restore() + ++ @unittest.skip("skipping problematic test") + @unittest.skipUnless(sys.platform == "linux", "Only valid on Linux") + def test_repl_eio(self): + # Use the pty-based approach to simulate EIO error +-- +2.53.0 + diff --git a/meta/recipes-devtools/python/python3_3.14.3.bb b/meta/recipes-devtools/python/python3_3.14.3.bb index 7a1ad1e386..90863a42a1 100644 --- a/meta/recipes-devtools/python/python3_3.14.3.bb +++ b/meta/recipes-devtools/python/python3_3.14.3.bb @@ -30,11 +30,12 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://0001-test_active_children-skip-problematic-test.patch \ file://0001-test_readline-skip-limited-history-test.patch \ file://0001-test_cmd-skip-bang-completion-test.patch \ - file://0001-test_pyrepl-skip-test_unix_console.test_cursor_back_.patch \ - file://0001-test_sysconfig-skip-test_sysconfig.test_sysconfigdat.patch \ + file://0001-test_pyrepl-skip-test_unix_console.test_cursor_back_.patch \ + file://0001-test_sysconfig-skip-test_sysconfig.test_sysconfigdat.patch \ file://0001-Skip-flaky-test_default_timeout-tests.patch \ file://0001-gh-144787-tests-Allow-TLS-v1.2-to-be-minimum-version.patch \ - file://0001-test_only_active_thread-skip-problematic-test.patch \ + file://0001-test_only_active_thread-skip-problematic-test.patch \ + file://0001-test_pyrepl-skip-test_pyrepl_eio.patch \ " SRC_URI:append:class-native = " \ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233749): https://lists.openembedded.org/g/openembedded-core/message/233749 Mute This Topic: https://lists.openembedded.org/mt/118468000/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
