run_tests.sh broken with python-subunit-0.0.11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Clark Boylan |
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.
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
summary: |
- testr broken with python-subunit-0.0.11 + run_tests.sh broken with python-subunit-0.0.11 |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
have the same problem.