Lot of clean-ups for the CI. I also added support for easily configurable way
of skipping particular tests on selected distros. The only job in the pipeline
that is not green with these patches is the MacOS build and that will require
more work.
v2:
- struct sockaddr_vm fix for MacOS
- bash completion fixed - no need to skip dist on opensuse
- fixed check for qemu-storage-daemon version
- also run "brew upgrade" on MacOS
- incorporated reviews
Martin Kletzander (23):
Include sys/vsock.h if linux/vm_sockets.h is not available
bash: Generate completion files during build
fuse: Only support defined fallocate modes
interop: Do not test against broken qemu-storage-daemon
tests: Fix hexdump probing
tests: Clean up qemu-nbd detection
tests: Enhance fuse probing
tests: Fix port randomisation
tests: Require cap_sys_admin where root is required
tests: Do not use magic parameter for some nbdkit plugins
tests: Rename version to get-version
ci: Change docker driver and archive logs
ci: Remove cross-compilation targets
ci: Remove debian-10-clang build
ci: Add support for FreeBSD-13.0
ci: Fix run commands in README
ci: Some build script fixes
ci: Add support for test skipping
ci: Rename build_script.sh to just build.sh
ci: Skip some broken tests/distro combinations
ci: Only run `make check` on Linux
ci: Also perform `brew upgrade` on MacOS
ci: Update build files
configure.ac | 2 +-
lib/connect.c | 2 +
tests/Makefile.am | 18 +-
tests/functions.sh.in | 58 ++++
tests/{version.c => get-version.c} | 0
interop/interop-qemu-storage-daemon.sh | 6 +-
.gitignore | 2 +-
.gitlab-ci.yml | 247 ++----------------
bash/Makefile.am | 16 +-
ci/README.rst | 16 +-
ci/build.sh | 117 +++++++++
ci/build_script.sh | 56 ----
ci/cirrus/build.yml | 3 +-
ci/cirrus/freebsd-12.vars | 5 +-
ci/cirrus/freebsd-13.vars | 13 +
ci/cirrus/freebsd-current.vars | 5 +-
ci/cirrus/macos-11.vars | 6 +-
ci/containers/centos-8.Dockerfile | 12 +-
ci/containers/centos-stream-8.Dockerfile | 12 +-
.../debian-10-cross-aarch64.Dockerfile | 86 ------
.../debian-10-cross-armv6l.Dockerfile | 86 ------
.../debian-10-cross-armv7l.Dockerfile | 86 ------
ci/containers/debian-10-cross-i686.Dockerfile | 86 ------
ci/containers/debian-10-cross-mips.Dockerfile | 86 ------
.../debian-10-cross-mips64el.Dockerfile | 86 ------
.../debian-10-cross-mipsel.Dockerfile | 86 ------
.../debian-10-cross-ppc64le.Dockerfile | 86 ------
.../debian-10-cross-s390x.Dockerfile | 86 ------
ci/containers/debian-10.Dockerfile | 9 +-
.../debian-sid-cross-aarch64.Dockerfile | 86 ------
.../debian-sid-cross-armv6l.Dockerfile | 86 ------
.../debian-sid-cross-armv7l.Dockerfile | 86 ------
.../debian-sid-cross-i686.Dockerfile | 86 ------
.../debian-sid-cross-mips64el.Dockerfile | 86 ------
.../debian-sid-cross-mipsel.Dockerfile | 86 ------
.../debian-sid-cross-ppc64le.Dockerfile | 86 ------
.../debian-sid-cross-s390x.Dockerfile | 86 ------
ci/containers/debian-sid.Dockerfile | 9 +-
ci/containers/fedora-33.Dockerfile | 14 +-
ci/containers/fedora-34.Dockerfile | 14 +-
.../fedora-rawhide-cross-mingw32.Dockerfile | 71 -----
.../fedora-rawhide-cross-mingw64.Dockerfile | 71 -----
ci/containers/fedora-rawhide.Dockerfile | 14 +-
ci/containers/opensuse-leap-152.Dockerfile | 12 +-
ci/containers/opensuse-tumbleweed.Dockerfile | 12 +-
ci/containers/refresh | 20 --
ci/containers/ubuntu-1804.Dockerfile | 8 +-
ci/containers/ubuntu-2004.Dockerfile | 9 +-
ci/skipped_tests | 12 +
copy/copy-block-to-nbd.sh | 3 +-
copy/copy-file-to-qcow2.sh | 17 +-
copy/copy-nbd-to-block.sh | 3 +-
copy/copy-nbd-to-file.sh | 2 +-
copy/copy-nbd-to-nbd.sh | 2 +-
copy/copy-nbd-to-small-block-error.sh | 5 +-
copy/copy-tls.sh | 2 +-
fuse/operations.c | 8 +
fuse/test-errors.sh | 2 +-
fuse/test-file-mode.sh | 3 +-
fuse/test-nbdkit-command.sh | 2 +-
fuse/test-nbdkit-file-null.sh | 2 +-
fuse/test-nbdkit.sh | 3 +-
fuse/test-parallel.sh | 2 +-
fuse/test-pattern.sh | 4 +-
fuse/test-qcow2.sh | 3 +-
fuse/test-trim.sh | 2 +-
fuse/test-unix.sh | 2 +-
fuse/test-zero.sh | 2 +-
info/Makefile.am | 1 +
info/info-description-qemu.sh | 17 +-
info/info-list-json-qemu.sh | 17 +-
info/info-list-qemu.sh | 17 +-
info/info-map-qemu-allocation-depth.sh | 16 +-
info/info-map-qemu-dirty-bitmap.sh | 23 +-
74 files changed, 400 insertions(+), 2093 deletions(-)
rename tests/{version.c => get-version.c} (100%)
create mode 100755 ci/build.sh
delete mode 100755 ci/build_script.sh
create mode 100644 ci/cirrus/freebsd-13.vars
delete mode 100644 ci/containers/debian-10-cross-aarch64.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-armv6l.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-armv7l.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-i686.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-mips.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-mips64el.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-mipsel.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-ppc64le.Dockerfile
delete mode 100644 ci/containers/debian-10-cross-s390x.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-aarch64.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-armv6l.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-armv7l.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-i686.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-mips64el.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-mipsel.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-ppc64le.Dockerfile
delete mode 100644 ci/containers/debian-sid-cross-s390x.Dockerfile
delete mode 100644 ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
delete mode 100644 ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
create mode 100644 ci/skipped_tests
--
2.32.0