src,loader,permission: throw on InternalWorker use #60085
Annotations
3 errors and 1 notice
Test:
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:
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
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading