● VaultManager › with remote agents › can pull a cloned vault
ErrorRPCHandlerFailed:
373 | // Rpc errors
374 | case 1:
> 375 | return new rpcErrors.ErrorRPCHandlerFailed();
| ^
376 | case 2:
377 | return new rpcErrors.ErrorRPCMessageLength();
378 | case 3:
at constructor_.codeToReason (src/nodes/utils.ts:375:14)
at constructor_.read (node_modules/@matrixai/quic/src/QUICStream.ts:423:31)
at constructor_.read (node_modules/@matrixai/async-init/src/CreateDestroy.ts:203:18)
at constructor_.processStreams (node_modules/@matrixai/quic/src/QUICConnection.ts:982:18)
at node_modules/@matrixai/quic/src/QUICConnection.ts:812:14
at node_modules/@matrixai/async-locks/src/Lock.ts:57:63
at withF (node_modules/@matrixai/resources/src/utils.ts:24:18)
at constructor_.recv (node_modules/@matrixai/quic/src/QUICConnection.ts:731:5)
at Socket.handleSocketMessage (node_modules/@matrixai/quic/src/QUICSocket.ts:117:7)
● VaultManager › with remote agents › pullVault respects locking
ErrorRPCHandlerFailed:
373 | // Rpc errors
374 | case 1:
> 375 | return new rpcErrors.ErrorRPCHandlerFailed();
| ^
376 | case 2:
377 | return new rpcErrors.ErrorRPCMessageLength();
378 | case 3:
at constructor_.codeToReason (src/nodes/utils.ts:375:14)
at constructor_.read (node_modules/@matrixai/quic/src/QUICStream.ts:423:31)
at constructor_.read (node_modules/@matrixai/async-init/src/CreateDestroy.ts:203:18)
at constructor_.processStreams (node_modules/@matrixai/quic/src/QUICConnection.ts:982:18)
at node_modules/@matrixai/quic/src/QUICConnection.ts:812:14
at node_modules/@matrixai/async-locks/src/Lock.ts:57:63
at withF (node_modules/@matrixai/resources/src/utils.ts:24:18)
at constructor_.recv (node_modules/@matrixai/quic/src/QUICConnection.ts:731:5)
at Socket.handleSocketMessage (node_modules/@matrixai/quic/src/QUICSocket.ts:117:7)
● VaultManager › with remote agents › pullVault respects locking
ErrorRPCHandlerFailed:
373 | // Rpc errors
374 | case 1:
> 375 | return new rpcErrors.ErrorRPCHandlerFailed();
| ^
376 | case 2:
377 | return new rpcErrors.ErrorRPCMessageLength();
378 | case 3:
at constructor_.codeToReason (src/nodes/utils.ts:375:14)
at constructor_.read (node_modules/@matrixai/quic/src/QUICStream.ts:423:31)
at constructor_.read (node_modules/@matrixai/async-init/src/CreateDestroy.ts:203:18)
at constructor_.processStreams (node_modules/@matrixai/quic/src/QUICConnection.ts:982:18)
at node_modules/@matrixai/quic/src/QUICConnection.ts:812:14
at node_modules/@matrixai/async-locks/src/Lock.ts:57:63
at withF (node_modules/@matrixai/resources/src/utils.ts:24:18)
at constructor_.recv (node_modules/@matrixai/quic/src/QUICConnection.ts:731:5)
at Socket.handleSocketMessage (node_modules/@matrixai/quic/src/QUICSocket.ts:117:7)
● TaskManager › tasks persist between Tasks stop and starts
ErrorTaskMissing: v0pbfqh89ilo0125nn2jk7sdm9g
444 | signalHandler,
445 | );
> 446 | reject(new tasksErrors.ErrorTaskMissing(taskIdEncoded));
| ^
447 | }
448 | },
449 | (reason) => {
at src/tasks/TaskManager.ts:446:22
● TaskManager › tasks persist between Tasks stop and starts
ErrorTaskManagerQueue:
803 | } catch (e) {
804 | this.queueLogger.error(`Failed queuing loop ${String(e)}`);
> 805 | throw new tasksErrors.ErrorTaskManagerQueue(undefined, { cause: e });
| ^
806 | }
807 | })();
808 | // Cancellation is always a resolution
at src/tasks/TaskManager.ts:805:15
Cause:
ErrorDBTransactionRollbacked:
789 | this.queueLogger.debug(`Begin queuing loop iteration`);
790 | [this.queuingLockReleaser] = await this.queuingLock.lock(ctx)();
> 791 | await this.db.withTransactionF(async (tran) => {
| ^
792 | for await (const [kP] of tran.iterator(this.tasksQueuedDbPath, {
793 | values: false,
794 | })) {
at constructor_.commit (node_modules/@matrixai/db/src/DBTransaction.ts:399:13)
at constructor_.commit (node_modules/@matrixai/async-init/src/CreateDestroy.ts:148:20)
at node_modules/@matrixai/db/src/DB.ts:232:26
at withF (node_modules/@matrixai/resources/src/utils.ts:31:13)
at src/tasks/TaskManager.ts:791:11
● TaskManager › tasks persist between Tasks stop and starts
ErrorTaskManagerScheduler:
741 | } catch (e) {
742 | this.schedulerLogger.error(`Failed scheduling loop ${String(e)}`);
> 743 | throw new tasksErrors.ErrorTaskManagerScheduler(undefined, {
| ^
744 | cause: e,
745 | });
746 | }
at src/tasks/TaskManager.ts:743:15
Cause:
ErrorDBNotRunning:
703 | const now =
704 | Math.trunc(performance.timeOrigin + performance.now()) + 100;
> 705 | await this.db.withTransactionF(async (tran) => {
| ^
706 | // Queue up all the tasks that are scheduled to be executed before `now`
707 | for await (const [kP] of tran.iterator(this.tasksScheduledDbPath, {
708 | // Upper bound of `{lexi(TaskTimestamp + TaskDelay)}/{TaskId}`
at constructor_.withTransactionF (node_modules/@matrixai/db/src/DB.ts:251:24)
at withTransactionF (src/tasks/TaskManager.ts:705:25)
Specification
Currently there are intermittent failures in the CI for the
vaultsdomain andtasksdomain. These need to be investigated and fixed up.Test failures can be found at
The failures are as follows.
Details
Vaults domain failures
tasks domain failures
Tasks