Public bug reported:

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.

** Affects: upstart (Ubuntu)
     Importance: Undecided
     Assignee: Dimitri John Ledkov (xnox)
         Status: New

** Changed in: upstart (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to