Closed Bug 894520 Opened 11 years ago Closed 10 years ago

Intermittent B2G Marionette test_mobile_operator_names.js | ScriptTimeoutException: timed out

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WORKSFORME
tracking-b2g backlog

People

(Reporter: RyanVM, Assigned: rik)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=25331756&tree=Mozilla-Inbound

b2g_emulator mozilla-inbound opt test marionette-webapi on 2013-07-16 09:15:36 PDT for push cb30c2681fe3
slave: talos-r3-fed-061

09:26:26     INFO -  TEST-START test_mobile_voice_state.js
09:26:30     INFO -  /home/cltbld/talos-slave/test/build/tests/marionette/tests/dom/network/tests/marionette/test_mobile_voice_state.js, runTest (marionette_test.MarionetteJSTestCase) ... ok
09:26:31     INFO -  ----------------------------------------------------------------------
09:26:31     INFO -  Ran 1 test in 4.253s
09:26:31     INFO -  OK
09:26:31     INFO -  TEST-START test_mobile_operator_names.js
09:27:33     INFO -  /home/cltbld/talos-slave/test/build/tests/marionette/tests/dom/network/tests/marionette/test_mobile_operator_names.js, runTest (marionette_test.MarionetteJSTestCase) ... ERROR
09:27:34     INFO -  ======================================================================
09:27:34     INFO -  ERROR: /home/cltbld/talos-slave/test/build/tests/marionette/tests/dom/network/tests/marionette/test_mobile_operator_names.js, runTest (marionette_test.MarionetteJSTestCase)
09:27:34     INFO -  ----------------------------------------------------------------------
09:27:34     INFO -  Traceback (most recent call last):
09:27:34     INFO -    File "/home/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette_test.py", line 132, in run
09:27:34     INFO -      testMethod()
09:27:34     INFO -    File "/home/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette_test.py", line 395, in runTest
09:27:34     INFO -      filename=os.path.basename(self.jsFile))
09:27:34     INFO -    File "/home/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 602, in execute_js_script
09:27:34     INFO -      line=None)
09:27:34     INFO -    File "/home/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 352, in _send_message
09:27:34     INFO -      self._handle_error(response)
09:27:34     INFO -    File "/home/cltbld/talos-slave/test/build/tests/marionette/marionette/marionette.py", line 401, in _handle_error
09:27:34    ERROR -      raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)
09:27:34    ERROR -  TEST-UNEXPECTED-FAIL | test_mobile_operator_names.js | ScriptTimeoutException: timed out
09:27:34     INFO -  ----------------------------------------------------------------------
09:27:34     INFO -  Ran 1 test in 62.925s
09:27:34  WARNING -  FAILED (errors=1)
Component: General → DOM: Device Interfaces
Product: Boot2Gecko → Core
Ha, here we go... 
ReferenceError: notificationNode is not defined at: app://system.gaiamobile.org/js/notifications.js line: 407

taking it for now
Assignee: nobody → fabrice
Attached patch patchSplinter Review
It's a pot pourri of fixes that removes all the JS errors I was seeing on master.
Attachment #783992 - Flags: review?(21)
Comment on attachment 783992 [details] [diff] [review]
patch

Review of attachment 783992 [details] [diff] [review]:
-----------------------------------------------------------------

::: apps/system/js/lockscreen.js
@@ +319,4 @@
>          this.updateConnState();
>  
>        case 'click':
> +        if (!evt.target.dataset || !evt.target.dataset.key)

I think I had a more correct fix in https://github.com/mozilla-b2g/gaia/pull/11322/files.
Antony, feel free to update this if you have time.
Assignee: fabrice → anthony
Component: DOM: Device Interfaces → RIL
Product: Core → Firefox OS
Move it to backlog.
blocking-b2g: --- → backlog
test_mobile_operator_names.js has been through a rewrite and there has been no more intermittent failure since six months ago.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: