Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Mir tests fail in mock build (Fedora 27) #8
Comments
AlanGriffiths
self-assigned this
Nov 3, 2017
|
@Conan-Kudo just this one test failed? (Not sure what could cause that.) Is the full log available? |
|
BTW you can run the test in isolation: LD_PRELOAD=libumockdev-preload.so.0 build/bin/mir_unit_tests_mesa-kms --gtest_filter=MesaGraphicsPlatform.connection_ipc_package (It's working for me on F26, need to set up F27) |
|
Here's the complete build log: mir-build-log-f27.txt |
|
@AlanGriffiths Yes, it's the only test that fails, all the rest work inside the mock build environment. |
|
@Conan-Kudo there's something different between what I'm doing and what you're doing. I grabbed an F27 ISO... $ sudo dnf install bzr cmake gcc-c++ boost-devel mesa-libEGL-devel Total Test time (real) = 181.50 sec |
|
@AlanGriffiths I'm doing it in a mock build, it's an systemd-nspawn container of Fedora 27. |
|
I don't know how to reproduce that. |
AlanGriffiths
removed their assignment
Nov 3, 2017
|
I'm not going to have time to guess how to reproduce this week. |
|
@AlanGriffiths I've prepared a reproducer for you:
It will reproducibly fail exactly the same way every time. |
|
thanks @Conan-Kudo |
AlanGriffiths
self-assigned this
Nov 6, 2017
|
@Conan-Kudo I followed the instructions, but got no error. :( |
|
@AlanGriffiths What's your graphical environment like? Mine is Plasma 5, and I ran the mock command inside of Konsole. |
|
I don't see why graphical environment should matter but it is clearly something that differs between our setups. I'm using LXQT & I ran the commands in qterminal. I've also installed the mir dependencies listed in https://community.ubuntu.com/t/mir-running-on-fedora/893/4 and built Mir since creating the VM. |
|
@AlanGriffiths At this point, I'm trying to figure out why this happens for me but not you... |
|
@Conan-Kudo Yes, it is weird. AFAICS the only thing that touches the system in that test is umockdev (which creates nodes in /tmp). But if that's broken, the other tests that use it should exhibit problems too. |
|
@AlanGriffiths nspawn creates a private |
|
I'm going to see if I can reproduce this on another system... |
|
So, this is madness. It's only broken on one of my computers. I don't know why, and it works fine everywhere else. As this will just lead me to go down a rabbit hole that isn't worth it right now, I'm closing this. If it comes up again somewhere else by me or someone else, feel free to reopen. |
Conan-Kudo commentedNov 2, 2017
When trying to build Mir 0.28.1 for Fedora 27 with the tests enabled, one of the tests fail: