[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 05/18] ci: explicitly skip I/O tests on alpine
From: |
Daniel P . Berrangé |
Subject: |
[PATCH v4 05/18] ci: explicitly skip I/O tests on alpine |
Date: |
Wed, 24 Nov 2021 13:01:37 +0000 |
The block I/O tests don't work on Alpine because their alternative libc
impl emits different strings for errnos, which breaks the expected
output matching. e.g.
=== IO: pattern 102
wrote 512/512 bytes at offset 512
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-qemu-img: Error while reading offset 0 of
blkdebug:TEST_DIR/blkdebug.conf:TEST_DIR/t.IMGFMT: Input/output error
+qemu-img: Error while reading offset 0 of
blkdebug:TEST_DIR/blkdebug.conf:TEST_DIR/t.IMGFMT: I/O error
4
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=0
Currently the I/O tests are skipped as a side effect of the Alpine image
containing a minimal busybox 'sed' binary, rather than GNU Sed. This is
a fragile assumption that will be invalidated when the dockerfile is
changed to be autogenerated from a standardized package list that
includes GNU Sed.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
.gitlab-ci.d/buildtest.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 71d0f407ad..e1fe37e563 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -24,7 +24,7 @@ check-system-alpine:
artifacts: true
variables:
IMAGE: alpine
- MAKE_CHECK_ARGS: check
+ MAKE_CHECK_ARGS: check-unit check-qtest
avocado-system-alpine:
extends: .avocado_test_job_template
--
2.33.1
- [PATCH v4 00/18] tests/docker: start using libvirt-ci's "lcitool" for dockerfiles, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 01/18] ui: avoid compiler warnings from unused clipboard info variable, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 02/18] spice: Update QXLInterface for spice >= 0.15.0, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 03/18] meson: require liburing >= 0.3, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 04/18] ui: avoid warnings about directdb on Alpine / musl libc, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 05/18] ci: explicitly skip I/O tests on alpine,
Daniel P . Berrangé <=
- [PATCH v4 06/18] tests/docker: switch fedora image to release 35, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 07/18] tests: integrate lcitool for generating build env manifests, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 08/18] tests/docker: auto-generate centos8.docker with lcitool, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 10/18] tests/docker: auto-generate ubuntu1804.docker with lcitool, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 09/18] tests/docker: auto-generate fedora.docker with lcitool, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 11/18] tests/docker: auto-generate ubuntu2004.docker with lcitool, Daniel P . Berrangé, 2021/11/24
- [PATCH v4 13/18] tests/docker: remove ubuntu.docker container, Daniel P . Berrangé, 2021/11/24