]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Split functional testings via github action matrix
authorTino Reichardt <milky-zfs@mcmilk.de>
Wed, 15 Mar 2023 17:41:05 +0000 (18:41 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Mar 2023 17:41:05 +0000 (10:41 -0700)
commitb7bc334d135189354a39e099a7cb3ab7776a5b60
tree2abc318c8fb97b7520f00cbcddb99f42af7c8766
parentf55d6ee818763a78328345c5bee9f38d18b852a6
Split functional testings via github action matrix

This commit changes the workflow of the github actions.

We split the workflow into different parts:

1) build zfs modules for Ubuntu 20.04 and 22.04 (~25m)
2) 2x zloop test (~10m) + 2x sanity test (~25m)
3) functional testings in parts 1..5 (each ~1h)
   - these could be triggered, when sanity tests are ok
   - currently I just start them all in the same time
4) cleanup and create summary

When everything is fine, the full run with all testings
should be done in around 2 hours.

The codeql.yml and checkstyle.yml are not part in this circle.

The testings are also modified a bit:
- report info about CPU and checksum benchmarks
- reset the debugging logs for each test
  - when some error occurred, we call dmesg with -c to get
    only the log output for the last failed test
  - we empty also the dbgsys

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #14078
13 files changed:
.github/workflows/README.md [new file with mode: 0644]
.github/workflows/scripts/generate-summary.sh [new file with mode: 0755]
.github/workflows/scripts/reclaim_disk_space.sh [deleted file]
.github/workflows/scripts/setup-dependencies.sh [new file with mode: 0755]
.github/workflows/scripts/setup-functional.sh [new file with mode: 0755]
.github/workflows/zfs-linux-tests.yml [new file with mode: 0644]
.github/workflows/zfs-linux.yml [new file with mode: 0644]
.github/workflows/zfs-tests-functional.yml [deleted file]
.github/workflows/zfs-tests-sanity.yml [deleted file]
.github/workflows/zloop.yml [deleted file]
tests/zfs-tests/callbacks/zfs_dbgmsg.ksh
tests/zfs-tests/callbacks/zfs_dmesg.ksh
tests/zfs-tests/callbacks/zfs_mmp.ksh