Public bug reported:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
failed several times. This test is executed first, so most time might be
needed.
There are two failure patterns observed.
The one is 'AssertionError: False is not true' and the other is
selenium.common.exceptions.NoSuchElementException.
In both patterns, "root: INFO: X11 isn't installed. Should use xvfb to run
tests" message was observed.
I think this is always output and is not related to this failure directly, but
it looks useful when using logstash.
the following query looks fine.
message:"root: INFO: X11 isn't installed. Should use xvfb to run tests."
AND (build_name:"gate-horizon-dsvm-integration-current-ubuntu-xenial" OR
build_name:"gate-horizon-dsvm-integration-deprecated-ubuntu-xenial")
(a) AssertionError: False is not true
======================================================================
FAIL:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_credentials.py",
line 56, in test_download_rc_v2_file
self.assertTrue(False)
File
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py",
line 702, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
root: INFO: X11 isn't installed. Should use xvfb to run tests.
--------------------- >> end captured logging << ---------------------
(b) selenium.common.exceptions.NoSuchElementException
======================================================================
ERROR:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_credentials.py",
line 28, in setUp
super(TestDownloadRCFile, self).setUp()
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py",
line 307, in setUp
self.home_pg.change_project(self.HOME_PROJECT)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py",
line 66, in change_project
self.topbar.user_dropdown_project.click_on_project(name)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/bars.py",
line 59, in user_dropdown_project
src_elem = self._get_element(*self._user_dropdown_project_locator)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py",
line 61, in _get_element
return self.src_elem.find_element(*locator)
File "/opt/stack/new/horizon/horizon/test/webdriver.py", line 40, 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 752, in find_element
'value': value})['value']
File
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 236, 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 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate
element: {"method":"css selector","selector":".navbar-collapse >
ul.navbar-nav:first-child"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_
(file:///tmp/tmpFRqPcW/extensions/[email protected]/components/driver-component.js:10770)
at fxdriver.Timer.prototype.setTimeout/<.notify
(file:///tmp/tmpFRqPcW/extensions/[email protected]/components/driver-component.js:625)
-------------------- >> begin captured logging << --------------------
root: INFO: X11 isn't installed. Should use xvfb to run tests.
--------------------- >> end captured logging << ---------------------
** 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/1626720
Title:
integration tests: test_download_rc_v2_file fails with
selenium.common.exceptions.NoSuchElementException
Status in OpenStack Dashboard (Horizon):
New
Bug description:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
failed several times. This test is executed first, so most time might
be needed.
There are two failure patterns observed.
The one is 'AssertionError: False is not true' and the other is
selenium.common.exceptions.NoSuchElementException.
In both patterns, "root: INFO: X11 isn't installed. Should use xvfb to run
tests" message was observed.
I think this is always output and is not related to this failure directly,
but it looks useful when using logstash.
the following query looks fine.
message:"root: INFO: X11 isn't installed. Should use xvfb to run tests."
AND (build_name:"gate-horizon-dsvm-integration-current-ubuntu-xenial" OR
build_name:"gate-horizon-dsvm-integration-deprecated-ubuntu-xenial")
(a) AssertionError: False is not true
======================================================================
FAIL:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_credentials.py",
line 56, in test_download_rc_v2_file
self.assertTrue(False)
File
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/unittest2/case.py",
line 702, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
root: INFO: X11 isn't installed. Should use xvfb to run tests.
--------------------- >> end captured logging << ---------------------
(b) selenium.common.exceptions.NoSuchElementException
======================================================================
ERROR:
openstack_dashboard.test.integration_tests.tests.test_credentials.TestDownloadRCFile.test_download_rc_v2_file
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_credentials.py",
line 28, in setUp
super(TestDownloadRCFile, self).setUp()
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/helpers.py",
line 307, in setUp
self.home_pg.change_project(self.HOME_PROJECT)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/basepage.py",
line 66, in change_project
self.topbar.user_dropdown_project.click_on_project(name)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/bars.py",
line 59, in user_dropdown_project
src_elem = self._get_element(*self._user_dropdown_project_locator)
File
"/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/baseregion.py",
line 61, in _get_element
return self.src_elem.find_element(*locator)
File "/opt/stack/new/horizon/horizon/test/webdriver.py", line 40, 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 752, in find_element
'value': value})['value']
File
"/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 236, 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 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate
element: {"method":"css selector","selector":".navbar-collapse >
ul.navbar-nav:first-child"}
Stacktrace:
at FirefoxDriver.prototype.findElementInternal_
(file:///tmp/tmpFRqPcW/extensions/[email protected]/components/driver-component.js:10770)
at fxdriver.Timer.prototype.setTimeout/<.notify
(file:///tmp/tmpFRqPcW/extensions/[email protected]/components/driver-component.js:625)
-------------------- >> begin captured logging << --------------------
root: INFO: X11 isn't installed. Should use xvfb to run tests.
--------------------- >> end captured logging << ---------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1626720/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp