8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
9 cancel-in-progress: true
15 TEST_DIR: /var/tmp/zloop
17 - uses: actions/checkout@v4
19 ref: ${{ github.event.pull_request.head.sha }}
20 - name: Install dependencies
22 sudo apt-get purge -y snapd google-chrome-stable firefox
23 ONLY_DEPS=1 .github/workflows/scripts/qemu-3-deps.sh ubuntu24
26 sed -i '/DEBUG_CFLAGS="-Werror"/s/^/#/' config/zfs-build.m4
30 ./configure --prefix=/usr --enable-debug --enable-debuginfo \
31 --enable-asan --enable-ubsan \
32 --enable-debug-kmem --enable-debug-kmem-tracking
43 sudo mkdir -p $TEST_DIR
44 # run for 10 minutes or at most 6 iterations for a maximum runner
46 sudo /usr/share/zfs/zloop.sh -t 600 -I 6 -l -m 1 -- -T 120 -P 60
47 - name: Prepare artifacts
50 sudo chmod +r -R $TEST_DIR/
54 grep -B10 -A1000 'ASSERT' $TEST_DIR/*/ztest.out || tail -n 1000 $TEST_DIR/*/ztest.out
58 sed -n '/Backtraces (full)/q;p' $TEST_DIR/*/ztest.gdb
62 cat $TEST_DIR/*/ztest.zdb
63 - uses: actions/upload-artifact@v4
69 !/var/tmp/zloop/*/vdev/
70 if-no-files-found: ignore
71 - uses: actions/upload-artifact@v4
76 /var/tmp/zloop/*/vdev/
77 if-no-files-found: ignore