aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests/callbacks/zfs_mmp.ksh
diff options
context:
space:
mode:
authorTino Reichardt <[email protected]>2023-03-15 18:41:05 +0100
committerGitHub <[email protected]>2023-03-15 10:41:05 -0700
commitb7bc334d135189354a39e099a7cb3ab7776a5b60 (patch)
tree2abc318c8fb97b7520f00cbcddb99f42af7c8766 /tests/zfs-tests/callbacks/zfs_mmp.ksh
parentf55d6ee818763a78328345c5bee9f38d18b852a6 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tino Reichardt <[email protected]> Closes #14078
Diffstat (limited to 'tests/zfs-tests/callbacks/zfs_mmp.ksh')
-rwxr-xr-xtests/zfs-tests/callbacks/zfs_mmp.ksh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/callbacks/zfs_mmp.ksh b/tests/zfs-tests/callbacks/zfs_mmp.ksh
index 402e0b03f..d57061438 100755
--- a/tests/zfs-tests/callbacks/zfs_mmp.ksh
+++ b/tests/zfs-tests/callbacks/zfs_mmp.ksh
@@ -30,6 +30,7 @@ for f in /proc/spl/kstat/zfs/*/multihost; do
echo "================================================================="
sudo tail -n $lines $f
+ sudo bash -c "echo > $f"
done
echo "================================================================="