]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
mdadm: drop from PTESTS_SLOW
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 22 Feb 2020 22:09:09 +0000 (23:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 23 Feb 2020 23:33:43 +0000 (23:33 +0000)
There are two primary reasons for this:

1. mdadm test suite tends to work like this

do_action
sleep arbitrary_amount
check_result

This is unreliable, and arbitrary_amount may or may not be enough.
I have confirmed this by increasing the amount, and seeing more tests
pass than before.

2. The test suite aborts half way through because one of the mdadm binaries
segfaults. This indicates that upstream isn't actually running the suite
anymore, and in this situation we shouldn't be relying on it either.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc

index 752a0882dcd9cb89f9edc4dcb8e602293dc1037e..6e770853b817ae1d5ffa468286aae0e73cb0bce8 100644 (file)
@@ -58,6 +58,7 @@ PTESTS_FAST = "\
 #    rt-tests-ptest \ # Needs to be checked whether it runs at all
 #    bash-ptest \ # Test outcomes are non-deterministic by design
 #    ifupdown-ptest \ # Tested separately in lib/oeqa/selftest/cases/imagefeatures.py
+#    mdadm-ptest \ # Tests rely on non-deterministic sleep() amounts
 #"
 
 PTESTS_SLOW = "\
@@ -69,7 +70,6 @@ PTESTS_SLOW = "\
     gstreamer1.0-ptest \
     libevent-ptest \
     lttng-tools-ptest \
-    mdadm-ptest \
     openssh-ptest \
     openssl-ptest \
     perl-ptest \