xref: /dragonfly/test/stress/stress2/misc/all.sh (revision e0ecab34)
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# fdescfs.sh			Y
47# fpclone.sh			N	No problem seen
48# fpclone2.sh			N	No problem seen
49# fs.sh				Y
50# fullpath.sh			Y							20081212
51# fuzz.sh			N							20080413
52# inversion.sh			N	Problem not seen lately
53# isofs.sh			Y
54# kevent.sh			Y	panic: KN_INFLUX set when not suppose to be	20080501
55# kevent2.sh			Y
56# kevent3.sh			Y
57# kevent4.sh			Y
58# kevent5.sh			Y
59# kinfo.sh			Y
60# kinfo2.sh			Y
61# libMicro.sh			Y
62# lockf.sh			Y	Page fault in nfs_advlock			20080413
63# lookup_shared.sh		N	The default, now
64# mac.sh			Y
65# md.sh				N	Waiting for fix					20071208
66# md2.sh			N	Waiting for fix					20071208
67# mmap.sh			N	Waiting for fix					20080222
68# mount.sh			N	Known problem					20070505
69# mount2.sh			Y
70# mountro.sh			N	Waiting for commit				20080725
71# mountro2.sh			N	Waiting for commit				20080725
72# mountro3.sh			N	Waiting for commit				20080725
73# msdos.sh			Y
74# newfs.sh			Y	Problem not seen lately				20080513
75# newfs2.sh			Y
76# newfs3.sh			N	panic: lockmgr: locking against myself		20070505
77# newfs4.sh			N	Livelock					20080725
78# nfs.sh			Y
79# nfs2.sh			N	panic: wrong diroffset				20080801
80# nfs3.sh			Y
81# nfs4.sh			Y
82# nfs5.sh			N	Page fault in ufs/ffs/ffs_vfsops.c:1501		20080913
83# nfs6.sh			N	Page fault in ffs_fhtovp+0x18			20080913
84# nfsrename.sh			Y
85# nullfs.sh			N	panic: xdrmbuf_create with NULL mbuf chain	20081122
86# pthread.sh			Y	panic: spin lock held too long			20081109
87# quota1.sh			Y
88# quota10.sh			N	Deadlock					20081212
89# quota2.sh			Y
90# quota3.sh			Y
91# quota4.sh			N	Known backing store problem			20070703
92# quota5.sh			Y
93# quota6.sh			N	Known problem with snapshots and no disk space
94# quota7.sh			Y							20070505
95# quota8.sh			Y							20070505
96# quota9.sh			N							20070505
97# recursiveflushes.sh		Y
98# revoke.sh			Y
99# snap.sh			N	Waiting for snap3.sh fix
100# snap2-1.sh			Y
101# snap2.sh			Y
102# snap3.sh			N	Reported as kostik033.html
103# snap4.sh			Y
104# snap5-1.sh			Y
105# snap5.sh			Y
106# snap6.sh			Y
107# snap7.sh			N	Waiting for snap3.sh fix			20070508
108# snapbackup.sh			N	WIP
109# softupdate.sh			Y
110# statfs.sh			Y
111# symlink.sh			Y
112# syscall.sh			Y
113# ucom.sh			N
114# umount.sh			Y
115# umountf.sh			Y
116# umountf2.sh			N	Waiting for commit of fix
117# umountf3.sh			N	Deadlock. Waiting for commit of fix		20081212
118# umountf4.sh			Y	Page fault in ufs/ufs/ufs_dirhash.c:204		20081003
119# unionfs.sh			N 	Page fault					20070503
120# unionfs2.sh			N	Reported as cons224				20070504
121# unionfs3.sh			N	Page fault in vfs_statfs			20070504
122
123# End of list
124
125list=`sed -n '/^# Start of list/,/^# End of list/p' < $0 | awk '$3 ~ /Y/ {print $2}'`
126[ $# -ne 0 ] && list=$*
127
128
129rm -f /tmp/misc.log
130while true; do
131# 	Shuffle the list
132	list=`perl -e 'print splice(@ARGV,rand(@ARGV),1), " " while @ARGV;' $list`
133	for i in $list; do
134		./cleanup.sh
135		echo "`date '+%Y%m%d %T'` all: $i" | tee /dev/tty >> /tmp/misc.log
136		logger "Starting test all: $i"
137		./$i
138	done
139done
140