@samitouri / QOSamiQemu / commits / 753c88c7f8

gitlab: add jobs for thorough block tests

CI is only exercising the qcow2 'auto' tests currently. As a result we get no exposure of changes which cause regressions in other block format drivers. This adds new CI jobs for each block format, that will run the target 'make check-block-$FORMAT'. The jobs are separate so that we have the ability to make each format gating or not, depending on their level of reliability. The 'centos' image is used to run the I/O tests since several tests have an implicit dependency on x86_64-softmmu, and thus break with other architecture targets. The 'centos' build job is the only one that creates the x86_64-softmmu target in CI. Ideally this target portability in I/O tests would be fixed to avoid this limitation. Acked-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Daniel P. Berrangé committed Sep 12, 2025 at 15:24 UTC 753c88c7f8f08ff36504c73cbde4ca0a14fa1077
1 file changed +18
.gitlab-ci.d/buildtest.yml
+18
@@ -174,6 +174,24 @@ build-system-centos:
174 x86_64-softmmu rx-softmmu sh4-softmmu
175 MAKE_CHECK_ARGS: check-build
176
177 +
178 +# NB: block-XXX jobs use 'centos' since that is the build
179 +# job that provides the x86_64-softmmu. Some I/O tests
180 +# are currently buggy and blindly assume characteristics
181 +# of x86 (such as PCIe) causing failures with other arches
182 +
183 +block:
184 + extends: .native_test_job_template
185 + needs:
186 + - job: build-system-centos
187 + artifacts: true
188 + variables:
189 + IMAGE: centos9
190 + MAKE_CHECK_ARGS: "check-block-$FORMAT"
191 + parallel:
192 + matrix:
193 + - FORMAT: [luks, nbd, parallels, qcow2, qed, raw, vdi, vhdx, vmdk, vpc]
194 +
195 # Previous QEMU release. Used for cross-version migration tests.
196 build-previous-qemu:
197 extends: .native_build_job_template