]> code.ossystems Code Review - openembedded-core.git/commitdiff
runtime_test: skip virgl test on fedora 34
authorAnuj Mittal <anuj.mittal@intel.com>
Thu, 17 Feb 2022 00:56:32 +0000 (08:56 +0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 17 Feb 2022 14:07:45 +0000 (22:07 +0800)
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 <anuj.mittal@intel.com>
meta/lib/oeqa/selftest/cases/runtime_test.py

index 2148e84ff3cb1ad90fcf675566de5f3d7e30b04a..f9649339e5686196d9fb4b96302057e7a9172351 100644 (file)
@@ -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: