lib: use assignFunctionName util where it makes sense
#78831
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 1.
|
|
test-macOS:
test/parallel/test-debugger-probe-failure-process-exit.js#L0
--- stderr ---
[process 93762]: --- stderr ---
INSPECT_PROBE 93762: child stderr: "Debugger listening on ws://127.0.0.1:63044/9ed44660-e208-4705-9f5c-77a4c969f736\nFor help, see: https://nodejs.org/learn/getting-started/debugging\n"
INSPECT_PROBE 93762: child stderr: "Debugger attached.\n"
INSPECT_PROBE 93762: CDP -> Runtime.enable
INSPECT_PROBE 93762: CDP <- Runtime.enable (success)
INSPECT_PROBE 93762: CDP -> Debugger.enable
INSPECT_PROBE 93762: CDP <- Debugger.enable (success)
INSPECT_PROBE 93762: CDP -> Debugger.setBreakpointByUrl
INSPECT_PROBE 93762: CDP <- Debugger.setBreakpointByUrl (success)
INSPECT_PROBE 93762: breakpoint set: id=2:7:0:^(.*[\/\\])?probe-exits-during-probe\.js$ urlRegex=^(.*[\/\\])?probe-exits-during-probe\.js$ locations=[]
INSPECT_PROBE 93762: CDP -> Runtime.runIfWaitingForDebugger
INSPECT_PROBE 93762: CDP <- Runtime.runIfWaitingForDebugger (success)
INSPECT_PROBE 93762: timeout fired: finished=false, inFlight=null, lastProbeIndex=null
INSPECT_PROBE 93762: finish: exitCode=1, terminal=timeout
[process 93762]: --- stdout ---
{"v":2,"probes":[{"expr":"exitDuringProbe()","target":{"suffix":"probe-exits-during-probe.js","line":8}}],"results":[{"event":"timeout","pending":[0],"error":{"code":"probe_timeout","message":"Timed out after 30000ms waiting for probes: probe-exits-during-probe.js:8"}}]}
[process 93762]: status = 1, signal = null
/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/child_process.js:112
throw error;
^
Error: - stdout did not match expectation, checker throws:
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
{
probes: [
{
expr: 'exitDuringProbe()',
target: {
...
error: {
+ code: 'probe_timeout',
+ message: 'Timed out after 30000ms waiting for probes: probe-exits-during-probe.js:8'
- message: 'Probe evaluation did not complete'
},
+ event: 'timeout',
+ pending: [
+ 0
+ ]
- event: 'hit',
- hit: 1,
- location: {
- column: 1,
- line: 8,
- url: "file:///Users/runner/work/node/node/dir%20with%20$unusual%22chars%3F'%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6%60/test/fixtures/debugger/probe-exits-during-probe.js"
- },
- probe: 0
},
- {
- error: {
- code: 'probe_failure',
- details: {
- lastCdpMethod: 'Debugger.evaluateOnCallFrame'
- },
- message: 'Target process exited during probe evaluation. If the failure repeats, review the probe expression.',
- probe: 0,
- stderr: ''
- },
- event: 'error',
- pending: []
- }
],
v: 2
}
at assertProbeJson (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/debugger-probe.js:73:10)
at stdout (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-debugger-probe-failure-process-exit.js:25:5)
at checkOutput (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/child_process.js:52:7)
at expectSyncExit (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/child_process.js:129:32)
at spawnSyncAndExit (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/child_process.js:143:10)
at Object.<anonymous> (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-debugger-probe-failure-process-exit.js:17:1)
at Module._compile (node:internal/modules/cjs/loader:1937:14)
at Object..js (node:internal/modules/cjs/loader:2077:10)
at Module.load (node:internal/modules/cjs/loader:1659:32)
at Module._load (node:internal/modules/cjs/loader:1451:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [Object],
expected: [Object],
operator: 'deepStrictEqual',
diff: 'simple'
}
at Object.<anonymous> (/Users/runner/work/no
|
|
sccache stats - test-macOS
62% - 3127 hits, 1909 misses, 0 errors
|