Unexpected messages during running of runtests.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Richard Jones |
Bug Description
Latest upstream master branch seems to have two distinct issues when ./runtests.sh is run.
First is a series of HTTP connection errors timing out and slowing down the execution of the entire runtest suite -
DEBUG:cindercli
url: /v1/os-
.INFO:requests.
The second is a bunch of console debug messages and tracebacks that get printed out in the middle of the test suite -
Expected failure.
Traceback (most recent call last):
File "/opt/stack/
console = api_call(request, instance.id)
File "/opt/stack/
return mock_method(
File "/opt/stack/
raise expected_
ClientException: Expected failure.
Expected failure.
Traceback (most recent call last):
File "/opt/stack/
console = api_call(request, instance.id)
File "/opt/stack/
return mock_method(
File "/opt/stack/
raise expected_
ClientException: Expected failure.
....Console type "FAKE" not supported.
Both need to be fixed/removed/
It doesn't seem like there are any actual test failures or errors - just added delays and console messages.
Changed in horizon: | |
assignee: | nobody → Gary W. Smith (gary-w-smith) |
Changed in horizon: | |
assignee: | Gary W. Smith (gary-w-smith) → nobody |
Changed in horizon: | |
status: | Triaged → Confirmed |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-2 → 2014.2 |
The "FAKE" issue is being tracked in bug 1322262 and already has a patch up for review. The "Connection Refused" is likely due to missing mocks and needs to be fixed. Running the tests with increased verbosity reveals the problem is coming from the following tests:
test_cinder_ services_ index (openstack_ dashboard. dashboards. admin.info. tests.SystemInf oViewTests) quotas_ index (openstack_ dashboard. dashboards. admin.info. tests.SystemInf oViewTests) quotas_ index_with_ neutron_ disabled (openstack_ dashboard. dashboards. admin.info. tests.SystemInf oViewTests) quotas_ index_with_ neutron_ sg_disabled (openstack_ dashboard. dashboards. admin.info. tests.SystemInf oViewTests) dashboard. dashboards. admin.info. tests.SystemInf oViewTests)
test_default_
test_default_
test_default_
test_index (openstack_