From 62fec653e46b3f03df2c76e7f1d33f86a11d8482 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Aug 29 2024 14:05:12 +0000 Subject: Disable 9p `local` tests that fail on copr aarch64 Signed-off-by: Cole Robinson --- diff --git a/0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch b/0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch new file mode 100644 index 0000000..c1bbf76 --- /dev/null +++ b/0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch @@ -0,0 +1,49 @@ +From 34acc8e0028bf059c9c4e725c653df56eac7c296 Mon Sep 17 00:00:00 2001 +Message-ID: <34acc8e0028bf059c9c4e725c653df56eac7c296.1724767601.git.crobinso@redhat.com> +From: Cole Robinson +Date: Mon, 26 Aug 2024 14:06:14 -0400 +Subject: [PATCH] Disable 9p `local` tests that fail on copr aarch64 +Content-type: text/plain + +Upstream issue: +https://gitlab.com/qemu-project/qemu/-/issues/2541 + +Signed-off-by: Cole Robinson +--- + tests/qtest/virtio-9p-test.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/tests/qtest/virtio-9p-test.c b/tests/qtest/virtio-9p-test.c +index 3c8cd235cf..1d550eafb1 100644 +--- a/tests/qtest/virtio-9p-test.c ++++ b/tests/qtest/virtio-9p-test.c +@@ -748,16 +748,16 @@ static void register_virtio_9p_test(void) + /* 9pfs test cases using the 'local' filesystem driver */ + opts.before = assign_9p_local_driver; + qos_add_test("local/config", "virtio-9p", pci_config, &opts); +- qos_add_test("local/create_dir", "virtio-9p", fs_create_dir, &opts); +- qos_add_test("local/unlinkat_dir", "virtio-9p", fs_unlinkat_dir, &opts); +- qos_add_test("local/create_file", "virtio-9p", fs_create_file, &opts); +- qos_add_test("local/unlinkat_file", "virtio-9p", fs_unlinkat_file, &opts); +- qos_add_test("local/symlink_file", "virtio-9p", fs_symlink_file, &opts); +- qos_add_test("local/unlinkat_symlink", "virtio-9p", fs_unlinkat_symlink, +- &opts); +- qos_add_test("local/hardlink_file", "virtio-9p", fs_hardlink_file, &opts); +- qos_add_test("local/unlinkat_hardlink", "virtio-9p", fs_unlinkat_hardlink, +- &opts); ++ /* qos_add_test("local/create_dir", "virtio-9p", fs_create_dir, &opts); */ ++ /* qos_add_test("local/unlinkat_dir", "virtio-9p", fs_unlinkat_dir, &opts); */ ++ /* qos_add_test("local/create_file", "virtio-9p", fs_create_file, &opts); */ ++ /* qos_add_test("local/unlinkat_file", "virtio-9p", fs_unlinkat_file, &opts); */ ++ /* qos_add_test("local/symlink_file", "virtio-9p", fs_symlink_file, &opts); */ ++ /* qos_add_test("local/unlinkat_symlink", "virtio-9p", fs_unlinkat_symlink, */ ++ /* &opts); */ ++ /* qos_add_test("local/hardlink_file", "virtio-9p", fs_hardlink_file, &opts); */ ++ /* qos_add_test("local/unlinkat_hardlink", "virtio-9p", fs_unlinkat_hardlink, */ ++ /* &opts); */ + } + + libqos_init(register_virtio_9p_test); +-- +2.46.0 + diff --git a/qemu.spec b/qemu.spec index 012167b..ad80f30 100644 --- a/qemu.spec +++ b/qemu.spec @@ -400,6 +400,10 @@ Source30: kvm-s390x.conf Source31: kvm-x86.conf Source36: README.tests +# Skip failing test in copr +# https://gitlab.com/qemu-project/qemu/-/issues/2541 +Patch: 0001-Disable-9p-local-tests-that-fail-on-copr-aarch64.patch + BuildRequires: gnupg2 BuildRequires: meson >= %{meson_version} BuildRequires: bison