← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1247443] Re: tests leak file descriptors

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => icehouse-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1247443

Title:
  tests leak file descriptors

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  By the end of a full test run the process with have over 300 sockets
  listening to various ports.  While wasting resources is generally not
  good, this is particularly bad for new devs using Macs.  The default
  number of file descriptor per process is 256 on a Mac.

  This situation is very hard to debug because unit tests will fail with
  errors about not being able to read configuration files.  This is
  because once the process reaches it's limit of file descriptors it can
  no longer open files and Python will raise an IOError when it tries.
  oslo.config just catches all IOErrors and returns that generic
  message.  There are no hints that the process has reached the fd
  limit.

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