← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158247] Re: test_server_monkey_patch leaves orphaned process

 

This bug was fixed in the package glance - 1:2013.1~rc1-0ubuntu2

---------------
glance (1:2013.1~rc1-0ubuntu2) raring; urgency=low

  * debian/patches/fix-ubuntu-tests.patch: Add configuration change
    to allow testsuite to finish on Ubuntu buildds. (LP: #1158247)
 -- Chuck Short <zulcss@xxxxxxxxxx>   Fri, 22 Mar 2013 10:55:03 -0500

** Changed in: glance (Ubuntu Raring)
       Status: Triaged => Fix Released

-- 
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):
  In Progress
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