Skip to content

Device Dehydration | js-sdk: store/load dehydration key #10597

Device Dehydration | js-sdk: store/load dehydration key

Device Dehydration | js-sdk: store/load dehydration key #10597

Triggered via pull request December 26, 2024 16:06
Status Failure
Total duration 2m 41s
Artifacts 2

tests.yml

on: pull_request
Matrix: Downstream test element-web / Jest
Waiting for pending jobs
Matrix: jest
Run Complement Crypto tests  /  tests
Run Complement Crypto tests / tests
Downstream test element-web  /  jest-tests
Downstream test element-web / jest-tests
Jest tests
0s
Jest tests
Downstream Complement Crypto tests
0s
Downstream Complement Crypto tests
Downstream tests
1s
Downstream tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Device dehydration › should rehydrate and dehydrate a device: src/rust-crypto/DehydratedDeviceManager.ts#L86
TypeError: _this.olmMachine.dehydratedDevices(...).getDehydratedDeviceKey is not a function at getDehydratedDeviceKey (src/rust-crypto/DehydratedDeviceManager.ts:86:58) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:86:83) at getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:286:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:295:58) at createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:305:20) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:311:34) at scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:149:20) at Generator.throw (<anonymous>) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _throw (node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:9)
Jest [integ] (Node lts/*)
Process completed with exit code 1.
Jest [integ] (Node 22)
The job was canceled because "integ_lts__" failed.
Device dehydration › should rehydrate and dehydrate a device: src/rust-crypto/DehydratedDeviceManager.ts#L86
TypeError: _this.olmMachine.dehydratedDevices(...).getDehydratedDeviceKey is not a function at getDehydratedDeviceKey (src/rust-crypto/DehydratedDeviceManager.ts:86:58) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:86:83) at getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:286:34) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:295:58) at createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:305:20) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12 at DehydratedDeviceManager.scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:311:34) at scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:149:20) at Generator.throw (<anonymous>) at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _throw (node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:9)
Jest [integ] (Node 22)
Process completed with exit code 1.
Jest tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
coverage-unit-22
191 KB
coverage-unit-lts
190 KB