Closed
Bug 1301269
Opened 9 years ago
Closed 9 years ago
Intermittent toolkit/components/url-classifier/tests/mochitest/test_gethash.html | Test timed out.
Categories
(Toolkit :: Safe Browsing, defect, P2)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
mozilla52
People
(Reporter: intermittent-bug-filer, Assigned: dimi)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Comment 1•9 years ago
|
||
Dimi, is this something that should be fixed by your recent fixes to the tests?
Flags: needinfo?(dlee)
Priority: -- → P1
| Assignee | ||
Comment 2•9 years ago
|
||
It doesn't look like any of the problem solved recently.
I will check this.
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Flags: needinfo?(dlee)
| Assignee | ||
Comment 3•9 years ago
|
||
I found the error occurs whiles regular update[1] happens when running test_gethash.html.
I am still investigating why it breaks test_gethash.
[1]https://dxr.mozilla.org/mozilla-central/source/toolkit/components/url-classifier/content/listmanager.js#248
Updated•9 years ago
|
Priority: P1 → P2
| Assignee | ||
Comment 4•9 years ago
|
||
just an update that regular update may block test_gethash update[1], but for some reason the update retry[2] is not triggered so the testcase fail.
I'll keep checking.
[1] https://dxr.mozilla.org/mozilla-central/source/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp#1575
[2] https://dxr.mozilla.org/mozilla-central/source/toolkit/components/url-classifier/tests/mochitest/classifierCommon.js#48
| Assignee | ||
Comment 5•9 years ago
|
||
Sorry for not updating this bug for a while, the reproduce rate is really low so it did take more time to debug this.
What I have found so far is that the retry timer is released before triggering retry. I guess it might be related to the timer life cycle in javascript. I will keep working on this bug.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•9 years ago
|
||
After investigating, I think the root cause is that sometimes the timer is released by gc before it is fired.
Following is try result after applying the patch, i think it should be fixed because i have run the test more than 10000 times and it didn't happen again.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=76a5cc7d87f0&selectedJob=29618760
Comment 8•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8803239 [details]
Bug 1301269 - Fix update retry timer is released before firing.
https://reviewboard.mozilla.org/r/87564/#review87408
Attachment #8803239 -
Flags: review?(francois) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/382894f45be6
Fix update retry timer is released before firing. r=francois
Keywords: checkin-needed
Comment 10•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 11•9 years ago
|
||
| bugherder uplift | ||
status-firefox51:
--- → fixed
Flags: in-testsuite+
Comment 12•9 years ago
|
||
| bugherder uplift | ||
I apparently forgot to mark the bug when uplifting this to Beta a couple weeks ago.
https://hg.mozilla.org/releases/mozilla-beta/rev/52b776e91075
status-firefox50:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•