CI: Add Alpine Linux 3.23 runner to the pipeline (#18087)

Add an Alpine Linux 3.23 runner to the CI chain to run OpenZFS builds
and tests against musl libc.

Currently, zfs_send_sparse is killed after 10 minutes on Alpine, causing
cascading EBUSY failures in the test suite. With zfs_send_sparse
disabled, the ZFS test suite reaches a pass rate of 94.62%.

This commit introduces the required Alpine-specific setup and a small
set of shell and cloud-init compatibility fixes that also apply to
existing Linux runners.

The Alpine runner is not enabled by default and is not executed for new
pull requests.

Sponsored-by: ERNW Research GmbH - https://ernw-research.de/

Signed-off-by: Alexander Moch <amoch@ernw.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
This commit is contained in:
Alexander Moch
2025-12-30 17:29:48 +00:00
committed by Tony Hutter
parent 38ed094954
commit bf4b271af1
9 changed files with 121 additions and 20 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ echo "================================================================="
sudo tail -n $lines /proc/spl/kstat/zfs/dbgmsg
# reset dbgmsg
sudo bash -c "echo > /proc/spl/kstat/zfs/dbgmsg"
sudo sh -c "echo > /proc/spl/kstat/zfs/dbgmsg"
echo "================================================================="
echo " End of zfs_dbgmsg log"
+1 -1
View File
@@ -31,7 +31,7 @@ for f in /proc/spl/kstat/zfs/*/multihost; do
echo "================================================================="
sudo tail -n $lines $f
sudo bash -c "echo > $f"
sudo sh -c "echo > $f"
done
echo "================================================================="