Closed
Bug 1371349
Opened 7 years ago
Closed 7 years ago
Intermittent dom/tests/browser/browser_noopener.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla56
People
(Reporter: aryx, Assigned: nika)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:other])
Attachments
(1 file)
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1371100 +++
https://treeherder.mozilla.org/logviewer.html#?job_id=105524186&repo=autoland
[task 2017-06-08T16:26:31.082121Z] 16:26:31 INFO - TEST-PASS | dom/tests/browser/browser_noopener.js | Name should match for #test12 (private=false, container=true, alwaysNewWindow=true) - "uniquename3" == "uniquename3" -
[task 2017-06-08T16:26:31.084279Z] 16:26:31 INFO - Buffered messages logged at 16:26:26
[task 2017-06-08T16:26:31.091505Z] 16:26:31 INFO - TEST-PASS | dom/tests/browser/browser_noopener.js | Opener should have been set for #test12 (private=false, container=true, alwaysNewWindow=true) - [object Window] == true -
[task 2017-06-08T16:26:31.097381Z] 16:26:31 INFO - Leaving test bound newwindow_newproc
[task 2017-06-08T16:26:31.099297Z] 16:26:31 INFO - Buffered messages finished
[task 2017-06-08T16:26:31.101693Z] 16:26:31 INFO - TEST-UNEXPECTED-FAIL | dom/tests/browser/browser_noopener.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Assignee | ||
Comment 1•7 years ago
|
||
It looks like the last messages were logged just 5 seconds before the test timed out. I think I just need to bump up the test timeout even further, or remove some of the tests. Currently the test opens and closes ~166 windows (at least half of which are opened in brand new processes). This takes a really long time :S.
Currently I am `requestLongerTimeout(15)`-ing in the test. I could bump it up even higher but that seems absurd. Any thoughts Olli?
Flags: needinfo?(bugs)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → michael
Comment 2•7 years ago
|
||
Are there some tests which might not be needed?
If not, requestLongerTimeout with 20 might not be too bad. I know it is high value.
Flags: needinfo?(bugs)
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #2)
> Are there some tests which might not be needed?
> If not, requestLongerTimeout with 20 might not be too bad. I know it is high
> value.
I run the test suite twice, once with the pref for our of process noopener windows enabled, and one with it disabled. I could probably get away with not running the ones with it disabled which would potentially cut test time in half.
Flags: needinfo?(bugs)
Comment 4•7 years ago
|
||
But do we have similar tests for the disabled case elsewhere?
Flags: needinfo?(bugs)
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #4)
> But do we have similar tests for the disabled case elsewhere?
The disabled case is the current default, so it's tested by any other tests we have in the tree. I'm not sure if the specific things I'm testing are tested elsewhere. I originally tested all cases to make sure that I was keeping them consistent.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to Michael Layzell [:mystor] from comment #5)
> (In reply to Olli Pettay [:smaug] from comment #4)
> > But do we have similar tests for the disabled case elsewhere?
>
> The disabled case is the current default, so it's tested by any other tests
> we have in the tree. I'm not sure if the specific things I'm testing are
> tested elsewhere. I originally tested all cases to make sure that I was
> keeping them consistent.
Any thoughts as to what I should do here? I'm thinking that at least for now bumping up the requestLongerTimeout should help.
Flags: needinfo?(bugs)
Assignee | ||
Comment 9•7 years ago
|
||
Here's a patch which requests an even longer timeout
MozReview-Commit-ID: 7YhR1duEIJr
Attachment #8876728 -
Flags: review?(bugs)
Updated•7 years ago
|
Flags: needinfo?(bugs)
Attachment #8876728 -
Flags: review?(bugs) → review+
Comment 10•7 years ago
|
||
Pushed by michael@thelayzells.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d412467b2891
Request an even longer timeout for browser_noopener.js, r=smaug
Comment 11•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•7 years ago
|
status-firefox55:
--- → affected
Comment 12•7 years ago
|
||
bugherder uplift |
Flags: in-testsuite-
Updated•7 years ago
|
Whiteboard: [stockwell fixed:other]
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•