← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1526611] Re: integration test timeout on every run

 

Reviewed:  https://review.openstack.org/258262
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0c9628de93e9429b1e9f3a012e626168437f416c
Submitter: Jenkins
Branch:    master

commit 0c9628de93e9429b1e9f3a012e626168437f416c
Author: Richard Jones <r1chardj0n3s@xxxxxxxxx>
Date:   Wed Dec 16 16:27:43 2015 +1100

    Increase default Python socket timeout
    
    This change increses the timeout for the communications between the
    test process and the selenium web driver process.
    
    Change-Id: I79e46713338a59d45c117dc86bf59b9992dbdd94
    Fixes-Bug: 1526611


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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/1526611

Title:
  integration test timeout on every run

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  While attempting to run the integration test suite locally on my OS X
  system against a remote devstack I repeatable encountered the
  following timeout:

  _StringException: Traceback (most recent call last):
    File ".../src/openstack/horizon/openstack_dashboard/test/integration_tests/tests/test_login.py", line 25, in test_login
      login_pg.go_to_login_page()
    File ".../src/openstack/horizon/openstack_dashboard/test/integration_tests/pages/pageobject.py", line 79, in go_to_login_page
      self.driver.get(self.login_url)
    File ".../src/openstack/horizon/.venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 213, in get
      self.execute(Command.GET, url': url})
    File ".../src/openstack/horizon/.venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 199, in execute
      response = self.command_executor.execute(driver_command, params)
    File ".../src/openstack/horizon/.venv/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 395, in execute
      return self._request(command_info[0], url, body=data)
    File ".../src/openstack/horizon/.venv/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 426, in _request
      resp = self._conn.getresponse()
    File ".../.pyenv/versions/2.7.9/lib/python2.7/httplib.py", line 1073, in getresponse
      response.begin()
    File ".../.pyenv/versions/2.7.9/lib/python2.7/httplib.py", line 415, in begin
      version, status, reason = self._read_status()
    File ".../.pyenv/versions/2.7.9/lib/python2.7/httplib.py", line 371, in _read_status
      line = self.fp.readline(_MAXLINE + 1)
    File ".../.pyenv/versions/2.7.9/lib/python2.7/socket.py", line 476, in readline
      data = self._sock.recv(self._rbufsize)
  socket.timeout: timed out

  This is in the communication channel between the test process and the
  selenium webdriver process. I get it every time I attempt to run a
  test.

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


References