yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #67792
[Bug 1644168] Re: integration tests crashes
Integration tests have been abandoned all together by Horizon. This no
longer applies.
** Changed in: horizon
Status: New => Won't Fix
--
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/1644168
Title:
integration tests crashes
Status in OpenStack Dashboard (Horizon):
Won't Fix
Bug description:
I'm trying to launch integrations test of Horizon stable/newton. For every test I get the same error as this one a:
======================================================================
ERROR: openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
----------------------------------------------------------------------
_StringException: Attach browser log: {{{
Traceback (most recent call last):
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 255, in log_exception
yield
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 244, in _attach_browser_log
self._unwrap_browser_log(self.driver.get_log('browser')))
File "/home/lfxb1698/Documents/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 980, in get_log
return self.execute(Command.GET_LOG, {'type': log_type})['value']
File "/home/lfxb1698/Documents/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/home/lfxb1698/Documents/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
WebDriverException: Message: POST /session/1f444c6a-daa9-47cc-b75a-371fdaef281d/log did not match a known command
}}}
Attach page source: {{{
Traceback (most recent call last):
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 255, in log_exception
yield
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 222, in _attach_page_source
f.write(self._get_page_html_source())
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 289, in _get_page_html_source
return html_elem.get_attribute("innerHTML").encode("utf-8")
AttributeError: 'NoneType' object has no attribute 'encode'
}}}
Traceback (most recent call last):
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/tests/test_credentials.py", line 28, in setUp
super(TestDownloadRCFile, self).setUp()
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/helpers.py", line 307, in setUp
self.home_pg.change_project(self.HOME_PROJECT)
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py", line 66, in change_project
self.topbar.user_dropdown_project.click_on_project(name)
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 278, in click_on_project
for item in self.menu_items:
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 190, in menu_items
self.open()
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/regions/menus.py", line 211, in open
self._wait_until(predicate)
File "/home/lfxb1698/Documents/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 103, in _wait_until
predicate)
File "/home/lfxb1698/Documents/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1644168/+subscriptions
References