[Bug 926473] Re: upstart test suite assumes no inherited fds
Launchpad Bug Tracker
926473 at bugs.launchpad.net
Thu Feb 16 08:05:15 UTC 2012
This bug was fixed in the package upstart - 1.4-0ubuntu7
---------------
upstart (1.4-0ubuntu7) precise; urgency=low
* debian/manpages/upstart-events.7: Added missing events 'container' and
'not-container'.
* Update 'runlevel' event emission time in upstart-events(7) (LP: #921501).
* Merge of important upstream log fixes to avoid spinning when a job
which leaks fds (such as 'sshd -D') is stopped (LP: #926468).
* Merge of lp:~jamesodhunt/upstart/early-job-log-flush to allow jobs that
_end_ very early in the boot to have their output logged.
* debian/conf/flush-early-job-log.conf: Upstart job to force flushing of
early job log output data when disk becomes writeable.
* Re-enable job logging by default.
[ Steve Langasek ]
* init/tests/test_job_process.c: close all fds before running tests that
check for unexpected open fds, so that files leaked from the environment
don't cause the test suite to fail gratuitously. LP: #926473.
* bump debhelper compat to 9 and adjust debian/rules to use the
dpkg-buildflags interfaces, so that upstart can be cross-compiled and
also so we pick up any future hardening flags for free.
-- Steve Langasek <steve.langasek at ubuntu.com> Thu, 16 Feb 2012 07:52:11 +0000
** Changed in: upstart (Ubuntu)
Status: Fix Committed => Fix Released
--
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/926473
Title:
upstart test suite assumes no inherited fds
Status in “upstart” package in Ubuntu:
Fix Released
Bug description:
When building under bzr-builddeb, upstart's test suite fails
consistently:
...ensure sane fds with no console, no script
BAD: fd 3 is unexpected valid
at tests/test_job_process.c:1164 (test_run).
/bin/bash: line 5: 19389 Aborted (core dumped) ${dir}$tst
FAIL: test_job_process
The test suite seems to assume no file descriptors are open when the
test starts, but that seems to not be the case here.
The test passes consistently when not running under bzr bd.
The test suite should close its file descriptors before running the
test, to ensure a clean environment.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/926473/+subscriptions
More information about the foundations-bugs
mailing list