[UI][Tests] UI tests don't pass on check state of cluster

Bug #1294039 reported by Vadim Rovachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Vadim Rovachev

Bug Description

 UI tests failed on check state of cluster with StaleElementReferenceException
------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-ui-tests/saharadashboard/tests/cluster_tests/test_clusters.py", line 67, in test_create_vanilla_cluster
    cfg.vanilla, await_run=await_run)
  File "saharadashboard/tests/base.py", line 196, in create_cluster
    self.await_cluster_active(name)
  File "saharadashboard/tests/base.py", line 817, in await_cluster_active
    find_element_by_xpath("../../td[3]").text
  File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 200, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 376, in find_element
    {"using": by, "value": value})['value']
  File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 369, in _execute
    return self._parent.execute(command, params)
  File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 164, in execute
    self.error_handler.check_response(response)
  File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 164, in check_response
    raise exception_class(message, screen, stacktrace)
StaleElementReferenceException: Message: u'Element is no longer attached to the DOM' ; Stacktrace:
    at fxdriver.cache.getElementAt (resource://fxdriver/modules/web_element_cache.js:7613)
    at Utils.getElementAt (file:///<email address hidden>/components/driver_component.js:7210)
    at FirefoxDriver.prototype.findElementInternal_ (file:///<email address hidden>/components/driver_component.js:8894)
    at FirefoxDriver.prototype.findChildElement (file:///<email address hidden>/components/driver_component.js:8916)
    at DelayedCommand.prototype.executeInternal_/h (file:///<email address hidden>/components/command_processor.js:10878)
    at DelayedCommand.prototype.executeInternal_ (file:///<email address hidden>/components/command_processor.js:10883)
    at DelayedCommand.prototype.execute/< (file:///<email address hidden>/components/command_processor.js:10825)

Tags: dashboard
Changed in sahara:
assignee: nobody → Vadim Rovachev (vrovachev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81231

Changed in sahara:
status: New → In Progress
Changed in sahara:
milestone: none → icehouse-rc1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-dashboard (master)

Reviewed: https://review.openstack.org/81231
Committed: https://git.openstack.org/cgit/openstack/sahara-dashboard/commit/?id=99978d2e8c8acc18c5b779315a809ffcdfe4d9bd
Submitter: Jenkins
Branch: master

commit 99978d2e8c8acc18c5b779315a809ffcdfe4d9bd
Author: Vadim Rovachev <email address hidden>
Date: Tue Mar 18 14:59:35 2014 +0400

    Add sleep in await state cluster method

    Add sleep in await state cluster method for close bug
    Closes-bug: #1294039

    Change-Id: Idce02932aaf76417849367729f639d385ad0f35f

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: icehouse-rc1 → 2014.1
Luigi Toscano (ltoscano)
tags: added: dashboard
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.