CI: Use 'watchdog' for x86 hardware
PATCH 1/1 CI: Use 'watchdog' for x86 hardware
This detects various hangs and turns them into a crash with backtrace.
---
CC: Anthony PERARD <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
--- automation/scripts/qubes-x86-64.sh | 4 ++-- automation/scripts/xilinx-smoke-dom0-x86_64.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
automation/scripts/qubes-x86-64.sh +2 -2
@@ -260,14 +260,14 @@ TFTP=/scratch/gitlab-runner/tftp [email protected] echo " -multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot $extra_xen_opts +multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen module2 --nounzip (http)/gitlab-ci/initrd-dom0 " > $TFTP/grub.cfg echo "#!ipxe -kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot $extra_xen_opts || reboot +kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts || reboot module /gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen || reboot module /gitlab-ci/initrd-dom0 || reboot boot
automation/scripts/xilinx-smoke-dom0-x86_64.sh +1 -1
@@ -15,7 +15,7 @@ WORKDIR="${PWD}" TEST="$1" PASS_MSG="Test passed: ${TEST}" XEN_CMD_DOM0="dom0=pvh dom0_max_vcpus=4 dom0_mem=4G" -XEN_CMD_XEN="sched=null loglvl=all guest_loglvl=all console_timestamps=boot" +XEN_CMD_XEN="sched=null loglvl=all guest_loglvl=all console_timestamps=boot watchdog" XEN_CMD_EXTRA="" DOM0_CMD="" DOMU_CMD=""
base-commit: 97f9db488a48d5f7c41681ac3bde7047dcfca899
Signature · 1 line
2.39.5
Quoted 3 lines · Andrew Cooper
This detects various hangs and turns them into a crash with backtrace.
Signed-off-by Andrew Cooper <[email protected]>
Should it also apply to in-QEMU tests?
Anyway:
Quoted 51 lines
---
CC: Anthony PERARD <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>--- automation/scripts/qubes-x86-64.sh | 4 ++-- automation/scripts/xilinx-smoke-dom0-x86_64.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)automation/scripts/qubes-x86-64.sh +2
-2@@ -260,14 +260,14 @@ TFTP=/scratch/gitlab-runner/tftp [email protected] echo " -multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot $extra_xen_opts +multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen module2 --nounzip (http)/gitlab-ci/initrd-dom0 " > $TFTP/grub.cfg echo "#!ipxe -kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot $extra_xen_opts || reboot +kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts || reboot module /gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen || reboot module /gitlab-ci/initrd-dom0 || reboot bootautomation/scripts/xilinx-smoke-dom0-x86_64.sh +1
-1@@ -15,7 +15,7 @@ WORKDIR="${PWD}" TEST="$1" PASS_MSG="Test passed: ${TEST}" XEN_CMD_DOM0="dom0=pvh dom0_max_vcpus=4 dom0_mem=4G" -XEN_CMD_XEN="sched=null loglvl=all guest_loglvl=all console_timestamps=boot" +XEN_CMD_XEN="sched=null loglvl=all guest_loglvl=all console_timestamps=boot watchdog" XEN_CMD_EXTRA="" DOM0_CMD="" DOMU_CMD=""base-commit:
97f9db488a48d5f7c41681ac3bde7047dcfca899Signature · 1 line
2.39.5
Signature · 3 lines
Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
Quoted 5 lines · Marek Marczykowski-Górecki
Quoted 3 lines · Andrew Cooper
This detects various hangs and turns them into a crash with backtrace.
Signed-off-by Andrew Cooper <[email protected]>Should it also apply to in-QEMU tests?
I doubt QEMU can emulate performance counters. I certainly wouldn't trust an emulation which claims to be able to.
Quoted 4 lines
Anyway:
Reviewed-by Marek Marczykowski-Górecki <[email protected]>
Thanks.
~Andrew
Stefano Stabellini
Acked-byQuoted 10 lines · Marek Marczykowski-Górecki
Quoted 3 lines · Andrew Cooper
This detects various hangs and turns them into a crash with backtrace.
Signed-off-by Andrew Cooper <[email protected]>Should it also apply to in-QEMU tests?
Anyway:
Reviewed-by Marek Marczykowski-Górecki <[email protected]>