Closed
Bug 1402549
Opened 7 years ago
Closed 7 years ago
Intermittent testSessionFilePreservation | Exception caught - java.lang.ArrayIndexOutOfBoundsException: length=3; index=3
Categories
(Firefox for Android Graveyard :: Session Restore, defect, P3)
Tracking
(firefox60 fixed, firefox61 fixed)
RESOLVED
FIXED
Firefox 61
People
(Reporter: intermittent-bug-filer, Assigned: JanH)
References
Details
(Keywords: intermittent-failure)
Attachments
(2 files)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•7 years ago
|
||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Comment 4•7 years ago
|
||
Fail started to occur on autoland:
Push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=cffe5fb28653011fff06b44322c5104a9a157c63
Log: https://treeherder.mozilla.org/logviewer.html#?job_id=159181537&repo=autoland&lineNumber=1808
Status: RESOLVED → REOPENED
Flags: needinfo?(bugs)
Resolution: INCOMPLETE → ---
Comment 5•7 years ago
|
||
Not a Layout test. Re-routing...
Blocks: 1389564
Component: Layout → Testing
Flags: needinfo?(bugs) → needinfo?(jh+bugzilla)
Product: Core → Firefox for Android
Target Milestone: --- → Firefox 57
Version: unspecified → Trunk
Assignee | ||
Comment 6•7 years ago
|
||
We seem to have a tab more than expected, so I'd guessing we're hitting a session store file that was written just between these two statements:
https://dxr.mozilla.org/mozilla-central/rev/5454ed95c82a956009db2f4b04d008ec8753e61e/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/testSessionFilePreservation.java#48-49
So two things to do here:
1. Let the session JSON verification function compare the actual and expected tab count as well, so we don't crash and instead wait up to SESSION_TIMEOUT until the correct session store file has eventually been written after that temporary tab is closed again
2. Find a better way of triggering a session store write, possibly by introducing a dedicated EventDispatcher message that we can use during testing.
Assignee: nobody → jh+bugzilla
Component: Testing → Session Restore
Flags: needinfo?(jh+bugzilla)
OS: Unspecified → Android
Priority: P5 → P3
Hardware: Unspecified → All
Comment hidden (Intermittent Failures Robot) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8957820 [details]
Bug 1402549 - Part 1 - Assert number of saved tabs, too.
https://reviewboard.mozilla.org/r/226804/#review233238
Attachment #8957820 -
Flags: review?(esawin) → review+
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8957821 [details]
Bug 1402549 - Part 2 - Use something else to trigger session store activity.
https://reviewboard.mozilla.org/r/226806/#review233240
Attachment #8957821 -
Flags: review?(esawin) → review+
Comment 12•7 years ago
|
||
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/5de3ada56349
Part 1 - Assert number of saved tabs, too. r=esawin
https://hg.mozilla.org/integration/autoland/rev/c6ad03aa476f
Part 2 - Use something else to trigger session store activity. r=esawin
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5de3ada56349
https://hg.mozilla.org/mozilla-central/rev/c6ad03aa476f
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Updated•7 years ago
|
Target Milestone: Firefox 57 → Firefox 61
Updated•7 years ago
|
status-firefox60:
--- → affected
![]() |
||
Comment 14•7 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•