Package: umockdev
Version: 0.16.3-1

Hi,
the new version fails the tests of bolt as seen at
https://ci.debian.net/data/autopkgtest/testing/amd64/b/bolt/15587717/log.gz

That crash seem weird, but it actually is only an effect of a fail
with a mocked directory.
The bolt tests would behave the same way if not mocked at all.
The root cause for this is in this change in 0.16.3
https://github.com/martinpitt/umockdev/commit/5e829601434

That breaks the bolt tests here
https://gitlab.freedesktop.org/bolt/bolt/-/blob/master/tests/mock-sysfs.c#L183

Due to $tmp/sys/bus now already existing the g_mkdir fails and that
breaks the test.

So we either need to stop umockdev from doing that (but that will
re-break whatever it fixed) or we need to teach bolt tests to be ok,
if the directory already exists.
I can't make the call which approach is better, but since Pitti owns
this Debian package and upstream I hope he will see this bug and make
the call where to better fix it.

P.S.
I have started to analyze this in Ubuntu, so there is a related bug
and I'd appreciate a bug ref in the changelog if there is an upload
for this.
=> https://bugs.launchpad.net/ubuntu/+source/umockdev/+bug/1945321

-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

Reply via email to