Blame SOURCES/0474-testsuite-guard-against-kernel-panic.patch

712866
From 904c466cdb424a10c68cc97d8974754acd04dad9 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Fri, 11 Nov 2016 13:45:24 +0100
712866
Subject: [PATCH] testsuite: guard against kernel panic
712866
712866
call qemu with --no-reboot and append "panic=1" to the kernel cmdline
712866
---
712866
 test/TEST-01-BASIC/test.sh                 | 3 ++-
712866
 test/TEST-02-SYSTEMD/test.sh               | 3 ++-
712866
 test/TEST-03-USR-MOUNT/test.sh             | 3 ++-
712866
 test/TEST-04-FULL-SYSTEMD/test.sh          | 3 ++-
712866
 test/TEST-10-RAID/test.sh                  | 3 ++-
712866
 test/TEST-11-LVM/test.sh                   | 3 ++-
712866
 test/TEST-12-RAID-DEG/test.sh              | 3 ++-
712866
 test/TEST-13-ENC-RAID-LVM/test.sh          | 9 ++++++---
712866
 test/TEST-14-IMSM/test.sh                  | 3 ++-
712866
 test/TEST-15-BTRFSRAID/test.sh             | 3 ++-
712866
 test/TEST-16-DMSQUASH/test.sh              | 3 ++-
712866
 test/TEST-17-LVM-THIN/test.sh              | 3 ++-
712866
 test/TEST-20-NFS/test.sh                   | 6 ++++--
712866
 test/TEST-30-ISCSI/test.sh                 | 6 ++++--
712866
 test/TEST-40-NBD/test.sh                   | 6 ++++--
712866
 test/TEST-50-MULTINIC/test.sh              | 6 ++++--
712866
 test/TEST-60-MTUMAC/test.sh                | 6 ++++--
712866
 test/TEST-70-BONDBRIDGETEAMVLAN/dhcpd.conf | 2 +-
712866
 test/TEST-70-BONDBRIDGETEAMVLAN/test.sh    | 6 ++++--
712866
 19 files changed, 53 insertions(+), 27 deletions(-)
712866
712866
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
5c6c2a
index 97e8017e..6b79dee9 100755
712866
--- a/test/TEST-01-BASIC/test.sh
712866
+++ b/test/TEST-01-BASIC/test.sh
712866
@@ -14,7 +14,8 @@ test_run() {
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
 	-watchdog i6300esb -watchdog-action poweroff \
712866
-	-append "root=LABEL=dracut rw systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.debug console=ttyS0,115200n81 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=LABEL=dracut rw systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.debug console=ttyS0,115200n81 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing || return 1
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/result || return 1
712866
 }
712866
diff --git a/test/TEST-02-SYSTEMD/test.sh b/test/TEST-02-SYSTEMD/test.sh
5c6c2a
index 2a077b04..23591804 100755
712866
--- a/test/TEST-02-SYSTEMD/test.sh
712866
+++ b/test/TEST-02-SYSTEMD/test.sh
712866
@@ -13,7 +13,8 @@ test_run() {
712866
 	-hdb $TESTDIR/marker.disk \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=LABEL=dracut rw loglevel=77 rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 init=/sbin/init $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=LABEL=dracut rw loglevel=77 rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 init=/sbin/init $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/marker.disk || return 1
712866
 }
712866
diff --git a/test/TEST-03-USR-MOUNT/test.sh b/test/TEST-03-USR-MOUNT/test.sh
5c6c2a
index c3f810ab..cd6f2826 100755
712866
--- a/test/TEST-03-USR-MOUNT/test.sh
712866
+++ b/test/TEST-03-USR-MOUNT/test.sh
712866
@@ -20,7 +20,8 @@ client_run() {
712866
 	-hdc $TESTDIR/result \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=LABEL=dracut $client_opts rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=LABEL=dracut $client_opts rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
 
712866
     if (($? != 0)); then
712866
diff --git a/test/TEST-04-FULL-SYSTEMD/test.sh b/test/TEST-04-FULL-SYSTEMD/test.sh
5c6c2a
index 1adb34e9..13ab37b4 100755
712866
--- a/test/TEST-04-FULL-SYSTEMD/test.sh
712866
+++ b/test/TEST-04-FULL-SYSTEMD/test.sh
712866
@@ -22,7 +22,8 @@ client_run() {
712866
 	-hdc $TESTDIR/result \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none \
712866
-	-append "$client_opts rd.device.timeout=20 rd.retry=3 console=ttyS0,115200n81 selinux=0 $DEBUGOUT $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 $client_opts rd.device.timeout=20 rd.retry=3 console=ttyS0,115200n81 selinux=0 $DEBUGOUT $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
 
712866
     if (($? != 0)); then
712866
diff --git a/test/TEST-10-RAID/test.sh b/test/TEST-10-RAID/test.sh
5c6c2a
index 7f99c0e0..364f7d51 100755
712866
--- a/test/TEST-10-RAID/test.sh
712866
+++ b/test/TEST-10-RAID/test.sh
712866
@@ -12,7 +12,8 @@ test_run() {
712866
 	-hda $DISKIMAGE \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rd.auto rw rd.retry=10 console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rd.auto rw rd.retry=10 console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $DISKIMAGE || return 1
712866
 }
712866
diff --git a/test/TEST-11-LVM/test.sh b/test/TEST-11-LVM/test.sh
5c6c2a
index a4ee86da..fb009461 100755
712866
--- a/test/TEST-11-LVM/test.sh
712866
+++ b/test/TEST-11-LVM/test.sh
712866
@@ -11,7 +11,8 @@ test_run() {
712866
 	-hda $TESTDIR/root.ext2 \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2 || return 1
712866
 }
712866
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
5c6c2a
index aae5e8b4..d4cb9d00 100755
712866
--- a/test/TEST-12-RAID-DEG/test.sh
712866
+++ b/test/TEST-12-RAID-DEG/test.sh
712866
@@ -19,7 +19,8 @@ client_run() {
712866
 	-hdc $TESTDIR/disk2.img.new \
712866
 	-hdd $TESTDIR/disk3.img.new \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "$* root=LABEL=root rw rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL " \
712866
+        -no-reboot \
712866
+	-append "panic=1 $* root=LABEL=root rw rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL " \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then
712866
 	echo "CLIENT TEST END: $@ [FAIL]"
712866
diff --git a/test/TEST-13-ENC-RAID-LVM/test.sh b/test/TEST-13-ENC-RAID-LVM/test.sh
5c6c2a
index 8194166b..196dd3b6 100755
712866
--- a/test/TEST-13-ENC-RAID-LVM/test.sh
712866
+++ b/test/TEST-13-ENC-RAID-LVM/test.sh
712866
@@ -19,7 +19,8 @@ test_run() {
712866
 	-hdb $TESTDIR/check-success.img \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rw rd.auto rd.retry=20 console=ttyS0,115200n81 selinux=0 $LUKSARGS rd.device.timeout=40 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rw rd.auto rd.retry=20 console=ttyS0,115200n81 selinux=0 $LUKSARGS rd.device.timeout=40 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img || return 1
712866
     echo "CLIENT TEST END: [OK]"
712866
@@ -32,7 +33,8 @@ test_run() {
712866
 	-hdb $TESTDIR/check-success.img \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rw quiet rd.auto rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.device.timeout=40 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rw quiet rd.auto rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.device.timeout=40 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img || return 1
712866
     echo "CLIENT TEST END: [OK]"
712866
@@ -45,7 +47,8 @@ test_run() {
712866
 	-hdb $TESTDIR/check-success.img \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rw quiet rd.auto rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.luks.uuid=failme rd.device.timeout=40 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rw quiet rd.auto rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug rd.luks.uuid=failme rd.device.timeout=40 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/check-success.img && return 1
712866
     echo "CLIENT TEST END: [OK]"
712866
diff --git a/test/TEST-14-IMSM/test.sh b/test/TEST-14-IMSM/test.sh
5c6c2a
index 783ec4a5..4e5d665f 100755
712866
--- a/test/TEST-14-IMSM/test.sh
712866
+++ b/test/TEST-14-IMSM/test.sh
712866
@@ -15,7 +15,8 @@ client_run() {
712866
 	-hdc $TESTDIR/disk2 \
712866
 	-m 256M -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "$* root=LABEL=root rw debug rd.retry=20 rd.debug console=ttyS0,115200n81 selinux=0 rd.info $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 $* root=LABEL=root rw debug rd.retry=20 rd.debug console=ttyS0,115200n81 selinux=0 rd.info $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then
712866
 	echo "CLIENT TEST END: $@ [FAIL]"
712866
diff --git a/test/TEST-15-BTRFSRAID/test.sh b/test/TEST-15-BTRFSRAID/test.sh
5c6c2a
index 1e3e18c1..51ffd966 100755
712866
--- a/test/TEST-15-BTRFSRAID/test.sh
712866
+++ b/test/TEST-15-BTRFSRAID/test.sh
712866
@@ -11,7 +11,8 @@ test_run() {
712866
 	-hda $DISKIMAGE \
712866
 	-m 256M  -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=LABEL=root rw rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=LABEL=root rw rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     dd if=$DISKIMAGE bs=512 count=2 | grep -F -m 1 -q dracut-root-block-success $DISKIMAGE || return 1
712866
 }
712866
diff --git a/test/TEST-16-DMSQUASH/test.sh b/test/TEST-16-DMSQUASH/test.sh
5c6c2a
index 6daa35e7..3b4600e1 100755
712866
--- a/test/TEST-16-DMSQUASH/test.sh
712866
+++ b/test/TEST-16-DMSQUASH/test.sh
712866
@@ -21,7 +21,8 @@ test_run() {
712866
 	-hda "$TESTDIR"/root.img \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-"$KVERSION" \
712866
-	-append "root=live:CDLABEL=LiveCD live rw quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=live:CDLABEL=LiveCD live rw quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL" \
712866
 	-initrd "$TESTDIR"/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success -- "$TESTDIR"/root.img || return 1
712866
 }
712866
diff --git a/test/TEST-17-LVM-THIN/test.sh b/test/TEST-17-LVM-THIN/test.sh
5c6c2a
index f15e1a3d..9a9ed6f3 100755
712866
--- a/test/TEST-17-LVM-THIN/test.sh
712866
+++ b/test/TEST-17-LVM-THIN/test.sh
712866
@@ -11,7 +11,8 @@ test_run() {
712866
 	-hda $TESTDIR/root.ext2 \
712866
 	-m 256M -smp 2 -nographic \
712866
 	-net none -kernel /boot/vmlinuz-$KVERSION \
712866
-	-append "root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL" \
712866
+        -no-reboot \
712866
+	-append "panic=1 root=/dev/dracut/root rw rd.auto=1 quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug  $DEBUGFAIL" \
712866
 	-initrd $TESTDIR/initramfs.testing
712866
     grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2 || return 1
712866
 }
712866
diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
5c6c2a
index 64fc5501..9e02a18d 100755
712866
--- a/test/TEST-20-NFS/test.sh
712866
+++ b/test/TEST-20-NFS/test.sh
712866
@@ -23,7 +23,8 @@ run_server() {
712866
         -serial ${SERIAL:-null} \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-$KVERSION \
712866
-        -append "rd.debug loglevel=77 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 rd.debug loglevel=77 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
         -initrd $TESTDIR/initramfs.server \
712866
         -pidfile $TESTDIR/server.pid -daemonize || return 1
712866
     chmod 644 $TESTDIR/server.pid || return 1
712866
@@ -58,7 +59,8 @@ client_test() {
712866
         -net socket,connect=127.0.0.1:12320 \
712866
         -kernel /boot/vmlinuz-$KVERSION \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
-        -append "$cmdline $DEBUGFAIL rd.debug rd.retry=10 rd.info quiet  ro console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 $cmdline $DEBUGFAIL rd.debug rd.retry=10 rd.info quiet  ro console=ttyS0,115200n81 selinux=0" \
712866
         -initrd $TESTDIR/initramfs.testing
712866
 
712866
     if [[ $? -ne 0 ]] || ! grep -F -m 1 -q nfs-OK $TESTDIR/client.img; then
712866
diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh
5c6c2a
index a610b0e4..a82a9508 100755
712866
--- a/test/TEST-30-ISCSI/test.sh
712866
+++ b/test/TEST-30-ISCSI/test.sh
712866
@@ -25,7 +25,8 @@ run_server() {
712866
         -net nic,macaddr=52:54:00:12:34:56,model=e1000 \
712866
         -net nic,macaddr=52:54:00:12:34:57,model=e1000 \
712866
         -net socket,listen=127.0.0.1:12330 \
712866
-        -append "root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0 $SERVER_DEBUG" \
712866
+        -no-reboot \
712866
+        -append "panic=1 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0 $SERVER_DEBUG" \
712866
         -initrd $TESTDIR/initramfs.server \
712866
         -pidfile $TESTDIR/server.pid -daemonize || return 1
712866
     chmod 644 $TESTDIR/server.pid || return 1
712866
@@ -49,7 +50,8 @@ run_client() {
712866
         -net nic,macaddr=52:54:00:12:34:00,model=e1000 \
712866
         -net nic,macaddr=52:54:00:12:34:01,model=e1000 \
712866
         -net socket,connect=127.0.0.1:12330 \
712866
-        -append "rw rd.auto rd.device.timeout=300 rd.retry=50 console=ttyS0,115200n81 selinux=0 rd.debug=0 $DEBUGFAIL $*" \
712866
+        -no-reboot \
712866
+        -append "panic=1 rw rd.auto rd.device.timeout=300 rd.retry=50 console=ttyS0,115200n81 selinux=0 rd.debug=0 $DEBUGFAIL $*" \
712866
         -initrd $TESTDIR/initramfs.testing
712866
     if ! grep -F -m 1 -q iscsi-OK $TESTDIR/client.img; then
712866
 	echo "CLIENT TEST END: $test_name [FAILED - BAD EXIT]"
712866
diff --git a/test/TEST-40-NBD/test.sh b/test/TEST-40-NBD/test.sh
5c6c2a
index 73123c22..a781ef0c 100755
712866
--- a/test/TEST-40-NBD/test.sh
712866
+++ b/test/TEST-40-NBD/test.sh
712866
@@ -24,7 +24,8 @@ run_server() {
712866
         -net socket,listen=127.0.0.1:12340 \
712866
         -serial $SERIAL \
712866
         -kernel /boot/vmlinuz-$KVERSION \
712866
-        -append "root=/dev/sda rootfstype=ext2 rw quiet console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 root=/dev/sda rootfstype=ext2 rw quiet console=ttyS0,115200n81 selinux=0" \
712866
         -initrd $TESTDIR/initramfs.server -pidfile $TESTDIR/server.pid -daemonize || return 1
712866
     chmod 644 $TESTDIR/server.pid || return 1
712866
 
712866
@@ -61,7 +62,8 @@ client_test() {
712866
         -net nic,macaddr=$mac,model=e1000 \
712866
         -net socket,connect=127.0.0.1:12340 \
712866
         -kernel /boot/vmlinuz-$KVERSION \
712866
-        -append "$cmdline $DEBUGFAIL rd.auto rd.info rd.retry=10 ro console=ttyS0,115200n81  selinux=0  " \
712866
+        -no-reboot \
712866
+        -append "panic=1 $cmdline $DEBUGFAIL rd.auto rd.info rd.retry=10 ro console=ttyS0,115200n81  selinux=0  " \
712866
         -initrd $TESTDIR/initramfs.testing
712866
 
712866
     if [[ $? -ne 0 ]] || ! grep -F -m 1 -q nbd-OK $TESTDIR/flag.img; then
712866
diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh
5c6c2a
index 642a7486..627b8ca7 100755
712866
--- a/test/TEST-50-MULTINIC/test.sh
712866
+++ b/test/TEST-50-MULTINIC/test.sh
712866
@@ -23,7 +23,8 @@ run_server() {
712866
         ${SERIAL:+-serial "$SERIAL"} \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
         -initrd "$TESTDIR"/initramfs.server \
712866
         -pidfile "$TESTDIR"/server.pid -daemonize || return 1
712866
     chmod 644 -- "$TESTDIR"/server.pid || return 1
712866
@@ -58,7 +59,8 @@ client_test() {
712866
         -net nic,macaddr=52:54:00:12:34:$mac3,model=e1000 \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "$cmdline $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init rd.debug systemd.log_target=console loglevel=7" \
712866
+        -no-reboot \
712866
+        -append "panic=1 $cmdline $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init rd.debug systemd.log_target=console loglevel=7" \
712866
         -initrd "$TESTDIR"/initramfs.testing
712866
 
712866
     { read OK; read IFACES; } < "$TESTDIR"/client.img
712866
diff --git a/test/TEST-60-MTUMAC/test.sh b/test/TEST-60-MTUMAC/test.sh
5c6c2a
index b70e3161..f2d5c4a0 100755
712866
--- a/test/TEST-60-MTUMAC/test.sh
712866
+++ b/test/TEST-60-MTUMAC/test.sh
712866
@@ -22,7 +22,8 @@ run_server() {
712866
         ${SERIAL:+-serial "$SERIAL"} \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
         -initrd "$TESTDIR"/initramfs.server \
712866
         -pidfile "$TESTDIR"/server.pid -daemonize || return 1
712866
     chmod 644 -- "$TESTDIR"/server.pid || return 1
712866
@@ -56,7 +57,8 @@ client_test() {
712866
         -net nic,macaddr=52:54:00:12:34:05,model=e1000 \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "$cmdline $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init" \
712866
+        -no-reboot \
712866
+        -append "panic=1 $cmdline $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init" \
712866
         -initrd "$TESTDIR"/initramfs.testing
712866
 
712866
     { 
712866
diff --git a/test/TEST-70-BONDBRIDGETEAMVLAN/dhcpd.conf b/test/TEST-70-BONDBRIDGETEAMVLAN/dhcpd.conf
5c6c2a
index ec810c29..e26bd60b 100644
712866
--- a/test/TEST-70-BONDBRIDGETEAMVLAN/dhcpd.conf
712866
+++ b/test/TEST-70-BONDBRIDGETEAMVLAN/dhcpd.conf
712866
@@ -22,6 +22,6 @@ subnet 192.168.51.0 netmask 255.255.255.0 {
712866
 	option domain-name-servers 192.168.51.1;
712866
 	option domain-search "example.com";
712866
 	option domain-name "other.com";
712866
-	option root-path "nfs:192.168.50.1:/nfs/client";
712866
+	option root-path "nfs:192.168.51.1:/nfs/client";
712866
 	range 192.168.51.10 192.168.51.100;
712866
 }
712866
diff --git a/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh b/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
5c6c2a
index dcf9d5cf..9cf1f1a1 100755
712866
--- a/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
712866
+++ b/test/TEST-70-BONDBRIDGETEAMVLAN/test.sh
712866
@@ -29,7 +29,8 @@ run_server() {
712866
         ${SERIAL:+-serial "$SERIAL"} \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
+        -no-reboot \
712866
+        -append "panic=1 loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
712866
         -initrd "$TESTDIR"/initramfs.server \
712866
         -pidfile "$TESTDIR"/server.pid -daemonize || return 1
712866
     chmod 644 -- "$TESTDIR"/server.pid || return 1
712866
@@ -70,7 +71,8 @@ client_test() {
712866
         -net nic,vlan=3,macaddr=52:54:00:12:34:05,model=e1000 \
712866
         -watchdog i6300esb -watchdog-action poweroff \
712866
         -kernel /boot/vmlinuz-"$KVERSION" \
712866
-        -append "$cmdline rd.info $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init" \
712866
+        -no-reboot \
712866
+        -append "panic=1 $cmdline rd.info $DEBUGFAIL rd.retry=5 rw console=ttyS0,115200n81 selinux=0 init=/sbin/init" \
712866
         -initrd "$TESTDIR"/initramfs.testing
712866
 
712866
     {