Skip to content

Upgrade matrix-sdk-crypto-wasm to v8 #9564

Upgrade matrix-sdk-crypto-wasm to v8

Upgrade matrix-sdk-crypto-wasm to v8 #9564

Triggered via pull request September 9, 2024 09:45
Status Failure
Total duration 2m 36s
Artifacts

tests.yml

on: pull_request
Matrix: jest
Matrix: Downstream test matrix-react-sdk / Jest
Waiting for pending jobs
Downstream test matrix-react-sdk  /  Element Web Integration Tests
Downstream test matrix-react-sdk / Element Web Integration Tests
Run Complement Crypto tests  /  tests
Run Complement Crypto tests / tests
Jest tests
0s
Jest tests
Downstream test matrix-react-sdk  /  Skip SonarCloud in merge queue
Downstream test matrix-react-sdk / Skip SonarCloud in merge queue
Downstream Complement Crypto tests
0s
Downstream Complement Crypto tests
Downstream tests
2s
Downstream tests
Fit to window
Zoom out
Zoom in

Annotations

26 errors
Jest [unit] (Node lts/*)
Process completed with exit code 1.
Jest [unit] (Node 22)
The job was canceled because "unit_lts__" failed.
Jest [unit] (Node 22)
The operation was canceled.
Jest [integ] (Node lts/*)
The job was canceled because "unit_lts__" failed.
megolm-keys backup (rust-sdk) › Key backup check on UTD message › Alice checks key backups when receiving a message she can't decrypt: spec/integ/crypto/megolm-backup.spec.ts#L249
expect(received).toEqual(expected) // deep equality Expected: "HISTORICAL_MESSAGE_WORKING_BACKUP" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:249:51) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Key backup check on UTD message › handles error on backup query gracefully: spec/integ/crypto/megolm-backup.spec.ts#L274
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:274:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Key backup check on UTD message › Only queries once: spec/integ/crypto/megolm-backup.spec.ts#L295
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:295:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Backup Changed from other sessions › If current backup has changed: spec/integ/crypto/megolm-backup.spec.ts#L1103
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/megolm-backup.spec.ts:1103:9) at describe (spec/integ/crypto/megolm-backup.spec.ts:1072:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/megolm-backup.spec.ts:117:47)
verification (rust-sdk) › Incoming verification in a DM › Encrypted verification request from Bob to Alice: spec/integ/crypto/verification.spec.ts#L1097
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/verification.spec.ts:1097:9) at describe (spec/integ/crypto/verification.spec.ts:979:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/verification.spec.ts:119:47)
verification (rust-sdk) › Incoming verification in a DM › If the verification request is not decrypted within 5 minutes: spec/integ/crypto/verification.spec.ts#L1139
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at newBackendOnly (spec/integ/crypto/verification.spec.ts:1139:9) at describe (spec/integ/crypto/verification.spec.ts:979:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/verification.spec.ts:119:47)
Jest [integ] (Node 22)
The job was canceled because "unit_lts__" failed.
crypto (rust-sdk) › Alice receives a megolm message: spec/integ/crypto/crypto.spec.ts#L414
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/crypto.spec.ts:414:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/crypto.spec.ts:218:47)
megolm-keys backup (rust-sdk) › Key backup check on UTD message › Alice checks key backups when receiving a message she can't decrypt: spec/integ/crypto/megolm-backup.spec.ts#L249
expect(received).toEqual(expected) // deep equality Expected: "HISTORICAL_MESSAGE_WORKING_BACKUP" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:249:51) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
crypto (rust-sdk) › Unable to decrypt error codes › Decryption fails with UISI error: spec/integ/crypto/crypto.spec.ts#L502
expect(received).toEqual(expected) // deep equality Expected: "MEGOLM_UNKNOWN_INBOUND_SESSION_ID" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:502:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Key backup check on UTD message › handles error on backup query gracefully: spec/integ/crypto/megolm-backup.spec.ts#L274
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:274:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
crypto (rust-sdk) › Unable to decrypt error codes › Decryption fails with Unknown Index error: spec/integ/crypto/crypto.spec.ts#L533
expect(received).toEqual(expected) // deep equality Expected: "OLM_UNKNOWN_MESSAGE_INDEX" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:533:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Key backup check on UTD message › Only queries once: spec/integ/crypto/megolm-backup.spec.ts#L295
expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at Object.toEqual (spec/integ/crypto/megolm-backup.spec.ts:295:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
crypto (rust-sdk) › Unable to decrypt error codes › Historical events › fails with HISTORICAL_MESSAGE_BACKUP_NO_BACKUP when there is no backup: spec/integ/crypto/crypto.spec.ts#L570
expect(received).toEqual(expected) // deep equality Expected: "HISTORICAL_MESSAGE_NO_KEY_BACKUP" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:570:52) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
megolm-keys backup (rust-sdk) › Backup Changed from other sessions › If current backup has changed: spec/integ/crypto/megolm-backup.spec.ts#L1103
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/megolm-backup.spec.ts:1103:9) at describe (spec/integ/crypto/megolm-backup.spec.ts:1072:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/megolm-backup.spec.ts:117:47)
verification (rust-sdk) › Incoming verification in a DM › Encrypted verification request from Bob to Alice: spec/integ/crypto/verification.spec.ts#L1097
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/verification.spec.ts:1097:9) at describe (spec/integ/crypto/verification.spec.ts:979:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/verification.spec.ts:119:47)
verification (rust-sdk) › Incoming verification in a DM › If the verification request is not decrypted within 5 minutes: spec/integ/crypto/verification.spec.ts#L1139
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at newBackendOnly (spec/integ/crypto/verification.spec.ts:1139:9) at describe (spec/integ/crypto/verification.spec.ts:979:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/verification.spec.ts:119:47)
crypto (rust-sdk) › Alice receives a megolm message: spec/integ/crypto/crypto.spec.ts#L414
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at it (spec/integ/crypto/crypto.spec.ts:414:5) at Array.forEach (<anonymous>) at Object.<anonymous> (spec/integ/crypto/crypto.spec.ts:218:47)
crypto (rust-sdk) › Unable to decrypt error codes › Decryption fails with UISI error: spec/integ/crypto/crypto.spec.ts#L502
expect(received).toEqual(expected) // deep equality Expected: "MEGOLM_UNKNOWN_INBOUND_SESSION_ID" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:502:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
crypto (rust-sdk) › Unable to decrypt error codes › Decryption fails with Unknown Index error: spec/integ/crypto/crypto.spec.ts#L533
expect(received).toEqual(expected) // deep equality Expected: "OLM_UNKNOWN_MESSAGE_INDEX" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:533:48) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
crypto (rust-sdk) › Unable to decrypt error codes › Historical events › fails with HISTORICAL_MESSAGE_BACKUP_NO_BACKUP when there is no backup: spec/integ/crypto/crypto.spec.ts#L570
expect(received).toEqual(expected) // deep equality Expected: "HISTORICAL_MESSAGE_NO_KEY_BACKUP" Received: "UNKNOWN_ERROR" at Object.toEqual (spec/integ/crypto/crypto.spec.ts:570:52) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
Jest tests
Process completed with exit code 1.