Skip to content

lib: call normalizeEncoding in fs.writeFileSync and fs.readFileSync #535

lib: call normalizeEncoding in fs.writeFileSync and fs.readFileSync

lib: call normalizeEncoding in fs.writeFileSync and fs.readFileSync #535

Triggered via pull request November 2, 2025 14:27
Status Failure
Total duration 1h 15m 42s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 31s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 notice
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-fs-write-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-write-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js
aarch64-darwin: with shared libraries: test/parallel/test-fs-append-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-append-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-fs-write-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-write-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js
aarch64-linux: with shared libraries: test/parallel/test-fs-append-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-append-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-fs-write-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-write-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js
x86_64-linux: with shared libraries: test/parallel/test-fs-append-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-append-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-fs-write-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-write-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-write-file-flush.js
x86_64-darwin: with shared libraries: test/parallel/test-fs-append-file-flush.js#L31
--- stdout --- Test failure: 'performs flush' Location: test/parallel/test-fs-append-file-flush.js:26:11 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 0 !== 1 at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:31:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Test.start (node:internal/test_runner/test:1003:17) at TestContext.test (node:internal/test_runner/test:378:20) at TestContext.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js:26:11) at async Test.run (node:internal/test_runner/test:1113:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 0, expected: 1, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/_temp/node-v26.0.0-nightly2025-11-023fb2129bba-slim/test/parallel/test-fs-append-file-flush.js
x86_64-darwin: with shared libraries
The macOS-13 based runner images are being deprecated, consider switching to macOS-15 (macos-15-intel) or macOS 15 arm64 (macos-latest) instead. For more details see https://github.com/actions/runner-images/issues/13046

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.6 MB
sha256:ffe5466792c7df8a15cc563b3c0e9d789bcdd905153c152e645f10806216c32d