selftest/runtime_test/virgl: Disable for all almalinux
PATCH 1/1 selftest/runtime_test/virgl: Disable for all almalinux
We can't support vgem on RHEL derived distros so disable this test for all almalinux hosts rather than specific versions.
--- meta/lib/oeqa/selftest/cases/runtime_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/runtime_test.py +1 -1
@@ -252,7 +252,7 @@ class TestImage(OESelftestTestCase): import subprocess, os distro = oe.lsb.distro_identifier() - if distro and distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04', 'almalinux-8.5', 'almalinux-8.6']: + if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')): self.skipTest('virgl headless cannot be tested with %s' %(distro)) render_hint = """If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software renderer."""
Signature · 1 line
2.34.1
meta/lib/oeqa/selftest/cases/runtime_test.py class TestImage(OESelftestTestCase): · line 255
Quoted 2 lines · Richard Purdie
meta/lib/oeqa/selftest/cases/runtime_test.py +1
-1- if distro and distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04', 'almalinux-8.5', 'almalinux-8.6']: + if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')):
I guess almalinux-9 has also shown the same problem as 8? Should this be 'or distro.startswith('almalinux-8') or distro.startswith('almalinux-9') rather? It will be a while before 10 is available , and that should be evaluated on its own.
Alex
Quoted 9 lines · Alexander Kanavin
meta/lib/oeqa/selftest/cases/runtime_test.py class TestImage(OESelftestTestCase): · line 255
Quoted 2 lines · Richard Purdie
meta/lib/oeqa/selftest/cases/runtime_test.py +1
-1- if distro and distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04', 'almalinux-8.5', 'almalinux-8.6']: + if distro and (distro in ['debian-9', 'debian-10', 'centos-7', 'centos-8', 'ubuntu-16.04', 'ubuntu-18.04'] or distro.startswith('almalinux')):I guess almalinux-9 has also shown the same problem as 8? Should this be 'or
distro.startswith('almalinux-8')ordistro.startswith('almalinux-9')rather? It will be a while before 10 is available , and that should be evaluated on its own.
Michael basically said that we were unlikely ever to get vgem working with Alma. It was almalinux-9 that I was adding but I think we wait and evaluate the situation with 10 and then someone can send a patch if we can add it.
Cheers,
Richard
Quoted 4 lines · Richard Purdie
Michael basically said that we were unlikely ever to get vgem working with Alma. It was almalinux-9 that I was adding but I think we wait and evaluate the situation with 10 and then someone can send a patch if we can add it.
Michael, can you share the findings please? Is 10 and beyond unlikely to fix this for some reason?
(from what I remember the problem is lack of vgem module in any of the rhel/alma distro packages, which strangely is not a problem with fedora)
Alex