All integration tests will be failed during the test case teardown because of log out exception

Bug #1391890 reported by Wu Hong Guang on 2014-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Wu Hong Guang

Bug Description

Testing step:
1: git clone
2: cd devstack; ./
3: ./ --integration

ERROR: openstack_dashboard.test.integration_tests.tests.test_password_change.TestPasswordChange.test_password_change
_StringException: Traceback (most recent call last):
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/", line 65, in tearDown
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/pages/", line 46, in log_out
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/", line 65, in click
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/", line 105, , in _execute
    return self._parent.execute(command, params)
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/", line 173, in execute
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/", 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

Wu Hong Guang (whg) on 2014-11-13
summary: - integration_tests.pages.basepage a[href*="/auth/logout/"]
- ElementNotVisibleException
+ integration_tests.pages.basepage can't logout:ElementNotVisibleException
+ [href*="/auth/logout/"]
tags: added: integration-tests
Wu Hong Guang (whg) on 2014-11-14
summary: - integration_tests.pages.basepage can't logout:ElementNotVisibleException
- [href*="/auth/logout/"]
+ integration_tests.pages.basepage can't logout :
+ ElementNotVisibleException [href="/auth/logout"]
Wu Hong Guang (whg) on 2014-11-17
Changed in horizon:
assignee: nobody → Hong-Guang (whg)
status: New → In Progress
Julie Pichon (jpichon) on 2014-11-20
Changed in horizon:
importance: Undecided → Medium

I think this is a critical bug for integration test .

This bug causes all integration tests failure because the log out is called during the test case clean up,

Wu Hong Guang (whg) on 2014-11-20
summary: - integration_tests.pages.basepage can't logout :
- ElementNotVisibleException [href="/auth/logout"]
+ All integration tests will be failed during the test case teardown
+ because of log out exception
description: updated
Julie Pichon (jpichon) wrote :

I agree this is critical in the context of the integration tests, and we want to fix this ASAP in order to be able to run the tests on the gate. However in the greater context of the project, it is not as critical - no functionality is critically broken, it's not blocking patches from merging, etc.

Submitter: Jenkins
Branch: master

commit 313b49bc06301291181a637df60f50f56fd541ee
Author: whg <email address hidden>
Date: Tue Nov 18 20:40:43 2014 +0800

    Integration test for fix the logout issue in basepage

    The logout button is not visible anymore after it moves
    to user profile dropdown menu.

    Closes-Bug: #1391890
    Closes-Bug: #1392598
    Partially implements blueprint: selenium-integration-testing
    Change-Id: Ib42137146edd174d11ba361d50aa3327db3f84ce

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki) on 2014-12-05
Changed in horizon:
milestone: none → kilo-1
Thierry Carrez (ttx) on 2014-12-18
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2015-04-30
Changed in horizon:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers