← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395036] [NEW] Integration tests jobs failing

 

Public bug reported:

After https://review.openstack.org/#/c/135273/ which enabled the
integration tests job to run successfully, the job is now set up on the
gate as a non-voting job that runs on every patch. Unfortunately it
looks like they are all failing already. The following error was spotted
in several failed runs:


2014-11-21 15:09:04.326 | 2014-11-21 15:09:04.312 | ======================================================================
2014-11-21 15:09:04.329 | 2014-11-21 15:09:04.314 | ERROR: openstack_dashboard.test.integration_tests.tests.test_user_settings.TestUserSettings.test_user_settings_change
2014-11-21 15:09:04.330 | 2014-11-21 15:09:04.316 | ----------------------------------------------------------------------
2014-11-21 15:09:04.333 | 2014-11-21 15:09:04.317 | _StringException: traceback-1: {{{
2014-11-21 15:09:04.335 | 2014-11-21 15:09:04.321 | Traceback (most recent call last):
2014-11-21 15:09:04.338 | 2014-11-21 15:09:04.323 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 65, in tearDown
2014-11-21 15:09:04.340 | 2014-11-21 15:09:04.326 |     self.home_pg.log_out()
2014-11-21 15:09:04.343 | 2014-11-21 15:09:04.328 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 59, in log_out
2014-11-21 15:09:04.345 | 2014-11-21 15:09:04.330 |     self.topbar.user_dropdown_menu.click()
2014-11-21 15:09:04.348 | 2014-11-21 15:09:04.333 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 52, in __getattr__
2014-11-21 15:09:04.349 | 2014-11-21 15:09:04.335 |     raise AttributeError(msg.format(type(self).__name__, name))
2014-11-21 15:09:04.351 | 2014-11-21 15:09:04.337 | AttributeError: 'UserDropDownMenuRegion' object has no attribute 'click'
2014-11-21 15:09:04.353 | 2014-11-21 15:09:04.338 | }}}
2014-11-21 15:09:04.355 | 2014-11-21 15:09:04.340 | 
2014-11-21 15:09:04.357 | 2014-11-21 15:09:04.343 | Traceback (most recent call last):
2014-11-21 15:09:04.359 | 2014-11-21 15:09:04.345 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_settings.py", line 39, in test_user_settings_change
2014-11-21 15:09:04.361 | 2014-11-21 15:09:04.346 |     self.settings_page = self.home_pg.go_to_settings_usersettingspage()
2014-11-21 15:09:04.363 | 2014-11-21 15:09:04.348 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 268, in __call__
2014-11-21 15:09:04.364 | 2014-11-21 15:09:04.350 |     return Navigation._go_to_page(args[0], self.path, self.page_class)
2014-11-21 15:09:04.366 | 2014-11-21 15:09:04.352 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 199, in _go_to_page
2014-11-21 15:09:04.368 | 2014-11-21 15:09:04.353 |     self._go_to_settings_page(path[1])
2014-11-21 15:09:04.370 | 2014-11-21 15:09:04.355 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 219, in _go_to_settings_page
2014-11-21 15:09:04.371 | 2014-11-21 15:09:04.357 |     self.topbar.user_dropdown_menu.click_on_settings()
2014-11-21 15:09:04.376 | 2014-11-21 15:09:04.360 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 173, in click_on_settings
2014-11-21 15:09:04.377 | 2014-11-21 15:09:04.362 |     self.selected.click()
2014-11-21 15:09:04.379 | 2014-11-21 15:09:04.364 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 138, in selected
2014-11-21 15:09:04.380 | 2014-11-21 15:09:04.366 |     return self._get_element(*self._selected_item_locator)
2014-11-21 15:09:04.382 | 2014-11-21 15:09:04.367 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 91, in _get_element
2014-11-21 15:09:04.384 | 2014-11-21 15:09:04.369 |     return self.src_elem.find_element(*locator)
2014-11-21 15:09:04.387 | 2014-11-21 15:09:04.372 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 29, in find_element
2014-11-21 15:09:04.389 | 2014-11-21 15:09:04.375 |     web_el = super(WrapperFindOverride, self).find_element(by, value)
2014-11-21 15:09:04.392 | 2014-11-21 15:09:04.377 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 392, in find_element
2014-11-21 15:09:04.394 | 2014-11-21 15:09:04.379 |     {"using": by, "value": value})['value']
2014-11-21 15:09:04.396 | 2014-11-21 15:09:04.381 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 105, in _execute
2014-11-21 15:09:04.398 | 2014-11-21 15:09:04.383 |     params)
2014-11-21 15:09:04.399 | 2014-11-21 15:09:04.384 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
2014-11-21 15:09:04.401 | 2014-11-21 15:09:04.386 |     return self._parent.execute(command, params)
2014-11-21 15:09:04.403 | 2014-11-21 15:09:04.388 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
2014-11-21 15:09:04.405 | 2014-11-21 15:09:04.390 |     self.error_handler.check_response(response)
2014-11-21 15:09:04.406 | 2014-11-21 15:09:04.392 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
2014-11-21 15:09:04.408 | 2014-11-21 15:09:04.393 |     raise exception_class(message, screen, stacktrace)
2014-11-21 15:09:04.410 | 2014-11-21 15:09:04.395 | NoSuchElementException: Message: Unable to locate element: {"method":"css selector","selector":"a.dropdown-toggle > *"}
2014-11-21 15:09:04.411 | 2014-11-21 15:09:04.397 | Stacktrace:
2014-11-21 15:09:04.414 | 2014-11-21 15:09:04.399 |     at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmp63K3q3/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:9641:26)
2014-11-21 15:09:04.415 | 2014-11-21 15:09:04.401 |     at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmp63K3q3/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:548:5)

** Affects: horizon
     Importance: High
         Status: New


** Tags: integration-tests

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

Title:
  Integration tests jobs failing

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  After https://review.openstack.org/#/c/135273/ which enabled the
  integration tests job to run successfully, the job is now set up on
  the gate as a non-voting job that runs on every patch. Unfortunately
  it looks like they are all failing already. The following error was
  spotted in several failed runs:

  
  2014-11-21 15:09:04.326 | 2014-11-21 15:09:04.312 | ======================================================================
  2014-11-21 15:09:04.329 | 2014-11-21 15:09:04.314 | ERROR: openstack_dashboard.test.integration_tests.tests.test_user_settings.TestUserSettings.test_user_settings_change
  2014-11-21 15:09:04.330 | 2014-11-21 15:09:04.316 | ----------------------------------------------------------------------
  2014-11-21 15:09:04.333 | 2014-11-21 15:09:04.317 | _StringException: traceback-1: {{{
  2014-11-21 15:09:04.335 | 2014-11-21 15:09:04.321 | Traceback (most recent call last):
  2014-11-21 15:09:04.338 | 2014-11-21 15:09:04.323 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 65, in tearDown
  2014-11-21 15:09:04.340 | 2014-11-21 15:09:04.326 |     self.home_pg.log_out()
  2014-11-21 15:09:04.343 | 2014-11-21 15:09:04.328 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 59, in log_out
  2014-11-21 15:09:04.345 | 2014-11-21 15:09:04.330 |     self.topbar.user_dropdown_menu.click()
  2014-11-21 15:09:04.348 | 2014-11-21 15:09:04.333 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 52, in __getattr__
  2014-11-21 15:09:04.349 | 2014-11-21 15:09:04.335 |     raise AttributeError(msg.format(type(self).__name__, name))
  2014-11-21 15:09:04.351 | 2014-11-21 15:09:04.337 | AttributeError: 'UserDropDownMenuRegion' object has no attribute 'click'
  2014-11-21 15:09:04.353 | 2014-11-21 15:09:04.338 | }}}
  2014-11-21 15:09:04.355 | 2014-11-21 15:09:04.340 | 
  2014-11-21 15:09:04.357 | 2014-11-21 15:09:04.343 | Traceback (most recent call last):
  2014-11-21 15:09:04.359 | 2014-11-21 15:09:04.345 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_settings.py", line 39, in test_user_settings_change
  2014-11-21 15:09:04.361 | 2014-11-21 15:09:04.346 |     self.settings_page = self.home_pg.go_to_settings_usersettingspage()
  2014-11-21 15:09:04.363 | 2014-11-21 15:09:04.348 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 268, in __call__
  2014-11-21 15:09:04.364 | 2014-11-21 15:09:04.350 |     return Navigation._go_to_page(args[0], self.path, self.page_class)
  2014-11-21 15:09:04.366 | 2014-11-21 15:09:04.352 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 199, in _go_to_page
  2014-11-21 15:09:04.368 | 2014-11-21 15:09:04.353 |     self._go_to_settings_page(path[1])
  2014-11-21 15:09:04.370 | 2014-11-21 15:09:04.355 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 219, in _go_to_settings_page
  2014-11-21 15:09:04.371 | 2014-11-21 15:09:04.357 |     self.topbar.user_dropdown_menu.click_on_settings()
  2014-11-21 15:09:04.376 | 2014-11-21 15:09:04.360 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 173, in click_on_settings
  2014-11-21 15:09:04.377 | 2014-11-21 15:09:04.362 |     self.selected.click()
  2014-11-21 15:09:04.379 | 2014-11-21 15:09:04.364 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 138, in selected
  2014-11-21 15:09:04.380 | 2014-11-21 15:09:04.366 |     return self._get_element(*self._selected_item_locator)
  2014-11-21 15:09:04.382 | 2014-11-21 15:09:04.367 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 91, in _get_element
  2014-11-21 15:09:04.384 | 2014-11-21 15:09:04.369 |     return self.src_elem.find_element(*locator)
  2014-11-21 15:09:04.387 | 2014-11-21 15:09:04.372 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 29, in find_element
  2014-11-21 15:09:04.389 | 2014-11-21 15:09:04.375 |     web_el = super(WrapperFindOverride, self).find_element(by, value)
  2014-11-21 15:09:04.392 | 2014-11-21 15:09:04.377 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 392, in find_element
  2014-11-21 15:09:04.394 | 2014-11-21 15:09:04.379 |     {"using": by, "value": value})['value']
  2014-11-21 15:09:04.396 | 2014-11-21 15:09:04.381 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 105, in _execute
  2014-11-21 15:09:04.398 | 2014-11-21 15:09:04.383 |     params)
  2014-11-21 15:09:04.399 | 2014-11-21 15:09:04.384 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
  2014-11-21 15:09:04.401 | 2014-11-21 15:09:04.386 |     return self._parent.execute(command, params)
  2014-11-21 15:09:04.403 | 2014-11-21 15:09:04.388 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
  2014-11-21 15:09:04.405 | 2014-11-21 15:09:04.390 |     self.error_handler.check_response(response)
  2014-11-21 15:09:04.406 | 2014-11-21 15:09:04.392 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
  2014-11-21 15:09:04.408 | 2014-11-21 15:09:04.393 |     raise exception_class(message, screen, stacktrace)
  2014-11-21 15:09:04.410 | 2014-11-21 15:09:04.395 | NoSuchElementException: Message: Unable to locate element: {"method":"css selector","selector":"a.dropdown-toggle > *"}
  2014-11-21 15:09:04.411 | 2014-11-21 15:09:04.397 | Stacktrace:
  2014-11-21 15:09:04.414 | 2014-11-21 15:09:04.399 |     at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmp63K3q3/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:9641:26)
  2014-11-21 15:09:04.415 | 2014-11-21 15:09:04.401 |     at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmp63K3q3/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:548:5)

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


Follow ups

References