Skip to content

v8: add cpu profile options #83508

v8: add cpu profile options

v8: add cpu profile options #83508

Triggered via pull request April 12, 2026 18:49
Status Failure
Total duration 46m 51s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 2 warnings, and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 1.
test-linux (ubuntu-24.04-arm): test/parallel/test-v8-cpu-profile.js#L0
--- stderr --- <anonymous_script>:1 {"nodes":[{"id":1,"hitCount":0,"callFrame":{"functionName":"(root)","lineNumber":-1,"columnNumber":-1,"scriptId":0,"url":""},"children":[2]},{"id":2,"hitCount":0,"callFrame":{"functionName":"","lineNumber":0,"columnNumber":0,"scriptId":84,"url":"node:internal/main/run_main_module"},"children":[3]},{"id":3,"hitCount":0,"callFrame":{"functionName":"executeUserEntryPoint","lineNumber":139,"columnNumber":30,"scriptId":79,"url":"node:internal/modules/run_main"},"children":[4]},{"id":4,"hitCount":0,"callFrame":{"functionName":"wrapModuleLoad","lineNumber":237,"columnNumber":23,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[5]},{"id":5,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1237,"columnNumber":23,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[6]},{"id":6,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1536,"columnNumber":32,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[7]},{"id":7,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1924,"columnNumber":36,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[8]},{"id":8,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1780,"columnNumber":36,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[9]},{"id":9,"hitCount":0,"callFrame":{"functionName":"","lineNumber":0,"columnNumber":0,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[10]},{"id":10,"hitCount":0,"callFrame":{"functionName":"collectProfile","lineNumber":22,"columnNumber":23,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[11,12]},{"id":11,"hitCount":0,"callFrame":{"functionName":"startCpuProfile","lineNumber":224,"columnNumber":24,"scriptId":155,"url":"node:v8"}},{"id":12,"hitCount":0,"callFrame":{"functionName":"","lineNumber":29,"columnNumber":60,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[13]},{"id":13,"hitCount":0,"callFrame":{"functionName":"burnBlocks","lineNumber":14,"columnNumber":19,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[14]},{"id":14,"hitCount":5,"callFrame":{"functionName":"busyLoop","lineNumber":6,"columnNumber":17,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"positionTicks":[{"line":9,"ticks":1},{"line":9,"ticks":1},{"line":10,"ticks":2},{"line":12,"ticks":1}]}],"startTime":598840149,"endTime":598858178,"samples":[11,14,14,14,14,14],"timeDeltas":[11923,1187,1088,1062,1059,1059]} SyntaxError: Expected ',' or '}' after property value in JSON at position 1443 (line 1 column 1444) at JSON.parse (<anonymous>) at collectProfile (/home/runner/work/
test-linux (ubuntu-24.04)
Process completed with exit code 1.
test-linux (ubuntu-24.04): test/parallel/test-v8-cpu-profile.js#L0
--- stderr --- <anonymous_script>:1 {"nodes":[{"id":1,"hitCount":0,"callFrame":{"functionName":"(root)","lineNumber":-1,"columnNumber":-1,"scriptId":0,"url":""},"children":[2]},{"id":2,"hitCount":0,"callFrame":{"functionName":"","lineNumber":0,"columnNumber":0,"scriptId":84,"url":"node:internal/main/run_main_module"},"children":[3]},{"id":3,"hitCount":0,"callFrame":{"functionName":"executeUserEntryPoint","lineNumber":139,"columnNumber":30,"scriptId":79,"url":"node:internal/modules/run_main"},"children":[4]},{"id":4,"hitCount":0,"callFrame":{"functionName":"wrapModuleLoad","lineNumber":237,"columnNumber":23,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[5]},{"id":5,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1237,"columnNumber":23,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[6]},{"id":6,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1536,"columnNumber":32,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[7]},{"id":7,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1924,"columnNumber":36,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[8]},{"id":8,"hitCount":0,"callFrame":{"functionName":"","lineNumber":1780,"columnNumber":36,"scriptId":68,"url":"node:internal/modules/cjs/loader"},"children":[9]},{"id":9,"hitCount":0,"callFrame":{"functionName":"","lineNumber":0,"columnNumber":0,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[10]},{"id":10,"hitCount":0,"callFrame":{"functionName":"collectProfile","lineNumber":22,"columnNumber":23,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[11,12]},{"id":11,"hitCount":0,"callFrame":{"functionName":"startCpuProfile","lineNumber":224,"columnNumber":24,"scriptId":155,"url":"node:v8"}},{"id":12,"hitCount":0,"callFrame":{"functionName":"","lineNumber":29,"columnNumber":60,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[13]},{"id":13,"hitCount":0,"callFrame":{"functionName":"burnBlocks","lineNumber":14,"columnNumber":19,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"children":[14]},{"id":14,"hitCount":6,"callFrame":{"functionName":"busyLoop","lineNumber":6,"columnNumber":17,"scriptId":85,"url":"/home/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-v8-cpu-profile.js"},"positionTicks":[{"line":10,"ticks":1},{"line":10,"ticks":4},{"line":9,"ticks":1}]}],"startTime":2523545937,"endTime":2523568947,"samples":[11,14,14,14,14,14,14],"timeDeltas":[15288,1259,1085,1083,1083,1078,1074]} SyntaxError: Expected ',' or '}' after property value in JSON at position 1443 (line 1 column 1444) at JSON.parse (<anonymous>) at collectProfile (/home/runner/work/node/node/d
test-linux (ubuntu-24.04-arm)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test-linux (ubuntu-24.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
sccache stats
67% - 3270 hits, 1594 misses, 0 errors
sccache stats
76% - 3697 hits, 1154 misses, 0 errors