libsdl2-native does not build with opengl support, even if configured to, because mesa-native does not build for x11 (so it doesn't provide glx.h to libsdl2-native). So, no context is created and runqemu should fail with an initialization error message. So, test_testimage_virgl_gtk_sdl() should always fail for this case unless mesa is not the opengl provider.
We had a determinism issue with this, which was recently fixed in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&id=13e49c2af060bd64adcae8df80ebe195838b3703 Since then it's been working reliably. Does this fix the issue for you?
Question for you Joe.
Created attachment 4682 [details] local.conf for runqemu failure
Hm, my original comment went away when I attached local.conf. Anyway, things still fail and I am building on two additional hosts. The failure is in libepoxy, which does not think a GLX context exists.
What is your host distro?
(In reply to comment #5) > What is your host distro? ubuntu 18.04.3 also fails on ubuntu 16.04
Can you also tell the poky commit id please?
(In reply to comment #7) > Can you also tell the poky commit id please? f5cc698a89 bitbake: user manual... building for a third host, but it is also ubuntu.
This is tested on the AB in both 18.04, and 16.04, so I don't have any further ideas right now. You can check e.g.: https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/953 https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/950
Ping Joe?
Since this is working for oe-core, I will change status to resolved.