diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-11-23 13:36:27 -0500 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-12-22 16:36:55 -1000 |
| commit | d95d26073dcebd0aa07e605f09211fc313c6bca1 (patch) | |
| tree | 4ced4d12b1d2c27ab40bdfb542a9b427bea8dadb /meta/recipes-devtools/python | |
| parent | 19c1f963a998575d0e6ee678fa7fb62ad2a0cd64 (diff) | |
| download | poky-d95d26073dcebd0aa07e605f09211fc313c6bca1.tar.gz | |
python3-ptest: skip test_storlines
[YOCTO #14933]
test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.
(From OE-Core rev: b71d5ec10f8e64fc6102c66dfc36151f2b0b3c86)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch | 32 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.13.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch new file mode 100644 index 0000000000..199031d42a --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 013ff01fdf2aa6ca69a7c80a2a2996630877e4ea Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 3 | Date: Fri, 6 Oct 2023 10:59:44 -0400 | ||
| 4 | Subject: [PATCH] test_storlines: skip due to load variability | ||
| 5 | |||
| 6 | This is yet another test that intermittently fails on the Yocto AB when | ||
| 7 | a worker is under heavy load, so skip it during testing. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 10 | |||
| 11 | [YOCTO #14933] | ||
| 12 | |||
| 13 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
| 14 | --- | ||
| 15 | Lib/test/test_ftplib.py | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py | ||
| 19 | index 082a90d46b..508814d56a 100644 | ||
| 20 | --- a/Lib/test/test_ftplib.py | ||
| 21 | +++ b/Lib/test/test_ftplib.py | ||
| 22 | @@ -629,6 +629,7 @@ def test_storbinary_rest(self): | ||
| 23 | self.client.storbinary('stor', f, rest=r) | ||
| 24 | self.assertEqual(self.server.handler_instance.rest, str(r)) | ||
| 25 | |||
| 26 | + @unittest.skip('timing related test, dependent on load') | ||
| 27 | def test_storlines(self): | ||
| 28 | data = RETR_DATA.replace('\r\n', '\n').encode(self.client.encoding) | ||
| 29 | f = io.BytesIO(data) | ||
| 30 | -- | ||
| 31 | 2.41.0 | ||
| 32 | |||
diff --git a/meta/recipes-devtools/python/python3_3.10.13.bb b/meta/recipes-devtools/python/python3_3.10.13.bb index ba53a09ef5..76e37e42a1 100644 --- a/meta/recipes-devtools/python/python3_3.10.13.bb +++ b/meta/recipes-devtools/python/python3_3.10.13.bb | |||
| @@ -35,6 +35,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ | |||
| 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ | 35 | file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ |
| 36 | file://deterministic_imports.patch \ | 36 | file://deterministic_imports.patch \ |
| 37 | file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ | 37 | file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ |
| 38 | file://0001-test_storlines-skip-due-to-load-variability.patch \ | ||
| 38 | " | 39 | " |
| 39 | 40 | ||
| 40 | SRC_URI:append:class-native = " \ | 41 | SRC_URI:append:class-native = " \ |
