← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1168516] Re: run_tests.sh broken with python-subunit-0.0.11

 

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

** Changed in: nova
    Milestone: None => havana-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1168516

Title:
  run_tests.sh broken with python-subunit-0.0.11

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Lately when I've had to rebuild a virtual environment for testing I've
  had problems with run_tests.sh not working correctly.  I believe I've
  tracked the problem down to a problem with the latest python-subunit
  package.  When I let the venv use the latest (0.0.11) I get garbage
  output from the tests and it claims to have run 0 tests.  However, if
  I pin python-subunit to 0.0.10 then everything works as expected.

  The problem does not seem to affect tox, which also appears to use
  subunit so I'm not sure whether it's a problem with the package or
  run_test's use of it.

  I'll attach the bad output from a test run.

  Edit: Forgot to mention that if I run testr directly without the
  --subunit flag it seems to work fine too.

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