Closed Bug 1617812 Opened 4 years ago Closed 4 years ago

Intermittent TypeError: conn.getFrontByID is not a function | SyntaxError: Unexpected token y in JSON at position 0

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=290315283&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FlNI2sLDT7ycgzdX8684zw/runs/0/artifacts/public/logs/live_backing.log


task 2020-02-25T06:38:20.445Z] TEST START | mocha | webconsole
[task 2020-02-25T06:38:20.445Z] [devtools-node-test-runner] Run yarn test in test folder
[task 2020-02-25T06:38:22.179Z] warning package.json: No license field
[task 2020-02-25T06:38:22.179Z] /builds/worker/checkouts/gecko/devtools/shared/fronts/object.js:321
[task 2020-02-25T06:38:22.179Z] const existingFront = conn.getFrontByID(packet.actor);
[task 2020-02-25T06:38:22.179Z] ^
[task 2020-02-25T06:38:22.179Z]
[task 2020-02-25T06:38:22.179Z] TypeError: conn.getFrontByID is not a function
[task 2020-02-25T06:38:22.179Z] at getAdHocFrontOrPrimitiveGrip (/builds/worker/checkouts/gecko/devtools/shared/fronts/object.js:321:30)
[task 2020-02-25T06:38:22.179Z] at parsePacketAndCreateFronts (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/browser/stub-generator-helpers.js:432:23)
[task 2020-02-25T06:38:22.179Z] at parsePacketAndCreateFronts (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/browser/stub-generator-helpers.js:440:23)
[task 2020-02-25T06:38:22.179Z] at parsePacketAndCreateFronts (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/browser/stub-generator-helpers.js:440:23)
[task 2020-02-25T06:38:22.179Z] at parsePacketsWithFronts (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/browser/stub-generator-helpers.js:416:23)
[task 2020-02-25T06:38:22.179Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/fixtures/stubs/consoleApi.js:1972:21)
[task 2020-02-25T06:38:22.179Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.179Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.179Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.179Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.179Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at forEach.filename (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/fixtures/stubs/index.js:15:20)
[task 2020-02-25T06:38:22.180Z] at Array.forEach (<anonymous>)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/fixtures/stubs/index.js:14:3)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (devtools/client/webconsole/test/node/fixtures/stubs/index.default:1:18)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object._module2.default._extensions.(anonymous function) [as .default] (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:274:11)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/helpers.js:13:5)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (devtools/client/webconsole/test/node/helpers.default:1:18)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object._module2.default._extensions.(anonymous function) [as .default] (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/require-hacker/babel-transpiled-modules/require hacker.js:274:11)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/components/console-api-call.log-messages.test.js:11:24)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.180Z] at Module.require (internal/modules/cjs/loader.js:692:17)
[task 2020-02-25T06:38:22.180Z] at require (internal/modules/cjs/helpers.js:25:18)
[task 2020-02-25T06:38:22.180Z] at /builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/mocha/lib/mocha.js:250:27
[task 2020-02-25T06:38:22.180Z] at Array.forEach (<anonymous>)
[task 2020-02-25T06:38:22.180Z] at Mocha.loadFiles (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/mocha/lib/mocha.js:247:14)
[task 2020-02-25T06:38:22.180Z] at Mocha.run (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/mocha/lib/mocha.js:576:10)
[task 2020-02-25T06:38:22.180Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/webconsole/test/node/node_modules/mocha/bin/_mocha:637:18)
[task 2020-02-25T06:38:22.180Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.180Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.180Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.180Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.180Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[task 2020-02-25T06:38:22.181Z] at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
[task 2020-02-25T06:38:22.181Z] at startup (internal/bootstrap/node.js:283:19)
[task 2020-02-25T06:38:22.181Z] at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
[task 2020-02-25T06:38:22.181Z] error Command failed with exit code 1.
[task 2020-02-25T06:38:22.181Z] [devtools-node-test-runner] Error log
[task 2020-02-25T06:38:22.181Z] warning package.json: No license field
[task 2020-02-25T06:38:22.181Z] /builds/worker/checkouts/gecko/devtools/shared/fronts/object.js:321
[task 2020-02-25T06:38:22.181Z] const existingFront = conn.getFrontByID(packet.actor);

[task 2020-02-25T06:38:22.182Z] [devtools-node-test-runner] Parse errors from the test logs
[task 2020-02-25T06:38:22.182Z] undefined:1
[task 2020-02-25T06:38:22.182Z] yarn run v1.9.4
[task 2020-02-25T06:38:22.182Z] ^
[task 2020-02-25T06:38:22.182Z]
[task 2020-02-25T06:38:22.182Z] SyntaxError: Unexpected token y in JSON at position 0
[task 2020-02-25T06:38:22.182Z] at JSON.parse (<anonymous>)
[task 2020-02-25T06:38:22.182Z] at getMochaErrors (/builds/worker/checkouts/gecko/devtools/client/bin/devtools-node-test-runner.js:103:24)
[task 2020-02-25T06:38:22.183Z] at getErrors (/builds/worker/checkouts/gecko/devtools/client/bin/devtools-node-test-runner.js:75:14)
[task 2020-02-25T06:38:22.183Z] at runTests (/builds/worker/checkouts/gecko/devtools/client/bin/devtools-node-test-runner.js:153:18)
[task 2020-02-25T06:38:22.183Z] at Object.<anonymous> (/builds/worker/checkouts/gecko/devtools/client/bin/devtools-node-test-runner.js:173:20)
[task 2020-02-25T06:38:22.183Z] at Module._compile (internal/modules/cjs/loader.js:778:30)
[task 2020-02-25T06:38:22.183Z] at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
[task 2020-02-25T06:38:22.183Z] at Module.load (internal/modules/cjs/loader.js:653:32)
[task 2020-02-25T06:38:22.183Z] at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[task 2020-02-25T06:38:22.183Z] at Function.Module._load (internal/modules/cjs/loader.js:585:3)
[taskcluster 2020-02-25 06:38:22.532Z] === Task Finished ===
[taskcluster 2020-02-25 06:38:22.532Z] Unsuccessful task run with exit code: 1 completed in 333.241 seconds

Nicolas can you take a look?

Flags: needinfo?(nchevobbe)
Regressed by: 1617210
Has Regression Range: --- → yes
Keywords: regression
Flags: needinfo?(nchevobbe)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.