some selenium tests still failing spuriously

Bug #1376977 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

I have disable the following test because of it failing spuriously. It fails more than it passes.

======================================================================
ERROR: maasserver.views.tests.test_nodes.NodeListingBulkActionSelectionTest.test_zone_widget_is_visible_only_when_set_zone_selected
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch._vgsSo/src/maasserver/views/tests/test_nodes.py", line 1671, in test_zone_widget_is_visible_only_when_set_zone_selected
    zone_widget = self.selenium.find_element_by_id('zone_widget')
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 206, in find_element_by_id
    return self.find_element(by=By.ID, value=id_)
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 662, in find_element
    {'using': by, 'value': value})['value']
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 173, in execute
    self.error_handler.check_response(response)
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"id","selector":"zone_widget"}' ; Stacktrace:
    at FirefoxDriver.prototype.findElementInternal_ (file:///<email address hidden>/components/driver-component.js:9618:133)
    at FirefoxDriver.prototype.findElement (file:///<email address hidden>/components/driver-component.js:9627:3)
    at DelayedCommand.prototype.executeInternal_/h (file:///<email address hidden>/components/command-processor.js:11612:16)
    at DelayedCommand.prototype.executeInternal_ (file:///<email address hidden>/components/command-processor.js:11617:7)
    at DelayedCommand.prototype.execute/< (file:///<email address hidden>/components/command-processor.js:11559:5)

-------------------- >> begin captured logging << --------------------
maasserver: ERROR: Unable to get RPC connection for cluster 'master' (master)
maasserver: ERROR: Unable to get RPC connection for cluster 'master' (master)
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: maasserver.views.tests.test_nodes.NodeListingSelectionJSControls.test_node_list_js_control_select_all
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch.gOMiVd/src/maasserver/views/tests/test_nodes.py", line 1628, in test_node_list_js_control_select_all
    'all_system_id_control')
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 206, in find_element_by_id
    return self.find_element(by=By.ID, value=id_)
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 662, in find_element
    {'using': by, 'value': value})['value']
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 173, in execute
    self.error_handler.check_response(response)
  File "/home/ubuntu/.buildout/eggs/selenium-2.43.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: u'Unable to locate element: {"method":"id","selector":"all_system_id_control"}' ; Stacktrace:
    at FirefoxDriver.prototype.findElementInternal_ (file:///<email address hidden>/components/driver-component.js:9618:133)
    at FirefoxDriver.prototype.findElement (file:///<email address hidden>/components/driver-component.js:9627:3)
    at DelayedCommand.prototype.executeInternal_/h (file:///<email address hidden>/components/command-processor.js:11612:16)
    at DelayedCommand.prototype.executeInternal_ (file:///<email address hidden>/components/command-processor.js:11617:7)
    at DelayedCommand.prototype.execute/< (file:///<email address hidden>/components/command-processor.js:11559:5)

-------------------- >> begin captured logging << --------------------
maasserver: ERROR: Unable to get RPC connection for cluster 'master' (master)
maasserver: ERROR: Unable to get RPC connection for cluster 'master' (master)
--------------------- >> end captured logging << ---------------------

summary: - NodeListingBulkActionSelectionTest.test_zone_widget_is_visible_only_when_set_zone_selected
- fails spuriously
+ some selenium tests still failing spuriously
description: updated
Changed in maas:
status: Confirmed → Triaged
tags: added: tech-debt tests
Revision history for this message
Blake Rouse (blake-rouse) wrote :

This was fixed when this code was removed.

Changed in maas:
status: Triaged → Fix Released
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.