crypto | UserVerificationStatus.wasCrossSigningVerified()
support in rust crypto
#9666
Triggered via pull request
September 17, 2024 15:31
Status
Failure
Total duration
2m 20s
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
Run Complement Crypto tests
/
tests
Jest tests
0s
Downstream test matrix-react-sdk
/
Skip SonarCloud in merge queue
Downstream Complement Crypto tests
0s
Downstream tests
3s
Annotations
13 errors
RustCrypto › getUserVerificationStatus › returns a verified UserVerificationStatus when the UserIdentity is verified:
src/rust-crypto/rust-crypto.ts#L649
TypeError: userIdentity.wasPreviouslyVerified is not a function
at wasPreviouslyVerified (src/rust-crypto/rust-crypto.ts:649:52)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
queueToDevice (IndexedDB store) › non-timed tests › retries on when client is started:
spec/unit/queueToDevice.spec.ts#L153
expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 0
at Object.toEqual (spec/unit/queueToDevice.spec.ts:153:62)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
queueToDevice (IndexedDB store) › non-timed tests › splits many messages into multiple HTTP requests:
spec/unit/queueToDevice.spec.ts#L219
expect(received).toEqual(expected) // deep equality
Expected: 1
Received: 20
at Array.toEqual (spec/unit/queueToDevice.spec.ts:219:71)
at HttpBackend._takeFromQueue (node_modules/matrix-mock-request/lib/index.js:249:34)
at _tryFlush (node_modules/matrix-mock-request/lib/index.js:134:20)
at Timeout.tryFlush [as _onTimeout] (node_modules/matrix-mock-request/lib/index.js:124:13)
|
queueToDevice (IndexedDB store) › async tests › retries on error:
spec/unit/queueToDevice.spec.ts#L274
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 96
@@ -1,8 +1,103 @@
Object {
"messages": Object {
- "@alice:example.org": Object {
+ "@user0:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@User10:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user11:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user12:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user13:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user14:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user15:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user16:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user17:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user18:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user19:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user1:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user2:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user3:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user4:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user5:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user6:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user7:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user8:example.org": Object {
+ "AAAAAAAA": Object {
+ "foo": 42,
+ },
+ },
+ "@user9:example.org": Object {
"AAAAAAAA": Object {
"foo": 42,
},
},
},
at Array.toEqual (spec/unit/queueToDevice.spec.ts:274:42)
at HttpBackend._takeFromQueue (node_modules/matrix-mock-request/lib/index.js:249:34)
at HttpBackend.flushSync (node_modules/matrix-mock-request/lib/index.js:330:61)
at Object.flushSync (spec/unit/queueToDevice.spec.ts:289:32)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
Jest [unit] (Node lts/*)
Process completed with exit code 1.
|
Jest [unit] (Node 22)
The job was canceled because "unit_lts__" failed.
|
RustCrypto › getUserVerificationStatus › returns a verified UserVerificationStatus when the UserIdentity is verified:
src/rust-crypto/rust-crypto.ts#L649
TypeError: userIdentity.wasPreviouslyVerified is not a function
at wasPreviouslyVerified (src/rust-crypto/rust-crypto.ts:649:52)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
|
Jest [unit] (Node 22)
Process completed with exit code 1.
|
Jest [integ] (Node 22)
The job was canceled because "unit_lts__" failed.
|
Jest [integ] (Node 22)
The operation was canceled.
|
Jest [integ] (Node lts/*)
The job was canceled because "unit_lts__" failed.
|
Jest [integ] (Node lts/*)
The operation was canceled.
|
Jest tests
Process completed with exit code 1.
|