File tree 2 files changed +24
-3
lines changed
2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 5
5
# : target = "helios-2.0"
6
6
# : output_rules = [
7
7
# : "/tmp/crudd-speed-battery-results.json",
8
+ # : "%/tmp/debug/*.txt",
9
+ # : "/tmp/dsc/*.txt",
8
10
# : "/tmp/core.*",
9
11
# : ]
10
12
# : skip_clone = true
42
44
43
45
export BINDIR=/var/tmp/bins
44
46
47
+ banner setup
48
+ pfexec plimit -n 9123456 $$
49
+
50
+ echo " Setup self timeout"
51
+ jobpid=$$ ; (sleep $(( 2 * 60 * 60 )) ; ps -ef; zfs list; kill $jobpid ) &
52
+
53
+ echo " Setup debug logging"
54
+ mkdir /tmp/debug
55
+ psrinfo -v > /tmp/debug/psrinfo.txt
56
+ df -h > /tmp/debug/df.txt
57
+ prstat -d d -mLc 1 > /tmp/debug/prstat.txt 2>&1 &
58
+ iostat -T d -xn 1 > /tmp/debug/iostat.txt 2>&1 &
59
+ mpstat -T d 1 > /tmp/debug/mpstat.txt 2>&1 &
60
+ vmstat -T d -p 1 < /dev/null > /tmp/debug/paging.txt 2>&1 &
61
+ pfexec dtrace -Z -s $input /scripts/perf-downstairs-tick.d > /tmp/debug/dtrace.txt 2>&1 &
62
+
45
63
banner " crudd bench"
46
64
pfexec plimit -n 9123456 $$
47
65
Original file line number Diff line number Diff line change @@ -155,8 +155,8 @@ for tt in ${test_list}; do
155
155
echo " " >> " ${log_prefix} _out.txt"
156
156
echo " Running test: $tt " | tee -a " ${log_prefix} _out.txt"
157
157
echo " Running test: $tt " >> " ${log_prefix} _out.txt"
158
- echo " $ct " " $tt " -g " $gen " --verify-at-end -q " ${args[@]} " >> " ${log_prefix} _out.txt"
159
- if ! " $ct " " $tt " -g " $gen " --verify-at-end -q " ${args[@]} " >> " ${log_prefix} _out.txt" 2>&1 ; then
158
+ echo " $ct " " $tt " -g " $gen " --verify-at-end --stable " ${args[@]} " >> " ${log_prefix} _out.txt"
159
+ if ! " $ct " " $tt " -g " $gen " --verify-at-end --stable " ${args[@]} " >> " ${log_prefix} _out.txt" 2>&1 ; then
160
160
(( res += 1 ))
161
161
echo " "
162
162
echo " Failed crutest $tt test"
@@ -166,7 +166,10 @@ for tt in ${test_list}; do
166
166
else
167
167
echo " Completed test: $tt "
168
168
fi
169
- (( gen += 1 ))
169
+ (( gen += 2 ))
170
+ # Yes, this is bad. Sometimes we just need a little time for the test
171
+ # to finish everything before the next one starts.
172
+ sleep 5
170
173
done
171
174
(( gen += 10 ))
172
175
You can’t perform that action at this time.
0 commit comments