Opened 7 years ago

Closed 6 years ago

#2648 closed defect (duplicate)

Statistics test leak file descriptors

Reported by: vorner Owned by:
Priority: high Milestone:
Component: statistics Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: High
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: discuss Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Statistics tests leak file descriptors and maybe threads.

It seems the mock system (test_utils.py) don't terminate correctly. They need
more than 128 descriptors to run, which is quite a high number. It seems the
client side of the sockets (eg. in the mock boss, cfgmgr, etc) are not closed.

I suspect the code around threads is strange and complicated, some of the
threads might be leaking too (not from the BaseModules class, as it waits for
all of them now, but maybe others).

Subtickets

Change History (4)

comment:1 Changed 7 years ago by jwright

  • Milestone changed from New Tasks to Next-Sprint-Proposed

comment:2 Changed 7 years ago by jinmei

  • Milestone changed from Previous-Sprint-Proposed to Next-Sprint-Proposed

comment:3 Changed 6 years ago by jinmei

This should have been fixed, maybe not all of them, but sufficiently enough.
closing.

comment:4 Changed 6 years ago by jinmei

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.