test suite leaks fds

Bug #818873 reported by William Reade
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Run "./test -u", and you'll eventually see failures due to fd exhaustion.

I've written some code in lp:~fwereade/ensemble/audit-test-fds to track what's going on slightly more closely, and it seems to me that ~500 of our ~1200 tests leak a total of ~600 fds every run.

Fixing all these will probably be quite a lot of work, but it seems probable that many of the tests are leaky because the underlying code is too. If we could be confident that our tests weren't leaking I think we could be a lot more confident in the real code too, and that would surely be a Good Thing.

Revision history for this message
William Reade (fwereade) wrote :
Changed in juju:
status: New → Confirmed
importance: Undecided → Low
Changed in juju:
milestone: none → 0.8
Curtis Hovey (sinzui)
Changed in juju:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.