Non-zero exit code (2) from test listing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subunit |
New
|
Undecided
|
Unassigned |
Bug Description
I am getting "Non-zero exit code (2) from test listing" while executing testr list-tests on the tempest OpenStack test suite. Here is a snippet of the output:
~ $ testr list-tests
running=
OS_STDERR_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
Non-zero exit code (2) from test listing. stdout=
(the list proceeds)
To reproduce:
1. git clone https:/
2. cd tempest
3. pip install -r requirements.txt
4. testr init
5. testr list-tests
This only occurs with subunit >=0.0.16. If I downgrade subunit to 0.0.15 (and downgrade testtools to 0.9.34 at the same time) testr list-tests works fine.
description: | updated |