Skip to content

doc,test: mem protection must be observed in ffi #83860

doc,test: mem protection must be observed in ffi

doc,test: mem protection must be observed in ffi #83860

Triggered via pull request April 19, 2026 14:06
Status Failure
Total duration 1h 0m 42s
Artifacts

test-linux.yml

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

Annotations

4 errors, 2 warnings, and 2 notices
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
test-linux (ubuntu-24.04-arm): test/ffi/test-ffi-readonly-write.js#L28
--- stdout --- Test failure: 'writing to readonly memory via buffer results in SIGBUS' Location: test/ffi/test-ffi-readonly-write.js:14:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'SIGSEGV' - 'SIGBUS' ^ at TestContext.<anonymous> (/home/runner/work/node/node/node/test/ffi/test-ffi-readonly-write.js:28:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.start (node:internal/test_runner/test:1171:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'SIGSEGV', expected: 'SIGBUS', operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --experimental-ffi --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/ffi/test-ffi-readonly-write.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/ffi/test-ffi-readonly-write.js#L28
--- stdout --- Test failure: 'writing to readonly memory via buffer results in SIGBUS' Location: test/ffi/test-ffi-readonly-write.js:14:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'SIGSEGV' - 'SIGBUS' ^ at TestContext.<anonymous> (/home/runner/work/node/node/node/test/ffi/test-ffi-readonly-write.js:28:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.start (node:internal/test_runner/test:1171:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'SIGSEGV', expected: 'SIGBUS', operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --experimental-ffi --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/ffi/test-ffi-readonly-write.js
test-linux (ubuntu-24.04-arm)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test-linux (ubuntu-24.04)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
sccache stats
51% - 2540 hits, 2422 misses, 0 errors
sccache stats
57% - 2841 hits, 2111 misses, 0 errors