test: adapt to new V8 trusted memory spaces #1083
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors
test-asan:
test/es-module/test-loaders-workers-spawned.mjs#L52
--- stdout ---
::debug::starting to run Worker threads do not spawn infinitely
▶ Worker threads do not spawn infinitely
✔ should not trigger an infinite loop when using a loader exports no recognized hooks (1108.87355ms)
::debug::starting to run should not trigger an infinite loop when using a loader exports no recognized hooks
::debug::completed running should not trigger an infinite loop when using a loader exports no recognized hooks
::debug::starting to run should support a CommonJS entry point and a loader that imports a CommonJS module
✔ should support a CommonJS entry point and a loader that imports a CommonJS module (1574.85746ms)
✖ should support --require and --import along with using a loader written in CJS and CJS entry point (1443.380807ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///home/runner/work/node-v8/node-v8/test/es-module/test-loaders-workers-spawned.mjs:52:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 2)
at async Suite.run (node:internal/test_runner/test:948:7)
at async startSubtest (node:internal/test_runner/harness:208:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'A\nC\nA\nB\nD\n',
expected: /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/,
operator: 'match'
}
✔ should support --require and --import along with using a loader written in ESM and ESM entry point (1362.269505ms)
▶ Worker threads do not spawn infinitely (1611.714779ms)
::debug::completed running should support a CommonJS entry point and a loader that imports a CommonJS module
::debug::starting to run should support --require and --import along with using a loader written in CJS and CJS entry point
::error title=should support --require and --import along with using a loader written in CJS and CJS entry point,file=test/es-module/test-loaders-workers-spawned.mjs,line=52,col=12::Error [ERR_TEST_FAILURE]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at async Promise.all (index 2) {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///home/runner/work/node-v8/node-v8/test/es-module/test-loaders-workers-spawned.mjs:52:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Promise.all (index 2)
at async Suite.run (node:internal/test_runner/test:948:7)
at async startSubtest (node:internal/test_runner/harness:208:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'A\nC\nA\nB\nD\n',
expected: /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/,
operator: 'match'
},
code: 'ERR_TEST_FAILURE'
}
::debug::starting to run should support --require and --import along with using a loader written in ESM and ESM entry point
::debug::completed running should support --require and --import along with using a loader written in ESM and ESM entry point
ℹ tests 4
ℹ suites 1
ℹ pass 3
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1728.388906
✖ failing tests:
test at file:/home/runner/work/node-v8/node-v8/test/es-module/test-loaders-workers-spawned.mjs:37:3
✖ should support --require and --import along with using a loader written in CJS and CJS entry point (1443.380807ms)
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/. Input:
'A\nC\nA\nB\nD\n'
at TestContext.<anonymous> (file:///home/runner/work/node-v8/node-v8/test/es-module/test-loaders-workers-spawned.mjs:52:12)
a
|
test-asan
Process completed with exit code 2.
|