Closed Bug 860854 Opened 11 years ago Closed 6 years ago

JavascriptException: AbortError on a run of test_kill_multiple in CI

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: stephend, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

ERROR: test_kill_multiple (test_kill.TestKill)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/gaiatest/tests/unit/test_kill.py", line 22, in test_kill_multiple
    self.apps.kill(app)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/gaiatest/gaia_test.py", line 93, in kill
    result = self.marionette.execute_async_script("GaiaApps.kill('%s');" % app.origin)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.5.23-py2.7.egg/marionette/marionette.py", line 576, in execute_async_script
    scriptTimeout=script_timeout)
  File "/var/jenkins/workspace/b2g.unagi.gaia.nightly.ui/.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.nightly.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.5.23-py2.7.egg/marionette/marionette.py", line 345, in _handle_error
    raise JavascriptException(message=message, status=status, stacktrace=stacktrace)
TEST-UNEXPECTED-FAIL | test_kill.py TestKill.test_kill_multiple | JavascriptException: AbortError

I'll follow-up with logcat when the run is finished.
Attached file logcat (obsolete) —
Attachment #736416 - Attachment is obsolete: true
Severity: normal → major
Hey Jonathan, mind taking a gander at this?  Seems to chiefly affect this unit test (iirc), but seems odd.
This doesn't seem to have happened at all during the last two days.  Given it's relative infrequency, it will be hard to track down.  Unfortunately, the logcat is not helpful, as it doesn't include the log from the failing test.
1) nightly job: http://qa-selenium.mv.mozilla.com:8080/job/b2g.unagi.gaia.nightly.ui.xfail/71/testReport/

2) http://qa-selenium.mv.mozilla.com:8080/job/b2g.unagi.gaia.v1-train.ui.xfail/296/testReport/

I'm heading into work; can somebody please either run locally or enable logcat for these two jobs?  I just noticed we're not logcat'ing the xfail jobs :-(
I'll spend some time trying to repro this on my unagi this evening.
I tried to replicate this myself but could not replicate it exactly.

By changing/adding more apps to the test I occasionally hit an error but not the same error shown in the stack trace.

gl jgriffin!

I don't feel this is a high priority bug anyway, it's not blocking any tests.
(In reply to Zac C (:zac) from comment #8)
> I tried to replicate this myself but could not replicate it exactly.
> 
> By changing/adding more apps to the test I occasionally hit an error but not
> the same error shown in the stack trace.

Which error?  Can you please file a new bug about that?
I believe this is an error generated by gaia/gecko, which we happen to catch because we listen to window.onerror during execute calls.
There are a limited number of things which throw AbortError; indexedDB seems the most likely culprit:  http://mxr.mozilla.org/mozilla-central/search?string=AbortError
Component: Marionette → Gaia
Product: Testing → Boot2Gecko
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: