Coverage tests have several errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Invalid
|
Undecided
|
Unassigned |
Bug Description
while running the coverage tests there are several errors that prevent the tests from completing. these errors seem to be based around the functionality of the tools/coverage.sh script file.
during the first stage of the coverage tests, the script file will attempt to harvest the test results. this phase shows many errors relating to missing plugins. the failure of this phase causes the resulting phases in the script to fail as they return bad results from the output.
steps to reproduce:
1. clone a fresh sahara repo
2. run `tox -e cover`
results:
many errors (included in attached file) with the final result being
Ran 926 tests in 32.171s (+0.191s)
FAILED (id=2, failures=106, skips=5)
error: testr failed (1)
Allowed to introduce missing lines : 4
Missing lines in master : to
Missing lines in proposed change : to
/home/
Name Stmts Miss Cover
Please write more unit tests, we should keep our test coverage :(
ERROR: InvocationError: '/home/
recommend refactoring the coverage tests to be more resilient and fix these errors.
Changed in sahara: | |
status: | New → Triaged |
milestone: | none → mitaka-1 |
importance: | Undecided → Medium |
Changed in sahara: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in sahara: | |
milestone: | mitaka-2 → next |
Changed in sahara: | |
importance: | Medium → Undecided |
milestone: | next → none |
Workaround: need to remove old coverage reports:
$ rm -fr .coverage.*