[Bug 1576914] Re: upstart, libnih ftbfs on s390x with linux 4.4.0-21.37
Steve Langasek
steve.langasek at canonical.com
Sat Apr 30 02:53:44 UTC 2016
Just to be sure, I tried downgrading libc6 in the build environment from
2.23-0ubuntu3 to 2.23-0ubuntu2. The problem is still reproducible.
And the build filesystem is ext4, which should be fairly inotify-safe.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1576914
Title:
upstart,libnih ftbfs on s390x with linux 4.4.0-21.37
Status in upstart package in Ubuntu:
New
Bug description:
The latest uploads of upstart are failing to build on s390x, with lost
fds causing the testsuite to fail to return (which should eventually
lead to a timeout, but hasn't as of this writing):
https://launchpad.net/ubuntu/+source/upstart/1.13.2-0ubuntu22/+build/9658082
https://launchpad.net/ubuntu/+source/upstart/1.13.2-0ubuntu23/+build/9668581
upstart also fails to build on devac02, with the following test
failures:
not ok 12 - ensure log written when directory created accessible with uid 0
wrong value for output, got unexpected (nil)
at tests/test_log.c:827 (test_log_new).
/bin/bash: line 5: 31104 Aborted (core dumped) ${dir}$tst
FAIL: test_log
[...]
not ok 19 - with deletion of top-level directory
wrong value for source->watch, expected (nil) got 0x2aa43d27cb0
at tests/test_conf.c:1006 (test_source_reload_job_dir).
Aborted (core dumped)
FAIL: test_conf_preload.sh
The second of these failures definitely looks like a lost inotify
event.
So I looked at libnih, and libnih's testsuite hangs indefinitely on devac02, after:
PASS: test_file 78 - with simple directory loop
This is the last test in test_file; the next test that it hangs on is test_watch. Running this test directly shows that it hangs after:
ok 17 - nih_watch_reader
strace shows the test_watch waiting indefinitely on a select, waiting
to read the inotify fd.
All of this is on systems running linux 4.4.0-21.
The upstart testsuite was passing as recently as 4.4.0-18.
https://launchpad.net/ubuntu/+source/upstart/1.13.2-0ubuntu21/+build/9278268
I don't know what in the kernel could have changed to break this, but
that seems the most likely explanation. There was also a new glibc
version since the last successful upstart build, 2.23-0ubuntu3, which
includes an s390x-specific change, but that seems quite unlikely to
impact inotify.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1576914/+subscriptions
More information about the foundations-bugs
mailing list