Horizon integration tests failed with connection refused

Bug #1626292 reported by Ying Zuo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

Horizon gate gate-horizon-dsvm-integration-deprecated-ubuntu-xenial failed with connection refused.

Console log: http://logs.openstack.org/17/374317/2/check/gate-horizon-dsvm-integration-deprecated-ubuntu-xenial/ecbbe3d/console.html#_2016-09-21_21_16_04_335905

2016-09-21 21:16:04.335905 | 2016-09-21 21:16:04.335 | ERROR: openstack_dashboard.test.integration_tests.tests.test_volumes.TestVolumesActions.test_volume_launch_as_instance
2016-09-21 21:16:04.337476 | 2016-09-21 21:16:04.337 | ----------------------------------------------------------------------
2016-09-21 21:16:04.339203 | 2016-09-21 21:16:04.338 | _StringException: Traceback (most recent call last):
2016-09-21 21:16:04.341388 | 2016-09-21 21:16:04.340 | File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_volumes.py", line 230, in setUp
2016-09-21 21:16:04.343492 | 2016-09-21 21:16:04.342 | super(TestVolumesActions, self).setUp()
2016-09-21 21:16:04.345331 | 2016-09-21 21:16:04.344 | File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 299, in setUp
2016-09-21 21:16:04.347271 | 2016-09-21 21:16:04.346 | super(TestCase, self).setUp()
2016-09-21 21:16:04.348897 | 2016-09-21 21:16:04.348 | File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 162, in setUp
2016-09-21 21:16:04.350506 | 2016-09-21 21:16:04.349 | desired_capabilities=desired_capabilities
2016-09-21 21:16:04.352357 | 2016-09-21 21:16:04.351 | File "/opt/stack/new/horizon/horizon/test/firefox_binary.py", line 74, in __init__
2016-09-21 21:16:04.355746 | 2016-09-21 21:16:04.355 | desired_capabilities, proxy)
2016-09-21 21:16:04.358357 | 2016-09-21 21:16:04.357 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 85, in __init__
2016-09-21 21:16:04.361330 | 2016-09-21 21:16:04.361 | keep_alive=True)
2016-09-21 21:16:04.366289 | 2016-09-21 21:16:04.365 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in __init__
2016-09-21 21:16:04.368827 | 2016-09-21 21:16:04.368 | self.start_session(desired_capabilities, browser_profile)
2016-09-21 21:16:04.370617 | 2016-09-21 21:16:04.370 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session
2016-09-21 21:16:04.372788 | 2016-09-21 21:16:04.372 | response = self.execute(Command.NEW_SESSION, capabilities)
2016-09-21 21:16:04.374632 | 2016-09-21 21:16:04.374 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 234, in execute
2016-09-21 21:16:04.376447 | 2016-09-21 21:16:04.376 | response = self.command_executor.execute(driver_command, params)
2016-09-21 21:16:04.382014 | 2016-09-21 21:16:04.379 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 401, in execute
2016-09-21 21:16:04.384349 | 2016-09-21 21:16:04.384 | return self._request(command_info[0], url, body=data)
2016-09-21 21:16:04.386332 | 2016-09-21 21:16:04.386 | File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 432, in _request
2016-09-21 21:16:04.388404 | 2016-09-21 21:16:04.388 | self._conn.request(method, parsed_url.path, body, headers)
2016-09-21 21:16:04.390058 | 2016-09-21 21:16:04.389 | File "/usr/lib/python2.7/httplib.py", line 1057, in request
2016-09-21 21:16:04.392109 | 2016-09-21 21:16:04.391 | self._send_request(method, url, body, headers)
2016-09-21 21:16:04.393841 | 2016-09-21 21:16:04.393 | File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
2016-09-21 21:16:04.396391 | 2016-09-21 21:16:04.396 | self.endheaders(body)
2016-09-21 21:16:04.398035 | 2016-09-21 21:16:04.397 | File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
2016-09-21 21:16:04.399777 | 2016-09-21 21:16:04.399 | self._send_output(message_body)
2016-09-21 21:16:04.401536 | 2016-09-21 21:16:04.401 | File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
2016-09-21 21:16:04.404163 | 2016-09-21 21:16:04.402 | self.send(msg)
2016-09-21 21:16:04.406033 | 2016-09-21 21:16:04.405 | File "/usr/lib/python2.7/httplib.py", line 859, in send
2016-09-21 21:16:04.408328 | 2016-09-21 21:16:04.407 | self.connect()
2016-09-21 21:16:04.412046 | 2016-09-21 21:16:04.410 | File "/usr/lib/python2.7/httplib.py", line 836, in connect
2016-09-21 21:16:04.414167 | 2016-09-21 21:16:04.413 | self.timeout, self.source_address)
2016-09-21 21:16:04.416083 | 2016-09-21 21:16:04.415 | File "/usr/lib/python2.7/socket.py", line 575, in create_connection
2016-09-21 21:16:04.418481 | 2016-09-21 21:16:04.418 | raise err
2016-09-21 21:16:04.421166 | 2016-09-21 21:16:04.420 | socket.error: [Errno 111] Connection refused
2016-09-21 21:16:04.423035 | 2016-09-21 21:16:04.422 |
2016-09-21 21:16:04.424462 | 2016-09-21 21:16:04.424 |
2016-09-21 21:16:04.426522 | 2016-09-21 21:16:04.426 | Slowest 5 tests took 468.15 secs:
2016-09-21 21:16:04.428590 | 2016-09-21 21:16:04.428 | 103.52 TestVolumeSnapshotsBasic.test_volume_snapshots_pagination
2016-09-21 21:16:04.430297 | 2016-09-21 21:16:04.430 | 97.68 TestMetadataDefinitions.test_namespace_create_delete
2016-09-21 21:16:04.432547 | 2016-09-21 21:16:04.431 | 90.85 TestImagesBasic.test_edit_image_description_and_name
2016-09-21 21:16:04.435745 | 2016-09-21 21:16:04.435 | 89.85 TestFloatingipAssociateDisassociate.test_floatingip_associate_disassociate
2016-09-21 21:16:04.444012 | 2016-09-21 21:16:04.437 | 86.25 TestInstances.test_instances_pagination_and_filtration
2016-09-21 21:16:04.447715 | 2016-09-21 21:16:04.447 | ----------------------------------------------------------------------
2016-09-21 21:16:04.449956 | 2016-09-21 21:16:04.449 | Ran 68 tests in 2975.656s

Akihiro Motoki (amotoki)
tags: added: integration-tests
summary: - Horizon gate failed with connection refused
+ Horizon integration tests failed with connection refused
description: updated
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Thanks for the report. I did not notice this before I filed the same bug 1626643.
bug 1626643 contains log stash query and the analysis of failure rate, so let me use that one to track the bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.