Tests can fail with "ReferenceError: assignment to undeclared variable code"

RESOLVED FIXED in Firefox 23

Status

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jgriffin, Assigned: jgriffin)

Tracking

unspecified
mozilla23
Points:
---

Firefox Tracking Flags

(firefox23 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)

Details

Attachments

(1 attachment)

According to Zac, some Gaia UI tests can fail with:

MarionetteException: {u'message': u"error occurred while processing 'findElement' request: ReferenceError: assignment to undeclared variable code", u'from': u'conn1.marionette1', u'error': u'unknownError'}
https://hg.mozilla.org/mozilla-central/rev/4f494a6770c9
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Yes, thanks -- for posterity, this was affecting both of the airplane-dialing tests:

ERROR: test_dialer_airplane_mode (test_dialer_airplane_mode.TestDialerAirplaneMode)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/gaia-ui-tests/gaiatest/tests/dialer/test_dialer_airplane_mode.py", line 30, in test_dialer_airplane_mode
    phone.wait_for_confirmation_dialog()
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/gaia-ui-tests/gaiatest/apps/phone/app.py", line 38, in wait_for_confirmation_dialog
    self.wait_for_element_displayed(*self._dialog_locator)
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/gaia-ui-tests/gaiatest/apps/base.py", line 57, in wait_for_element_displayed
    if self.marionette.find_element(by, locator).is_displayed():
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/.env/local/lib/python2.7/site-packages/marionette_client-0.5.23-py2.7.egg/marionette/marionette.py", line 583, in find_element
    response = self._send_message('findElement', 'value', **kwargs)
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/.env/local/lib/python2.7/site-packages/marionette_client-0.5.23-py2.7.egg/marionette/marionette.py", line 310, in _send_message
    self._handle_error(response)
  File "/var/jenkins/workspace/b2g.unagi.gaia.v1-train.ui.xfail/.env/local/lib/python2.7/site-packages/marionette_client-0.5.23-py2.7.egg/marionette/marionette.py", line 368, in _handle_error
    raise MarionetteException(message=response, status=500)
TEST-UNEXPECTED-FAIL | test_dialer_airplane_mode.py TestDialerAirplaneMode.test_dialer_airplane_mode | MarionetteException: {u'message': u"error occurred while processing 'findElement' request: ReferenceError: assignment to undeclared variable code", u'from': u'conn1.marionette1', u'error': u'unknownError'}
You need to log in before you can comment on or make changes to this bug.