Closed Bug 963869 Opened 6 years ago Closed 6 years ago

Intermittent TEST-UNEXPECTED-FAIL | browser_console_dead_objects.js | Test timed out | leaked window property: foobarzTezt | Found a devtools:webconsole after previous test timed out

Categories

(DevTools :: Console, defect)

x86_64
All
defect
Not set

Tracking

(firefox28 unaffected, firefox29 fixed, firefox30 fixed, firefox-esr24 unaffected)

RESOLVED FIXED
Firefox 30
Tracking Status
firefox28 --- unaffected
firefox29 --- fixed
firefox30 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: KWierso, Assigned: msucan)

Details

(Keywords: intermittent-failure, Whiteboard: [qa-])

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=33552695&tree=Fx-Team#error0
slave: talos-r4-snow-155






15:57:48     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_consolejsm_output.js | finished in 1196ms
15:57:48     INFO -  TEST-INFO | checking window state
15:57:48     INFO -  TEST-START | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js
15:57:48     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | open the browser console
15:57:49     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | Console message: OpenGL compositor Initialized Succesfully.
15:57:49     INFO -  Version: 2.1 NVIDIA-1.6.36
15:57:49     INFO -  Vendor: NVIDIA Corporation
15:57:49     INFO -  Renderer: NVIDIA GeForce 320M OpenGL Engine
15:57:49     INFO -  FBO Texture Target: TEXTURE_2D
15:57:49     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | browser console opened
15:57:49     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | Console message: [JavaScript Error: "A promise chain failed to handle a rejection.
15:57:49     INFO -  Date: Fri Jan 24 2014 15:57:39 GMT-0800 (PST)
15:57:49     INFO -  Full Message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendKeyEvent]
15:57:49     INFO -  Full Stack: JS frame :: chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js :: doApply :: line 95
15:57:49     INFO -  JS frame :: chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js :: wrapPrivileged/callTrap :: line 118
15:57:49     INFO -  JS frame :: chrome://mochikit/content/tests/SimpleTest/EventUtils.js :: synthesizeKey :: line 565
15:57:49     INFO -  JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js :: onTestPropFound :: line 66
15:57:49     INFO -  JS frame :: resource://gre/modules/Promise.jsm :: Handler.prototype.process :: line 767
15:57:49     INFO -  JS frame :: resource://gre/modules/Promise.jsm :: this.PromiseWalker.walkerLoop :: line 531
15:57:49     INFO -  native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" {file: "chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js" line: 95 column: 0 source: "95"}]
15:57:49     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | Console message: [JavaScript Error: "A promise chain failed to handle a rejection.
15:57:49     INFO -  Date: Fri Jan 24 2014 15:57:41 GMT-0800 (PST)
15:57:49     INFO -  Full Message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendKeyEvent]
15:57:49     INFO -  Full Stack: JS frame :: chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js :: doApply :: line 95
15:57:49     INFO -  JS frame :: chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js :: wrapPrivileged/callTrap :: line 118
15:57:49     INFO -  JS frame :: chrome://mochikit/content/tests/SimpleTest/EventUtils.js :: synthesizeKey :: line 565
15:57:49     INFO -  JS frame :: chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js :: onFooFound :: line 101
15:57:49     INFO -  JS frame :: resource://gre/modules/Promise.jsm :: Handler.prototype.process :: line 767
15:57:49     INFO -  JS frame :: resource://gre/modules/Promise.jsm :: this.PromiseWalker.walkerLoop :: line 531
15:57:49     INFO -  native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" {file: "chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js" line: 95 column: 0 source: "95"}]
15:57:49     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | dead object found
15:57:49     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | 'cannot access dead object' message found
15:57:49     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | clickable object found
15:57:49     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | message text check
15:58:19  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | Test timed out
15:58:19  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | leaked window property: foobarzTezt
15:58:19     INFO -  TEST-INFO | MEMORY STAT vsize after test: 4313329664
15:58:19     INFO -  TEST-INFO | MEMORY STAT residentFast after test: 807301120
15:58:19     INFO -  TEST-INFO | MEMORY STAT heapAllocated after test: 192563432
15:58:19     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | finished in 30052ms
15:58:19     INFO -  TEST-INFO | checking window state
15:58:19  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | Found a devtools:webconsole after previous test timed out
15:58:19     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_dead_objects.js | must wait for focus
15:58:19     INFO -  TEST-START | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_console_error_source_click.js
Mihai, any idea what might be going on here?
Flags: needinfo?(mihai.sucan)
Here, let me help you with that. Disabled in https://hg.mozilla.org/integration/mozilla-inbound/rev/f5e20ebb43bf
Whiteboard: [leave open][test disabled]
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #51)
> Mihai, any idea what might be going on here?

This is in my TODO to look into. Might be related to some of the landings in dependencies for bug 881050.

(In reply to Phil Ringnalda (:philor) from comment #102)
> Here, let me help you with that. Disabled in
> https://hg.mozilla.org/integration/mozilla-inbound/rev/f5e20ebb43bf

Thank you. Please always disable bad tests.
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Flags: needinfo?(mihai.sucan)
Made a patch. Try push: https://tbpl.mozilla.org/?tree=Try&rev=8a5717679271

With enough green runs, I'll push the patch tomorrow to fx-team.
Attached patch bug963869-1.diffSplinter Review
Previous try push was not green.

Green try push: https://tbpl.mozilla.org/?tree=Try&rev=f0a03db2d645

This patch changes two tests: browser_console_dead_objects.js and browser_bug_865871_variables_view_close_on_esc_key.js. The latter test executed finishTest() in the event loop of the sidebar-closed event, which caused an exception during the firing of the sendKey("VK_ESCAPE") events. This exception prevented the removal of the sidebar-closed event, and some how the exception ended up showing in, and breaking the dead_objects.js test.

Changed both tests to use Task.spawn().

r=me

Landed in fx-team: https://bugzilla.mozilla.org/show_bug.cgi?id=963869
Whiteboard: [leave open][test disabled] → [leave open][test disabled][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/21575350ec7e
Whiteboard: [leave open][test disabled][fixed-in-fx-team] → [leave open][test disabled]
(i forgot to remove [leave open])
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [leave open][test disabled]
Target Milestone: --- → Firefox 30
Whiteboard: [qa-]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.