Skip to content

test: test against hash/sign/verify collisions on strings #173

test: test against hash/sign/verify collisions on strings

test: test against hash/sign/verify collisions on strings #173

Triggered via pull request October 24, 2025 17:32
Status Failure
Total duration 46m 6s
Artifacts

test-shared.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-crypto-strings.mjs#L85
--- stdout --- Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:103:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:105:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input' Location: test/parallel/test-crypto-strings.mjs:109:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:121:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:129:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:131:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: one-arg version' Location: test/parallel/test-crypto-strings.mjs:143:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:155:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: two-arg version' Location: test/parallel/test-crypto-strings.mjs:161:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '��' - '\ud800\ud800' at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:173:54) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-crypto-strings.mjs#L85
--- stdout --- Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:103:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:105:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input' Location: test/parallel/test-crypto-strings.mjs:109:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:121:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:129:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:131:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: one-arg version' Location: test/parallel/test-crypto-strings.mjs:143:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:155:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: two-arg version' Location: test/parallel/test-crypto-strings.mjs:161:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '��' - '\ud800\ud800' at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:173:54) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.ru
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-crypto-strings.mjs#L85
--- stdout --- Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:103:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:105:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input' Location: test/parallel/test-crypto-strings.mjs:109:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:121:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:129:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:131:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: one-arg version' Location: test/parallel/test-crypto-strings.mjs:143:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:155:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: two-arg version' Location: test/parallel/test-crypto-strings.mjs:161:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '��' - '\ud800\ud800' at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///home/runner/work/node/node/test/parallel/test-crypto-strings.mjs:173:54) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-crypto-strings.mjs#L85
--- stdout --- Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:103:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:105:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input' Location: test/parallel/test-crypto-strings.mjs:109:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:121:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Should refuse invalid input' Location: test/parallel/test-crypto-strings.mjs:129:3 AssertionError [ERR_ASSERTION]: Missing expected rejection (Error). at async testOneArg (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:85:24) at async TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:131:7) at async Test.run (node:internal/test_runner/test:1113:7) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: [Function], operator: 'rejects', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: one-arg version' Location: test/parallel/test-crypto-strings.mjs:143:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: true !== false at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:155:20) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1106:25) at Suite.processPendingSubtests (node:internal/test_runner/test:788:18) at Test.postRun (node:internal/test_runner/test:1235:19) at Test.run (node:internal/test_runner/test:1163:12) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1518:7) at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: true, expected: false, operator: 'strictEqual', diff: 'simple' } Test failure: 'Equal hashes must mean equal input: two-arg version' Location: test/parallel/test-crypto-strings.mjs:161:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '��' - '\ud800\ud800' at assert.<computed> [as strictEqual] (node:internal/test_runner/test:325:18) at TestContext.<anonymous> (file:///Users/runner/work/node/node/test/parallel/test-crypto-strings.mjs:173:54) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.ru