Closed
Bug 1143222
Opened 9 years ago
Closed 5 years ago
Figure out the intermittent failures in the newly added DOM cache tests
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
These are failing a lot it seems.
Assignee | ||
Comment 1•9 years ago
|
||
Disabled the tests for now: https://hg.mozilla.org/integration/mozilla-inbound/rev/cb02d5dd0895
Assignee | ||
Comment 2•9 years ago
|
||
Trying to get some frequency info on this try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec238ff02540
Comment 3•9 years ago
|
||
Ehsan, is there some pref to set now to avoid the SW getting queued due to max workers per origin limit?
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Ben Kelly [:bkelly] from comment #3) > Ehsan, is there some pref to set now to avoid the SW getting queued due to > max workers per origin limit? It's dom.serviceWorkers.exemptFromPerDomainMax which we set in driver.js. So I haven't yet looked into why these failures happen, but they definitely only happen on parallel runs: <https://treeherder.mozilla.org/#/jobs?repo=try&revision=121594709250> So I have re-enabled the tests and for now have set them to run sequentially for now: <https://hg.mozilla.org/integration/mozilla-inbound/rev/d5bf133711c4>
Assignee | ||
Comment 6•9 years ago
|
||
Discoveries so far: 1. The failures seem to only happen when the service worker doesn't start up at all after finishing the sequential mode and entering the parallel mode. 2. ThreadSanitizer doesn't discover a race when this happens.
Assignee | ||
Comment 7•9 years ago
|
||
The test timeouts here are some form of bug 1141256, which causes the service worker spawned in the parallel mode of the tests to never start up. It turns out that avoiding sending this huge message to the mochitest logger avoids the issue on the infrastructure, so let's re-enable these tests. Bug 1141256 still needs to be investigated.
Attachment #8578357 -
Flags: review?(bkelly)
Assignee | ||
Comment 8•9 years ago
|
||
The try run for the patch in comment 7: <https://treeherder.mozilla.org/#/jobs?repo=try&revision=646ae17913b1>
See Also: → 1141256
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Comment 10•9 years ago
|
||
Comment on attachment 8578357 [details] [diff] [review] Avoid dumping out extremely long response bodies to the mochitest log, and re-enable the newly added DOM cache tests to run both in seqential and parallel modes Review of attachment 8578357 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/cache/test/mochitest/test_cache_matchAll_request.js @@ +18,5 @@ > is(r.statusText, response.statusText, > "Both responses should have the same status text"); > return r.text().then(function(text) { > + // Avoid dumping out the large response text to the log if they're equal. > + if (text != responseText) { nit: !== ::: dom/cache/test/mochitest/test_cache_match_request.js @@ +16,5 @@ > is(r.statusText, response.statusText, > "Both responses should have the same status text"); > return r.text().then(function(text) { > + // Avoid dumping out the large response text to the log if they're equal. > + if (text != responseText) { nit: !==
Attachment #8578357 -
Flags: review?(bkelly) → review+
Assignee | ||
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/161eb635963d
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/161eb635963d
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Assignee | ||
Comment 13•9 years ago
|
||
Putting these tests in sequential mode again: https://hg.mozilla.org/integration/mozilla-inbound/rev/95288585a32c
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
https://hg.mozilla.org/mozilla-central/rev/95288585a32c
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Assignee | ||
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•