-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
For issues like RHEL-145168, RHEL-130927 and etc, the kdump kernel can hang. So it's ideal to reboot the system so the bisecting can continue.
Currently, users need to manually reboot the system or using a script like follows,
host=$1
MAX_WAIT_TIME_S=200
SLEEP_S=5
while :; do
until ssh -o ConnectTimeout=3 -o ChannelTimeout=session=2s "$host" exit 2>/dev/null; do
if [[ $elapse_time -gt $MAX_WAIT_TIME_S ]]; then
bkr system-power "$host"
elapse_time=0
fi
elapse_time=$((elapse_time + SLEEP_S))
sleep "$SLEEP_S"
done
elapse_time=0
sleep "$SLEEP_S"
doneReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request