← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1205367] Re: test_multiprocessing fails on OS X

 

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

** Changed in: glance
    Milestone: None => havana-3

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

Title:
  test_multiprocessing fails on OS X

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released

Bug description:
  The 'ps' command on OS X does not accept a "-ppid" argument and
  _get_children() returns an empty string.

  ======================================================================
  ERROR: glance.tests.functional.v1.test_multiprocessing.TestMultiprocessing.test_interrupt_avoids_respawn_storm
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/Users/bde/glance/glance/tests/functional/v1/test_multiprocessing.py", line 63, in test_interrupt_avoids_respawn_storm
      execute(cmd, raise_error=True)
    File "/Users/bde/glance/glance/tests/utils.py", line 271, in execute
      raise RuntimeError(msg)
  RuntimeError: Command kill -INT  did not succeed. Returned an exit code of 1.

  STDOUT:

  STDERR: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid |
  jobspec ... or kill -l [sigspec]

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