Closed Bug 1763604 Opened 4 years ago Closed 4 years ago

Intermittent devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | A promise chain failed to handle a rejection: getSourceActor(...) is undefined - stack: getSourceActorBreakableLines@resource://devtools/client/deb

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox99 unaffected, firefox100 unaffected, firefox101 fix-optional)

RESOLVED DUPLICATE of bug 1767750
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- unaffected
firefox101 --- fix-optional

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

Filed by: ccozmuta [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=373700426&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OFXRzyVzQo6pfv9zpWiLGw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-04-07T11:08:30.667Z] 11:08:30     INFO - TEST-START | devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js
[task 2022-04-07T11:08:30.954Z] 11:08:30     INFO - GECKO(7496) | Empty service worker registered
[task 2022-04-07T11:08:31.633Z] 11:08:31     INFO - GECKO(7496) | JavaScript error: resource://devtools/client/debugger/src/selectors/source-actors.js, line 98: TypeError: getSourceActor(...) is undefined
[task 2022-04-07T11:08:31.702Z] 11:08:31     INFO - TEST-INFO | started process screenshot
[task 2022-04-07T11:08:31.802Z] 11:08:31     INFO - TEST-INFO | screenshot: exit 0
[task 2022-04-07T11:08:31.813Z] 11:08:31     INFO - Buffered messages logged at 11:08:30
[task 2022-04-07T11:08:31.814Z] 11:08:31     INFO - Entering test bound 
[task 2022-04-07T11:08:31.814Z] 11:08:31     INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/application/test/browser/resources/service-workers/simple.html
[task 2022-04-07T11:08:31.815Z] 11:08:31     INFO - Tab added and finished loading
[task 2022-04-07T11:08:31.815Z] 11:08:31     INFO - Buffered messages logged at 11:08:31
[task 2022-04-07T11:08:31.816Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 511}]
[task 2022-04-07T11:08:31.816Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 511}]
[task 2022-04-07T11:08:31.817Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 62}]
[task 2022-04-07T11:08:31.817Z] 11:08:31     INFO - Selecting application page: service-workers
[task 2022-04-07T11:08:31.818Z] 11:08:31     INFO - TEST-PASS | devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | No events have been logged for the main process - 
[task 2022-04-07T11:08:31.819Z] 11:08:31     INFO - Wait until the service worker appears in the application panel
[task 2022-04-07T11:08:31.819Z] 11:08:31     INFO - Wait until the debug link is displayed
[task 2022-04-07T11:08:31.820Z] 11:08:31     INFO - Click on the debug link and wait for debugger to be ready
[task 2022-04-07T11:08:31.821Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 511}]
[task 2022-04-07T11:08:31.822Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 511}]
[task 2022-04-07T11:08:31.822Z] 11:08:31     INFO - Console message: [JavaScript Error: "Content Security Policy: The pages settings blocked the loading of a resource at inline (default-src)." {file: "chrome" line: 62}]
[task 2022-04-07T11:08:31.823Z] 11:08:31     INFO - TEST-PASS | devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | Event has a valid session id - 
[task 2022-04-07T11:08:31.824Z] 11:08:31     INFO - TEST-PASS | devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | Event has the 'application' start state - 
[task 2022-04-07T11:08:31.824Z] 11:08:31     INFO - Wait until all workers have a valid registrationFront
[task 2022-04-07T11:08:31.825Z] 11:08:31     INFO - Unregister all service workers
[task 2022-04-07T11:08:31.825Z] 11:08:31     INFO - Wait for service workers to disappear from the UI
[task 2022-04-07T11:08:31.825Z] 11:08:31     INFO - Closing the tab.
[task 2022-04-07T11:08:31.826Z] 11:08:31     INFO - Console message: [JavaScript Error: "TypeError: getSourceActor(...) is undefined" {file: "resource://devtools/client/debugger/src/selectors/source-actors.js" line: 98}]
[task 2022-04-07T11:08:31.826Z] 11:08:31     INFO - Buffered messages finished
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - TEST-UNEXPECTED-FAIL | devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | A promise chain failed to handle a rejection: getSourceActor(...) is undefined - stack: getSourceActorBreakableLines@resource://devtools/client/debugger/src/selectors/source-actors.js:98:21
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - getValue@resource://devtools/client/debugger/src/actions/source-actors.js:32:56
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - memoizeableAction/</<@resource://devtools/client/debugger/src/utils/memoizableAction.js:66:43
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - async*thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - setBreakableLines/</<@resource://devtools/client/debugger/src/actions/sources/breakableLines.js:59:21
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - setBreakableLines/<@resource://devtools/client/debugger/src/actions/sources/breakableLines.js:57:32
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - selectLocation/<@resource://devtools/client/debugger/src/actions/sources/select.js:165:11
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - async*thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - selectSource/<@resource://devtools/client/debugger/src/actions/sources/select.js:108:12
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - thunk/</</<@resource://devtools/client/debugger/src/actions/utils/middleware/thunk.js:29:45
[task 2022-04-07T11:08:31.832Z] 11:08:31     INFO - bindActionCreator/<@resource://devtools/client/shared/vendor/redux.js:520:12

I suspect that changes in Bug 1762215 https://hg.mozilla.org/integration/autoland/rev/144f559a7606101e47a7a70171e12ffa7fb8fc23 changed the failures lines from Bug 1654354 into this one. Retriggers here.
A promise chain failed to handle a rejection: Resource server0.conn22.content-process23/workerDescriptor5/source4 does not exist - stack: getResource@resource://devtools/client/debugger/src/utils/resource/selector.js:27:11
vs
A promise chain failed to handle a rejection: getSourceActor(...) is undefined - stack: getSourceActorBreakableLines@resource://devtools/client/debugger/src/selectors/source-actors.js:98:21

Both bugs are failing on windows10-64-2004-shippable-qr as the test is skipped on
asan || debug || !serviceworker_e10s # Bug 1559487, 1559591, 16086401
os == 'linux' && bits == 64 && !debug # Bug 1654354

Alexandre, could you have a look over this one?

Flags: needinfo?(poirot.alex)
Regressed by: 1762215
Whiteboard: [retriggered]

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

Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(poirot.alex)
You need to log in before you can comment on or make changes to this bug.