← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1626643] Re: integration tests: socket.error: Connection refused frequently happens in selenium remote driver

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1626643

Title:
  integration tests: socket.error: Connection refused frequently happens
  in selenium remote driver

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  socket.error: [Errno 111] Connection refused frequently occurs recently in selenium remote_connection.
  This is seen in various tests. It seems selenium fails to connect a browser.

  For example, http://logs.openstack.org/14/303514/55/check/gate-
  horizon-dsvm-integration-current-ubuntu-
  xenial/af1bef2/console.html#_2016-09-21_10_56_45_019822

  66 hits in last 7 days in 311 integration test run (dsvm-integration-current and dsvm-integration-deprecated)
  The failure rate is 21%. The rate is high enough.

  logstash query:
  message:"socket.error: [Errno 111] Connection refused"
  AND filename:"console.html"
  AND (build_name:"gate-horizon-dsvm-integration-deprecated-ubuntu-xenial" OR build_name:"gate-horizon-dsvm-integration-current-ubuntu-xenial")

  ======================================================================
  ERROR: openstack_dashboard.test.integration_tests.tests.test_user_settings.TestDashboardHelp.test_dashboard_help_redirection
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 299, in setUp
      super(TestCase, self).setUp()
    File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 162, in setUp
      desired_capabilities=desired_capabilities
    File "/opt/stack/new/horizon/horizon/test/firefox_binary.py", line 74, in __init__
      desired_capabilities, proxy)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 85, in __init__
      keep_alive=True)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in __init__
      self.start_session(desired_capabilities, browser_profile)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session
      response = self.execute(Command.NEW_SESSION, capabilities)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 234, in execute
      response = self.command_executor.execute(driver_command, params)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 401, in execute
      return self._request(command_info[0], url, body=data)
    File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 432, in _request
      self._conn.request(method, parsed_url.path, body, headers)
    File "/usr/lib/python2.7/httplib.py", line 1057, in request
      self._send_request(method, url, body, headers)
    File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
      self.endheaders(body)
    File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
      self._send_output(message_body)
    File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
      self.send(msg)
    File "/usr/lib/python2.7/httplib.py", line 859, in send
      self.connect()
    File "/usr/lib/python2.7/httplib.py", line 836, in connect
      self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 575, in create_connection
      raise err
  socket.error: [Errno 111] Connection refused

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1626643/+subscriptions


References