HomeFreeBSD

CI: Add ZTS -O option, log Setup Testing Machines step

Description

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

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Sep 29 2025, 11:32 PM
GitHub <noreply@github.com>Committed on Sep 29 2025, 11:32 PM
Parents
rG8d4c3ee9e6f4: zvol: Fix blk-mq sync
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG75be5f2973b3: CI: Add ZTS -O option, log Setup Testing Machines step (authored by Tony Hutter <hutter2@llnl.gov>).Sep 29 2025, 11:32 PM