mirror_zfs/.github/workflows/scripts
Tony Hutter 2a331e411d CI: Add ZTS -O option, log Setup Testing Machines step
Add a -O option to zfs-test.sh to dump debug information on test
timeout.  The debug info includes:

- 30 lines from 'top'
- /proc/<PID>/stack output of process with highest CPU usage
- Last lines strace-ing process with highest CPU usage
- /proc/sysrq-trigger kernel stack traces

All debug information gets dumped to /dev/kmsg (Linux only).

In addition, print out the VM console lines from the "Setup Testing
Machines" step.  We have often see VMs timeout at this step and don't
know why.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17753
2025-10-21 10:35:58 -07:00
..
generate-ci-type.py ci: use real head sha instead of GITHUB_SHA when generating CI type 2025-10-21 10:35:58 -07:00
merge_summary.awk ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
qemu-1-setup.sh CI: Increase setup timeout to 20min, add timestamps 2025-10-21 10:35:58 -07:00
qemu-2-start.sh CI: Switch FreeBSD 15 to 15.0-ALPHA3 2025-10-21 10:35:58 -07:00
qemu-3-deps-vm.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-10-21 10:35:58 -07:00
qemu-3-deps.sh runners: Add option to install custom kernel on Fedora 2025-05-28 16:00:28 -07:00
qemu-4-build-vm.sh CI: Add optional patch level, fix hostname on F42 2025-08-18 17:06:55 -07:00
qemu-4-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-5-setup.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-10-21 10:35:58 -07:00
qemu-6-tests.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-10-21 10:35:58 -07:00
qemu-7-prepare.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-8-summary.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-9-summary-page.sh ZTS: Fix summary page creation again - second try 2024-10-09 13:44:18 -07:00
qemu-prepare-for-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-test-repo-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-wait-for-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
README.md ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
replace-dupes-with-symlinks.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00

Workflow for each operating system:

  • install qemu on the github runner
  • download current cloud image of operating system
  • start and init that image via cloud-init
  • install dependencies and poweroff system
  • start system and build openzfs and then poweroff again
  • clone build system and start 2 instances of it
  • run functional testings and complete in around 3h
  • when tests are done, do some logfile preparing
  • show detailed results for each system
  • in the end, generate the job summary

/TR 14.09.2024