Closed
Bug 1301269
Opened 7 years ago
Closed 7 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)
Filed by: philringnalda [at] gmail.com https://treeherder.mozilla.org/logviewer.html#?job_id=3238561&repo=autoland https://queue.taskcluster.net/v1/task/BeTBsIKPQK-qAOJlBZp3zw/runs/0/artifacts/public%2Flogs%2Flive_backing.log
Comment 1•7 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•7 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•7 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•7 years ago
|
Priority: P1 → P2
Assignee | ||
Comment 4•7 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•7 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•7 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•7 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•7 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•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/382894f45be6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 11•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/85a4c1dae591
status-firefox51:
--- → fixed
Flags: in-testsuite+
Comment 12•7 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
•