]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
torture: Make hangs more visible in torture.sh output
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jan 2026 04:33:48 +0000 (20:33 -0800)
committerJoel Fernandes <joelagnelf@nvidia.com>
Mon, 30 Mar 2026 19:48:13 +0000 (15:48 -0400)
This commit labels "QEMU killed" lines so that they will be picked up
by torture.sh processing.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
tools/testing/selftests/rcutorture/bin/parse-console.sh

index de65d77b47ff7a549f4a1fb654d24fb7236a08e0..4791774b8485ab6d149dc79bea43fd4b05106420 100755 (executable)
@@ -49,7 +49,7 @@ do
                then
                        if test -f "$i/qemu-retval" && test "`cat $i/qemu-retval`" -eq 137
                        then
-                               echo QEMU killed
+                               echo "Summary: Potential hang (QEMU killed)"
                        fi
                        configcheck.sh $i/.config $i/ConfigFragment > $i/ConfigFragment.diags 2>&1
                        if grep -q '^CONFIG_KCSAN=y$' $i/ConfigFragment.input
index 21e6ba3615f6a96efce0e135f7331d7945ca7b0d..be1e943ca4d518fd859e5dde2f6c8c231699ded2 100755 (executable)
@@ -113,7 +113,6 @@ then
                then
                        print_warning $title `cat $T.seq`
                fi
-               exit 2
        fi
 fi | tee -a $file.diags