← Back to team overview

touch-packages team mailing list archive

[Bug 1353961] Re: Mir test code (and possibly production code) leaks fds

 

LP and our tools will get confused if we re-fix an already released
bug... So despite reopening sounding correct, please log a new one
instead.

** Changed in: mir
       Status: Confirmed => Fix Released

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

Title:
  Mir test code (and possibly production code) leaks fds

Status in Mir:
  Fix Released
Status in “mir” package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce: valgrind --tool=none --track-fds=yes
  mir_(unit|integration|acceptance)_tests

  Expected result: No fds are leaked
  Actual result: A lot of fds are leaked

  As with memory errors it's important to reach a state where we don't
  leak any fds in our tests. This will helps us catch fd leak
  regressions in production code. When we reach the zero leak state we
  can enable --track-fds=yes in CI.

  See, for example, https://bugs.launchpad.net/mir/+bug/1353461 which
  was caused by fd leaks both in test code and _production code_, and
  was lost in the fd leak noise we currently produce.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1353961/+subscriptions