test: migrate util message tests from Python to JS #5310
test-shared.yml
on: pull_request
Build slim tarball
2m 20s
Matrix: build
Annotations
8 errors
|
aarch64-darwin: with shared libraries
Process completed with exit code 2.
|
|
aarch64-darwin: with shared libraries:
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
|
|
aarch64-linux: with shared libraries
Process completed with exit code 2.
|
|
aarch64-linux: with shared libraries:
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
|
|
x86_64-linux: with shared libraries
Process completed with exit code 2.
|
|
x86_64-linux: with shared libraries:
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
|
|
x86_64-darwin: with shared libraries
Process completed with exit code 2.
|
|
x86_64-darwin: with shared libraries:
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
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tarballs
|
50 MB |
sha256:0ab4a820506feb7d205c376a3e20a21475ef7d20b83eb6adfe2ae8f155a3ee00
|
|