python3: skip test_concurrent_futures/test_deadlock

These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: 291f37808f1a2b2fdc8190696867f974994457c0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Trevor Gamblin 2024-06-12 11:05:28 -04:00 committed by Richard Purdie
parent c16d3b930f
commit b82d066887
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From d7e3f26e7094fbe20e2271d75f18ac3b23a67f58 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Wed, 12 Jun 2024 10:29:03 -0400
Subject: [PATCH] test_deadlock: skip problematic test
This test hangs frequently when run on the Autobuilder. Disable it in
testing until the cause can be determined.
Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
Lib/test/test_concurrent_futures/test_deadlock.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/Lib/test/test_concurrent_futures/test_deadlock.py b/Lib/test/test_concurrent_futures/test_deadlock.py
index 1db4cd0099..fd07895a17 100644
--- a/Lib/test/test_concurrent_futures/test_deadlock.py
+++ b/Lib/test/test_concurrent_futures/test_deadlock.py
@@ -90,6 +90,7 @@ def __reduce__(self):
return _raise_error_ignore_stderr, (UnpicklingError, )
+@unittest.skip("skipping problematic test")
class ExecutorDeadlockTest:
TIMEOUT = support.LONG_TIMEOUT
--
2.45.2

View File

@ -31,6 +31,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
file://0001-test_storlines-skip-due-to-load-variability.patch \
file://0001-test_shutdown-skip-problematic-test.patch \
file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \
file://0001-test_deadlock-skip-problematic-test.patch \
"
SRC_URI:append:class-native = " \