Closed Bug 975404 Opened 10 years ago Closed 10 years ago

StaleElementException in test_ftu_skip_tour

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zcampbell, Assigned: zcampbell)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
askeing
: review+
Details | Review
test_ftu_skip_tour (test_ftu_skip_tour.TestFtu)
https://moztrap.mozilla.org/manage/case/3876/ ... ERROR

======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.7.3-py2.7.egg/marionette/marionette_test.py", line 143, in run
    testMethod()
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/tests/python/gaia-ui-tests/gaiatest/tests/functional/ftu/test_ftu_skip_tour.py", line 151, in test_ftu_skip_tour
    timeout=60)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 1068, in wait_for_condition
    Wait(self.marionette, timeout).until(method, message=message)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.7.3-py2.7.egg/marionette/wait.py", line 122, in until
    rv = condition(self.marionette)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/tests/python/gaia-ui-tests/gaiatest/tests/functional/ftu/test_ftu_skip_tour.py", line 150, in <lambda>
    self.testvars['wifi']['ssid']).get_attribute('class'),
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.7.3-py2.7.egg/marionette/marionette.py", line 71, in get_attribute
    return self.marionette._send_message('getElementAttribute', 'value', id=self.id, name=attribute)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.7.3-py2.7.egg/marionette/marionette.py", line 605, in _send_message
    self._handle_error(response)
  File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.7.3-py2.7.egg/marionette/marionette.py", line 630, in _handle_error
    raise StaleElementException(message=message, status=status, stacktrace=stacktrace)
StaleElementException: StaleElementException: Stale element reference
TEST-UNEXPECTED-FAIL | test_ftu_skip_tour.py test_ftu_skip_tour.TestFtu.test_ftu_skip_tour | 
----------------------------------------------------------------------
Ran 1 test in 54.199s

FAILED (errors=1)
Assignee: nobody → zcampbell
Attached file github pr
Saw this failing on Tpe CI
Attachment #8379953 - Flags: review?(fyen)
Comment on attachment 8379953 [details] [review]
github pr

I cannot reproduce the exception again.
But the patch works fine.
r+ and merged

https://github.com/mozilla-b2g/gaia/commit/777f01fe9d525417c7d0bef2560c37df4c9e3120
Attachment #8379953 - Flags: review?(fyen) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: