diff --git a/tools/test/stress2/misc/all.exclude b/tools/test/stress2/misc/all.exclude index afdefe5e3bd5..8c63a8fc7143 100644 --- a/tools/test/stress2/misc/all.exclude +++ b/tools/test/stress2/misc/all.exclude @@ -1,87 +1,86 @@ # List of tests not to run, unless the '-a' option is used with run.sh # Exclude names must start in column 1 backingstore.sh g_vfs_done():md6a[WRITE(offset=...)]error = 28 20111220 backingstore2.sh panic: 43 vncache entries remaining 20111220 backingstore3.sh g_vfs_done():md6a[WRITE(offset=...)]error = 28 20111230 dd.sh CAM stuck in vmwait 20200116 force4.sh https://people.freebsd.org/~pho/stress/log/log0082.txt 20210328 force7.sh https://people.freebsd.org/~pho/stress/log/log0266.txt 20220207 force13.sh https://people.freebsd.org/~pho/stress/log/log0376.txt 20221113 fsync.sh panic: Journal overflow 20190208 fuse.sh Memory corruption seen in log file kostik734.txt 20141114 fuse2.sh Deadlock seen 20121129 fuse3.sh Deadlock seen 20141120 getrandom.sh Known DoS issue 20201107 getrandom2.sh Known DoS issue 20200302 gjournal.sh panic: Journal overflow 20190626 gjournal2.sh panic: Journal overflow 20180125 gjournal3.sh panic: Bio not on queue 20171225 gjournal4.sh CAM stuck in vmwait 20180517 gnop7.sh Waiting for patch commit 20190820 gnop8.sh Waiting for patch commit 20201214 gnop9.sh Waiting for patch commit 20201214 gnop13.sh https://people.freebsd.org/~pho/stress/log/log0386.txt 20221113 graid1_8.sh Known issue 20170909 graid1_9.sh panic: Bad effnlink 20180212 ifconfig.sh Bug 253824 20210322 ifconfig2.sh https://people.freebsd.org/~pho/stress/log/log0051.txt 20210210 lockf5.sh Spinning threads seen 20160718 maxvnodes2.sh https://people.freebsd.org/~pho/stress/log/log0083.txt 20210329 memguard.sh https://people.freebsd.org/~pho/stress/log/log0088.txt 20210402 memguard2.sh Waiting for fix commit memguard3.sh Waiting for fix commit mlockall2.sh Unrecoverable OOM killing seen 20190203 mlockall7.sh Needs further investigation 20210123 msetdomain.sh May change policy for random threads to domainset_fixed 20210104 newfs4.sh watchdog fired. newbuf 20190225 nfs10.sh Double fault 20151013 nfs13.sh mount_nfs hangs in mntref 20191007 nfs15lockd.sh panic: Assertion td->td_realucred == td->td_ucred failed ... 20210211 nfs16.sh panic: Failed to register NFS lock locally - error=11 20160608 nullfs28.sh Hang in "mount drain" seen 20220111 oom2.sh Hang in pfault 20180324 overcommit2.sh CAM stuck in vmwait seen 20200112 pageout.sh panic: handle_written_filepage: not started 20190218 pmc8.sh panic: [pmc,2749] (ri21, rc1) waiting too long for pmc to ... 20210621 sctp2.sh panic: Queues are not empty when handling SHUTDOWN-COMPLETE 20210211 sctp3.sh panic: Queues are not empty when handling SHUTDOWN-COMPLETE 20210211 sendfile25.sh WiP 20200611 signal.sh Timing issues. Needs fixing 20171116 snap8.sh https://people.freebsd.org/~pho/stress/log/log0123.txt 20211008 suj19.sh https://people.freebsd.org/~pho/stress/log/log0378.txt 20221113 suj27.sh https://people.freebsd.org/~pho/stress/log/log0387.txt 20221113 suj36.sh https://people.freebsd.org/~pho/stress/log/log0392.txt 20221114 swapoff2.sh swap_pager_force_pagein: read from swap failed 20171223 swapoff3.sh Excessive OOM killing 20220403 swapoff5.sh log0005.txt, known issue 20210111 systrace.sh WiP 20200227 systrace2.sh WiP 20200227 syzkaller15.sh WiP 20200712 syzkaller16.sh WiP 20210722 syzkaller25.sh WiP 20201116 syzkaller27.sh watchdogd fires 20220512 syzkaller28.sh WiP 20201120 syzkaller50.sh panic: Assertion done != job_total_nbytes failed at ... 20220405 syzkaller54.sh panic: td 0xfffffe014f7193a0 is not suspended 20220527 syzkaller55.sh panic: Counter goes negative 20220525 syzkaller59.sh Page fault 20220625 truss3.sh WiP 20200915 -unionfs14.sh WiP 20220111 -unionfs9.sh https://people.freebsd.org/~pho/stress/log/log0226.txt 20220111 +unionfs9.sh https://people.freebsd.org/~pho/stress/log/log0404.txt 20230110 # Test not to run for other reasons: fuzz.sh A know issue marcus3.sh OK, but runs for a long time statfs.sh Not very interesting vunref.sh No problems ever seen vunref2.sh No problems ever seen # Exclude NFS loopback tests nfs2.sh panic: wrong diroffset 20140219 nfs5.sh nfs6.sh nfs11.sh vmwait deadlock 20151004 nullfs8.sh tmpfs18.sh mntref hang seen 20191019 diff --git a/tools/test/stress2/misc/unionfs9.sh b/tools/test/stress2/misc/unionfs9.sh index 80ab45e38f88..f5c61352e963 100755 --- a/tools/test/stress2/misc/unionfs9.sh +++ b/tools/test/stress2/misc/unionfs9.sh @@ -1,99 +1,100 @@ #!/bin/sh # # SPDX-License-Identifier: BSD-2-Clause-FreeBSD # # Copyright (c) 2022 Peter Holm # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # Parallel mount and umount test # umount(1) stuck in "mount drain" seen: # https://people.freebsd.org/~pho/stress/log/log0205.txt # https://people.freebsd.org/~pho/stress/log/log0226.txt +# https://people.freebsd.org/~pho/stress/log/log0404.txt [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 . ../default.cfg mounts=3 # Number of parallel scripts CONT=/tmp/unionfs9.continue set -e mdconfig -a -t swap -s 256m -u $mdstart newfs $newfs_flags -n md$mdstart > /dev/null mount /dev/md$mdstart $mntpoint for i in `jot $mounts $((mdstart + 2))`; do mdconfig -a -t swap -s 512m -u $((mdstart + i)) newfs $newfs_flags -n md$((mdstart + i)) > /dev/null mkdir -p ${mntpoint}$i mount /dev/md$((mdstart + i)) ${mntpoint}$i done set +e echo Pre: mount | grep mnt (cd $mntpoint; jot 500 | xargs touch) (cd ../testcases/swap; ./swap -t 5m -i 20 > /dev/null) & # Start the parallel tests touch $CONT for i in `jot $mounts $((mdstart + 2))`; do while [ -f $CONT ]; do find ${mntpoint}$i -type f -maxdepth 2 -ls > \ /dev/null 2>&1 done & # The test: Parallel mount and unmounts start=`date +%s` ( while [ $((`date +%s` - start)) -lt 300 ]; do mount_unionfs $mntpoint ${mntpoint}$i > \ /dev/null 2>&1 opt=$([ `jot -r 1 0 1` -eq 0 ] && echo "-f") while mount | grep -q ${mntpoint}$i; do umount $opt ${mntpoint}$i > \ /dev/null 2>&1 done done rm -f $CONT ) & done while [ -f $CONT ] ; do sleep 1; done while pgrep -q swap; do pkill swap; done wait echo Post: mount | grep mnt for i in `jot $mounts $((mdstart + 2))`; do umount ${mntpoint}$i > /dev/null 2>&1 mdconfig -d -u $((mdstart + i)) rmdir ${mntpoint}$i done while mount | grep $mntpoint | grep -q /dev/md; do umount $mntpoint || sleep 1 [ $((n += 1)) -gt 300 ] && { echo FAIL; exit 1; } done mdconfig -d -u $mdstart exit 0