mirror of
https://github.com/versity/scoutfs.git
synced 2026-05-01 10:25:43 +00:00
Compare commits
1 Commits
main
...
auke/eler_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
523bbfd0b2 |
@@ -92,10 +92,14 @@ done
|
|||||||
T_TRACE_DUMP="0"
|
T_TRACE_DUMP="0"
|
||||||
T_TRACE_PRINTK="0"
|
T_TRACE_PRINTK="0"
|
||||||
T_PORT_START="19700"
|
T_PORT_START="19700"
|
||||||
T_LOOP_ITER="1"
|
T_LOOP_ITER="100"
|
||||||
|
|
||||||
# array declarations to be able to use array ops
|
# array declarations to be able to use array ops
|
||||||
declare -a T_TRACE_GLOB
|
declare -a T_TRACE_GLOB
|
||||||
|
T_TRACE_GLOB=( "scoutfs*" )
|
||||||
|
|
||||||
|
# CI sets this to 3600, but, for this case we want it very short
|
||||||
|
echo 30 > /proc/sys/kernel/hung_task_timeout_secs
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
case $1 in
|
case $1 in
|
||||||
@@ -493,6 +497,11 @@ crash_monitor()
|
|||||||
bad=1
|
bad=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if dmesg | grep -q "blocked for more than"; then
|
||||||
|
echo "run-tests monitor saw blocked task message"
|
||||||
|
bad=1
|
||||||
|
fi
|
||||||
|
|
||||||
if dmesg | grep -q "error indicated by fence action" ; then
|
if dmesg | grep -q "error indicated by fence action" ; then
|
||||||
echo "run-tests monitor saw fence agent error message"
|
echo "run-tests monitor saw fence agent error message"
|
||||||
bad=1
|
bad=1
|
||||||
@@ -504,6 +513,8 @@ crash_monitor()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$bad" != 0 ]; then
|
if [ "$bad" != 0 ]; then
|
||||||
|
sync & # maybe this gets logs synced...
|
||||||
|
sleep .1
|
||||||
echo "run-tests monitor triggering crash"
|
echo "run-tests monitor triggering crash"
|
||||||
echo c > /proc/sysrq-trigger
|
echo c > /proc/sysrq-trigger
|
||||||
exit 1
|
exit 1
|
||||||
@@ -706,6 +717,8 @@ for t in $tests; do
|
|||||||
# stop looping if we didn't pass
|
# stop looping if we didn't pass
|
||||||
if [ "$sts" != "$T_PASS_STATUS" ]; then
|
if [ "$sts" != "$T_PASS_STATUS" ]; then
|
||||||
break;
|
break;
|
||||||
|
else
|
||||||
|
echo > /sys/kernel/debug/tracing/trace
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +1 @@
|
|||||||
export-get-name-parent.sh
|
|
||||||
basic-block-counts.sh
|
|
||||||
basic-bad-mounts.sh
|
|
||||||
basic-posix-acl.sh
|
|
||||||
inode-items-updated.sh
|
|
||||||
simple-inode-index.sh
|
|
||||||
simple-staging.sh
|
|
||||||
simple-release-extents.sh
|
|
||||||
simple-readdir.sh
|
|
||||||
get-referring-entries.sh
|
|
||||||
fallocate.sh
|
|
||||||
basic-truncate.sh
|
|
||||||
data-prealloc.sh
|
|
||||||
setattr_more.sh
|
|
||||||
offline-extent-waiting.sh
|
|
||||||
move-blocks.sh
|
|
||||||
projects.sh
|
|
||||||
large-fragmented-free.sh
|
|
||||||
format-version-forward-back.sh
|
|
||||||
enospc.sh
|
|
||||||
mmap.sh
|
|
||||||
srch-safe-merge-pos.sh
|
|
||||||
srch-basic-functionality.sh
|
|
||||||
simple-xattr-unit.sh
|
|
||||||
retention-basic.sh
|
|
||||||
totl-xattr-tag.sh
|
|
||||||
quota.sh
|
|
||||||
lock-refleak.sh
|
|
||||||
lock-shrink-consistency.sh
|
|
||||||
lock-shrink-read-race.sh
|
|
||||||
lock-pr-cw-conflict.sh
|
|
||||||
lock-revoke-getcwd.sh
|
|
||||||
lock-recover-invalidate.sh
|
|
||||||
export-lookup-evict-race.sh
|
export-lookup-evict-race.sh
|
||||||
createmany-parallel.sh
|
|
||||||
createmany-large-names.sh
|
|
||||||
createmany-rename-large-dir.sh
|
|
||||||
stage-release-race-alloc.sh
|
|
||||||
stage-multi-part.sh
|
|
||||||
o_tmpfile.sh
|
|
||||||
basic-posix-consistency.sh
|
|
||||||
dirent-consistency.sh
|
|
||||||
mkdir-rename-rmdir.sh
|
|
||||||
lock-ex-race-processes.sh
|
|
||||||
cross-mount-data-free.sh
|
|
||||||
persistent-item-vers.sh
|
|
||||||
setup-error-teardown.sh
|
|
||||||
resize-devices.sh
|
|
||||||
change-devices.sh
|
|
||||||
fence-and-reclaim.sh
|
|
||||||
quorum-heartbeat-timeout.sh
|
|
||||||
orphan-inodes.sh
|
|
||||||
mount-unmount-race.sh
|
|
||||||
client-unmount-recovery.sh
|
|
||||||
createmany-parallel-mounts.sh
|
|
||||||
archive-light-cycle.sh
|
|
||||||
block-stale-reads.sh
|
|
||||||
inode-deletion.sh
|
|
||||||
renameat2-noreplace.sh
|
|
||||||
xfstests.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user