Begin polling for the results (runner.js) only after the pageload.js code has been invoked in the test page content
Categories
(Testing :: Raptor, defect, P1)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: rwood, Assigned: rwood)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•5 years ago
|
||
While running Raptor locally with extra logging in the web extension I noticed that the Raptor runner.js has already started polling for the page load results - BEFORE the Raptor pageload.js content was actually invoked, i.e.:
hecking results... runner.js:265:15
setting timeout to checkForResult again in 250ms runner.js:285:21
checking results... runner.js:265:15
setting timeout to checkForResult again in 250ms runner.js:285:21
checking results... runner.js:265:15
setting timeout to checkForResult again in 250ms runner.js:285:21
pagelaodjs adding load event listener for raptorContentHandler pageload.js:333:11
checking results... runner.js:265:15
setting timeout to checkForResult again in 250ms runner.js:285:21
checking results... runner.js:265:15
Change Raptor runner.js so it starts the page-timeout timer and polling for results only after the pageload.js content has been injected and invoked. This should reduce the number of Raptor intermittent page-timeout failures in the tp6 suites.
Assignee | ||
Comment 2•5 years ago
|
||
I put together a patch to try it out:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3694563ab60b6a81352217c9b32af2f1f6dbb7f3
Andrew also put together a patch trying it out (I like his solution better):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c6d0c16172656648eda09606f48b9e986b28d59e
Both show promising results so far.
Assignee | ||
Comment 3•5 years ago
|
||
:acreskey would you like to submit your patch?
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Rob, I couldn't in good faith submit my patch because it's just an iteration on your patch.
I'm happy to review what you put up though.
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Andrew Creskey from comment #4)
Rob, I couldn't in good faith submit my patch because it's just an iteration on your patch.
I'm happy to review what you put up though.
Thanks Andrew, ok I'll put up a patch today, excited to get this change in! :)
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Just fixing my int issue:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fb2504d00519df40b1b93378a0b086cdcb2a4379
Still need to update according to review comments in phab.
Assignee | ||
Comment 9•5 years ago
|
||
Updated according to phab review comments (thanks!):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=becfde72536331b76fee7d8526f7b2d1425ca772
Assignee | ||
Comment 10•5 years ago
|
||
After a few more improvements:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f48b41d1fc0aac87ee800ccd992cf23de6abcb73
Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Pushed by rwood@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f0bf9849476 Begin polling for the results (runner.js) only after the pageload.js code has been invoked in the test page content r=acreskey,tarek
Comment 12•5 years ago
|
||
bugherder |
Description
•