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 <[email protected]>
---
 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.35.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161814): 
https://lists.openembedded.org/g/openembedded-core/message/161814
Mute This Topic: https://lists.openembedded.org/mt/89209747/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to