Closed Bug 1736036 Opened 3 years ago Closed 3 years ago

Intermittent devtools/client/netmonitor/test/browser_net_url-preview.js | Uncaught exception - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327 - TypeError: can't access property "dispatchEvent", aTarget is undefined

Categories

(DevTools :: Netmonitor, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox93 unaffected, firefox94 unaffected, firefox95 wontfix, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- unaffected
firefox95 --- wontfix
firefox96 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: alevanni19)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=354894906&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BxI2FhmiRqGcWtH-CIYKOw/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BxI2FhmiRqGcWtH-CIYKOw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-10-15T11:59:45.853Z] 11:59:45     INFO - TEST-START | devtools/client/netmonitor/test/browser_net_url-preview.js
[task 2021-10-15T11:59:45.941Z] 11:59:45     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/framework/toolbox.js, line 326: TypeError: can't access property "setToolboxButtons", this.component is null
[task 2021-10-15T11:59:47.538Z] 11:59:47     INFO - GECKO(1300) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2021-10-15T11:59:47.708Z] 11:59:47     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/framework/toolbox.js, line 326: TypeError: can't access property "setToolboxButtons", this.component is null
[task 2021-10-15T11:59:48.940Z] 11:59:48     INFO - TEST-INFO | started process screencapture
[task 2021-10-15T11:59:49.073Z] 11:59:49     INFO - TEST-INFO | screencapture: exit 0
[task 2021-10-15T11:59:49.073Z] 11:59:49     INFO - Buffered messages logged at 11:59:45
[task 2021-10-15T11:59:49.073Z] 11:59:49     INFO - Entering test bound 
[task 2021-10-15T11:59:49.073Z] 11:59:49     INFO - Initializing a network monitor pane.
[task 2021-10-15T11:59:49.074Z] 11:59:49     INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/netmonitor/test/html_params-test-page.html
[task 2021-10-15T11:59:49.074Z] 11:59:49     INFO - Console message: [JavaScript Error: "TypeError: can't access property "setToolboxButtons", this.component is null" {file: "resource://devtools/client/framework/toolbox.js" line: 326}]
[task 2021-10-15T11:59:49.074Z] 11:59:49     INFO - Toolbox/this._throttledSetToolboxButtons<@resource://devtools/client/framework/toolbox.js:326:11
[task 2021-10-15T11:59:49.074Z] 11:59:49     INFO - later@resource://devtools/shared/throttle.js:33:19
[task 2021-10-15T11:59:49.075Z] 11:59:49     INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2021-10-15T11:59:49.075Z] 11:59:49     INFO - 
[task 2021-10-15T11:59:49.075Z] 11:59:49     INFO - Buffered messages logged at 11:59:46
[task 2021-10-15T11:59:49.075Z] 11:59:49     INFO - Tab added and finished loading
[task 2021-10-15T11:59:49.076Z] 11:59:49     INFO - Net tab added successfully: http://example.com/browser/devtools/client/netmonitor/test/html_params-test-page.html
[task 2021-10-15T11:59:49.076Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 511}]
[task 2021-10-15T11:59:49.076Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 511}]
[task 2021-10-15T11:59:49.077Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 75}]
[task 2021-10-15T11:59:49.077Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 511}]
[task 2021-10-15T11:59:49.077Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 511}]
[task 2021-10-15T11:59:49.078Z] 11:59:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 75}]
[task 2021-10-15T11:59:49.078Z] 11:59:49     INFO - Network monitor pane shown successfully.
[task 2021-10-15T11:59:49.078Z] 11:59:49     INFO - Disabling cache and reloading page.
[task 2021-10-15T11:59:49.079Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 0/1, PayloadReady: 1/1, EventTimings: 0/0, got NetMonitor:PayloadReady for server0.conn12.netEvent7
[task 2021-10-15T11:59:49.079Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 1/1, PayloadReady: 1/1, EventTimings: 0/1, got NetMonitor:NetworkEvent for server0.conn12.netEvent7
[task 2021-10-15T11:59:49.079Z] 11:59:49     INFO - Got marker: dom-interactive
[task 2021-10-15T11:59:49.080Z] 11:59:49     INFO - Got marker: dom-complete
[task 2021-10-15T11:59:49.080Z] 11:59:49     INFO - Got two timeline markers, done waiting
[task 2021-10-15T11:59:49.080Z] 11:59:49     INFO - Console message: [JavaScript Warning: "Relative positioning of table rows and row groups is now supported. This site may need to be updated because it may depend on this feature having no effect." {file: "resource://devtools/client/netmonitor/src/components/request-list/RequestListHeader.js" line: 545}]
[task 2021-10-15T11:59:49.081Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 1/1, PayloadReady: 1/1, EventTimings: 1/1, got NetMonitor:NetworkEventUpdated:EventTimings for server0.conn12.netEvent7
[task 2021-10-15T11:59:49.081Z] 11:59:49     INFO - Clearing requests in the UI.
[task 2021-10-15T11:59:49.081Z] 11:59:49     INFO - Starting test... 
[task 2021-10-15T11:59:49.082Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 0/3, PayloadReady: 1/3, EventTimings: 0/0, got NetMonitor:PayloadReady for server0.conn12.netEvent26
[task 2021-10-15T11:59:49.082Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 0/3, PayloadReady: 2/3, EventTimings: 0/0, got NetMonitor:PayloadReady for server0.conn12.netEvent48
[task 2021-10-15T11:59:49.082Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 0/3, PayloadReady: 3/3, EventTimings: 0/0, got NetMonitor:PayloadReady for server0.conn12.netEvent70
[task 2021-10-15T11:59:49.083Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 1/3, PayloadReady: 3/3, EventTimings: 0/1, got NetMonitor:NetworkEvent for server0.conn12.netEvent26
[task 2021-10-15T11:59:49.083Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 2/3, PayloadReady: 3/3, EventTimings: 0/2, got NetMonitor:NetworkEvent for server0.conn12.netEvent48
[task 2021-10-15T11:59:49.083Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 3/3, PayloadReady: 3/3, EventTimings: 0/3, got NetMonitor:NetworkEvent for server0.conn12.netEvent70
[task 2021-10-15T11:59:49.084Z] 11:59:49     INFO - Buffered messages logged at 11:59:47
[task 2021-10-15T11:59:49.084Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 3/3, PayloadReady: 3/3, EventTimings: 1/3, got NetMonitor:NetworkEventUpdated:EventTimings for server0.conn12.netEvent26
[task 2021-10-15T11:59:49.085Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 3/3, PayloadReady: 3/3, EventTimings: 2/3, got NetMonitor:NetworkEventUpdated:EventTimings for server0.conn12.netEvent48
[task 2021-10-15T11:59:49.085Z] 11:59:49     INFO - > Network event progress: NetworkEvent: 3/3, PayloadReady: 3/3, EventTimings: 3/3, got NetMonitor:NetworkEventUpdated:EventTimings for server0.conn12.netEvent70
[task 2021-10-15T11:59:49.086Z] 11:59:49     INFO - TEST-PASS | devtools/client/netmonitor/test/browser_net_url-preview.js | The url preview should still be expanded. - 
<...>
[task 2021-10-15T11:59:49.104Z] 11:59:49     INFO - TEST-PASS | devtools/client/netmonitor/test/browser_net_url-preview.js | The parameters in the url preview match. - 
[task 2021-10-15T11:59:49.105Z] 11:59:49     INFO - Buffered messages finished
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_url-preview.js | Uncaught exception - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327 - TypeError: can't access property "dispatchEvent", aTarget is undefined
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - Stack trace:
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - sendMouseEvent@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327:5
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - @chrome://mochitests/content/browser/devtools/client/netmonitor/test/browser_net_url-preview.js:124:14
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1131:11
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:933:14
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1041:13
[task 2021-10-15T11:59:49.106Z] 11:59:49     INFO - Leaving test bound 
[task 2021-10-15T11:59:49.146Z] 11:59:49     INFO - Removing tab.
[task 2021-10-15T11:59:49.146Z] 11:59:49     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-10-15T11:59:49.149Z] 11:59:49     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-10-15T11:59:49.155Z] 11:59:49     INFO - Tab removed and finished closing
[task 2021-10-15T11:59:49.163Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getResponseCookies: 'getResponseCookies' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.163Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.164Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.165Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.165Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.166Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.167Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.167Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.168Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.168Z] 11:59:49     INFO - GECKO(1300) | JavaScript error: resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js, line 588: Error: Error while calling method getRequestCookies: 'getRequestCookies' active request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed.
[task 2021-10-15T11:59:49.169Z] 11:59:49     INFO - TEST-PASS | devtools/client/netmonitor/test/browser_net_url-preview.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-10-15T11:59:49.169Z] 11:59:49     INFO - finish() was called, cleaning up...
[task 2021-10-15T11:59:49.170Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getResponseCookies: 'getResponseCookies' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.171Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.171Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.172Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.173Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.173Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.174Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.174Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.175Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getResponseHeaders: 'getResponseHeaders' active request packet to 'server0.conn13.netEvent46' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.176Z] 11:59:49     INFO - Console message: [JavaScript Error: "Error: Error while calling method getRequestCookies: 'getRequestCookies' active request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed." {file: "resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js" line: 588}]
[task 2021-10-15T11:59:49.179Z] 11:59:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-15T11:59:49.183Z] 11:59:49     INFO - TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_url-preview.js | A promise chain failed to handle a rejection: Error while calling method getResponseCookies: 'getResponseCookies' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed. - stack: _requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:588:15
[task 2021-10-15T11:59:49.183Z] 11:59:49     INFO - async*requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:505:20
[task 2021-10-15T11:59:49.183Z] 11:59:49     INFO - requestData@resource://devtools/client/netmonitor/src/connector/index.js:605:30
[task 2021-10-15T11:59:49.183Z] 11:59:49     INFO - fetchNetworkUpdatePacket/<@resource://devtools/client/netmonitor/src/utils/request-utils.js:102:23
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - fetchNetworkUpdatePacket@resource://devtools/client/netmonitor/src/utils/request-utils.js:92:17
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - componentDidMount@resource://devtools/client/netmonitor/src/components/request-list/RequestListColumnSetCookies.js:24:29
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - commitLifeCycles@resource://devtools/client/shared/vendor/react-dom.js:12949:22
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - commitAllLifeCycles@resource://devtools/client/shared/vendor/react-dom.js:14174:23
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - commitRoot@resource://devtools/client/shared/vendor/react-dom.js:14380:28
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - completeRoot/<@resource://devtools/client/shared/vendor/react-dom.js:15731:15
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - unstable_runWithPriority@resource://devtools/client/shared/vendor/react.js:617:12
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - completeRoot@resource://devtools/client/shared/vendor/react-dom.js:15730:27
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15659:21
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
[task 2021-10-15T11:59:49.184Z] 11:59:49     INFO - performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - enqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - Component.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - waitUntilService/</<@resource://devtools/client/shared/redux/middleware/wait-service.js:59:24
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - eventTelemetryMiddleware/</</<@resource://devtools/client/netmonitor/src/middleware/event-telemetry.js:29:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - throttlingMiddleware/</</<@resource://devtools/client/netmonitor/src/middleware/throttling.js:18:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - recordingMiddleware/</</<@resource://devtools/client/netmonitor/src/middleware/recording.js:24:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - batchingMiddleware/</<@resource://devtools/client/netmonitor/src/middleware/batching.js:44:15
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - prefsMiddleware/</<@resource://devtools/client/netmonitor/src/middleware/prefs.js:27:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:18:11
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - requestBlockingMiddleware/</</<@resource://devtools/client/netmonitor/src/middleware/request-blocking.js:39:21
[task 2021-10-15T11:59:49.185Z] 11:59:49     INFO - bindActionCreator/<@resource://devtools/client/shared/vendor/redux.js:520:12
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - addRequest@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:100:26
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - onNetworkResourceAvailable@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:397:16
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - onResourceAvailable@resource://devtools/client/netmonitor/src/connector/index.js:213:27
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - _notifyWatchers@resource://devtools/shared/commands/resource/resource-command.js:800:24
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - later@resource://devtools/shared/throttle.js:33:19
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - Rejection date: Fri Oct 15 2021 11:59:49 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - Stack trace:
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1555
[task 2021-10-15T11:59:49.186Z] 11:59:49     INFO - chrome://mochikit/content/browser-test.js:run:1470
[task 2021-10-15T11:59:49.187Z] 11:59:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-15T11:59:49.191Z] 11:59:49     INFO - TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_url-preview.js | A promise chain failed to handle a rejection: Error while calling method getEventTimings: 'getEventTimings' pending request packet to 'server0.conn13.netEvent66' can't be sent as the connection just closed. - stack: _requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:588:15
[task 2021-10-15T11:59:49.192Z] 11:59:49     INFO - async*requestData@resource://devtools/client/netmonitor/src/connector/firefox-data-provider.js:505:20
[task 2021-10-15T11:59:49.192Z] 11:59:49     INFO - requestData@resource://devtools/client/netmonitor/src/connector/index.js:605:30
[task 2021-10-15T11:59:49.192Z] 11:59:49     INFO - fetchNetworkUpdatePacket/<@resource://devtools/client/netmonitor/src/utils/request-utils.js:102:23

Tier1 failure log: https://treeherder.mozilla.org/logviewer?job_id=355346038&repo=autoland&lineNumber=10359
Alessia, please take a look when you have the time.
Thank you.

Flags: needinfo?(alevanni19)
Regressed by: 1732305
Summary: Intermittent TV devtools/client/netmonitor/test/browser_net_url-preview.js | Uncaught exception - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327 - TypeError: can't access property "dispatchEvent", aTarget is undefined → Intermittent devtools/client/netmonitor/test/browser_net_url-preview.js | Uncaught exception - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:327 - TypeError: can't access property "dispatchEvent", aTarget is undefined
Has Regression Range: --- → yes

Hi Allessia,
To add to Honza's comment https://bugzilla.mozilla.org/show_bug.cgi?id=1732305#c16

Since this might be failing intermittently locally try ./mach test browser_net_url-preview.js --headless --verify to reproduce the error.

Also the issue might relate to the fact that this request you are trying to reach here might not exist https://searchfox.org/mozilla-central/rev/b24799980a929597dcc553cb0854aa6c960c82b5/devtools/client/netmonitor/test/browser_net_url-preview.js#124-127

Set release status flags based on info from the regressing bug 1732305

I couldn't repro on my machine (win10) using:

$ mach test devtools/client/netmonitor/test/browser_net_url-preview.js --verify --headless

Bomsy, could you see the failure?

Hello everybody,

thanks for all the pointers.
I have been trying to reproduce it with the commands you suggested. I also used the command ./mach mochitest devtools/client/netmonitor/test/browser_net_url-preview.js multiple times before submitting the patch and again this morning, but I can't seem to reproduce the issue (also windows 10).

I can try to set the request as an if condition, so that the related test (same file, lines 129-133) get executed only if the request exists.
Let me know if this is acceptable or if I should proceed in other ways.

Thanks again for your help,
Alessia

Flags: needinfo?(alevanni19)

Hi Honza,
I tried running on my machine but was not able to reproduce as well
I also tried enabling ac_add_options --enable-debug in my mozconfig that didn't seem to work locally.
I think because of the local-machine perf the 3rd request always comes in on time.

Allesia,
I did a bit more investigation.
We can see from this screenshot taken during the test failure shows there are only 2 requests and you are trying to retrieve the 3rd request
The issue is likely that
https://searchfox.org/mozilla-central/rev/489e82dcc1e5afbe691ff3b1c982382914637e38/devtools/client/netmonitor/test/browser_net_url-preview.js#91 needs to be bumped to 3. i.e

 const netWorkEvent = waitForNetworkEvents(monitor, 3);

waitForNetworksEvents tries to wait for the no of requests that are expected, to be available before the test continues. I think it fails intermittently because your test is later and sometimes the 3rd request comes in late, but this fix guarantees that the request is always there in time.

Thanks

Assignee: nobody → alevanni19
Status: NEW → ASSIGNED

Hello everybody,
thank you again for your guidance!
I made the requested change, I hope it is ok now.
Regards,
Alessia

Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0bfbc7090b0b
Intermittent devtools/client/netmonitor/test/browser_net_url-preview.js r=bomsy,Honza

Thank you again for the guidance. Should I list all these changes along with my first contribution (related to the bug 1732305) or should I record a new one?
Thank you in advance,
Alessia

(In reply to Alessia Vanni from comment #13)

Thank you again for the guidance. Should I list all these changes along with my first contribution (related to the bug 1732305) or should I record a new one?

Yes, you should list bugs (their URLs) you've been working on.
Not sure what you mean by "record a new one" (of course you can pick yet another one if you wanted)

Honza

Sorry, here is what I mean:
on the Outreachy website I have to record the bugs I have been working on. I was unsure if this counts as a bug on its own since it stems directly from the other patch I submitted (1732305).
Also, the URL to submit is the bug page here on Bugzilla?
Thank you in advance,
Alessia

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

(In reply to Alessia Vanni from comment #15)

on the Outreachy website I have to record the bugs I have been working on. I was unsure if this counts as a bug on its own since it stems directly from the other patch I submitted (1732305).

OK, I see. You should record both bugs.

Also, the URL to submit is the bug page here on Bugzilla?

Correct

Honza

The patch landed in nightly and beta is affected.
:alevanni19, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(alevanni19)

No need for uplift, not critical bug.
Honza

Flags: needinfo?(alevanni19)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: