summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2023-08-18 15:59:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-21 11:34:12 +0100
commitf32ff564f36d2fcf1a9381c520d46d0266fb00b1 (patch)
treeebe8bed214c7685e1023dd689e8d3dfc17636865
parentc5013075f2ed17c01b34ad1192839109c23c21bc (diff)
downloadpoky-f32ff564f36d2fcf1a9381c520d46d0266fb00b1.tar.gz
mdadm: skip running 04update-uuid and 07revert-inplace testcases
04update-uuid and 07revert-inplace tests are unreliable and fail intermittently on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot be reproduced locally and the logs cannot be retrieved from the AB. Mark the testcases as BROKEN to skip them when running ptest. (From OE-Core rev: eb219aff7cfe1cff1da93107ac7b22c678c0000f) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch39
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.2.bb1
2 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch b/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
new file mode 100644
index 0000000000..5a6bf9e4bd
--- /dev/null
+++ b/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
@@ -0,0 +1,39 @@
1From ee594b1a12833c06102de888248a361bc49cea09 Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Fri, 18 Aug 2023 12:20:40 +0300
4Subject: [PATCH] tests: add .broken files for 04update-uuid and
5 07revert-inplace
6
704update-uuid and 07revert-inplace tests are unreliable and fail intermittently
8on the autobuilder. Unfortunately, the failures cannot be reproduced locally
9and the logs cannot be retrieved from the AB.
10
11Mark the testcases as BROKEN to skip them when running ptest.
12
13Upstream-Status: Inappropriate
14
15Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
16---
17 tests/04update-uuid.broken | 1 +
18 tests/07revert-inplace.broken | 1 +
19 2 files changed, 2 insertions(+)
20 create mode 100644 tests/04update-uuid.broken
21 create mode 100644 tests/07revert-inplace.broken
22
23diff --git a/tests/04update-uuid.broken b/tests/04update-uuid.broken
24new file mode 100644
25index 0000000..197b35b
26--- /dev/null
27+++ b/tests/04update-uuid.broken
28@@ -0,0 +1 @@
29+fails infrequently
30diff --git a/tests/07revert-inplace.broken b/tests/07revert-inplace.broken
31new file mode 100644
32index 0000000..197b35b
33--- /dev/null
34+++ b/tests/07revert-inplace.broken
35@@ -0,0 +1 @@
36+fails infrequently
37--
382.39.1
39
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb
index fa50325f1f..c367b633a3 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
@@ -38,6 +38,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
38 file://0004-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch \ 38 file://0004-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch \
39 file://0005-mdadm-test-Mark-and-ignore-broken-test-failures.patch \ 39 file://0005-mdadm-test-Mark-and-ignore-broken-test-failures.patch \
40 file://0006-tests-Add-broken-files-for-all-broken-tests.patch \ 40 file://0006-tests-Add-broken-files-for-all-broken-tests.patch \
41 file://0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch \
41 " 42 "
42 43
43SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d" 44SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d"