Intermittent browser_perf-options-show-platform-data-01.js,browser_perf-options-show-platform-data-02.js | Test timed out

RESOLVED FIXED in Firefox 40

Status

defect
RESOLVED FIXED
4 years ago
Last year

People

(Reporter: RyanVM, Assigned: jsantell)

Tracking

({intermittent-failure})

unspecified
Firefox 40
x86_64
Linux
Points:
---

Firefox Tracking Flags

(firefox38 unaffected, firefox38.0.5 unaffected, firefox39 unaffected, firefox40 fixed, firefox-esr31 unaffected)

Details

Attachments

(2 attachments)

Posted image test screenshot
08:43:00 INFO - 5170 INFO TEST-START | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js
08:43:03 INFO - [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/profiler/frame-utils.js :: parseLocation :: line 40" data: no]: parseLocation@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/profiler/frame-utils.js:40:5
08:43:03 INFO - FlameGraphUtils._formatLabel@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/widgets/FlameGraph.js:1157:44
08:43:03 INFO - FlameGraphUtils.createFlameGraphDataFromSamples@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/widgets/FlameGraph.js:1071:19
08:43:03 INFO - JsFlameGraphView<.render@chrome://browser/content/devtools/performance/views/details-js-flamegraph.js:61:16
08:43:03 INFO - DetailsSubview._onPrefChanged@chrome://browser/content/devtools/performance/views/details-subview.js:132:7
08:43:03 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:03 INFO - PerformanceController._onPrefChanged@chrome://browser/content/devtools/performance/performance-controller.js:438:5
08:43:03 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:03 INFO - ToolbarView._onPrefChanged@chrome://browser/content/devtools/performance/views/toolbar.js:109:5
08:43:03 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:03 INFO - OptionsView.prototype._onPrefChange@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:112:5
08:43:03 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:03 INFO - PrefObserver.prototype.observe@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:181:5
08:43:03 INFO - spawnTest@chrome://mochitests/content/browser/browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js:23:3
08:43:03 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:330:41
08:43:03 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:867:23
08:43:03 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
08:43:03 INFO - this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37
08:43:03 INFO - Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:5
08:43:03 INFO - this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:709:7
08:43:03 INFO - this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:671:7
08:43:03 INFO - listener@resource:///modules/devtools/Graphs.jsm:2147:7
08:43:06 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
08:43:06 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
08:43:06 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
08:43:10 INFO - ###!!! [Parent][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
08:43:45 INFO - Xlib: extension "RANDR" missing on display ":0".
08:43:46 INFO - TEST-INFO | screentopng: exit 0
08:43:46 INFO - 5171 INFO checking window state
08:43:46 INFO - 5172 INFO Initializing a performance pane.
08:43:46 INFO - 5173 INFO Adding tab: http://example.com/browser/browser/devtools/performance/test/doc_simple-test.html
08:43:46 INFO - 5174 INFO Tab added and finished loading: http://example.com/browser/browser/devtools/performance/test/doc_simple-test.html
08:43:46 INFO - 5175 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be checked yet.
08:43:46 INFO - 5176 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be locked yet.
08:43:46 INFO - 5177 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should now be checked.
08:43:46 INFO - 5178 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should be locked.
08:43:46 INFO - 5179 INFO Waiting for event: 'Performance:UI:StateChanged' on [object PerformanceView].
08:43:46 INFO - 5180 INFO Waiting for event: 'Performance:UI:OverviewRendered' on [object OverviewView].
08:43:46 INFO - 5181 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The current state is 'recording'.
08:43:46 INFO - 5182 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should still be checked.
08:43:46 INFO - 5183 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be locked.
08:43:46 INFO - 5184 INFO Waiting for event: 'Performance:UI:JsFlameGraphRendered' on [object JsFlameGraphView].
08:43:46 INFO - 5185 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should already be checked.
08:43:46 INFO - 5186 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be locked yet.
08:43:46 INFO - 5187 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be checked.
08:43:46 INFO - 5188 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should be locked.
08:43:46 INFO - 5189 INFO Waiting for event: 'Performance:UI:StateChanged' on [object PerformanceView].
08:43:46 INFO - 5190 INFO Waiting for event: 'Performance:UI:OverviewRendered' on [object OverviewView].
08:43:46 INFO - 5191 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The current state is 'recorded'.
08:43:46 INFO - 5192 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be checked.
08:43:46 INFO - 5193 INFO TEST-PASS | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | The record button should not be locked.
08:43:46 INFO - 5194 INFO Waiting for event: 'Performance:UI:JsFlameGraphRendered' on [object JsFlameGraphView]. 
08:43:46 INFO - 5195 INFO Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/profiler/frame-utils.js :: parseLocation :: line 40" data: no]: parseLocation@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/profiler/frame-utils.js:40:5
08:43:46 INFO - FlameGraphUtils._formatLabel@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/widgets/FlameGraph.js:1157:44
08:43:46 INFO - FlameGraphUtils.createFlameGraphDataFromSamples@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/widgets/FlameGraph.js:1071:19
08:43:46 INFO - JsFlameGraphView<.render@chrome://browser/content/devtools/performance/views/details-js-flamegraph.js:61:16
08:43:46 INFO - DetailsSubview._onPrefChanged@chrome://browser/content/devtools/performance/views/details-subview.js:132:7
08:43:46 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:46 INFO - PerformanceController._onPrefChanged@chrome://browser/content/devtools/performance/performance-controller.js:438:5
08:43:46 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:46 INFO - ToolbarView._onPrefChanged@chrome://browser/content/devtools/performance/views/toolbar.js:109:5
08:43:46 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:46 INFO - OptionsView.prototype._onPrefChange@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:112:5
08:43:46 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:46 INFO - PrefObserver.prototype.observe@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:181:5
08:43:46 INFO - spawnTest@chrome://mochitests/content/browser/browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js:23:3
08:43:46 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:330:41
08:43:46 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:867:23
08:43:46 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
08:43:46 INFO - this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37
08:43:46 INFO - Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:5
08:43:46 INFO - this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:709:7
08:43:46 INFO - this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:671:7
08:43:46 INFO - listener@resource:///modules/devtools/Graphs.jsm:2147:7
08:43:46 INFO - " {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js" line: 142}]
08:43:46 INFO - 5196 INFO TEST-UNEXPECTED-FAIL | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | Test timed out - expected PASS
08:43:46 INFO - 5197 INFO finish() was called, cleaning up...
08:43:46 INFO - MEMORY STAT vsize after test: 21991452897280
08:43:46 INFO - MEMORY STAT residentFast after test: 669519872
08:43:46 INFO - 5198 INFO TEST-OK | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | took 46124ms
08:43:46 INFO - 5199 INFO TEST-UNEXPECTED-FAIL | browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js | Found a tab after previous test timed out: http://example.com/browser/browser/devtools/performance/test/doc_simple-test.html - expected PASS
08:43:47 INFO - 5200 INFO checking window state
08:43:47 INFO - *************************
08:43:47 INFO - A coding exception was thrown and uncaught in a Task.
08:43:47 INFO - Full message: ReferenceError: ok is not defined
08:43:47 INFO - Full stack: spawnTest@chrome://mochitests/content/browser/browser/devtools/performance/test/browser_perf-options-show-platform-data-02.js:25:3
08:43:47 INFO - test@chrome://mochitests/content/browser/browser/devtools/performance/test/head.js:164:3
08:43:47 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:768:9
08:43:47 INFO - Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:662:7
08:43:47 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:752:59
08:43:47 INFO - *************************
08:43:47 INFO - *************************
08:43:47 INFO - A coding exception was thrown in a Promise rejection callback.
08:43:47 INFO - See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
08:43:47 INFO - Full message: ReferenceError: ok is not defined
08:43:47 INFO - Full stack: handleError@chrome://mochitests/content/browser/browser/devtools/performance/test/head.js:129:3
08:43:47 INFO - Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:870:21
08:43:47 INFO - this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
08:43:47 INFO - this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37
08:43:47 INFO - Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:5
08:43:47 INFO - this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:709:7
08:43:47 INFO - this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:671:7
08:43:47 INFO - onEvent@chrome://mochitests/content/browser/browser/devtools/performance/test/head.js:146:9
08:43:47 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:47 INFO - JsFlameGraphView<.render@chrome://browser/content/devtools/performance/views/details-js-flamegraph.js:79:5
08:43:47 INFO - DetailsSubview._onPrefChanged@chrome://browser/content/devtools/performance/views/details-subview.js:132:7
08:43:47 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:47 INFO - PerformanceController._onPrefChanged@chrome://browser/content/devtools/performance/performance-controller.js:438:5
08:43:47 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:47 INFO - ToolbarView._onPrefChanged@chrome://browser/content/devtools/performance/views/toolbar.js:109:5
08:43:47 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:47 INFO - OptionsView.prototype._onPrefChange@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:112:5
08:43:47 INFO - EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11
08:43:47 INFO - PrefObserver.prototype.observe@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/shared/options-view.js:181:5
08:43:47 INFO - @chrome://mochitests/content/browser/browser/devtools/performance/test/head.js:81:5
08:43:47 INFO - @chrome://mochitests/content/browser/browser/devtools/performance/test/head.js:80:3
08:43:47 INFO - Tester.prototype.nextTest<@chrome://mochikit/content/browser-test.js:421:17
08:43:47 INFO - TaskImpl_run@resource://gre/modules/Task.jsm:314:40
08:43:47 INFO - TaskImpl@resource://gre/modules/Task.jsm:275:3
08:43:47 INFO - createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14
08:43:47 INFO - timeoutFn@chrome://mochikit/content/browser-test.js:829:9
08:43:47 INFO - *************************
Assignee: nobody → jsantell
Status: NEW → ASSIGNED
Flags: needinfo?(jsantell)
Summary: Intermittent browser_perf-options-show-platform-data-02.js | Test timed out → Intermittent browser_perf-options-show-platform-data-01.js,browser_perf-options-show-platform-data-02.js | Test timed out
Comment on attachment 8599074 [details] [diff] [review]
1154018-intermittent.patch

Review of attachment 8599074 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/devtools/shared/profiler/frame-utils.js
@@ +126,5 @@
>    try {
>      uri = Services.io.newURI(url, null, null).QueryInterface(Ci.nsIURL);
> +    // Access the host, because the constructor doesn't necessarily throw
> +    // if it's invalid, but accessing the host can throw as well
> +    uri.host;

Amazing.
Attachment #8599074 - Flags: review?(vporof) → review+
https://hg.mozilla.org/mozilla-central/rev/757ec9880c5b
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.