← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158247] Re: test_server_monkey_patch leaves orphaned process

 

** Changed in: glance/grizzly
   Importance: Undecided => Medium

** Changed in: glance/grizzly
       Status: New => Fix Released

** Changed in: glance/grizzly
    Milestone: None => 2013.1

** Changed in: glance/grizzly
     Assignee: (unassigned) => John Bresnahan (jbresnah)

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

Title:
  test_server_monkey_patch leaves orphaned process

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance grizzly series:
  Fix Released
Status in “glance” package in Ubuntu:
  Fix Released
Status in “glance” source package in Raring:
  Fix Released

Bug description:
  When running the test_server_monkey_patch test against distro packages
  in Ubuntu raring, a python process gets left running; this causes
  issue in the official distro builders as that process still has an
  open handle, causing the build to spin and hit timeouts:

  jamespage@hendrix:~/src/ubuntu/thelab/daily-fixes/glance$ ./run_tests.sh -N -P glance.tests.functional.test_server_monkey_patch
  glance.tests.functional.test_server_monkey_patch.TestClientServerInteractions.test_time_is_monkey_patched ... ok

  ----------------------------------------------------------------------
  Ran 1 test in 1.045s

  OK
  jamespage@hendrix:~/src/ubuntu/thelab/daily-fixes/glance$ ps -ef | grep nose
  1000     18305     1  0 11:20 pts/5    00:00:00 /usr/bin/python /usr/bin/nosetests glance.tests.functional.test_server_monkey_patch
  1000     18307  5321  0 11:20 pts/5    00:00:00 grep --color=auto nose

  I see exactly the same when running the test using venv against
  master:

  jamespage@hendrix:~/src/upstream/glance$ ./run_tests.sh glance.tests.functional.test_server_monkey_patch
  glance.tests.functional.test_server_monkey_patch.TestClientServerInteractions.test_time_is_monkey_patched ... ok

  ----------------------------------------------------------------------
  Ran 1 test in 1.066s

  OK
  jamespage@hendrix:~/src/upstream/glance$ ps -aef | grep nose
  1000     20145     1  0 11:30 pts/5    00:00:00 /usr/bin/python /usr/bin/nosetests glance.tests.functional.test_server_monkey_patch
  1000     20147  5321  0 11:30 pts/5    00:00:00 grep --color=auto nose

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