Skip to content

deps: escape funtionName in CPU Profiles #467

deps: escape funtionName in CPU Profiles

deps: escape funtionName in CPU Profiles #467

Triggered via pull request September 9, 2024 19:06
Status Failure
Total duration 1h 44m 39s
Artifacts

test-linux.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
test-linux: test/addons/nsolid-cpu-profiler/nsolid-cpu-profiler.js#L38
--- stderr --- (node:184313) internal/test/binding: These APIs are for internal testing only. Do not use them. (Use `nsolid --trace-warnings ...` to show where the warning was created) undefined:1 {"nodes":[{"id":1,"hitCount":0,"callFrame":{"functionName":"(root)"","lineNumber":4294967295,"columnNumber":4294967295,"scriptId":0,"url":""},"children":[2]},{"id":2,"hitCount":0,"callFrame":{"functionName":""","lineNumber":0,"columnNumber":0,"scriptId":81,"url":"node:internal/main/run_main_module"},"children":[3]},{"id":3,"hitCount":0,"callFrame":{"functionName":"executeUserEntryPoint"","lineNumber":158,"columnNumber":30,"scriptId":71,"url":"node:internal/modules/run_main"},"children":[4]},{"id":4,"hitCount":0,"callFrame":{"functionName":"Module._load"","lineNumber":1029,"columnNumber":23,"scriptId":65,"url":"node:internal/modules/cjs/loader"},"children":[5]},{"id":5,"hitCount":0,"callFrame":{"functionName":"Module.load"","lineNumber":1288,"columnNumber":32,"scriptId":65,"url":"node:internal/modules/cjs/loader"},"children":[6]},{"id":6,"hitCount":0,"callFrame":{"functionName":"Module._extensions..js"","lineNumber":1515,"columnNumber":36,"scriptId":65,"url":"node:internal/modules/cjs/loader"},"children":[7]},{"id":7,"hitCount":0,"callFrame":{"functionName":"Module._compile"","lineNumber":1422,"columnNumber":36,"scriptId":65,"url":"node:internal/modules/cjs/loader"},"children":[8]},{"id":8,"hitCount":0,"callFrame":{"functionName":""","lineNumber":0,"columnNumber":0,"scriptId":88,"url":"/home/runner/work/nsolid/nsolid/test/addons/nsolid-cpu-profiler/nsolid-cpu-profiler.js"}}],"startTime":1615436551,"endTime":1615454029,"samples":[8],"timeDeltas":[12766]} ^ SyntaxError: Expected ',' or '}' after property value in JSON at position 67 at JSON.parse (<anonymous>) at checkLastProfile (/home/runner/work/nsolid/nsolid/test/addons/nsolid-cpu-profiler/nsolid-cpu-profiler.js:38:8) at Timeout._onTimeout (/home/runner/work/nsolid/nsolid/test/addons/nsolid-cpu-profiler/nsolid-cpu-profiler.js:47:3) at listOnTimeout (node:internal/timers:583:17) at process.processTimers (node:internal/timers:521:7) Node.js v20.17.0 Command: out/Release/nsolid --expose-internals --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/nsolid/nsolid/test/addons/nsolid-cpu-profiler/nsolid-cpu-profiler.js
test-linux: test/agents/test-zmq-profile.mjs#L1
--- stderr --- node:assert:1000 throw newErr; ^ AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Expected ',' or '}' after property value in JSON at position 67 at /home/runner/work/nsolid/nsolid/test/common/index.js:443:12 at /home/runner/work/nsolid/nsolid/test/common/index.js:480:15 at TestPlayground.detectInitialSequence (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/index.js:359:7) at JSON.parse (<anonymous>) at file:///home/runner/work/nsolid/nsolid/test/agents/test-zmq-profile.mjs:68:18 at TestPlayground.detectInitialSequence (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/index.js:355:13) at ZmqAgentBus.<anonymous> (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/index.js:257:14) at ZmqAgentBus.emit (node:events:519:28) at Immediate._onImmediate (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/zmqagentbus.js:373:33) at process.processImmediate (node:internal/timers:485:21) { generatedMessage: false, code: 'ERR_ASSERTION', actual: SyntaxError: Expected ',' or '}' after property value in JSON at position 67 at JSON.parse (<anonymous>) at file:///home/runner/work/nsolid/nsolid/test/agents/test-zmq-profile.mjs:68:18 at TestPlayground.detectInitialSequence (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/index.js:355:13) at ZmqAgentBus.<anonymous> (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/index.js:257:14) at ZmqAgentBus.emit (node:events:519:28) at Immediate._onImmediate (/home/runner/work/nsolid/nsolid/test/common/nsolid-zmq-agent/zmqagentbus.js:373:33) at process.processImmediate (node:internal/timers:485:21), expected: null, operator: 'ifError' } Node.js v20.17.0 --- stdout --- [local] profile command should work for the main thread [0] agent-connected, effb1b27661217007d0f185d3a2344003d51cb7a [1] agent-metrics, effb1b27661217007d0f185d3a2344003d51cb7a [1] agent-info, effb1b27661217007d0f185d3a2344003d51cb7a [2] agent-packages, effb1b27661217007d0f185d3a2344003d51cb7a [3] agent-metrics, effb1b27661217007d0f185d3a2344003d51cb7a [4] asset-data-packet, effb1b27661217007d0f185d3a2344003d51cb7a [5] asset-data-packet, effb1b27661217007d0f185d3a2344003d51cb7a [6] asset-received, effb1b27661217007d0f185d3a2344003d51cb7a Command: out/Release/nsolid --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/nsolid/nsolid/test/agents/test-zmq-profile.mjs
test-linux
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors