xfail doesn't take effect on a whole testcase failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Medium
|
Yaroslav Lobankov |
Bug Description
If Tempest fails in a test's setUpClass(), the result that will be reported by Rally is "fail", even though the test is listed in a file passed to --xfails-file.
In my case, I deployed Keystone with the "templated" catalog driver. This driver, unlike the "sql" driver, doesn't support APIs for services or endpoints. So the test "tempest.
Traceback (most recent call last):
File tempest/test.py, line 280, in setUpClass
six.
File tempest/test.py, line 273, in setUpClass
cls.
File tempest/
enabled=
File tempest/
resp, body = self.post(
File tempest/
return self.request(
File tempest/
resp, resp_body)
File tempest/
raise exceptions.
tempest.
Details: {u'message': u'Could not find service: bec7c572cfce4c7
In this case subunit says that the failed test_id is "tempest.
Changed in rally: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in rally: | |
assignee: | nobody → Yaroslav Lobankov (ylobankov) |
status: | Triaged → In Progress |
https:/ /review. openstack. org/#/c/ 304547/