Bug 13543 - [warrior] seltest on Fedora fails
Summary: [warrior] seltest on Fedora fails
Status: RESOLVED WONTFIX
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 2.7.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7.2
Assignee: Armin Kuster
QA Contact:
URL: https://errors.yoctoproject.org/Error...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-09-23 16:20 UTC by Armin Kuster
Modified: 2019-10-29 04:56 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-09-23 16:20:49 UTC
This does not look right.

meta-yocto-bsp       = "warrior:6d2e12e79211b31cdf5ea824fb9a8be54ba9a9eb"
meta-selftest        = "master:7744581346657a5c62775f5bdb1a0eb9a8c3c293"

Not sure if this is causing this error:

runqemu - ERROR - Failed to run qemu: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-41984/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory


then later

2019-09-22 17:28:32,329 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_virgl_gtk: FAILED (294.60s)

I don't think virgl_gtk is supported in warrior
Comment 1 Richard Purdie 2019-09-24 17:04:55 UTC
Which build was this? virtgl failing shouldn't be fatal but ignored so its likely the libatomic issue
Comment 2 Tim Orling 2019-09-26 14:37:29 UTC
Which release of Fedora was this on? 28, 29, 30?
Comment 3 Armin Kuster 2019-10-01 15:39:44 UTC
I am no longer seeing this.
Comment 4 Armin Kuster 2019-10-03 04:25:14 UTC
havn't seen it in a few builds.
Comment 5 Armin Kuster 2019-10-06 14:46:47 UTC
seeing it again.
Comment 6 Armin Kuster 2019-10-06 14:47:35 UTC
new bit info:

2019-10-06 05:55:54,136 - oe-selftest - INFO - runtime_test.TestImage.test_testimage_virgl_headless (subunit.RemotedTestCase)
2019-10-06 05:55:54,137 - oe-selftest - INFO -  ... skipped '/dev/dri directory does not exist; no render nodes available on this machine.\n'
2019-10-06 05:55:54,137 - oe-selftest - INFO - 11: 14/14 346/346 (0.01s) (runtime_test.TestImage.test_testimage_virgl_headless)
2019-10-06 05:55:54,137 - oe-selftest - INFO - /dev/dri directory does not exist; no render nodes available on this machine.
Comment 7 Armin Kuster 2019-10-06 15:08:32 UTC
looking for log:

/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-8402/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.40103

but its missing on the AB
Comment 8 Armin Kuster 2019-10-06 21:26:16 UTC
building on manually to capture log info
Comment 9 Armin Kuster 2019-10-06 21:59:39 UTC
awesome. it passes. :/

2019-10-06 21:46:55,765 - oe-selftest - INFO -  ... ok
2019-10-06 21:46:55,766 - oe-selftest - INFO - test_testimage_virgl_gtk (runtime_test.TestImage)
2019-10-06 21:46:55,769 - oe-selftest - INFO -  ... skipped 'virgl gtk test must be run inside a X session'
2019-10-06 21:46:55,770 - oe-selftest - INFO - virgl gtk test must be run inside a X session
2019-10-06 21:46:55,770 - oe-selftest - INFO - test_testimage_virgl_headless (runtime_test.TestImage)
2019-10-06 21:46:55,773 - oe-selftest - INFO -  ... skipped '/dev/dri directory does not exist; no render nodes available on this machine.'
2019-10-06 21:46:55,773 - oe-selftest - INFO - /dev/dri directory does not exist; no render nodes available on this machine.
2019-10-06 21:46:55,774 - oe-selftest - INFO - test_list_imported (selftest.ExternalLayer)


we need to keep the logs when we clean up
Comment 10 Armin Kuster 2019-10-13 16:30:48 UTC
more: info

 mmap: qemu-arm (28056): VmData 1127448576 exceed data ulimit 16777216. Update limits or use boot option ignore_rlimit_data.
Comment 11 Armin Kuster 2019-10-20 15:00:19 UTC
updated kernel, not help.
Comment 13 Armin Kuster 2019-10-24 02:49:24 UTC
this looks promising


https://git.qemu.org/?p=qemu.git;a=commit;h=576964bf2a3fe60253b5704f1b9f0da2d31b3c00

it was noted in a Redhat bug regarding fc30. I think we have seccomp installed.
Comment 14 Armin Kuster 2019-10-24 02:56:27 UTC
(In reply to comment #13)
> this looks promising
> 
> 
> https://git.qemu.org/?p=qemu.git;a=commit;
> h=576964bf2a3fe60253b5704f1b9f0da2d31b3c00
> 
> it was noted in a Redhat bug regarding fc30. I think we have seccomp
> installed.

this fix is in 4.1.0 that is in zeus
Comment 15 Armin Kuster 2019-10-24 04:09:06 UTC
nope.

still failing. got more info this time around.


runqemu - ERROR - Failed to run qemu: libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)

qemu-system-i386: egl: eglInitialize failed
qemu-system-i386: OpenGL is not supported by the display
Comment 16 Armin Kuster 2019-10-26 21:03:15 UTC
I updated qemu3.1 to the latest bug fix version 3.1.1.1 and it still fails.
update libsdl2 to 2.0.10, no good.

I get this message.

runqemu - INFO - Running /home/pokybuild/yocto-worker/oe-selftest-fedora/poky-contrib/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-i386 -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive file=/home/pokybuild/yocto-worker/oe-selftest-fedora/poky-contrib/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86.ext4,if=virtio,format=raw -vga vmware -show-cursor -usb -device usb-tablet -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0  -vga virtio -display gtk,gl=on  -cpu pentium2 -m 256 -serial tcp:127.0.0.1:36759 -serial tcp:127.0.0.1:40155  -pidfile pidfile_26996 -snapshot -kernel /home/pokybuild/yocto-worker/oe-selftest-fedora/poky-contrib/build/tmp/deploy/images/qemux86/bzImage--5.0.19+git0+7f6e97c357_55dd15336b-r0-qemux86-20191026083815.bin -append 'root=/dev/vda rw highres=off  mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 vga=0 uvesafb.mode_option=640x480-32 oprofile.timer=1 uvesafb.task_timeout=-1 console=tty1 console=ttyS0,115200n8 printk.time=1'

runqemu - ERROR - Failed to run qemu: libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)

qemu-system-i386: egl: eglInitialize failed
qemu-system-i386: OpenGL is not supported by the display
Comment 17 Armin Kuster 2019-10-26 21:17:06 UTC
just updates drm to 2.4.98. there seems to be fixes for newer kernels there


also verfiying fc29 is ok by running a the same test in //
Comment 18 Armin Kuster 2019-10-26 22:11:40 UTC
libdrm: update to 2.4.99.

got a pass. re-running it
Comment 19 Armin Kuster 2019-10-27 02:49:46 UTC
ok, so something in the .99 fixed it.
Comment 20 Armin Kuster 2019-10-27 05:00:00 UTC
running a-full. see how it goes then a discussion with the community of pkg update
Comment 21 Armin Kuster 2019-10-27 22:59:30 UTC
ugh,

FC30 failed this test back the 2.7.1 release when we added that host but no bug was ever opened that I can see.

https://autobuilder.yocto.io/pub/releases/yocto-2.7.1.rc1/testresults/oe-selftest-fedora/testresults.json
Comment 22 Armin Kuster 2019-10-27 23:00:53 UTC
this is a known issue.  Someone owes me a beer
Comment 23 Armin Kuster 2019-10-29 04:56:50 UTC
I decided not to fix this an leave it as a known issue.