Skip to content

src: use non-deprecated v8::Uint8Array::kMaxLength #1134

src: use non-deprecated v8::Uint8Array::kMaxLength

src: use non-deprecated v8::Uint8Array::kMaxLength #1134

Triggered via push October 19, 2023 08:06
Status Failure
Total duration 1h 28m 56s
Artifacts

test-macos.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test-macOS: 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 (355.847491ms) ::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 (370.570168ms) ::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 ✖ should support --require and --import along with using a loader written in CJS and CJS entry point (372.346539ms) 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-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:216: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 (349.174276ms) ▶ Worker threads do not spawn infinitely (385.698809ms) ::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) { 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-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:216: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' } } ::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 421.373964 ✖ failing tests: test at file:/Users/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 (372.346539ms) 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-v8/node-v8/test/es-module/test-loaders-workers-spawned.mjs:52:12) at
test-macOS
Process completed with exit code 2.