Open Bug 1514751 Opened 11 months ago Updated Last month

Intermittent devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_

Categories

(DevTools :: about:debugging, defect, P4)

defect

Tracking

(firefox69 fixed)

Tracking Status
firefox69 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, leave-open)

Attachments

(1 file)

Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=217406307&repo=autoland

https://queue.taskcluster.net/v1/task/RM-b5C0sRyKyQokohcZCbA/runs/0/artifacts/public/logs/live_backing.log

[task 2018-12-17T12:11:56.361Z] 12:11:56     INFO - addTab@chrome://browser/content/tabbrowser.js:2562:5
[task 2018-12-17T12:11:56.362Z] 12:11:56     INFO - loadOneTab@chrome://browser/content/tabbrowser.js:1433:15
[task 2018-12-17T12:11:56.364Z] 12:11:56     INFO - _openURIInNewTab@chrome://browser/content/browser.js:5379:15
[task 2018-12-17T12:11:56.366Z] 12:11:56     INFO - getContentWindowOrOpenURI@chrome://browser/content/browser.js:5485:23
[task 2018-12-17T12:11:56.368Z] 12:11:56     INFO - createContentWindow@chrome://browser/content/browser.js:5401:12
[task 2018-12-17T12:11:56.370Z] 12:11:56     INFO - 
[task 2018-12-17T12:11:56.371Z] 12:11:56     INFO - Buffered messages finished
[task 2018-12-17T12:11:56.373Z] 12:11:56     INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js:47 - SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
[task 2018-12-17T12:11:56.375Z] 12:11:56     INFO - Stack trace:
[task 2018-12-17T12:11:56.377Z] 12:11:56     INFO - @chrome://mochitests/content/browser/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js:47:26
[task 2018-12-17T12:11:56.379Z] 12:11:56     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1102:34
[task 2018-12-17T12:11:56.380Z] 12:11:56     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1093:16
[task 2018-12-17T12:11:56.382Z] 12:11:56     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:986:9
[task 2018-12-17T12:11:56.384Z] 12:11:56     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
[task 2018-12-17T12:11:56.386Z] 12:11:56     INFO - Leaving test bound 
[task 2018-12-17T12:11:56.388Z] 12:11:56     INFO - GECKO(10951) | ++DOMWINDOW == 12 (0x7f729705b800) [pid = 11026] [serial = 43] [outer = 0x7f7296010400]
[task 2018-12-17T12:11:56.390Z] 12:11:56     INFO - GECKO(10951) | [Child 11026, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /builds/worker/workspace/build/src/netwerk/base/nsBaseChannel.cpp, line 877
[task 2018-12-17T12:11:56.391Z] 12:11:56     INFO - GECKO(10951) | [Child 11026, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/workspace/build/src/parser/html/nsHtml5StreamParser.cpp, line 1017
[task 2018-12-17T12:11:56.649Z] 12:11:56     INFO - Removing tab.
Priority: P5 → P4

It seems this started spiking around the Feb 19th.

All the recent failures are on OSX debug. It seems that opening the manifest in a new tab fails:

  • we have crash in the implementation when trying to read the favicon
if (this.options.favicons) {
  this._form.favicon = await this.getFaviconData();
}
  • we have a crash in the test when trying to parse the text content of the new tab
  const textContent = await ContentTask.spawn(target.linkedBrowser, {}, function() {
    return content.wrappedJSObject.document.body.textContent;
  });

  const manifestObject = JSON.parse(textContent);

What is also weird is that the screenshot taken when the failure happens shows just a blank firefox. No about:debugging opened, to other tab.

There are 23 total failures in the last 7 days on osx-10-10 debug

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=232877652&repo=autoland&lineNumber=1918

10:30:24 INFO - TEST-START | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js
10:30:24 INFO - GECKO(2002) | ++DOCSHELL 0x11b21a000 == 10 [pid = 2002] [id = {6941df49-4c99-d244-acfd-86e1d9c465d8}]
10:30:24 INFO - GECKO(2002) | ++DOMWINDOW == 23 (0x1172667a0) [pid = 2002] [serial = 117] [outer = 0x0]

10:30:24 INFO - TEST-PASS | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js | A link to the manifest is displayed -
10:30:24 INFO - Click on the manifest URL and wait for the new tab to open
10:30:24 INFO - Waiting for event: 'TabOpen' on [object XULElement].
10:30:24 INFO - Got event: 'TabOpen' on [object XULElement].
10:30:24 INFO - Retrieve the text content of the new tab
10:30:24 INFO - Console message: [JavaScript Error: "error occurred while processing 'listTabs: TypeError: null has no properties
10:30:24 INFO - Stack: connect@resource://devtools/server/actors/targets/frame-proxy.js:62:39
10:30:24 INFO - asyncBrowserTabList.prototype._getActorForBrowser@resource://devtools/server/actors/webbrowser.js:313:16
10:30:24 INFO - BrowserTabList.prototype.getList@resource://devtools/server/actors/webbrowser.js:269:12
10:30:24 INFO - onListTabs@resource://devtools/server/actors/root.js:301:40
10:30:24 INFO - onPacket@resource://devtools/server/main.js:1291:58
10:30:24 INFO - send/<@resource://devtools/shared/transport/local-transport.js:64:23
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:55:21
10:30:24 INFO - send@resource://devtools/shared/transport/local-transport.js:58:21
10:30:24 INFO - send@resource://devtools/shared/protocol.js:1370:30
10:30:24 INFO - request@resource://devtools/shared/protocol.js:1388:10
10:30:24 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol.js:1510:19
10:30:24 INFO - listTabs@resource://devtools/shared/fronts/root.js:189:44
10:30:24 INFO - listTabs@resource://devtools/client/aboutdebugging-new/src/modules/client-wrapper.js:132:33
10:30:24 INFO - requestTabs/<@resource://devtools/client/aboutdebugging-new/src/actions/debug-targets.js:143:40
10:30:24 INFO - thunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:15:9
10:30:24 INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:755:18
10:30:24 INFO - onTabsUpdated@resource://devtools/client/aboutdebugging-new/src/middleware/debug-target-listener.js:19:11
10:30:24 INFO - emit@resource://devtools/shared/event-emitter.js:186:24
10:30:24 INFO - emit@resource://devtools/shared/event-emitter.js:267:18
10:30:24 INFO - onPacket@resource://devtools/shared/protocol.js:1424:13
10:30:24 INFO - onPacket@resource://devtools/shared/client/debugger-client.js:601:13
10:30:24 INFO - send/<@resource://devtools/shared/transport/local-transport.js:64:23
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - DevToolsUtils.executeSoonexports.executeSoon@resource://devtools/shared/DevToolsUtils.js:55:21
10:30:24 INFO - send@resource://devtools/shared/transport/local-transport.js:58:21
10:30:24 INFO - send@resource://devtools/server/main.js:1023:20
10:30:24 INFO - onTabListChanged@resource://devtools/server/actors/root.js:396:15
10:30:24 INFO - BrowserTabList.prototype._notifyListChanged@resource://devtools/server/actors/webbrowser.js:397:10
10:30:24 INFO - BrowserTabList.prototype.handleEvent<@resource://devtools/server/actors/webbrowser.js:585:12
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - addTab@chrome://browser/content/tabbrowser.js:2602:7
10:30:24 INFO - loadOneTab@chrome://browser/content/tabbrowser.js:1446:20
10:30:24 INFO - _openURIInNewTab@chrome://browser/content/browser.js:5497:28
10:30:24 INFO - getContentWindowOrOpenURI@chrome://browser/content/browser.js:5606:28
10:30:24 INFO - createContentWindow@chrome://browser/content/browser.js:5520:17
10:30:24 INFO - Line: 62, column: 39" {file: "resource://devtools/server/main.js" line: 1160}]
10:30:24 INFO - _unknownError@resource://devtools/server/main.js:1160:5
10:30:24 INFO - _queueResponse/responsePromise<@resource://devtools/server/main.js:1189:32
10:30:24 INFO - promise callback
_queueResponse@resource://devtools/server/main.js:1182:8
10:30:24 INFO - onPacket@resource://devtools/server/main.js:1307:12
10:30:24 INFO - send/<@resource://devtools/shared/transport/local-transport.js:64:23
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - DevToolsUtils.executeSoonexports.executeSoon@resource://devtools/shared/DevToolsUtils.js:55:21
10:30:24 INFO - send@resource://devtools/shared/transport/local-transport.js:58:21
10:30:24 INFO - send@resource://devtools/shared/protocol.js:1370:30
10:30:24 INFO - request@resource://devtools/shared/protocol.js:1388:10
10:30:24 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol.js:1510:19
10:30:24 INFO - listTabs@resource://devtools/shared/fronts/root.js:189:44
10:30:24 INFO - listTabs@resource://devtools/client/aboutdebugging-new/src/modules/client-wrapper.js:132:33
10:30:24 INFO - requestTabs/<@resource://devtools/client/aboutdebugging-new/src/actions/debug-targets.js:143:40
10:30:24 INFO - thunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:15:9
10:30:24 INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:755:18
10:30:24 INFO - onTabsUpdated@resource://devtools/client/aboutdebugging-new/src/middleware/debug-target-listener.js:19:11
10:30:24 INFO - emit@resource://devtools/shared/event-emitter.js:186:24
10:30:24 INFO - emit@resource://devtools/shared/event-emitter.js:267:18
10:30:24 INFO - onPacket@resource://devtools/shared/protocol.js:1424:13
10:30:24 INFO - onPacket@resource://devtools/shared/client/debugger-client.js:601:13
10:30:24 INFO - send/<@resource://devtools/shared/transport/local-transport.js:64:23
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:55:21
10:30:24 INFO - send@resource://devtools/shared/transport/local-transport.js:58:21
10:30:24 INFO - send@resource://devtools/server/main.js:1023:20
10:30:24 INFO - onTabListChanged@resource://devtools/server/actors/root.js:396:15
10:30:24 INFO - BrowserTabList.prototype._notifyListChanged@resource://devtools/server/actors/webbrowser.js:397:10
10:30:24 INFO - BrowserTabList.prototype.handleEvent<@resource://devtools/server/actors/webbrowser.js:585:12
10:30:24 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:22
10:30:24 INFO - addTab@chrome://browser/content/tabbrowser.js:2602:7
10:30:24 INFO - loadOneTab@chrome://browser/content/tabbrowser.js:1446:20
10:30:24 INFO - _openURIInNewTab@chrome://browser/content/browser.js:5497:28
10:30:24 INFO - getContentWindowOrOpenURI@chrome://browser/content/browser.js:5606:28
10:30:24 INFO - createContentWindow@chrome://browser/content/browser.js:5520:17
10:30:24 INFO -
10:30:24 INFO - Buffered messages finished
10:30:24 INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js:47 - SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
10:30:24 INFO - Stack trace:
10:30:24 INFO - @chrome://mochitests/content/browser/devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_manifest_url.js:47:31
10:30:24 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
10:30:24 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
10:30:24 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
10:30:24 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
10:30:24 INFO - Leaving test bound

Julian, are you still working on this?

Flags: needinfo?(jdescottes)

I have not started working on this, I just added preliminary investigation. On PTO at the moment, I don't plan to pick up this bug. If the failures start to become problematic we should skip this on osx debug

Flags: needinfo?(jdescottes)

Edwin, please take a look at this.

Flags: needinfo?(egao)
Regressed by: 1562745
Flags: needinfo?(egao)
Keywords: leave-open
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/048427d5e128
disable browser_aboutdebugging_addons_manifest_url.js for macosx1014 debug r=jmaher
You need to log in before you can comment on or make changes to this bug.