diff --git a/tools/test/stress2/misc/all.exclude b/tools/test/stress2/misc/all.exclude index 7369ce2ea748..ec7909bc1de7 100644 --- a/tools/test/stress2/misc/all.exclude +++ b/tools/test/stress2/misc/all.exclude @@ -1,95 +1,95 @@ # 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 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 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 to domainset_fixed 20210104 +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 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 # 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 # Snapshots has been disabled on SU+J suj15.sh suj16.sh suj19.sh suj20.sh suj21.sh suj22.sh suj24.sh suj25.sh suj26.sh suj27.sh suj28.sh # 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/syzkaller29.sh b/tools/test/stress2/misc/syzkaller29.sh index bc5dc94768d0..8b67dd4e1283 100755 --- a/tools/test/stress2/misc/syzkaller29.sh +++ b/tools/test/stress2/misc/syzkaller29.sh @@ -1,131 +1,131 @@ #!/bin/sh # panic: uma_zalloc_debug: called within spinlock or critical section # cpuid = 9 # time = 1606151277 # KDB: stack backtrace: # db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0101c628a0 # vpanic() at vpanic+0x181/frame 0xfffffe0101c628f0 # panic() at panic+0x43/frame 0xfffffe0101c62950 # uma_zalloc_arg() at uma_zalloc_arg+0x1e6/frame 0xfffffe0101c62990 # cpuset_modify_domain() at cpuset_modify_domain+0x1bf/frame 0xfffffe0101c62a10 # kern_cpuset_setdomain() at kern_cpuset_setdomain+0x402/frame 0xfffffe0101c62aa0 # sys_cpuset_setdomain() at sys_cpuset_setdomain+0x26/frame 0xfffffe0101c62ac0 # amd64_syscall() at amd64_syscall+0x147/frame 0xfffffe0101c62bf0 # fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0101c62bf0 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x800380d4a, rsp = 0x7fffffffe4b8, rbp = 0x7fffffffe4f0 --- # KDB: enter: panic # [ thread pid 81187 tid 100369 ] # Stopped at kdb_enter+0x37: movq $0,0x10b3236(%rip) # db> x/s version # version: FreeBSD 13.0-CURRENT #0 r367945: Mon Nov 23 09:10:40 CET 2020 # pho@t2.osted.lan:/usr/src/sys/amd64/compile/PHO # db> [ `uname -p` != "amd64" ] && exit 0 # Fixed by r368116 -# May change policy for random threads to to domainset_fixed +# May change policy for random threads to domainset_fixed exit 0 . ../default.cfg cat > /tmp/syzkaller29.c < #include #include #include #include #include #include #include #include #include #include #include #include #include static void kill_and_wait(int pid, int* status) { kill(pid, SIGKILL); while (waitpid(-1, status, 0) != pid) { } } static void sleep_ms(uint64_t ms) { usleep(ms * 1000); } static uint64_t current_time_ms(void) { struct timespec ts; if (clock_gettime(CLOCK_MONOTONIC, &ts)) exit(1); return (uint64_t)ts.tv_sec * 1000 + (uint64_t)ts.tv_nsec / 1000000; } static void execute_one(void); #define WAIT_FLAGS 0 static void loop(void) { int iter = 0; for (;; iter++) { int pid = fork(); if (pid < 0) exit(1); if (pid == 0) { execute_one(); exit(0); } int status = 0; uint64_t start = current_time_ms(); for (;;) { if (waitpid(-1, &status, WNOHANG | WAIT_FLAGS) == pid) break; sleep_ms(1); if (current_time_ms() - start < 5 * 1000) continue; kill_and_wait(pid, &status); break; } } } void execute_one(void) { *(uint64_t*)0x20000240 = 1; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; syscall(SYS_cpuset_setdomain, 2ul, 2ul, 0ul, 0x20ul, 0x20000240ul, 4ul); *(uint64_t*)0x20000240 = 1; *(uint64_t*)0x20000248 = 0; *(uint64_t*)0x20000250 = 0; *(uint64_t*)0x20000258 = 0; syscall(SYS_cpuset_setdomain, 3ul, 2ul, 0ul, 0x20ul, 0x20000240ul, 1ul); } int main(void) { syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x1012ul, -1, 0ul); loop(); return 0; } EOF mycc -o /tmp/syzkaller29 -Wall -Wextra -O0 /tmp/syzkaller29.c || exit 1 (cd /tmp; timeout 3m ./syzkaller29) rm -rf /tmp/syzkaller29 /tmp/syzkaller29.c /tmp/syzkaller.* exit 0 diff --git a/tools/test/stress2/misc/syzkaller30.sh b/tools/test/stress2/misc/syzkaller30.sh index f798386a83d1..d159da78307c 100755 --- a/tools/test/stress2/misc/syzkaller30.sh +++ b/tools/test/stress2/misc/syzkaller30.sh @@ -1,70 +1,70 @@ #!/bin/sh # panic: sched_pickcpu: Failed to find a cpu. # cpuid = 1 # time = 1607419071 # KDB: stack backtrace: # db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01bb640770 # vpanic() at vpanic+0x181/frame 0xfffffe01bb6407c0 # panic() at panic+0x43/frame 0xfffffe01bb640820 # sched_pickcpu() at sched_pickcpu+0x4a2/frame 0xfffffe01bb6408d0 # sched_add() at sched_add+0x5d/frame 0xfffffe01bb640900 # setrunnable() at setrunnable+0x77/frame 0xfffffe01bb640930 # wakeup_one() at wakeup_one+0x1d/frame 0xfffffe01bb640950 # do_lock_umutex() at do_lock_umutex+0x64c/frame 0xfffffe01bb640a40 # __umtx_op_wait_umutex() at __umtx_op_wait_umutex+0x49/frame 0xfffffe01bb640a80 # sys__umtx_op() at sys__umtx_op+0x7a/frame 0xfffffe01bb640ac0 # amd64_syscall() at amd64_syscall+0x147/frame 0xfffffe01bb640bf0 # fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe01bb640bf0 # --- syscall (454, FreeBSD ELF64, sys__umtx_op), rip = 0x800254a8c, rsp = 0x7fffdf3f7e88, rbp = 0x7fffdf3f7eb0 --- # KDB: enter: panic # [ thread pid 58597 tid 106100 ] # Stopped at kdb_enter+0x37: movq $0,0x10a7766(%rip) # db> x/s version # version: FreeBSD 13.0-CURRENT #0 r368405: Mon Dec 7 10:33:35 CET 2020 # pho@t2.osted.lan:/usr/src/sys/amd64/compile/PHO # db> [ `uname -p` != "amd64" ] && exit 0 # Fixed by r368462 -# May change policy for random threads to to domainset_fixed +# May change policy for random threads to domainset_fixed exit 0 . ../default.cfg cat > /tmp/syzkaller30.c < #include #include #include #include #include #include #include #include #include int main(void) { syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x1012ul, -1, 0ul); *(uint64_t*)0x200000c0 = 0; syscall(SYS_cpuset_setaffinity, 2ul, 2ul, 0x100000000000000ul, 0x20ul, 0x200000c0ul); return 0; } EOF mycc -o /tmp/syzkaller30 -Wall -Wextra -O0 /tmp/syzkaller30.c || exit 1 (cd /tmp; timeout 3m ./syzkaller30) rm -rf /tmp/syzkaller30 /tmp/syzkaller30.c /tmp/syzkaller.* exit 0