Skip to content

module: clarify cjs global-like error on ModuleJobSync #66908

module: clarify cjs global-like error on ModuleJobSync

module: clarify cjs global-like error on ModuleJobSync #66908

Triggered via pull request January 22, 2025 09:52
Status Failure
Total duration 51m 51s
Artifacts

test-linux.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
test-linux: 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 /home/runner/work/node/node/node/test/parallel/test-permission-dc-worker-threads.js
test-linux: test/parallel/test-runner-module-mocking.js#L668
--- stderr --- (node:171490) 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> (/home/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> (/home/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]: /home/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690: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: 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]: /home/runner/work/node/node/node/out/Release/node: bad option: --experimental-permission 9 !== 0 at TestContext.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js:690: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: 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 /home/runner/work/node/node/node/test/parallel/test-runner-module-mocking.js
test-linux
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors