Perma Error: Cannot find module 'RecordReplayControl'

RESOLVED FIXED in Firefox 68

Status

defect
P1
normal
RESOLVED FIXED
3 months ago
2 months ago

People

(Reporter: dvarga, Assigned: nchevobbe)

Tracking

unspecified
Firefox 68

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

3 months ago

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

https://taskcluster-artifacts.net/CIrUqr8YSkm03Zlu4oByKQ/0/public/logs/live_backing.log

[task 2019-04-08T10:51:36.918Z] warning package.json: No license field
[task 2019-04-08T10:51:36.981Z] $ mocha "./{,@(components|middleware|store|utils)/**/}*.test.js" -r mock-local-storage -r jsdom-global/register -r ./mocha-test-setup.js
[task 2019-04-08T10:51:38.282Z] module.js:549
[task 2019-04-08T10:51:38.282Z] throw err;
[task 2019-04-08T10:51:38.282Z] ^
[task 2019-04-08T10:51:38.282Z]
[task 2019-04-08T10:51:38.282Z] Error: Cannot find module 'RecordReplayControl'
[task 2019-04-08T10:51:38.282Z] at Function.Module._resolveFilename (module.js:547:15)
[task 2019-04-08T10:51:38.282Z] at Function._module2.default._resolveFilename (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:423:34)
[task 2019-04-08T10:51:38.282Z] at Function.Module._load (module.js:474:25)
[task 2019-04-08T10:51:38.282Z] at Module.require (module.js:596:17)
[task 2019-04-08T10:51:38.282Z] at require (internal/module.js:11:18)
[task 2019-04-08T10:51:38.282Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/server/actors/replay/debugger.js:21:42)
[task 2019-04-08T10:51:38.282Z] at Module._compile (module.js:652:30)
[task 2019-04-08T10:51:38.282Z] at Object.Module._extensions..js (module.js:663:10)
[task 2019-04-08T10:51:38.282Z] at Module.load (module.js:565:32)
[task 2019-04-08T10:51:38.282Z] at tryModuleLoad (module.js:505:12)
[task 2019-04-08T10:51:38.282Z] at Function.Module._load (module.js:497:3)
[task 2019-04-08T10:51:38.283Z] at Module.require (module.js:596:17)
[task 2019-04-08T10:51:38.283Z] at require (internal/module.js:11:18)
[task 2019-04-08T10:51:38.283Z] at Object.<anonymous> (devtools/server/actors/replay/debugger.default:1:80)
[task 2019-04-08T10:51:38.283Z] at Module._compile (module.js:652:30)
[task 2019-04-08T10:51:38.283Z] at Object._module2.default._extensions.(anonymous function) [as .default] (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:274:11)

Reporter

Updated

3 months ago
Flags: needinfo?(bhackett1024)
Reporter

Updated

3 months ago
Summary: Error: Cannot find module 'RecordReplayControl' → Perma Error: Cannot find module 'RecordReplayControl'
Assignee

Updated

3 months ago
Priority: -- → P1
Assignee

Comment 1

3 months ago

I'll add a mock in the mocha tests

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Flags: needinfo?(bhackett1024)
Assignee

Comment 2

3 months ago

Adding a mock for devtools/shared/layout/utils fixes the test.

Comment 3

3 months ago
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8631f1213092
Fix console mocha tests. r=bgrins.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.