diff mbox series

python3: skip test_only_active_thread test

Message ID 20260303154045.1657268-1-tgamblin@baylibre.com
State Under Review
Headers show
Series python3: skip test_only_active_thread test | expand

Commit Message

Trevor Gamblin March 3, 2026, 3:40 p.m. UTC
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 <tgamblin@baylibre.com>
---
 ..._active_thread-skip-problematic-test.patch | 30 +++++++++++++++++++
 .../recipes-devtools/python/python3_3.14.3.bb |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3/0001-test_only_active_thread-skip-problematic-test.patch
diff mbox series

Patch

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 <tgamblin@baylibre.com>
+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 <tgamblin@baylibre.com>
+---
+ 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 \