← Back to team overview

touch-packages team mailing list archive

[Bug 1326200] Re: core::dbus::Fixture leaves stale dbus-daemon processes around if test suite terminates

 

** Changed in: dbus-cpp
       Status: In Progress => Fix Released

** Changed in: dbus-cpp (Ubuntu)
     Assignee: (unassigned) => Thomas Voß (thomas-voss)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dbus-cpp in Ubuntu.
https://bugs.launchpad.net/bugs/1326200

Title:
  core::dbus::Fixture leaves stale dbus-daemon processes around if test
  suite terminates

Status in DBus C++:
  Fix Released
Status in “dbus-cpp” package in Ubuntu:
  Fix Released

Bug description:
  If a test suite terminates without core::dbus::Fixture's destructor
  running, two stale dbus-daemon subprocesses are left running.  Among
  other things, this can lead to apparent test suite hangs when running
  under cmake/ctest: ctest doesn't consider a test to have completed
  until stdout/stderr are closed, and the dbus-daemon subprocesses hold
  those file descriptors open.  The default timeout for tests seems to
  be 2 hours, so this can introduce a long delay.

  It is clear that cases where this happens are errors, but as this
  class is intended to be used in test suites, it would be nice if it
  was a bit more robust about making sure the subprocesses are cleaned
  up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dbus-cpp/+bug/1326200/+subscriptions