fix: keep proxies opaque in util.inspect when showProxy is false #78916
Triggered via pull request
December 15, 2025 06:18
Status
Failure
Total duration
33m 45s
Artifacts
–
Annotations
12 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-util-types.js#L54
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-types.js:54:52)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Node.js v26.0.0-pre
Command: out/Release/node --experimental-vm-modules --expose-internals --allow-natives-syntax /home/runner/work/node/node/node/test/parallel/test-util-types.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-util-inspect-proxy.js#L45
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at formatWithOptionsInternal (node:internal/util/inspect:2811:27)
at Object.format (node:internal/util/inspect:2758:10)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js:45:6)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-repl.js#L92
--- stderr ---
------------
out: ""
in: ""
------------
out: "message"
in: "'Read, Eval, Print Loop'"
------------
out: "invoke_me(987)"
in: "'invoked 987'"
------------
out: "a = 12345"
in: "12345"
------------
out: "{a:1}"
in: "{ a: 1 }"
------------
out: "throw new Error('test error');"
in: "Uncaught Error: test error"
------------
out: "throw { foo: 'bar' };"
in: "Uncaught { foo: 'bar' }"
------------
out: "function test_func() {"
in: "| "
------------
out: ".break"
in: ""
------------
out: "eval(\"function test_func() {\")"
in: "Uncaught SyntaxError: Unexpected end of input"
------------
out: "`io.js"
in: "| "
------------
out: ".break"
in: ""
------------
out: "`io.js ${\"1.0\""
in: "| "
------------
out: "+ \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "`io.js ${"
in: "| "
------------
out: "\"1.0\" + \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "(\"a\""
in: "| "
------------
out: ".charAt(0))"
in: "'a'"
------------
out: ".1234"
in: "0.1234"
------------
out: ".1+.1"
in: "0.2"
------------
out: "JSON.parse('{\"valid\": \"json\"}');"
in: "{ valid: 'json' }"
------------
out: "JSON.parse('{invalid: \\'json\\'}');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('066');"
in: "Uncaught SyntaxError: Unexpected number in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('{');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "/(/;"
in: "/(/;"
in: "^^^"
in: ""
in: "Uncaught SyntaxError: Invalid regular expression: /(/: Unterminated group"
------------
out: "new RegExp(\"foo\", \"wrong modifier\");"
in: "Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'wrong modifier'"
------------
out: "(function() { \"use strict\"; return 0755; })()"
in: "(function() { \"use strict\"; return 0755; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Octal literals are not allowed in strict mode."
------------
out: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Duplicate parameter name not allowed in this context"
------------
out: "(function() { \"use strict\"; with (this) {} })()"
in: "(function() { \"use strict\"; with (this) {} })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Strict mode code may not include a with statement"
------------
out: "(function() { \"use strict\"; var x; delete x; })()"
in: "(function() { \"use strict\"; var x; delete x; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Delete of an unqualified identifier in strict mode."
------------
out: "(function() { \"use strict\"; eval = 17; })()"
in: "(function() { \"use strict\"; eval = 17; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Unexpected eval or arguments in strict mode"
------------
out: "(function() { \"use strict\"; if (true) function f() { } })()"
in: "(function() { \"use strict\"; if (true) function f() { } })()"
in: " ^^^^^^^^"
in: ""
in: "Uncaught:"
in: "SyntaxError: In strict mode code, functions can only be declared at top level or inside a block."
------------
out: "function blah() { return 1; }"
in: "undefined"
------------
out: "blah()"
in: "1"
------------
out: "var I = [1,2,3,function() {}]; I.pop()"
in: "[Function (anonymous)]"
------------
out: "{}),({}"
in: "| "
------------
out: "}"
in: "{}),({}"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Unexpected token ')'"
------------
out: "{ a: "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "{ \"a\": "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "class Foo { #private = true "
in: "| "
------------
out: "num = 123456789n"
in: "| "
------------
out: "static foo = \"bar\" }"
in: "undefined"
------------
out: "(fun
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-common-must-not-call.js#L43
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Comparison {}
- Comparison {
- code: 'ERR_ASSERTION'
- }
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at /home/runner/work/node/node/node/test/common/index.js:563:53
at Array.map (<anonymous>)
at Object.mustNotCall [as get] (/home/runner/work/node/node/node/test/common/index.js:563:40)
at assert.throws.code (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:44:70)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14),
expected: { code: 'ERR_ASSERTION' },
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-assert-deep.js#L0
--- stderr ---
# out/Release/node[186981]: void node::util::GetConstructorName(const FunctionCallbackInfo<Value> &) at ../src/node_util.cc:82
# Assertion failed: args[0]->IsObject()
----- Native stack trace -----
1: 0xaadf96c6c0fc node::Assert(node::AssertionInfo const&) [out/Release/node]
2: 0xaadf96d8b5a4 [out/Release/node]
3: 0xaadf97bdf398 [out/Release/node]
----- JavaScript stack trace -----
1: getConstructorName (node:internal/util/inspect:947:15)
2: formatRaw (node:internal/util/inspect:1197:23)
3: formatValue (node:internal/util/inspect:1187:10)
4: inspect (node:internal/util/inspect:409:10)
5: inspectValue (node:internal/assert/assertion_error:71:10)
6: createErrDiff (node:internal/assert/assertion_error:186:27)
7: AssertionError (node:internal/assert/assertion_error:287:15)
8: innerFail (node:internal/assert/utils:142:17)
9: deepStrictEqual (node:assert:311:5)
10: assert.throws.message (/home/runner/work/node/node/node/test/parallel/test-assert-deep.js:1069:18)
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-assert-deep.js
--- CRASHED (Signal: 6) ---
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-util-types.js#L54
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-types.js:54:52)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Node.js v26.0.0-pre
Command: out/Release/node --experimental-vm-modules --expose-internals --allow-natives-syntax /home/runner/work/node/node/node/test/parallel/test-util-types.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-util-inspect-proxy.js#L45
--- stderr ---
node:internal/util/inspect:1141
const maybeCustom = value[customInspectSymbol];
^
TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at formatWithOptionsInternal (node:internal/util/inspect:2811:27)
at Object.format (node:internal/util/inspect:2758:10)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js:45:6)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
Node.js v26.0.0-pre
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-util-inspect-proxy.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-repl.js#L92
--- stderr ---
------------
out: ""
in: ""
------------
out: "message"
in: "'Read, Eval, Print Loop'"
------------
out: "invoke_me(987)"
in: "'invoked 987'"
------------
out: "a = 12345"
in: "12345"
------------
out: "{a:1}"
in: "{ a: 1 }"
------------
out: "throw new Error('test error');"
in: "Uncaught Error: test error"
------------
out: "throw { foo: 'bar' };"
in: "Uncaught { foo: 'bar' }"
------------
out: "function test_func() {"
in: "| "
------------
out: ".break"
in: ""
------------
out: "eval(\"function test_func() {\")"
in: "Uncaught SyntaxError: Unexpected end of input"
------------
out: "`io.js"
in: "| "
------------
out: ".break"
in: ""
------------
out: "`io.js ${\"1.0\""
in: "| "
------------
out: "+ \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "`io.js ${"
in: "| "
------------
out: "\"1.0\" + \".2\"}`"
in: "'io.js 1.0.2'"
------------
out: "(\"a\""
in: "| "
------------
out: ".charAt(0))"
in: "'a'"
------------
out: ".1234"
in: "0.1234"
------------
out: ".1+.1"
in: "0.2"
------------
out: "JSON.parse('{\"valid\": \"json\"}');"
in: "{ valid: 'json' }"
------------
out: "JSON.parse('{invalid: \\'json\\'}');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('066');"
in: "Uncaught SyntaxError: Unexpected number in JSON at position 1 (line 1 column 2)"
------------
out: "JSON.parse('{');"
in: "Uncaught:"
in: "SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)"
------------
out: "/(/;"
in: "/(/;"
in: "^^^"
in: ""
in: "Uncaught SyntaxError: Invalid regular expression: /(/: Unterminated group"
------------
out: "new RegExp(\"foo\", \"wrong modifier\");"
in: "Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'wrong modifier'"
------------
out: "(function() { \"use strict\"; return 0755; })()"
in: "(function() { \"use strict\"; return 0755; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Octal literals are not allowed in strict mode."
------------
out: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: "(function(a, a, b) { \"use strict\"; return a + b + c; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Duplicate parameter name not allowed in this context"
------------
out: "(function() { \"use strict\"; with (this) {} })()"
in: "(function() { \"use strict\"; with (this) {} })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Strict mode code may not include a with statement"
------------
out: "(function() { \"use strict\"; var x; delete x; })()"
in: "(function() { \"use strict\"; var x; delete x; })()"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Delete of an unqualified identifier in strict mode."
------------
out: "(function() { \"use strict\"; eval = 17; })()"
in: "(function() { \"use strict\"; eval = 17; })()"
in: " ^^^^"
in: ""
in: "Uncaught SyntaxError: Unexpected eval or arguments in strict mode"
------------
out: "(function() { \"use strict\"; if (true) function f() { } })()"
in: "(function() { \"use strict\"; if (true) function f() { } })()"
in: " ^^^^^^^^"
in: ""
in: "Uncaught:"
in: "SyntaxError: In strict mode code, functions can only be declared at top level or inside a block."
------------
out: "function blah() { return 1; }"
in: "undefined"
------------
out: "blah()"
in: "1"
------------
out: "var I = [1,2,3,function() {}]; I.pop()"
in: "[Function (anonymous)]"
------------
out: "{}),({}"
in: "| "
------------
out: "}"
in: "{}),({}"
in: " ^"
in: ""
in: "Uncaught SyntaxError: Unexpected token ')'"
------------
out: "{ a: "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "{ \"a\": "
in: "| "
------------
out: "1 }"
in: "{ a: 1 }"
------------
out: "class Foo { #private = true "
in: "| "
------------
out: "num = 123456789n"
in: "| "
------------
out: "static foo = \"bar\" }"
in: "undefined"
------------
out: "(fun
|
|
test-linux (ubuntu-24.04):
test/parallel/test-common-must-not-call.js#L43
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Comparison {}
- Comparison {
- code: 'ERR_ASSERTION'
- }
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14)
at Object..js (node:internal/modules/cjs/loader:1890:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: TypeError: Cannot read properties of undefined (reading 'Symbol(nodejs.util.inspect.custom)')
at formatValue (node:internal/util/inspect:1141:30)
at inspect (node:internal/util/inspect:409:10)
at /home/runner/work/node/node/node/test/common/index.js:563:53
at Array.map (<anonymous>)
at Object.mustNotCall [as get] (/home/runner/work/node/node/node/test/common/index.js:563:40)
at assert.throws.code (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:44:70)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js:43:8)
at Module._compile (node:internal/modules/cjs/loader:1759:14),
expected: { code: 'ERR_ASSERTION' },
operator: 'throws',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-common-must-not-call.js
|
|
test-linux (ubuntu-24.04):
test/parallel/test-assert-deep.js#L0
--- stderr ---
# out/Release/node[182492]: void node::util::GetConstructorName(const FunctionCallbackInfo<Value> &) at ../src/node_util.cc:82
# Assertion failed: args[0]->IsObject()
----- Native stack trace -----
1: 0x55a1e5d7426a node::Assert(node::AssertionInfo const&) [out/Release/node]
2: 0x55a1e5ea1ac2 [out/Release/node]
3: 0x7fdf8dd8fb4d
----- JavaScript stack trace -----
1: getConstructorName (node:internal/util/inspect:947:15)
2: formatRaw (node:internal/util/inspect:1197:23)
3: formatValue (node:internal/util/inspect:1187:10)
4: inspect (node:internal/util/inspect:409:10)
5: inspectValue (node:internal/assert/assertion_error:71:10)
6: createErrDiff (node:internal/assert/assertion_error:186:27)
7: AssertionError (node:internal/assert/assertion_error:287:15)
8: innerFail (node:internal/assert/utils:142:17)
9: deepStrictEqual (node:assert:311:5)
10: assert.throws.message (/home/runner/work/node/node/node/test/parallel/test-assert-deep.js:1069:18)
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-assert-deep.js
--- CRASHED (Signal: 6) ---
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|