xref: /dragonfly/test/stress/stress2/misc/all.sh (revision 0ca59c34)
1#!/bin/sh
2
3#
4# Copyright (c) 2008 Peter Holm <pho@FreeBSD.org>
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10# 1. Redistributions of source code must retain the above copyright
11#    notice, this list of conditions and the following disclaimer.
12# 2. Redistributions in binary form must reproduce the above copyright
13#    notice, this list of conditions and the following disclaimer in the
14#    documentation and/or other materials provided with the distribution.
15#
16# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
28# $FreeBSD$
29#
30
31# Run all the scripts in stress2/misc
32
33[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
34
35# Start of list			Run	Known problems					Verified
36
37# altbufferflushes.sh		Y
38# alternativeFlushPath.sh	Y
39# backingstore.sh		Y
40# cdevsw.sh			N
41# core.sh			N	No problems seen
42# crossmp.sh			Y
43# crossmp2.sh			N	panic: sx lock still held			20071101
44# devfs.sh			Y
45# devfs2.sh			Y							20070503
46# fpclone.sh			N	No problem seen
47# fpclone2.sh			N	No problem seen
48# fs.sh				Y
49# fullpath.sh			Y							20081212
50# fuzz.sh			N							20080413
51# inversion.sh			N	Problem not seen lately
52# isofs.sh			Y
53# kevent.sh			Y	panic: KN_INFLUX set when not suppose to be	20080501
54# kevent2.sh			Y
55# kevent3.sh			Y
56# kevent4.sh			Y
57# kevent5.sh			Y
58# kinfo.sh			Y
59# kinfo2.sh			Y
60# libMicro.sh			Y
61# lockf.sh			Y	Page fault in nfs_advlock			20080413
62# lookup_shared.sh		N	The default, now
63# mac.sh			Y
64# md.sh				N	Waiting for fix					20071208
65# md2.sh			N	Waiting for fix					20071208
66# mmap.sh			N	Waiting for fix					20080222
67# mount.sh			N	Known problem					20070505
68# mount2.sh			Y
69# mountro.sh			N	Waiting for commit				20080725
70# mountro2.sh			N	Waiting for commit				20080725
71# mountro3.sh			N	Waiting for commit				20080725
72# msdos.sh			Y
73# newfs.sh			Y	Problem not seen lately				20080513
74# newfs2.sh			Y
75# newfs3.sh			N	panic: lockmgr: locking against myself		20070505
76# newfs4.sh			N	Livelock					20080725
77# nfs.sh			Y
78# nfs2.sh			N	panic: wrong diroffset				20080801
79# nfs3.sh			Y
80# nfs4.sh			Y
81# nfs5.sh			N	Page fault in ufs/ffs/ffs_vfsops.c:1501		20080913
82# nfs6.sh			N	Page fault in ffs_fhtovp+0x18			20080913
83# nfsrename.sh			Y
84# nullfs.sh			N	panic: xdrmbuf_create with NULL mbuf chain	20081122
85# pthread.sh			Y	panic: spin lock held too long			20081109
86# quota1.sh			Y
87# quota10.sh			N	Deadlock					20081212
88# quota2.sh			Y
89# quota3.sh			Y
90# quota4.sh			N	Known backing store problem			20070703
91# quota5.sh			Y
92# quota6.sh			N	Known problem with snapshots and no disk space
93# quota7.sh			Y							20070505
94# quota8.sh			Y							20070505
95# quota9.sh			N							20070505
96# recursiveflushes.sh		Y
97# revoke.sh			Y
98# snap.sh			N	Waiting for snap3.sh fix
99# snap2-1.sh			Y
100# snap2.sh			Y
101# snap3.sh			N	Reported as kostik033.html
102# snap4.sh			Y
103# snap5-1.sh			Y
104# snap5.sh			Y
105# snap6.sh			Y
106# snap7.sh			N	Waiting for snap3.sh fix			20070508
107# snapbackup.sh			N	WIP
108# softupdate.sh			Y
109# statfs.sh			Y
110# symlink.sh			Y
111# syscall.sh			Y
112# ucom.sh			N
113# umount.sh			Y
114# umountf.sh			Y
115# umountf2.sh			N	Waiting for commit of fix
116# umountf3.sh			N	Deadlock. Waiting for commit of fix		20081212
117# umountf4.sh			Y	Page fault in ufs/ufs/ufs_dirhash.c:204		20081003
118# unionfs.sh			N 	Page fault					20070503
119# unionfs2.sh			N	Reported as cons224				20070504
120# unionfs3.sh			N	Page fault in vfs_statfs			20070504
121
122# End of list
123
124list=`sed -n '/^# Start of list/,/^# End of list/p' < $0 | awk '$3 ~ /Y/ {print $2}'`
125[ $# -ne 0 ] && list=$*
126
127
128rm -f /tmp/misc.log
129while true; do
130# 	Shuffle the list
131	list=`perl -e 'print splice(@ARGV,rand(@ARGV),1), " " while @ARGV;' $list`
132	for i in $list; do
133		./cleanup.sh
134		echo "`date '+%Y%m%d %T'` all: $i" | tee /dev/tty >> /tmp/misc.log
135		logger "Starting test all: $i"
136		./$i
137	done
138done
139