Skip to content

src,loader,permission: throw on InternalWorker use #60085

src,loader,permission: throw on InternalWorker use

src,loader,permission: throw on InternalWorker use #60085

Triggered via push January 21, 2025 18:54
Status Failure
Total duration 1h 17m 47s
Artifacts

test-macos.yml

on: push
Matrix: test-macOS
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 notices
test-macOS (macos-14): test/parallel/test-permission-dc-worker-threads.js#L1
--- stderr --- out/Release/node: bad option: --experimental-permission Command: out/Release/node --experimental-permission --allow-fs-read=* --experimental-test-module-mocks --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-permission-dc-worker-threads.js
test-macOS (macos-14): test/parallel/test-runner-module-mocking.js#L668
--- stderr --- (node:92738) ExperimentalWarning: Module mocking is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) --- stdout --- Test failure: 'should throw ERR_ACCESS_DENIED when permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:654:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 9 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:668:10) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 9, expected: 1, operator: 'strictEqual' } Test failure: 'should throw ERR_ACCESS_DENIED when permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:654:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 9 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:668:10) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 9, expected: 1, operator: 'strictEqual' } Test failure: 'should work when --allow-worker is passed and permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:673:1 AssertionError [ERR_ASSERTION]: /Users/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual' } Test failure: 'should work when --allow-worker is passed and permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:673:1 AssertionError [ERR_ASSERTION]: /Users/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual' } Command: out/Release/node --experimental-test-module-mocks --experimental-require-module --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js
test-macOS (macos-14)
Process completed with exit code 2.
test-macOS (macos-13): test/parallel/test-permission-dc-worker-threads.js#L1
--- stderr --- out/Release/node: bad option: --experimental-permission Command: out/Release/node --experimental-permission --allow-fs-read=* --experimental-test-module-mocks --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-permission-dc-worker-threads.js
test-macOS (macos-13): test/parallel/test-runner-module-mocking.js#L668
--- stderr --- (node:76431) ExperimentalWarning: Module mocking is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) --- stdout --- Test failure: 'should throw ERR_ACCESS_DENIED when permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:654:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 9 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:668:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 9, expected: 1, operator: 'strictEqual' } Test failure: 'should throw ERR_ACCESS_DENIED when permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:654:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 9 !== 1 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:668:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 9, expected: 1, operator: 'strictEqual' } Test failure: 'should work when --allow-worker is passed and permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:673:1 AssertionError [ERR_ASSERTION]: /Users/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual' } Test failure: 'should work when --allow-worker is passed and permission model is enabled' Location: test/parallel/test-runner-module-mocking.js:673:1 AssertionError [ERR_ASSERTION]: /Users/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690:10) at async Test.run (node:internal/test_runner/test:981:9) at async Test.processPendingSubtests (node:internal/test_runner/test:678:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 9, expected: 0, operator: 'strictEqual' } Command: out/Release/node --experimental-test-module-mocks --experimental-require-module --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js
test-macOS (macos-13)
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors