util: use RegExp.escape to better escape debugEnv
#60804
+4
−3
Closed
Annotations
10 errors and 1 notice
|
Test:
test/sequential/test-net-GH-5504.js#L84
--- stderr ---
SERVER 2>node:internal/util/debuglog:37
SERVER 2> debugEnv = RegExpEscape(debugEnv)
SERVER 2> ^
SERVER 2>
SERVER 2>TypeError: RegExpEscape is not a function
SERVER 2> at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
SERVER 2> at setupDebugEnv (node:internal/process/pre_execution:445:37)
SERVER 2> at prepareExecution (node:internal/process/pre_execution:123:3)
SERVER 2> at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
SERVER 2> at node:internal/main/run_main_module:15:19
SERVER 2>
SERVER 2>Node.js v26.0.0-pre
--- stdout ---
Mismatched <anonymous> function calls. Expected exactly 1, actual 0.
at Proxy.mustCall (/Users/runner/work/node/node/node/test/common/index.js:451:10)
at parent (/Users/runner/work/node/node/node/test/sequential/test-net-GH-5504.js:84:32)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/sequential/test-net-GH-5504.js:39:26)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892: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)
Command: out/Release/node /Users/runner/work/node/node/node/test/sequential/test-net-GH-5504.js
|
|
Test:
test/parallel/test-trace-events-async-hooks-worker.js#L46
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-trace-events-async-hooks-worker.js:46:8)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892: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: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
--- stdout ---
process exit with signal: null
process stderr: node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/eval_string:26:1
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-trace-events-async-hooks-worker.js
|
|
Test:
test/parallel/test-trace-events-async-hooks-dynamic.js#L39
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-trace-events-async-hooks-dynamic.js:39:8)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892: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: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
--- stdout ---
process exit with signal: null
process stderr: node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/eval_string:26:1
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-trace-events-async-hooks-dynamic.js
|
|
Test:
test/parallel/test-set-http-max-http-headers.js#L44
--- stderr ---
node:assert:173
throw err;
^
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/node/test/parallel/test-http-max-http-headers.js:167
called with arguments: [Error: Parse Error: Header overflow] {
bytesParsed: 16409,
code: 'HPE_HEADER_OVERFLOW',
reason: 'Header overflow',
rawPacket: <Buffer 47 45 54 20 2f 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 6c 6f 63 61 6c 68 6f 73 74 0d 0a 41 67 65 6e 74 3a 20 6e 6f 64 33 0d 0a 58 2d 43 52 ... 16362 more bytes>
}, <ref *2> Socket {
connecting: false,
_hadError: false,
_parent: null,
_host: null,
_closeAfterHandlingError: false,
_events: {
close: [Function: bound socketOnClose],
error: [Function: noop],
prefinish: undefined,
finish: undefined,
drain: [Function: bound socketOnDrain],
data: [Function: bound socketOnData],
end: [ [Function: onReadableStreamEnd], [Function: bound socketOnEnd] ],
readable: undefined,
timeout: [Function: socketOnTimeout],
resume: [Function: onSocketResume],
pause: [Function: onSocketPause]
},
_readableState: ReadableState {
highWaterMark: 65536,
buffer: [],
bufferIndex: 0,
length: 0,
pipes: [],
awaitDrainWriters: null,
Symbol(kState): 193997060
},
_writableState: WritableState {
highWaterMark: 65536,
length: 0,
corked: 0,
onwrite: [Function: bound onwrite],
writelen: 0,
bufferedIndex: 0,
pendingcb: 0,
Symbol(kState): 17564420,
Symbol(kBufferedValue): null
},
allowHalfOpen: true,
_maxListeners: undefined,
_eventsCount: 8,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: <ref *1> Server {
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
requestTimeout: 300000,
headersTimeout: 60000,
keepAliveTimeout: 5000,
keepAliveTimeoutBuffer: 1000,
connectionsCheckingInterval: 30000,
requireHostHeader: true,
joinDuplicateHeaders: undefined,
rejectNonStandardBodyWrites: false,
shouldUpgradeCallback: [Function (anonymous)],
_events: [Object: null prototype] {
request: [Function (anonymous)],
connection: [Function: connectionListener],
listening: [Function: setupConnectionsTracking],
clientError: [Array]
},
_eventsCount: 4,
_maxListeners: undefined,
_connections: 1,
_handle: TCP {
reading: false,
onconnection: [Function: onconnection],
Symbol(owner_symbol): [Circular *1]
},
_usingWorkers: false,
_workers: [],
_unref: false,
_listeningId: 2,
allowHalfOpen: true,
pauseOnConnect: false,
noDelay: true,
keepAlive: false,
keepAliveInitialDelay: 0,
highWaterMark: 65536,
httpAllowHalfOpen: false,
timeout: 0,
maxHeadersCount: null,
maxRequestsPerSocket: 0,
_connectionKey: '6::::0',
Symbol(IncomingMessage): [Function: IncomingMessage],
Symbol(ServerResponse): [Function: ServerResponse],
Symbol(OptimizeEmptyRequestsOption): false,
Symbol(shapeMode): false,
Symbol(kCapture): false,
Symbol(async_id_symbol): 710,
Symbol(kUniqueHeaders): null,
Symbol(http.server.connections): ConnectionsList {},
Symbol(http.server.connectionsCheckingInterval): Timeout {
_idleTimeout: 30000,
_idlePrev: [TimersList],
_idleNext: [TimersList],
_idleStart: 36,
_onTimeout: [Function: bound checkConnections],
_timerArgs: undefined,
_repeat: 30000,
_destroyed: false,
Symbol(refed): false,
Symbol(kHasPrimitive): false,
Symbol(asyncId): 712,
Symbol(triggerId): 711,
Symbol(kAsyncContextFrame): undefined
}
},
_server: <ref *1> Server {
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
requestTimeout: 300000,
headersTimeout: 60000,
keepAliveTimeout: 5000,
keepAliveTimeoutBuffer: 1000,
connectionsCheckingInterval: 30000,
requireHostHeader: true,
joinDuplicateHeaders: undefined,
rejectNonStandardBodyWrites: false,
shouldUpgrade
|
|
Test:
test/parallel/test-runner-cli-concurrency.js#L13
--- stdout ---
Test failure: 'default concurrency'
Location: test/parallel/test-runner-cli-concurrency.js:10:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /concurrency: true,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-cli-concurrency.js:13:10)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.start (node:internal/test_runner/test:992:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'...',
expected: /concurrency: true,/,
operator: 'match',
diff: 'simple'
}
Test failure: 'concurrency of one'
Location: test/parallel/test-runner-cli-concurrency.js:16:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /concurrency: 1,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-cli-concurrency.js:19:10)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.processPendingSubtests (node:internal/test_runner/test:777:18)
at Test.postRun (node:internal/test_runner/test:1224:19)
at Test.run (node:internal/test_runner/test:1152:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'...',
expected: /concurrency: 1,/,
operator: 'match',
diff: 'simple'
}
Test failure: 'concurrency of two'
Location: test/parallel/test-runner-cli-concurrency.js:22:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /concurrency: 2,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEs
|
|
Test:
test/parallel/test-runner-cli-timeout.js#L13
--- stdout ---
Test failure: 'default timeout -- Infinity'
Location: test/parallel/test-runner-cli-timeout.js:10:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /timeout: Infinity,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-cli-timeout.js:13:10)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.start (node:internal/test_runner/test:992:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'...',
expected: /timeout: Infinity,/,
operator: 'match',
diff: 'simple'
}
Test failure: 'timeout of 10ms'
Location: test/parallel/test-runner-cli-timeout.js:16:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /timeout: 10,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'\n' +
'Node.js v26.0.0-pre\n'
at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-cli-timeout.js:19:10)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.processPendingSubtests (node:internal/test_runner/test:777:18)
at Test.postRun (node:internal/test_runner/test:1224:19)
at Test.run (node:internal/test_runner/test:1152:12)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpEscape(debugEnv)\n' +
' ^\n' +
'\n' +
'TypeError: RegExpEscape is not a function\n' +
' at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)\n' +
' at setupDebugEnv (node:internal/process/pre_execution:445:37)\n' +
' at prepareExecution (node:internal/process/pre_execution:123:3)\n' +
' at prepareTestRunnerMainExecution (node:internal/process/pre_execution:56:10)\n' +
' at node:internal/main/test_runner:23:1\n' +
'...',
expected: /timeout: 10,/,
operator: 'match',
diff: 'simple'
}
Test failure: 'isolation=none uses the --test-timeout flag'
Location: test/parallel/test-runner-cli-timeout.js:22:1
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /timeout: 10,/. Input:
'node:internal/util/debuglog:37\n' +
' debugEnv = RegExpE
|
|
Test:
test/parallel/test-module-print-timing.mjs#L13
--- stderr ---
[process 35776]: --- stderr ---
node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/eval_string:26:1
Node.js v26.0.0-pre
[process 35776]: --- stdout ---
[process 35776]: status = 1, signal = null
[process 35781]: --- stderr ---
node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/eval_string:26:1
Node.js v26.0.0-pre
[process 35781]: --- stdout ---
[process 35781]: status = 1, signal = null
--- stdout ---
Test failure: 'should print the timing information for cjs'
Location: test/parallel/test-module-print-timing.mjs:12:1
Error: - process terminated with status 1, expected 0
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-module-print-timing.mjs:13:18)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.start (node:internal/test_runner/test:992:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {
options: {
cwd: '/Users/runner/work/node/node/node/test/.tmp.2148',
env: { NODE_DEBUG: 'module_timer' }
},
command: '/Users/runner/work/node/node/node/out/Release/node --eval require("url");'
}
Test failure: 'should write tracing & print logs for cjs'
Location: test/parallel/test-module-print-timing.mjs:61:1
Error: - process terminated with status 1, expected 0
at TestContext.<anonymous> (file:///Users/runner/work/node/node/node/test/parallel/test-module-print-timing.mjs:64:18)
at Test.runInAsyncScope (node:async_hooks:213:14)
at Test.run (node:internal/test_runner/test:1095:25)
at Test.processPendingSubtests (node:internal/test_runner/test:777:18)
at Test.postRun (node:internal/test_runner/test:1224:19)
at Test.run (node:internal/test_runner/test:1152:12)
at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) {
options: {
cwd: '/Users/runner/work/node/node/node/test/.tmp.2148',
env: { NODE_DEBUG: 'module_timer' }
},
command: '/Users/runner/work/node/node/node/out/Release/node --trace-event-categories node.module_timer --trace-event-file-pattern /Users/runner/work/node/node/node/test/.tmp.2148/output-trace-and-log.log --eval require("url");'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-module-print-timing.mjs
|
|
Test:
test/parallel/test-http2-debug.js#L10
--- stderr ---
[process 34659]: --- stderr ---
node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/run_main_module:15:19
Node.js v26.0.0-pre
[process 34659]: --- stdout ---
[process 34659]: status = 1, signal = null
/Users/runner/work/node/node/node/test/common/child_process.js:112
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-http2-debug.js:10:1)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892: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 {
options: { env: { NODE_DEBUG: 'http2', NODE_DEBUG_NATIVE: 'http2' } },
command: '/Users/runner/work/node/node/node/out/Release/node /Users/runner/work/node/node/node/test/parallel/test-http2-ping.js'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-http2-debug.js
|
|
Test:
test/parallel/test-http-debug.js#L13
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: node:internal/util/debuglog:37
debugEnv = RegExpEscape(debugEnv)
^
TypeError: RegExpEscape is not a function
at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
at setupDebugEnv (node:internal/process/pre_execution:445:37)
at prepareExecution (node:internal/process/pre_execution:123:3)
at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
at node:internal/main/run_main_module:15:19
Node.js v26.0.0-pre
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-http-debug.js:13:1)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892: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: false,
code: 'ERR_ASSERTION',
actual: null,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-http-debug.js
|
|
Test:
test/parallel/test-esm-loader-hooks-inspect-wait.js#L29
--- stderr ---
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
{
+ exitCode: 1,
- exitCode: 0,
signal: null
}
at runTest (/Users/runner/work/node/node/node/test/parallel/test-esm-loader-hooks-inspect-wait.js:29:10)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
1
--- stdout ---
[test] Connecting to a child Node process
[test] Testing /json/list
[err] Debugger listening on ws://127.0.0.1:55519/c02da070-0b8c-4990-aa0c-9b11b706cba6
[err] For help, see: https://nodejs.org/en/docs/inspector
[err]
[err] Debugger attached.
[err]
[err] Waiting for the debugger to disconnect...
[err]
[err] node:internal/util/debuglog:37
[err] debugEnv = RegExpEscape(debugEnv)
[err] ^
[err]
[err] TypeError: RegExpEscape is not a function
[err] at Object.initializeDebugEnv (node:internal/util/debuglog:37:16)
[err] at setupDebugEnv (node:internal/process/pre_execution:445:37)
[err] at prepareExecution (node:internal/process/pre_execution:123:3)
[err] at prepareMainThreadExecution (node:internal/process/pre_execution:46:10)
[err] at node:internal/main/run_main_module:15:19
[err]
[err] Node.js v26.0.0-pre
[err]
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-esm-loader-hooks-inspect-wait.js
|
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading