test: migrate util message tests from Python to JS #83487
Annotations
4 errors, 2 warnings, and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-node-output-util.mjs#L32
--- stdout ---
Test failure: 'util/util_inspect_error.js'
Location: test/parallel/test-node-output-util.mjs:31:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'{ err:\n' +
' Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47,\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
' nested:\n' +
' { err:\n' +
+ ' Error: foo\n' +
+ ' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47 } }\n' +
- ' Error: foo\n' +
- ' bar\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at * } }\n' +
'{\n' +
' err: Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47,\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *,\n' +
' nested: {\n' +
' err: Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
' }\n' +
'}\n' +
+ '{ Error: foo\n' +
- 'Error: foo\n' +
'bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loa
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-node-output-util.mjs#L32
--- stdout ---
Test failure: 'util/util_inspect_error.js'
Location: test/parallel/test-node-output-util.mjs:31:5
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'{ err:\n' +
' Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47,\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
' nested:\n' +
' { err:\n' +
+ ' Error: foo\n' +
+ ' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47 } }\n' +
- ' Error: foo\n' +
- ' bar\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at * } }\n' +
'{\n' +
' err: Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47,\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *,\n' +
' nested: {\n' +
' err: Error: foo\n' +
' bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loader:1969:10)\n' +
+ ' at Module.load (node:internal*modules*cjs*loader:1552:32)\n' +
+ ' at Module._load (node:internal*modules*cjs*loader:1354:12)\n' +
+ ' at wrapModuleLoad (node:internal*modules*cjs*loader:255:19)\n' +
+ ' at Module.executeUserEntryPoint [as runMain] (node:internal*modules*run_main:154:5)\n' +
+ ' at node:internal*main*run_main_module:33:47\n' +
- ' at *util_inspect_error*\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
- ' at *\n' +
' }\n' +
'}\n' +
+ '{ Error: foo\n' +
- 'Error: foo\n' +
'bar\n' +
+ ' at Object.<anonymous> (*util_inspect_error.js:6:13)\n' +
+ ' at Module._compile (node:internal*modules*cjs*loader:1829:14)\n' +
+ ' at Object..js (node:internal*modules*cjs*loa
|
|
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
61% - 2960 hits, 1904 misses, 0 errors
|
|
sccache stats
64% - 3124 hits, 1727 misses, 0 errors
|