Closed Bug 932494 Opened 11 years ago Closed 10 years ago

Intermittent test_kill.py test_kill.TestKill.test_kill_multiple | ScriptTimeoutException: timed out

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Unassigned)

Details

(Keywords: intermittent-failure)

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

b2g_ubuntu64_vm b2g-inbound opt test gaia-ui-test on 2013-10-29 09:37:58 PDT for push 891a78f97456
slave: tst-linux64-ec2-367

09:42:56     INFO -  TEST-START test_kill.py
09:43:05     INFO -  test_kill (test_kill.TestKill) ... ok
09:44:15     INFO -  test_kill_multiple (test_kill.TestKill) ... ERROR
09:44:15     INFO -  ======================================================================
09:44:15     INFO -  ERROR: None
09:44:15     INFO -  ----------------------------------------------------------------------
09:44:15     INFO -  Traceback (most recent call last):
09:44:15     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 143, in run
09:44:15     INFO -      testMethod()
09:44:15     INFO -    File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/tests/unit/test_kill.py", line 19, in test_kill_multiple
09:44:15     INFO -      running_apps.append(self.apps.launch(app))
09:44:15     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/gaiatest/gaia_test.py", line 72, in launch
09:44:15     INFO -      result = self.marionette.execute_async_script("GaiaApps.launchWithName('%s')" % name, script_timeout=launch_timeout)
09:44:15     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 1073, in execute_async_script
09:44:15     INFO -      filename=os.path.basename(frame[0]))
09:44:15     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 577, in _send_message
09:44:15     INFO -      self._handle_error(response)
09:44:15     INFO -    File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 626, in _handle_error
09:44:15    ERROR -      raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)
09:44:15    ERROR -  TEST-UNEXPECTED-FAIL | test_kill.py test_kill.TestKill.test_kill_multiple | ScriptTimeoutException: timed out
09:44:15     INFO -  ----------------------------------------------------------------------
09:44:15     INFO -  Ran 2 tests in 78.697s
09:44:15  WARNING -  FAILED (errors=1)
Most likely related to bug 932494
I think you meant to paste bug https://bugzilla.mozilla.org/show_bug.cgi?id=923821
Andrei: I did, thanks for spotting that! Although, this being bug 932494, it is certainly related to bug 932494! ;)
I've isolated this on device, and filed bug 964918.
Fixed:
https://github.com/mozilla-b2g/gaia/commit/5535f688a7997c3b5c96b49b596779c847c1e00c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
(In reply to Zac C (:zac) from comment #9)
> Fixed:
> https://github.com/mozilla-b2g/gaia/commit/
> 5535f688a7997c3b5c96b49b596779c847c1e00c

Arbitrary sleeps are a last resort, and when needed we should include a comment to explain. If our unit test needs a second after launching/killing an app then there's good reason to suspect all of our tests need this and could potentially fail without it.
You need to log in before you can comment on or make changes to this bug.