Comment 2 for bug 1583220

Revision history for this message
Lukas Piwowarski (lukas-piwowarski) wrote :

This bug seems to be resolved (see attached logs) but I think another issue that is related to this bug is the fact that no tests are executed if there is a failure in the tests-discovery phase (even when the tests are not supposed to be executed).

```
+ tempest run --parallel --include-list /etc/test_operator/include.txt --exclude-list /etc/test_operator/exclude.txt --concurrency 8

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: heat_tempest_plugin.tests.functional.test_create_update_neutron_trunk
Traceback (most recent call last):
  File "/usr/lib64/python3.9/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
   File "/usr/lib64/python3.9/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/usr/lib/python3.9/site-packages/heat_tempest_plugin/tests/scenario/test_octavia_lbaas.py", line 20, in <module>
    class LoadBalancerTest(scenario_base.ScenarioTestsBase):
  File "/usr/lib/python3.9/site-packages/heat_tempest_plugin/common/test.py", line 101, in decorator
    obj_rtypes = manager.orchestration_client.resource_types.list()
  File "/usr/lib/python3.9/site-packages/heatclient/v1/resource_types.py", line 60, in list
    return self._list(url, self.KEY)
  File "/usr/lib/python3.9/site-packages/heatclient/common/base.py", line 113, in _list
    body = self.client.get(url).json()
  File "/usr/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 393, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python3.9/site-packages/heatclient/common/http.py", line 322, in request
    raise exc.from_response(resp)
heatclient.exc.HTTPException: ERROR: b"<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n"
```