** Changed in: horizon
       Status: Fix Committed => 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/1412469

Title:
  Integration tests sometime fail with "WebDriverException: Message: The
  browser appears to have exited before we could connect."

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  For example on test here ( http://logs.openstack.org/04/148204/4/check
  /gate-horizon-dsvm-integration/5b55890/console.html )

  2015-01-19 10:04:02.134 | 2015-01-19 10:04:02.118 | ERROR: 
openstack_dashboard.test.integration_tests.tests.test_flavors.TestFlavors.test_flavor_create
  2015-01-19 10:04:02.136 | 2015-01-19 10:04:02.119 | 
----------------------------------------------------------------------
  2015-01-19 10:04:02.168 | 2015-01-19 10:04:02.121 | _StringException: 
Traceback (most recent call last):
  2015-01-19 10:04:02.168 | 2015-01-19 10:04:02.122 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", 
line 72, in setUp
  2015-01-19 10:04:02.169 | 2015-01-19 10:04:02.124 |     super(AdminTestCase, 
self).setUp()
  2015-01-19 10:04:02.169 | 2015-01-19 10:04:02.125 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", 
line 33, in setUp
  2015-01-19 10:04:02.169 | 2015-01-19 10:04:02.127 |     self.driver = 
webdriver.WebDriverWrapper()
  2015-01-19 10:04:02.169 | 2015-01-19 10:04:02.128 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
 line 59, in __init__
  2015-01-19 10:04:02.170 | 2015-01-19 10:04:02.130 |     self.binary, timeout),
  2015-01-19 10:04:02.170 | 2015-01-19 10:04:02.131 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
 line 47, in __init__
  2015-01-19 10:04:02.170 | 2015-01-19 10:04:02.132 |     
self.binary.launch_browser(self.profile)
  2015-01-19 10:04:02.171 | 2015-01-19 10:04:02.134 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
 line 66, in launch_browser
  2015-01-19 10:04:02.171 | 2015-01-19 10:04:02.135 |     
self._wait_until_connectable()
  2015-01-19 10:04:02.171 | 2015-01-19 10:04:02.137 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
 line 100, in _wait_until_connectable
  2015-01-19 10:04:02.171 | 2015-01-19 10:04:02.138 |     raise 
WebDriverException("The browser appears to have exited "
  2015-01-19 10:04:02.172 | 2015-01-19 10:04:02.140 | WebDriverException: 
Message: The browser appears to have exited before we could connect. If you 
specified a log_file in the FirefoxBinary constructor, check it for details.

  3 tests with that error in http://logs.openstack.org/47/147047/5/gate
  /gate-horizon-dsvm-integration/2e044be/console.html :

  2015-01-19 14:09:49.343 | 2015-01-19 14:09:49.309 | 
======================================================================
  2015-01-19 14:09:49.343 | 2015-01-19 14:09:49.310 | ERROR: 
openstack_dashboard.test.integration_tests.tests.test_keypair.TestKeypair.test_keypair
  2015-01-19 14:09:49.343 | 2015-01-19 14:09:49.311 | 
----------------------------------------------------------------------
  2015-01-19 14:09:49.343 | 2015-01-19 14:09:49.313 | _StringException: 
Traceback (most recent call last):
  2015-01-19 14:09:49.343 | 2015-01-19 14:09:49.314 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", 
line 59, in setUp
  2015-01-19 14:09:49.344 | 2015-01-19 14:09:49.315 |     super(TestCase, 
self).setUp()
  2015-01-19 14:09:49.344 | 2015-01-19 14:09:49.316 |   File 
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", 
line 33, in setUp
  2015-01-19 14:09:49.344 | 2015-01-19 14:09:49.318 |     self.driver = 
webdriver.WebDriverWrapper()
  2015-01-19 14:09:49.344 | 2015-01-19 14:09:49.319 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py",
 line 59, in __init__
  2015-01-19 14:09:49.344 | 2015-01-19 14:09:49.320 |     self.binary, timeout),
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.321 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/extension_connection.py",
 line 47, in __init__
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.323 |     
self.binary.launch_browser(self.profile)
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.324 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
 line 66, in launch_browser
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.325 |     
self._wait_until_connectable()
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.327 |   File 
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py",
 line 100, in _wait_until_connectable
  2015-01-19 14:09:49.345 | 2015-01-19 14:09:49.329 |     raise 
WebDriverException("The browser appears to have exited "
  2015-01-19 14:09:49.346 | 2015-01-19 14:09:49.330 | WebDriverException: 
Message: The browser appears to have exited before we could connect. If you 
specified a log_file in the FirefoxBinary constructor, check it for details.

  Maybe we should also set that log_file attribute and add it to the
  list of collected logs to help debug gate job failures.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to