From: Trevor Gamblin Date: Tue, 3 Mar 2026 15:40:45 +0000 (-0500) Subject: python3: skip test_only_active_thread test X-Git-Tag: uninative-5.1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e538656154a69a283894632dc01f0b1518aeed;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3: skip test_only_active_thread test Skip a test we've seen failing intermittently, since it may be another occurring due to variable load on the Autobuilder. Fixes: [YOCTO #16178] Signed-off-by: Trevor Gamblin Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3/0001-test_only_active_thread-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_only_active_thread-skip-problematic-test.patch new file mode 100644 index 0000000000..4886b7e386 --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-test_only_active_thread-skip-problematic-test.patch @@ -0,0 +1,30 @@ +From 0524821f8fcbdea2fbd90f199e7fb4950f50530f Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin +Date: Tue, 3 Mar 2026 09:27:10 -0500 +Subject: [PATCH] test_only_active_thread: skip problematic test + +This test hangs frequently when run on the Autobuilder. Disable it in +testing for now. + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Trevor Gamblin +--- + Lib/test/test_external_inspection.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Lib/test/test_external_inspection.py b/Lib/test/test_external_inspection.py +index a709b837161..7a87092c10e 100644 +--- a/Lib/test/test_external_inspection.py ++++ b/Lib/test/test_external_inspection.py +@@ -1111,6 +1111,7 @@ def test_self_trace(self): + ], + ) + ++ @unittest.skip("skipping problematic test") + @skip_if_not_supported + @unittest.skipIf( + sys.platform == "linux" and not PROCESS_VM_READV_SUPPORTED, +-- +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 e475c6e042..7047cd8e8d 100644 --- a/meta/recipes-devtools/python/python3_3.14.3.bb +++ b/meta/recipes-devtools/python/python3_3.14.3.bb @@ -34,6 +34,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ 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 \ " SRC_URI:append:class-native = " \ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \