Skip to content

src,permission: do not throw on denied access in audit mode #78566

src,permission: do not throw on denied access in audit mode

src,permission: do not throw on denied access in audit mode #78566

Triggered via pull request July 11, 2026 15:47
Status Failure
Total duration 58m 12s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS
Process completed with exit code 1.
test-macOS: test/parallel/test-permission-audit-fs-does-not-deny.js#L0
--- stdout --- Test failure: 'permission-audit logs fs denial without throwing (eval)' Location: test/parallel/test-permission-audit-fs-does-not-deny.js:56:1 AssertionError [ERR_ASSERTION]: [eval]:9 eval('require("node:fs").readFileSync("/Users/runner/work/node/node/dir%20with $unusual\"chars?'åß∂ƒ©∆¬…`/test/fixtures/permission/deny/protected-file.md")'); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Expected ',', got 'ident' SyntaxError: missing ) after argument list at makeContextifyScript (node:internal/vm:194:14) at compileScript (node:internal/process/execution:420:10) at evalTypeScript (node:internal/process/execution:292:22) at node:internal/main/eval_string:71:3 Node.js v27.0.0-pre 1 !== 0 at runAudit (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-permission-audit-fs-does-not-deny.js:41:10) at TestContext.<anonymous> (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-permission-audit-fs-does-not-deny.js:57:3) at Test.runInAsyncScope (node:async_hooks:227:14) at Test.run (node:internal/test_runner/test:1382:25) at Test.processPendingSubtests (node:internal/test_runner/test:960:18) at Test.postRun (node:internal/test_runner/test:1522:19) at Test.run (node:internal/test_runner/test:1447:12) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 1, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout "/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-permission-audit-fs-does-not-deny.js"
sccache stats - test-macOS
77% - 3866 hits, 1170 misses, 0 errors