Skip to content

fs: close dir before throwing if options.bufferSize is invalid #73062

fs: close dir before throwing if options.bufferSize is invalid

fs: close dir before throwing if options.bufferSize is invalid #73062

Triggered via pull request June 26, 2025 21:39
Status Failure
Total duration 24m 7s
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-fs-opendir.js#L18
--- stderr --- (node:141437) Warning: Closing directory handle on garbage collection (Use `node --trace-warnings ...` to show where the warning was created) /home/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18 throw new Error('Expected no warnings', { cause }); ^ Error: Expected no warnings at process.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18:9) at process.emit (node:events:519:35) at doEmitWarning (node:internal/process/warning:85:11) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { [cause]: [Warning: Closing directory handle on garbage collection] } Node.js v25.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-fs-opendir.js
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-fs-opendir.js#L18
--- stderr --- (node:141979) Warning: Closing directory handle on garbage collection (Use `node --trace-warnings ...` to show where the warning was created) /home/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18 throw new Error('Expected no warnings', { cause }); ^ Error: Expected no warnings at process.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18:9) at process.emit (node:events:519:35) at doEmitWarning (node:internal/process/warning:85:11) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { [cause]: [Warning: Closing directory handle on garbage collection] } Node.js v25.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-fs-opendir.js
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors