[Libguestfs] [libnbd PATCH 00/20] Many CI fixes

Martin Kletzander
Tue, 08 Jun 2021 07:53:41 -0000

Lot of clean-ups for the CI.  I also added support for easily configurable way
of skipping particular tests on selected distros.  However, I only skipped those
that do not have and easy way of detecting a broken dependency and such like.
What is still missing is:

- All the CentOS builds have issues with three tests that seem like a protocol
  violation, but can very well be a bug in some test dependency.  Since this is
  the closest to RHEL we can get, I think it's worth investigating.

- FreeBSDs do not even build and it looks like some libtool wrapper script is
  fed into a C preprocessor, which fails terribly due to the script comments
  (but should not be fed there at all, of course.

- MacOS has issues, although that one is marked to allow failures and the issue
  does not seem to be on our side anyway.  I won't look into it for a while
and
  see if it sorts itself out.

Martin Kletzander (20):
  fuse: Only support defined fallocate modes
  interop: Do not test against broken qemu-storage-daemon
  nbdsh: Check for python-exec2c installations
  tests: Fix hexdump probing
  tests: Clean up qemu-nbd detection in
  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
  ci: Change docker driver and archive logs
  ci: Remove cross-compilation targets
  ci: Remove debian-10-clang build
  ci: Update build files
  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: Disable `make dist` on openSUSE

 tests/Makefile.am                             |   6 +-
 tests/functions.sh.in                         |  58 ++++
 interop/interop-qemu-storage-daemon.sh        |   5 +-
 .gitlab-ci.yml                                | 247 ++----------------
 ci/README.rst                                 |  16 +-
 ci/build.sh                                   | 112 ++++++++
 ci/build_script.sh                            |  56 ----
 ci/cirrus/build.yml                           |   2 +-
 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                              |   9 +
 copy/copy-block-to-nbd.sh                     |   3 +-
 copy/copy-file-to-qcow2.sh                    |  16 +-
 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 +-
 sh/nbdsh.in                                   |   3 +-
 70 files changed, 377 insertions(+), 2074 deletions(-)
 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.31.1