New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pytests fails 2.4.0 if systemd-hwdb is missing #515
Comments
If you run But it looks like these are all the udev tests that are failing. Do you have an alternative udev installed? Can't remember what void does by default. The test itself is very (too?) simple, see the code, so if you're not running a stock standard udev installation, there are probably cracks to fall through. Happy to fix these where necessary. |
Void Linux is using eudev. so it should be fine I think. I will try to debug the test and see where it fails (it seems to timeout after 30 secs) |
I suspect Void Linux, like GNU Guix, is not a systemd distribution. On GNU Guix the udev tests fail like so:
I'll try neutralizing that autouse fixture, it may not be necessary. |
After turning the missing commands in the
Permission errors. I'll just disable that test for now. I guess the test requires to be run as root, which is not the case in the Guix build container. |
yes, the tests need to create uinput devices but the And the same is true for the |
@whot sorry for being unclear, I was experimenting and had removed the exception handling to see what the exceptions were, curious to see if I could get the test to work instead of just being skipped. |
Hum @whot the tests depend on systemd and being root ? |
effectively yes, the tests depend on being able to create uinput devices and reloading the hwdb. both of those usually require you to be root. |
OK, about the test being skipped, there is an error after all when not patching anything:
I needed to restablish this patch:
To have the problematic tests skipped. |
the meson testlog would have a more detailed explanation of what's going on, the above is just "it failed" but doesn't include any information. You could run |
Here's what the failure looks like when I remove my patch:
|
this runs |
Trying to build from source the libwacom-2.4.0, but the 8th test
8/8 libwacom:all / pytest
keeps failling without giving much help.x86_64-glibc voidlinux
Below is the testlog.txt (I have removed the output of the other tests and only kept the 8th one).
I dont know what else to provide, so if I am missing something please tell me so.
testlog.txt
The text was updated successfully, but these errors were encountered: