]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
torture: Make kvm-remote.sh give up on unresponsive system
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 9 Oct 2024 18:56:28 +0000 (11:56 -0700)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Sat, 14 Dec 2024 15:16:58 +0000 (16:16 +0100)
commit6ca774f06a7df650f41b38b67bec0665d862ac23
tree5a5d991bc67d937e4cc36642e9118910849968de
parent1806b1f97f7ab0bb8bda7c117b2573a335cea940
torture: Make kvm-remote.sh give up on unresponsive system

Currently, a system that stops responding at the wrong time will hang
kvm-remote.sh.  This can happen when the system in question is forced
offline for maintenance, and there is currently no way for the user
to kick this script into moving ahead.  This commit therefore causes
kvm-remote.sh to wait at most 15 minutes for a non-responsive system,
that is, a system for which ssh gives an exit code of 255.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
tools/testing/selftests/rcutorture/bin/kvm-remote.sh