From 4c3d0463b413a0c070aa34d50e60bf184c726512 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Thu, 17 Feb 2022 08:56:32 +0800 Subject: [PATCH] runtime_test: skip virgl test on fedora 34 The gtk and headless tests fail on Fedora 34 because of the host libdrm version so skip them. | runqemu - ERROR - Failed to run qemu: MESA-LOADER: failed to open iris: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load driver: iris | MESA-LOADER: failed to open kms_swrast: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load driver: kms_swrast | MESA-LOADER: failed to open swrast: /lib64/libdrm_nouveau.so.2: undefined symbol: drmCloseBufferHandle (search paths /usr/lib64/dri) | failed to load swrast driver | qemu-system-x86_64: egl: gbm_create_device failed | qemu-system-x86_64: egl: render node init failed Signed-off-by: Anuj Mittal --- meta/lib/oeqa/selftest/cases/runtime_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 2148e84ff3..f9649339e5 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -232,6 +232,9 @@ class TestImage(OESelftestTestCase): dripath = subprocess.check_output("pkg-config --variable=dridriverdir dri", shell=True) except subprocess.CalledProcessError as e: self.skipTest("Could not determine the path to dri drivers on the host via pkg-config.\nPlease install Mesa development files (particularly, dri.pc) on the host machine.") + distro = oe.lsb.distro_identifier() + if distro and distro == 'fedora-34': + self.skipTest('virgl isn\'t working with Fedora 34') qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') features = 'INHERIT += "testimage"\n' if 'opengl' not in qemu_distrofeatures: -- 2.40.1