Skip to content

Virtual File System for Node.js #80386

Virtual File System for Node.js

Virtual File System for Node.js #80386

Triggered via pull request January 29, 2026 19:53
Status Failure
Total duration 1h 56m 9s
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-runner-mock-fs.js#L50
--- stderr --- (node:191905) ExperimentalWarning: VirtualFileSystem is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) (node:191905) ExperimentalWarning: Module._stat is an experimental feature and might change at any time --- stdout --- Test failure: 'mock.fs() works without initial files' Location: test/parallel/test-runner-mock-fs.js:46:1 Error: ENOENT: no such file or directory, open '/file1.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:50:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/file1.txt' } Test failure: 'mock.fs() supports adding directories' Location: test/parallel/test-runner-mock-fs.js:58:1 Error: ENOENT: no such file or directory, open '/src' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.mkdirSync (node:internal/vfs/file_system:455:31) at MockFSContext.addDirectory (node:internal/test_runner/mock/mock:459:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:61:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/src' } Test failure: 'mock.fs() exposes vfs property' Location: test/parallel/test-runner-mock-fs.js:140:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'undefined' - 'function' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:151:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'function', operator: 'strictEqual', diff: 'simple' } Test failure: 'mock.fs() supports dynamic file content' Location: test/parallel/test-runner-mock-fs.js:160:1 Error: ENOENT: no such file or directory, open '/counter.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:164:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/counter.txt' } Test failure: 'mock.fs(
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-runner-mock-fs.js#L50
--- stderr --- (node:185884) ExperimentalWarning: VirtualFileSystem is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) (node:185884) ExperimentalWarning: Module._stat is an experimental feature and might change at any time --- stdout --- Test failure: 'mock.fs() works without initial files' Location: test/parallel/test-runner-mock-fs.js:46:1 Error: ENOENT: no such file or directory, open '/file1.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:50:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/file1.txt' } Test failure: 'mock.fs() supports adding directories' Location: test/parallel/test-runner-mock-fs.js:58:1 Error: ENOENT: no such file or directory, open '/src' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.mkdirSync (node:internal/vfs/file_system:455:31) at MockFSContext.addDirectory (node:internal/test_runner/mock/mock:459:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:61:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/src' } Test failure: 'mock.fs() exposes vfs property' Location: test/parallel/test-runner-mock-fs.js:140:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'undefined' - 'function' at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:151:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'undefined', expected: 'function', operator: 'strictEqual', diff: 'simple' } Test failure: 'mock.fs() supports dynamic file content' Location: test/parallel/test-runner-mock-fs.js:160:1 Error: ENOENT: no such file or directory, open '/counter.txt' at VirtualFileSystem._toProviderPath (node:internal/vfs/file_system:315:15) at VirtualFileSystem.writeFileSync (node:internal/vfs/file_system:422:31) at MockFSContext.addFile (node:internal/test_runner/mock/mock:451:15) at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-mock-fs.js:164:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1109:25) at Test.processPendingSubtests (node:internal/test_runner/test:786:18) at Test.postRun (node:internal/test_runner/test:1238:19) at Test.run (node:internal/test_runner/test:1166:12) at async Test.processPendingSubtests (node:internal/test_runner/test:786:7) { errno: -2, syscall: 'open', code: 'ENOENT', path: '/counter.txt' } Test failure: 'mock.fs(
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors