summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-06-13 11:37:21 -0400
committerSteve Sakoman <steve@sakoman.com>2024-08-01 06:08:09 -0700
commit754724ec73c0e387636dfb33fca94437c83338f3 (patch)
tree1c724c62e43211f0c29a7adcef44e8439d20a90e
parenta28f4c97b3548786a5b1d6a191f8330fbbaf67b1 (diff)
downloadpoky-754724ec73c0e387636dfb33fca94437c83338f3.tar.gz
python3: skip test_multiprocessing/test_active_children test
This test is causing problems on the Autobuilder, so disable it for now. (From OE-Core rev: 9eafd0c56b279a7c3025b0dcd00745baead15bb6) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ac000b00ec615b3e51dda8d819015d5e7110ed88) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch30
-rw-r--r--meta/recipes-devtools/python/python3_3.12.4.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch
new file mode 100644
index 0000000000..6ebbaf10e0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch
@@ -0,0 +1,30 @@
1From bf3eb28bba24509a3e1cd40f1f0e26db833779a2 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Thu, 13 Jun 2024 10:54:31 -0400
4Subject: [PATCH] test_active_children: skip problematic test
5
6This test is failing in some tests on the Autobuilder. Since it's of a
7similar nature to other failing/hanging tests, disable it for now.
8
9Upstream-Status: Inappropriate [OE-Specific]
10
11Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12---
13 Lib/test/_test_multiprocessing.py | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
17index 3955123455..a1861fa3a0 100644
18--- a/Lib/test/_test_multiprocessing.py
19+++ b/Lib/test/_test_multiprocessing.py
20@@ -579,6 +579,7 @@ def test_cpu_count(self):
21 self.assertTrue(type(cpus) is int)
22 self.assertTrue(cpus >= 1)
23
24+ @unittest.skip("skipping problematic test")
25 def test_active_children(self):
26 self.assertEqual(type(self.active_children()), list)
27
28--
292.45.2
30
diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb b/meta/recipes-devtools/python/python3_3.12.4.bb
index 9dd1417f2a..e4c3fbb673 100644
--- a/meta/recipes-devtools/python/python3_3.12.4.bb
+++ b/meta/recipes-devtools/python/python3_3.12.4.bb
@@ -33,6 +33,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
33 file://0001-test_shutdown-skip-problematic-test.patch \ 33 file://0001-test_shutdown-skip-problematic-test.patch \
34 file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \ 34 file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \
35 file://0001-test_deadlock-skip-problematic-test.patch \ 35 file://0001-test_deadlock-skip-problematic-test.patch \
36 file://0001-test_active_children-skip-problematic-test.patch \
36 " 37 "
37 38
38SRC_URI:append:class-native = " \ 39SRC_URI:append:class-native = " \