yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25135
[Bug 1399268] [NEW] All integration tests fails on both log_out action in teardown and navigation between pages
Public bug reported:
All tests in gate-horizon-dsvm-integration are currently failing.
>From a first look at the logs it seems they fail on two actions:
1. trying to perform log out. we already had this problem
(https://bugs.launchpad.net/horizon/+bug/1391890) and it was fixed in
https://review.openstack.org/#/c/135273/. I'm not sure what causing this
fail again.
2. trying to navigate to a different page. the first guess was that a
patch that changed the sidebar layout caused it
(https://review.openstack.org/#/c/126289/), but it passed the gate.
----------------------------------------------------------------------------( 1 )-----------------------------------------------------------------------------------
======================================================================
ERROR: openstack_dashboard.test.integration_tests.tests.test_keypair.TestKeypair.test_keypair
----------------------------------------------------------------------
_StringException: traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 65, in tearDown
self.home_pg.log_out()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 59, in log_out
self.topbar.user_dropdown_menu.click_on_logout()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 183, in click_on_logout
self.logout_link.click()
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 65, in click
self._execute(Command.CLICK_ELEMENT)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 105, in _execute
params)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
return self._parent.execute(command, params)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
ElementNotVisibleException: Message: Element is not currently visible and so may not be interacted with
Stacktrace:
at fxdriver.preconditions.visible (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:8959:12)
at DelayedCommand.prototype.checkPreconditions_ (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:11618:15)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:11635:11)
at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:548:5)
----------------------------------------------------------------------------(
2
)-----------------------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_keypair.py", line 26, in test_keypair
keypair_page = self.home_pg.go_to_accessandsecurity_keypairspage()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 268, in __call__
return Navigation._go_to_page(args[0], self.path, self.page_class)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 204, in _go_to_page
self._go_to_side_menu_page(path[:self.SIDE_MENU_MAX_LEVEL])
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 224, in _go_to_side_menu_page
self.navaccordion.click_on_menu_items(*menu_items)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 116, in click_on_menu_items
self.get_first_level_selected_item)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 97, in _click_menu_item
self._click_item(text, loc_craft_func)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 107, in _click_item
item = self._get_element(*item_locator)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 91, in _get_element
return self.src_elem.find_element(*locator)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 29, in find_element
web_el = super(WrapperFindOverride, self).find_element(by, value)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 662, in find_element
{'using': by, 'value': value})['value']
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element: {"method":"xpath","selector":"//dt/div[text()='Project']"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:9641:26)
at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:548:5)
** Affects: horizon
Importance: Undecided
Status: New
** Tags: gate-horizon-dsvm-integration integration-tests
** Tags added: gate-horizon-dsvm-integration 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/1399268
Title:
All integration tests fails on both log_out action in teardown and
navigation between pages
Status in OpenStack Dashboard (Horizon):
New
Bug description:
All tests in gate-horizon-dsvm-integration are currently failing.
From a first look at the logs it seems they fail on two actions:
1. trying to perform log out. we already had this problem
(https://bugs.launchpad.net/horizon/+bug/1391890) and it was fixed in
https://review.openstack.org/#/c/135273/. I'm not sure what causing
this fail again.
2. trying to navigate to a different page. the first guess was that a
patch that changed the sidebar layout caused it
(https://review.openstack.org/#/c/126289/), but it passed the gate.
----------------------------------------------------------------------------( 1 )-----------------------------------------------------------------------------------
======================================================================
ERROR: openstack_dashboard.test.integration_tests.tests.test_keypair.TestKeypair.test_keypair
----------------------------------------------------------------------
_StringException: traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 65, in tearDown
self.home_pg.log_out()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 59, in log_out
self.topbar.user_dropdown_menu.click_on_logout()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 183, in click_on_logout
self.logout_link.click()
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 65, in click
self._execute(Command.CLICK_ELEMENT)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 105, in _execute
params)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute
return self._parent.execute(command, params)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
ElementNotVisibleException: Message: Element is not currently visible and so may not be interacted with
Stacktrace:
at fxdriver.preconditions.visible (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:8959:12)
at DelayedCommand.prototype.checkPreconditions_ (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:11618:15)
at DelayedCommand.prototype.executeInternal_/h (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:11635:11)
at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/command-processor.js:548:5)
----------------------------------------------------------------------------(
2
)-----------------------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_keypair.py", line 26, in test_keypair
keypair_page = self.home_pg.go_to_accessandsecurity_keypairspage()
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 268, in __call__
return Navigation._go_to_page(args[0], self.path, self.page_class)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 204, in _go_to_page
self._go_to_side_menu_page(path[:self.SIDE_MENU_MAX_LEVEL])
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/navigation.py", line 224, in _go_to_side_menu_page
self.navaccordion.click_on_menu_items(*menu_items)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 116, in click_on_menu_items
self.get_first_level_selected_item)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 97, in _click_menu_item
self._click_item(text, loc_craft_func)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 107, in _click_item
item = self._get_element(*item_locator)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py", line 91, in _get_element
return self.src_elem.find_element(*locator)
File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 29, in find_element
web_el = super(WrapperFindOverride, self).find_element(by, value)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 662, in find_element
{'using': by, 'value': value})['value']
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
self.error_handler.check_response(response)
File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element: {"method":"xpath","selector":"//dt/div[text()='Project']"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_ (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:9641:26)
at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpkH19A8/extensions/fxdriver@xxxxxxxxxxxxxx/components/driver-component.js:548:5)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1399268/+subscriptions
Follow ups
References