esm: syncify default path of ModuleLoader.load
#68883
Annotations
6 errors and 2 notices
test-linux (ubuntu-24.04-arm):
test/es-module/test-vm-main-context-default-loader.js#L124
--- stderr ---
(node:132803) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js:146
called with arguments: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ code: 'ERR_UNSUPPORTED_RESOLVE_REQUEST'
- code: 'ERR_MODULE_NOT_FOUND'
}
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async main (/home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js:124:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [TypeError],
expected: [Object],
operator: 'rejects'
}
at mustNotCall (/home/runner/work/node/node/node/test/common/index.js:493:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-runner-no-isolation-hooks.mjs#L55
--- stdout ---
Test failure: 'Using --require to define global hooks works'
Location: test/parallel/test-runner-no-isolation-hooks.mjs:48:1
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(spawned.stdout.includes(order.join('\n')))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-no-isolation-hooks.mjs:55:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1063:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:308:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Test failure: 'Using --import to define global hooks works'
Location: test/parallel/test-runner-no-isolation-hooks.mjs:58:1
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(spawned.stdout.includes(order.join('\n')))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-no-isolation-hooks.mjs:65:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1063:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:746:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
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-runner-no-isolation-hooks.mjs
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
test-linux (ubuntu-24.04):
test/es-module/test-vm-main-context-default-loader.js#L124
--- stderr ---
(node:134154) ExperimentalWarning: vm.USE_MAIN_CONTEXT_DEFAULT_LOADER is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: function should not have been called at /home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js:146
called with arguments: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ code: 'ERR_UNSUPPORTED_RESOLVE_REQUEST'
- code: 'ERR_MODULE_NOT_FOUND'
}
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async main (/home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js:124:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [TypeError],
expected: [Object],
operator: 'rejects'
}
at mustNotCall (/home/runner/work/node/node/node/test/common/index.js:493:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Node.js v24.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/es-module/test-vm-main-context-default-loader.js
|
test-linux (ubuntu-24.04):
test/parallel/test-runner-no-isolation-hooks.mjs#L55
--- stdout ---
Test failure: 'Using --require to define global hooks works'
Location: test/parallel/test-runner-no-isolation-hooks.mjs:48:1
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(spawned.stdout.includes(order.join('\n')))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-no-isolation-hooks.mjs:55:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1063:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:308:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
Test failure: 'Using --import to define global hooks works'
Location: test/parallel/test-runner-no-isolation-hooks.mjs:58:1
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
t.assert.ok(spawned.stdout.includes(order.join('\n')))
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-runner-no-isolation-hooks.mjs:65:12)
at async Test.run (node:internal/test_runner/test:1063:7)
at async Test.processPendingSubtests (node:internal/test_runner/test:746:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
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-runner-no-isolation-hooks.mjs
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|