Skip to content

test_runner: support custom arguments in run() #56629

test_runner: support custom arguments in run()

test_runner: support custom arguments in run() #56629

Triggered via push September 28, 2024 13:52
Status Failure
Total duration 53m 45s
Artifacts

test-macos.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS: test/es-module/test-loaders-workers-spawned.mjs#L79
--- stdout --- β–Ά Worker threads do not spawn infinitely βœ” should not trigger an infinite loop when using a loader exports no recognized hooks (157.752459ms) ::debug::starting to run Worker threads do not spawn infinitely ::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 βœ” should support a CommonJS entry point and a loader that imports a CommonJS module (198.948375ms) ::debug::starting to run should support a CommonJS entry point and a loader that imports a CommonJS module ::debug::completed running should support a CommonJS entry point and a loader that imports a CommonJS module βœ” should support --require and --import along with using a loader written in CJS and CJS entry point (193.451125ms) ::debug::starting to run should support --require and --import along with using a loader written in CJS and CJS entry point ::debug::completed running should support --require and --import along with using a loader written in CJS and CJS entry point βœ– should support --require and --import along with using a loader written in ESM and ESM entry point (198.495375ms) 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:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12) at async Test.run (node:internal/test_runner/test:931:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { 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' } βœ– Worker threads do not spawn infinitely (750.297459ms) ::debug::starting to run should support --require and --import along with using a loader written in ESM and ESM entry point ::error title=should support --require and --import along with using a loader written in ESM and ESM entry point,file=test/es-module/test-loaders-workers-spawned.mjs,line=79,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' ] { code: 'ERR_TEST_FAILURE', 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:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12) at async Test.run (node:internal/test_runner/test:931:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { 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' } } β„Ή tests 4 β„Ή suites 1 β„Ή pass 3 β„Ή fail 1 β„Ή cancelled 0 β„Ή skipped 0 β„Ή todo 0 β„Ή duration_ms 808.822333 βœ– failing tests: test at test/es-module/test-loaders-workers-spawned.mjs:63:3 βœ– should support --require and --import along with using a loader written in ESM and ESM entry point (198.495375ms) 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:///Users/runner/work/node/node/test/es-module/test-loaders-workers-spawned.mjs:79:12) at async Test.run (node:internal/test_runner/test:931:9) at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) { 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' } ::notice file=test/es-module/test-loaders-workers-spawned.mjs,line=1,col=1::tests 4 ::notice file=test/es-module/test-loaders-work
test-macOS
Process completed with exit code 2.
sccache stats
0% - 0 hits, 0 misses, 0 errors