Skip to contentSkip to conversation

python3: skip test_concurrent_futures/test_deadlock

PATCH In review Trevor Gamblin 2 participants 3 messages Jun 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: skip test_concurrent_futures/test_deadlock

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

---
 ...-test_deadlock-skip-problematic-test.patch | 30 +++++++++++++++++++
 .../recipes-devtools/python/python3_3.12.4.bb |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch
meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch new file +30 -0
new file mode 100644
index 0000000000..f0a7cfd39b
@@ -0,0 +1,30 @@
+From d7e3f26e7094fbe20e2271d75f18ac3b23a67f58 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <[email protected]>
+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 <[email protected]>
+---
+ 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, )
+ 
+ 
[email protected]("skipping problematic test")
+ class ExecutorDeadlockTest:
+     TIMEOUT = support.LONG_TIMEOUT
+ 
+-- 
+2.45.2
+
meta/recipes-devtools/python/python3_3.12.4.bb +1 -0
index 49c134fc7c..64cd5d0bc0 100644
@@ -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 = " \
Signature · 1 line
2.45.2
#1 lore raw
Quoted 2 lines · Trevor Gamblin

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

Note that this was submitted for the 3.12.4 patch sent recently, so it'll need to go on master-next with that.

Quoted 56 lines
---
  ...-test_deadlock-skip-problematic-test.patch | 30 +++++++++++++++++++
  .../recipes-devtools/python/python3_3.12.4.bb |  1 +
  2 files changed, 31 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch

meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch new file +30 -0
new file mode 100644
index 0000000000..f0a7cfd39b
@@ -0,0 +1,30 @@
+From d7e3f26e7094fbe20e2271d75f18ac3b23a67f58 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <[email protected]>
+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 <[email protected]>
+---
+ 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, )
+
+
[email protected]("skipping problematic test")
+ class ExecutorDeadlockTest:
+     TIMEOUT = support.LONG_TIMEOUT
+
+--
+2.45.2
+
meta/recipes-devtools/python/python3_3.12.4.bb +1 -0
index 49c134fc7c..64cd5d0bc0 100644
@@ -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 = " \
#2 lore raw
Quoted 17 lines · Trevor Gamblin via lists.openembedded.org
Quoted 2 lines · Trevor Gamblin

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

Note that this was submitted for the 3.12.4 patch sent recently, so it'll need to go on master-next with that.

Quoted 8 lines
---
  ...-test_deadlock-skip-problematic-test.patch | 30 +++++++++++++++++++
  .../recipes-devtools/python/python3_3.12.4.bb |  1 +
  2 files changed, 31 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch

Quoted 14 lines
Quoted 6 lines
meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch new file +0 -0
new file mode 100644
index 0000000000..f0a7cfd39b

meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch line 8

Quoted 8 lines
meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch new file +8 -0
@@ -0,0 +1,30 @@
+From d7e3f26e7094fbe20e2271d75f18ac3b23a67f58 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <[email protected]>
+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.
+

I wonder if it is something like -
https://github.com/python/cpython/issues/109832

Quoted 43 lines
Quoted 27 lines
meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch new file +22 -0
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Trevor Gamblin <[email protected]>
+---
+ 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, )
+
+
[email protected]("skipping problematic test")
+ class ExecutorDeadlockTest:
+     TIMEOUT = support.LONG_TIMEOUT
+
+--
+2.45.2
+
meta/recipes-devtools/python/python3_3.12.4.bb +0 -0
index 49c134fc7c..64cd5d0bc0 100644

meta/recipes-devtools/python/python3_3.12.4.bb SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ · line 37

Quoted 7 lines
meta/recipes-devtools/python/python3_3.12.4.bb +1 -0
@@ -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 = " \

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200576): https://lists.openembedded.org/g/openembedded-core/message/200576
Mute This Topic: https://lists.openembedded.org/mt/106633970/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-