Closed
Bug 913983
Opened 11 years ago
Closed 11 years ago
Intermittent TEST-UNEXPECTED-FAIL | devtools/shared/test/browser_telemetry_buttonsandsidebar.js | This test exceeded the timeout threshold. It should be rewritten or split up.
Categories
(DevTools :: General, defect)
Tracking
(firefox25 fixed, firefox26 fixed, firefox27 fixed, firefox-esr24 wontfix)
RESOLVED
FIXED
Firefox 27
People
(Reporter: KWierso, Assigned: miker)
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
28.44 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 24•11 years ago
|
||
I suspect that this is the result of a previous error:
23:34:30 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_637020.js | Console message: [JavaScript Warning: "ReferenceError: reference to undefined property getComputedStyle(...).counterReset" {file: "chrome://browser/content/browser.js" line: 12256}]
23:34:30 INFO - [Parent 1252] WARNING: NS_ENSURE_TRUE(mTextInputHandler) failed: file ../../../widget/cocoa/nsChildView.mm, line 5011
23:34:30 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_637020.js | the delayed startup has finished
23:34:30 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_637020.js | first window has two tabs
23:34:30 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_637020.js | second window has two tabs
23:34:31 INFO - System JS : ERROR resource:///modules/sessionstore/SessionStore.jsm:4024
23:34:31 INFO - TypeError: this._windows[aWindow.__SSi] is undefined
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 76•11 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #24)
> I suspect that this is the result of a previous error:
> 23:34:31 INFO - TypeError:
> this._windows[aWindow.__SSi] is undefined
Those are likely just parser false-positives (see bug 910614 and dependants).
As test, author can you think of any reason why this has started failing so frequently now?
Flags: needinfo?(mratcliffe)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 84•11 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+1] from comment #76)
> (In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #24)
> > I suspect that this is the result of a previous error:
> > 23:34:31 INFO - TypeError:
> > this._windows[aWindow.__SSi] is undefined
>
> Those are likely just parser false-positives (see bug 910614 and dependants).
>
> As test, author can you think of any reason why this has started failing so
> frequently now?
Am am looking into it.
Flags: needinfo?(mratcliffe)
Assignee | ||
Comment 85•11 years ago
|
||
Full log (debug build):
https://tbpl.mozilla.org/php/getParsedLog.php?id=28278780&tree=Fx-Team&full=1
It seems like there is an unexplained 10 second pause:
03:28:21 INFO - --DOMWINDOW == 460 (0x16c80b7f8) [serial = 12869] [outer = 0x0] [url = http://example.com/browser/browser/devtools/shared/test/browser_layoutHelpers.html]
03:28:31 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/shared/test/browser_telemetry_buttonsandsidebar.js | Console message: [JavaScript Warning: "ReferenceError: reference to undefined property display.blinker" {file: "chrome://browser/content/devtools/codemirror/codemirror.js" line: 872}]
We are starting and stopping a bunch of devtools here and using promises as each initializes to run tests. A ten second pause is bad.
This pause is probably down to GC so I will split the test.
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 88•11 years ago
|
||
Thank you for looking at this :-)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 90•11 years ago
|
||
I have split browser_telemetry_buttonsandsidebar.js into 5:
- browser_telemetry_sidebar.js
- browser_telemetry_button_responsive.js
- browser_telemetry_button_scratchpad.js
- browser_telemetry_button_tilt.js
- browser_telemetry_button_paintflashing.js
I also discovered that in browser/devtools/shared/test/head.js we were trying to use console without first declaring it so I fixed that at the same time (I use console.error in the tests).
Try:
https://tbpl.mozilla.org/?tree=Try&rev=343f37e79d37
Attachment #809823 -
Flags: review?(jwalker)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 114•11 years ago
|
||
The try for this patch is actually green ... the oranges are all about either codemirror or the autocomplete popup.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 148•11 years ago
|
||
Comment on attachment 809823 [details] [diff] [review]
buttonsandsidebar-test-timeout-913983.patch
Review of attachment 809823 [details] [diff] [review]:
-----------------------------------------------------------------
One minor thing which is to add a comment in a few places. I think that's safe enough to do without re-try and will only take a few seconds editing.
Sorry for the delay.
::: browser/devtools/shared/test/browser_telemetry_sidebar.js
@@ +40,5 @@
> +
> + // Concatenate the array with itself so that we can open each tool twice.
> + sidebarTools.push.apply(sidebarTools, sidebarTools);
> +
> + setTimeout(function selectSidebarTab() {
Could you add a pointer comment to the justification at the top of the file? e.g:
// See TOOL_DELAY for why we need setTimeout here
Same in other places
Attachment #809823 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 149•11 years ago
|
||
Addressed reviewers comments
Attachment #809823 -
Attachment is obsolete: true
Attachment #811205 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 151•11 years ago
|
||
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 154•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•11 years ago
|
status-firefox24:
unaffected → ---
status-firefox27:
--- → fixed
status-firefox-esr24:
--- → affected
Comment 157•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/061938a3b990
I'll also push it to beta as a ride-along the next time I'm pushing other stuff there.
Comment 158•11 years ago
|
||
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•