Closed Bug 956128 Opened 11 years ago Closed 11 years ago

[UITests] Travis Intermittent: test_settings_change_keyboard_language.py test_settings_change_keyboard_language.TestChangeKeyboardLanguage.test_change_keyboard_language_settings

Categories

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

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Unassigned)

References

Details

test_settings_change_keyboard_language.py test_settings_change_keyboard_language.TestChangeKeyboardLanguage.test_change_keyboard_language_settings test_change_keyboard_language_settings (test_settings_change_keyboard_language.TestChangeKeyboardLanguage) ... ERROR ====================================================================== ERROR: None ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette_test.py", line 127, in run self.setUp() File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 855, in setUp self.cleanup_gaia(full_reset=False) File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 874, in cleanup_gaia self.data_layer.set_setting("keyboard.ftu.enabled", False) File "/home/travis/build/mozilla-b2g/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 216, in set_setting result = self.marionette.execute_async_script('return GaiaDataLayer.setSetting("%s", %s)' % (name, value), special_powers=True) File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 1080, in execute_async_script filename=os.path.basename(frame[0])) File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 584, in _send_message self._handle_error(response) File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 619, in _handle_error raise JavascriptException(message=message, status=status, stacktrace=stacktrace) JavascriptException: TypeError: conn.setVoicePrivacyMode is not a function stacktrace: @app://system.gaiamobile.org/js/call_settings.js, line 12 TEST-UNEXPECTED-FAIL | test_settings_change_keyboard_language.py test_settings_change_keyboard_language.TestChangeKeyboardLanguage.test_change_keyboard_language_settings | ---------------------------------------------------------------------- Ran 1 test in 11.235s FAILED (errors=1)
Kevin, The source of this is: https://bugzilla.mozilla.org/show_bug.cgi?id=956012 It would be better to fix that bug than disable this individual test as this JavascriptException can occur anywhere Marionette is doing an execute_script command and the JS exception occurs.
Depends on: 956012
(In reply to Zac C (:zac) from comment #1) > Kevin, > The source of this is: > https://bugzilla.mozilla.org/show_bug.cgi?id=956012 > > It would be better to fix that bug than disable this individual test as this > JavascriptException can occur anywhere Marionette is doing an execute_script > command and the JS exception occurs. I am fixing that bug and will do a few hundred runs of gaia-ui-tests to ensure that this test doesn't fail with the fix applied.
Marking resolved as bug 956012 is resolved.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.