Skip to content

fs: add followSymlinks option to glob and globSync #79608

fs: add followSymlinks option to glob and globSync

fs: add followSymlinks option to glob and globSync #79608

Triggered via pull request January 9, 2026 10:10
Status Failure
Total duration 2h 8m 52s
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-glob.mjs#L553
--- stdout --- Test failure: 'should return matched files in symlinked directory when follow is true' Location: test/parallel/test-fs-glob.mjs:548:3 Error: ELOOP: too many symbolic links encountered, stat '/home/runner/work/node/node/node/test/.tmp.1592/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' at async stat (node:internal/fs/promises:1040:18) at async #iterateSubpatterns (node:internal/fs/glob:652:19) at async Glob.glob (node:internal/fs/glob:558:9) at async glob (node:internal/fs/promises:1306:3) at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-fs-glob.mjs:553:22) at async Test.run (node:internal/test_runner/test:1102:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { errno: -40, code: 'ELOOP', syscall: 'stat', path: '/home/runner/work/node/node/node/test/.tmp.1592/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' } Test failure: 'should return matched files in symlinked directory when follow is true (sync)' Location: test/parallel/test-fs-glob.mjs:559:3 Error: ELOOP: too many symbolic links encountered, stat '/home/runner/work/node/node/node/test/.tmp.1592/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' at statSync (node:fs:1702:25) at #addSubpatterns (node:internal/fs/glob:436:22) at Glob.globSync (node:internal/fs/glob:314:29) at globSync (node:fs:3201:37) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-fs-glob.mjs:561:22) at Test.runInAsyncScope (node:async_hooks:212:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) { errno: -40, code: 'ELOOP', syscall: 'stat', path: '/home/runner/work/node/node/node/test/.tmp.1592/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' } 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-glob.mjs
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-fs-glob.mjs#L553
--- stdout --- Test failure: 'should return matched files in symlinked directory when follow is true' Location: test/parallel/test-fs-glob.mjs:548:3 Error: ELOOP: too many symbolic links encountered, stat '/home/runner/work/node/node/node/test/.tmp.1167/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' at async stat (node:internal/fs/promises:1040:18) at async #iterateSubpatterns (node:internal/fs/glob:652:19) at async Glob.glob (node:internal/fs/glob:558:9) at async glob (node:internal/fs/promises:1306:3) at async TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-fs-glob.mjs:553:22) at async Test.run (node:internal/test_runner/test:1102:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { errno: -40, code: 'ELOOP', syscall: 'stat', path: '/home/runner/work/node/node/node/test/.tmp.1167/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' } Test failure: 'should return matched files in symlinked directory when follow is true (sync)' Location: test/parallel/test-fs-glob.mjs:559:3 Error: ELOOP: too many symbolic links encountered, stat '/home/runner/work/node/node/node/test/.tmp.1167/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' at statSync (node:fs:1702:25) at #addSubpatterns (node:internal/fs/glob:436:22) at Glob.globSync (node:internal/fs/glob:314:29) at globSync (node:fs:3201:37) at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-fs-glob.mjs:561:22) at Test.runInAsyncScope (node:async_hooks:212:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Test.postRun (node:internal/test_runner/test:1224:19) at Test.run (node:internal/test_runner/test:1152:12) { errno: -40, code: 'ELOOP', syscall: 'stat', path: '/home/runner/work/node/node/node/test/.tmp.1167/fixtures/a/symlink/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c/a/b/c' } 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-glob.mjs
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors