mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-11 12:56:21 +03:00
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>
34 lines
1.0 KiB
Bash
Executable File
34 lines
1.0 KiB
Bash
Executable File
#!/bin/ksh -p
|
|
# SPDX-License-Identifier: CDDL-1.0
|
|
|
|
#
|
|
# This file and its contents are supplied under the terms of the
|
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
|
# You may only use this file in accordance with the terms of version
|
|
# 1.0 of the CDDL.
|
|
#
|
|
# A full copy of the text of the CDDL should have accompanied this
|
|
# source. A copy of the CDDL is also available via the Internet at
|
|
# http://www.illumos.org/license/CDDL.
|
|
#
|
|
|
|
#
|
|
# Copyright (c) 2016 by Delphix. All rights reserved.
|
|
#
|
|
|
|
# $1: number of lines to output (default: 200)
|
|
typeset lines=${1:-200}
|
|
|
|
echo "================================================================="
|
|
echo " Tailing last $lines lines of zfs_dbgmsg log"
|
|
echo "================================================================="
|
|
|
|
sudo tail -n $lines /proc/spl/kstat/zfs/dbgmsg
|
|
|
|
# reset dbgmsg
|
|
sudo sh -c "echo > /proc/spl/kstat/zfs/dbgmsg"
|
|
|
|
echo "================================================================="
|
|
echo " End of zfs_dbgmsg log"
|
|
echo "================================================================="
|