~ruther/guix-local

474d3ef643b68e885fba1f685ebdf04d5aa78bcb — Maxim Cournoyer 3 years ago 0ea2b72
gnu: qemu: Disable qtest-aarch64/migration-test test.

* gnu/packages/patches/qemu-disable-aarch64-migration-test.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/virtualization.scm (qemu): Apply it.
M gnu/local.mk => gnu/local.mk +1 -0
@@ 1749,6 1749,7 @@ dist_patch_DATA =						\
  %D%/packages/patches/python-werkzeug-tests.patch		\
  %D%/packages/patches/python-zeep-Fix-pytest_httpx-test-cases.patch	\
  %D%/packages/patches/qemu-build-info-manual.patch		\
  %D%/packages/patches/qemu-disable-aarch64-migration-test.patch	\
  %D%/packages/patches/qemu-glibc-2.27.patch 			\
  %D%/packages/patches/qemu-glibc-2.30.patch 			\
  %D%/packages/patches/qemu-fix-agent-paths.patch 		\

A gnu/packages/patches/qemu-disable-aarch64-migration-test.patch => gnu/packages/patches/qemu-disable-aarch64-migration-test.patch +13 -0
@@ 0,0 1,13 @@
Disable the qtest-aarch64/migration-test, which sometimes fail non-deterministically.
See: https://gitlab.com/qemu-project/qemu/-/issues/1230.

--- qemu-7.1.0/tests/qtest/meson.build.old	1969-12-31 19:00:01.000000000 -0500
+++ qemu-7.1.0/tests/qtest/meson.build	2022-09-26 11:11:05.434209797 -0400
@@ -219,7 +219,6 @@
   ['arm-cpu-features',
    'numa-test',
    'boot-serial-test',
-   'migration-test',
    'bcm2835-dma-test']
 
 qtests_s390x = \

M gnu/packages/virtualization.scm => gnu/packages/virtualization.scm +1 -0
@@ 169,6 169,7 @@
        (base32
         "1rmvrgqjhrvcmchnz170dxvrrf14n6nm39y8ivrprmfydd9lwqx0"))
       (patches (search-patches "qemu-build-info-manual.patch"
                                "qemu-disable-aarch64-migration-test.patch"
                                "qemu-fix-agent-paths.patch"))
       (modules '((guix build utils)))
       (snippet