Skip to content

ffi: validate 'void' as parameter type in getFunction and getFunctions #85681

ffi: validate 'void' as parameter type in getFunction and getFunctions

ffi: validate 'void' as parameter type in getFunction and getFunctions #85681

Triggered via pull request May 23, 2026 09:08
Status Failure
Total duration 38m 49s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

Annotations

4 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-ffi-void-parameter.js#L30
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_INVALID_ARG_VALUE/. Input: '[eval]:2\n' + " const { DynamicLibrary } = internalBinding('ffi');\n" + ' ^\n' + '\n' + 'ReferenceError: internalBinding is not defined\n' + ' at [eval]:2:34\n' + ' at runScriptInThisContext (node:internal/vm:219:10)\n' + ' at node:internal/process/execution:483:12\n' + ' at [eval]-wrapper:6:24\n' + ' at runScriptInContext (node:internal/process/execution:481:60)\n' + ' at evalFunction (node:internal/process/execution:315:30)\n' + ' at evalTypeScript (node:internal/process/execution:327:3)\n' + ' at node:internal/main/eval_string:71:3\n' + '\n' + 'Node.js v27.0.0-pre\n' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-ffi-void-parameter.js:30:10) at Module._compile (node:internal/modules/cjs/loader:1876:14) at Object..js (node:internal/modules/cjs/loader:2016:10) at Module.load (node:internal/modules/cjs/loader:1599:32) at Module._load (node:internal/modules/cjs/loader:1401:12) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) 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: '[eval]:2\n' + " const { DynamicLibrary } = internalBinding('ffi');\n" + ' ^\n' + '\n' + 'ReferenceError: internalBinding is not defined\n' + ' at [eval]:2:34\n' + ' at runScriptInThisContext (node:internal/vm:219:10)\n' + ' at node:internal/process/execution:483:12\n' + ' at [eval]-wrapper:6:24\n' + ' at runScriptInContext (node:internal/process/execution:481:60)\n' + ' at evalFunction (node:internal/process/execution:315:30)\n' + ' at evalTypeScript (node:internal/process/execution:327:3)\n' + ' at node:internal/main/eval_string:71:3\n' + '\n' + 'Node.js v27.0.0-pre\n', expected: /ERR_INVALID_ARG_VALUE/, operator: 'match', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-ffi-void-parameter.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-ffi-void-parameter.js#L30
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: The input did not match the regular expression /ERR_INVALID_ARG_VALUE/. Input: '[eval]:2\n' + " const { DynamicLibrary } = internalBinding('ffi');\n" + ' ^\n' + '\n' + 'ReferenceError: internalBinding is not defined\n' + ' at [eval]:2:34\n' + ' at runScriptInThisContext (node:internal/vm:219:10)\n' + ' at node:internal/process/execution:483:12\n' + ' at [eval]-wrapper:6:24\n' + ' at runScriptInContext (node:internal/process/execution:481:60)\n' + ' at evalFunction (node:internal/process/execution:315:30)\n' + ' at evalTypeScript (node:internal/process/execution:327:3)\n' + ' at node:internal/main/eval_string:71:3\n' + '\n' + 'Node.js v27.0.0-pre\n' at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-ffi-void-parameter.js:30:10) at Module._compile (node:internal/modules/cjs/loader:1876:14) at Object..js (node:internal/modules/cjs/loader:2016:10) at Module.load (node:internal/modules/cjs/loader:1599:32) at Module._load (node:internal/modules/cjs/loader:1401:12) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) 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: '[eval]:2\n' + " const { DynamicLibrary } = internalBinding('ffi');\n" + ' ^\n' + '\n' + 'ReferenceError: internalBinding is not defined\n' + ' at [eval]:2:34\n' + ' at runScriptInThisContext (node:internal/vm:219:10)\n' + ' at node:internal/process/execution:483:12\n' + ' at [eval]-wrapper:6:24\n' + ' at runScriptInContext (node:internal/process/execution:481:60)\n' + ' at evalFunction (node:internal/process/execution:315:30)\n' + ' at evalTypeScript (node:internal/process/execution:327:3)\n' + ' at node:internal/main/eval_string:71:3\n' + '\n' + 'Node.js v27.0.0-pre\n', expected: /ERR_INVALID_ARG_VALUE/, operator: 'match', diff: 'simple' } Node.js v27.0.0-pre Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-ffi-void-parameter.js
sccache stats - test-linux
74% - 3671 hits, 1303 misses, 0 errors
sccache stats - test-linux
81% - 3998 hits, 966 misses, 0 errors