debug parallel root checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Our parallel root checks look already nice on the first view.
On the second view they fail the stress test, at least on my
system.

Mostly umounting fails due to "device in use" and similar. For me it
seems that "udevadm --settle" has no effect sometimes. Very often the
label, utab, context and recursive mount tests make problems. I've made
sure that udisks and similar devils are not running.

One may try to use my script sippet below to run a loop until it fails.
You should remove the "sort" from run.sh to get more failures:

patch tests/run.sh
-----
 printf "%s\n" ${comps[*]} |
-       sort |
        xargs -I '{}' -P $paraller_jobs -n 1 bash -c "'{}' \"$OPTS\" ||
                echo 1 >> $top_builddir/tests/failures"
-----



#### ultest.bash ###
## Attention, using sudo"

i=0
while true; do
    echo -e "\n#### run test loop: $((++i)) ####\n"

    ## select any interesting subset of all tests and shuffle
    mytests=$(git grep -l "^ts_skip_nonroot$" -- tests/ts/*/ \
                | sort --random-sort | sed "s@tests/ts/@@")
    test -n "$mytests" || { echo "empty tests!?"; break; }

    time sudo ./tests/run.sh --parallel=30 --exclude="some-bad-tests" $mytests \
        || break
done

echo -e "\n#### bad run: $i ####\n"

###############


cu,
Rudi
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux