diff options
| author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2023-08-18 15:59:20 +0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-09-04 04:13:25 -1000 |
| commit | f62d8a7103b30e2dd97255489122b7734e6c297b (patch) | |
| tree | b7df75cf8ae268692b2e3cf0f84e606f0d6b96d8 | |
| parent | d7755c7e12736b5caa765d76e0a5e5fc15863d72 (diff) | |
| download | poky-f62d8a7103b30e2dd97255489122b7734e6c297b.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: f39988353743e35418a730bfd6b9a9b68d946641)
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>
(cherry picked from commit eb219aff7cfe1cff1da93107ac7b22c678c0000f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch | 39 | ||||
| -rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.2.bb | 1 |
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 @@ | |||
| 1 | From ee594b1a12833c06102de888248a361bc49cea09 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ovidiu Panait <ovidiu.panait@windriver.com> | ||
| 3 | Date: Fri, 18 Aug 2023 12:20:40 +0300 | ||
| 4 | Subject: [PATCH] tests: add .broken files for 04update-uuid and | ||
| 5 | 07revert-inplace | ||
| 6 | |||
| 7 | 04update-uuid and 07revert-inplace tests are unreliable and fail intermittently | ||
| 8 | on the autobuilder. Unfortunately, the failures cannot be reproduced locally | ||
| 9 | and the logs cannot be retrieved from the AB. | ||
| 10 | |||
| 11 | Mark the testcases as BROKEN to skip them when running ptest. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate | ||
| 14 | |||
| 15 | Signed-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 | |||
| 23 | diff --git a/tests/04update-uuid.broken b/tests/04update-uuid.broken | ||
| 24 | new file mode 100644 | ||
| 25 | index 0000000..197b35b | ||
| 26 | --- /dev/null | ||
| 27 | +++ b/tests/04update-uuid.broken | ||
| 28 | @@ -0,0 +1 @@ | ||
| 29 | +fails infrequently | ||
| 30 | diff --git a/tests/07revert-inplace.broken b/tests/07revert-inplace.broken | ||
| 31 | new file mode 100644 | ||
| 32 | index 0000000..197b35b | ||
| 33 | --- /dev/null | ||
| 34 | +++ b/tests/07revert-inplace.broken | ||
| 35 | @@ -0,0 +1 @@ | ||
| 36 | +fails infrequently | ||
| 37 | -- | ||
| 38 | 2.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 | ||
| 43 | SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d" | 44 | SRC_URI[sha256sum] = "461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d" |
