[Bug 36179] New: Tests fail with G_IO_ERROR_TOO_MANY_OPEN_FILES
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 12 21:11:43 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36179
Summary: Tests fail with G_IO_ERROR_TOO_MANY_OPEN_FILES
Product: Telepathy
Version: unspecified
Platform: Other
URL: http://cgit.collabora.co.uk/git/user/wjt/telepathy-gab
ble-wjt.git/log/?h=test-failures-due-to-fd-limit
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
Somewhere during the Jingle test cases, 'make check' fails with
G_IO_ERROR_TOO_MANY_OPEN_FILES. This seems to be solely related to the number
of tests which have been run: the attached branch includes a test case which
simply connects and disconnects repeatedly, forever, until Gabble fails to
connect.
I don't think it's an actual leak, per se: the fact that subsequent tests pass
after the unluckily-placed Jingle test times out suggests that allowing Gabble
a few seconds to recuperate and release its FDs.
The attached branch also adds a leak fix to gabbletest.py which makes the
jingle tests measurably faster: from ~65 seconds to ~60 seconds on average. It
should have a similar effect on the bytestream tests, and any other tests which
run more than one test case from the same Python program.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list