mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
mdadm: re-add mdadm-ptest to PTESTS_SLOW
The ptest problems reported in e21021dc00ec ("mdadm: drop from PTESTS_SLOW")
should now be fixed, so mdadm can be added back to PTESTS_SLOW (a qemux86-64
test run takes about ~12 minutes to execute with kvm).
root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
2023-06-30T08:25
BEGIN: /usr/lib/mdadm/ptest
PASS: /usr/lib/mdadm/ptest/tests/00linear
PASS: /usr/lib/mdadm/ptest/tests/00multipath
...
PASS: /usr/lib/mdadm/ptest/tests/19repair-does-not-destroy
PASS: /usr/lib/mdadm/ptest/tests/20raid5journal
PASS: /usr/lib/mdadm/ptest/tests/21raid5cache
DURATION: 723
END: /usr/lib/mdadm/ptest
2023-06-30T09:16
STOP: ptest-runner
TOTAL: 1 FAIL: 0
For the testcases to run correctly, there must be enough rootfs space to create
13 loop devices. Similar to strace and lttng-tools, add a new
IMAGE_ROOTFS_EXTRA_SPACE entry for mdadm-ptest.
(From OE-Core rev: 174ef92965acd605e5aa5ed26afb3f8d556e98b2)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfefff63c547adb1add0c8e3a308b2d0bd6cfc8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
74d65cb990
commit
83df23574b
@@ -96,6 +96,7 @@ PTESTS_SLOW = "\
|
||||
libgcrypt \
|
||||
libmodule-build-perl \
|
||||
lttng-tools \
|
||||
mdadm \
|
||||
openssh \
|
||||
openssl \
|
||||
parted \
|
||||
@@ -119,7 +120,6 @@ PTESTS_PROBLEMS:append:x86 = " valgrind"
|
||||
# rt-tests \ # Needs to be checked whether it runs at all
|
||||
# bash \ # Test outcomes are non-deterministic by design
|
||||
# ifupdown \ # Tested separately in lib/oeqa/selftest/cases/imagefeatures.py
|
||||
# mdadm \ # Tests rely on non-deterministic sleep() amounts
|
||||
# libinput \ # Tests need an unloaded system to be reliable
|
||||
# libpam \ # Needs pam DISTRO_FEATURE
|
||||
# numactl \ # qemu not (yet) configured for numa; all tests are skipped
|
||||
@@ -132,7 +132,6 @@ PTESTS_PROBLEMS = "\
|
||||
rt-tests \
|
||||
bash \
|
||||
ifupdown \
|
||||
mdadm \
|
||||
libinput \
|
||||
libpam \
|
||||
libseccomp \
|
||||
|
||||
@@ -19,6 +19,7 @@ BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS').split()]
|
||||
# strace-ptest in particular needs more than 500MB
|
||||
IMAGE_OVERHEAD_FACTOR = "1.0"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "324288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user