Skip to content

RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() #9786

RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys()

RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() #9786

Triggered via pull request September 27, 2024 13:31
Status Failure
Total duration 2m 9s
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
1s
Downstream tests
Fit to window
Zoom out
Zoom in

Annotations

21 errors
MatrixRTCSession › joining › creates a key when joining: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L590
TypeError: _sess14.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:590:19)
MatrixRTCSession › collects keys from encryption events: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1205
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1205:15)
MatrixRTCSession › collects keys at non-zero indices: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1237
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1237:15)
MatrixRTCSession › joining › creates a key when joining: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L590
TypeError: _sess14.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:590:19)
MatrixRTCSession › collects keys by merging: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1269
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1269:15)
MatrixRTCSession › collects keys from encryption events: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1205
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1205:15)
MatrixRTCSession › ignores older keys at same index: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1349
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1349:15)
MatrixRTCSession › collects keys at non-zero indices: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1237
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1237:15)
MatrixRTCSession › key timestamps are treated as monotonic: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1397
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1397:15)
MatrixRTCSession › collects keys by merging: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1269
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1269:15)
MatrixRTCSession › ignores keys event for the local participant: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1427
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1427:15)
MatrixRTCSession › ignores older keys at same index: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1349
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1349:15)
Jest [unit] (Node lts/*)
Process completed with exit code 1.
MatrixRTCSession › key timestamps are treated as monotonic: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1397
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1397:15)
MatrixRTCSession › ignores keys event for the local participant: spec/unit/matrixrtc/MatrixRTCSession.spec.ts#L1427
TypeError: sess.emitEncryptionKeys is not a function at Object.emitEncryptionKeys (spec/unit/matrixrtc/MatrixRTCSession.spec.ts:1427:15)
Jest [unit] (Node 22)
Process completed with exit code 1.
Jest [integ] (Node lts/*)
The job was canceled because "unit_lts__" failed.
Jest [integ] (Node lts/*)
The operation was canceled.
Jest [integ] (Node 22)
The job was canceled because "unit_lts__" failed.
Jest [integ] (Node 22)
The operation was canceled.
Jest tests
Process completed with exit code 1.