Parent Log:
http://ci.aztec-labs.com/555df5eadc506a3a
Command: 3b26b88555004035 yarn-project/scripts/run_test.sh archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9cf4a24266245fa3ca003adb00e8ae759880c107
Env: REF_NAME=gh-readonly-queue/next/pr-14963-eeab628a4e44477cb6796c5a461ee0c0bb332d75 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 17:09:15 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
17:09:18 [17:09:18.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:19 [17:09:19.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:21 [17:09:21.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:22 [17:09:22.536]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined
17:09:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
17:09:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:09:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:09:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:09:22 newBlockNumber: 2,
17:09:22 previousBlockNumber: undefined
17:09:22 }
17:09:22 [17:09:22.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:24 [17:09:24.041]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1
17:09:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
17:09:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:09:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:09:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:09:24 [17:09:24.058]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:25 [17:09:25.648]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:26 [17:09:26.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:28 [17:09:28.679]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10)
17:09:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
17:09:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:09:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:09:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
17:09:28 [17:09:28.683]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:30 [17:09:30.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:32 [17:09:32.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:34 [17:09:34.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:36 [17:09:36.319]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:38 [17:09:38.472]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:41 [17:09:41.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:43 [17:09:43.498]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:45 [17:09:45.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:47 [17:09:47.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:50 [17:09:50.194]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:51 [17:09:51.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:53 [17:09:53.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:54 [17:09:54.819]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:56 [17:09:56.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:58 [17:09:58.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:59 [17:09:59.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:00 [17:10:00.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:02 [17:10:02.268]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:04 [17:10:04.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:07 [17:10:07.300]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:10 [17:10:10.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:12 [17:10:12.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:15 [17:10:15.286]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:17 [17:10:17.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:20 [17:10:20.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:23 [17:10:23.030]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:26 [17:10:26.066]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:29 [17:10:29.040]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:32 [17:10:32.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:34 [17:10:34.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:37 [17:10:37.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:41 [17:10:41.669]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:43 [17:10:43.332]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:45 [17:10:45.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:46 [17:10:46.741]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:48 [17:10:48.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:49 [17:10:49.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:51 [17:10:51.508]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:53 [17:10:53.181]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:54 [17:10:54.852]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:56 [17:10:56.841]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:58 [17:10:58.843]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:00 [17:11:00.813]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2529539f15c2830bad2275e4b2debe6ba5788481bb230c909d97829ed14722c3 for L2 block 1 has wrong index 10 (expected 0)
17:11:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:11:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:00 inboxMessage: {
17:11:00 index: 10n,
17:11:00 leaf: Fr<0x2529539f15c2830bad2275e4b2debe6ba5788481bb230c909d97829ed14722c3>,
17:11:00 l2BlockNumber: 1,
17:11:00 l1BlockNumber: 33n,
17:11:00 l1BlockHash: Buffer32<0x092e2f9cc0deff0330fb7f9f61a09274e8035b2ed5bdd52edafc022c98e9ffad>,
17:11:00 rollingHash: Buffer16<0xb3d3298cfa62dbcc3600a7d0a8716682>
17:11:00 }
17:11:00 }
17:11:00 [17:11:00.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:02 [17:11:02.736]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1c749bce89760f1652528e33e461cc634e54b8f7090a71891932aeab7f8804f6 at block 12 (expected value in range [176, 192))
17:11:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:11:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:02 inboxMessage: {
17:11:02 index: 224n,
17:11:02 leaf: Fr<0x1c749bce89760f1652528e33e461cc634e54b8f7090a71891932aeab7f8804f6>,
17:11:02 l2BlockNumber: 12,
17:11:02 l1BlockNumber: 86n,
17:11:02 l1BlockHash: Buffer32<0x18ad6881cf26ec90ad9b04b4f47bd35a377dadf7c6156f594e0e9b4444a3ba75>,
17:11:02 rollingHash: Buffer16<0xf22d9aab965362fcfcd84a19ddd7ab4a>
17:11:02 }
17:11:02 }
17:11:02 [17:11:02.740]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:04 [17:11:04.483]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x206558b9c34fe6bc282fae1822c962912eb8a0cb4015f235fc292e9a7743f87a with index 16 (expected 0x2f365f66703ef62f4d104bc52dad0b09 from previous hash 0xf43e64d013ea37c1e2314e2f79edc201 but got 0x318a00c26913e32c288cac3d2b103356)
17:11:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:11:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:04 inboxMessage: {
17:11:04 index: 16n,
17:11:04 leaf: Fr<0x206558b9c34fe6bc282fae1822c962912eb8a0cb4015f235fc292e9a7743f87a>,
17:11:04 l2BlockNumber: 2,
17:11:04 l1BlockNumber: 23n,
17:11:04 l1BlockHash: Buffer32<0x448ff992ae0228ff7ad79c37729b8be061364bc1cdfbd4de760614940be9e3a3>,
17:11:04 rollingHash: Buffer16<0x318a00c26913e32c288cac3d2b103356>
17:11:04 }
17:11:04 }
17:11:04 [17:11:04.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:06 [17:11:06.281]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x210554065943c0f27d192f336dde96f93b25787b42dcc51830e98caee7ee307f with index 32 (expected 0xc912fd505d3a0a072062bdfff63dde3b from previous hash 0xb74352583b412e735b6c4a8324b70283 but got 0x554a77c4544a5f4273cb38a76d11ec27)
17:11:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
17:11:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:06 inboxMessage: {
17:11:06 index: 32n,
17:11:06 leaf: Fr<0x210554065943c0f27d192f336dde96f93b25787b42dcc51830e98caee7ee307f>,
17:11:06 l2BlockNumber: 3,
17:11:06 l1BlockNumber: 66n,
17:11:06 l1BlockHash: Buffer32<0xa84664448a8b6f055978ce6f8847e2adf865cf3aeb111465e59d49bca947b4e8>,
17:11:06 rollingHash: Buffer16<0x554a77c4544a5f4273cb38a76d11ec27>
17:11:06 }
17:11:06 }
17:11:06 [17:11:06.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:08 [17:11:08.119]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x11fa9f96009b586afd4b8362ac5517c305f303e66b08f86cbcaab7a170c94ba0 at block 17 (expected value in range [256, 272))
17:11:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:11:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:08 inboxMessage: {
17:11:08 index: 356n,
17:11:08 leaf: Fr<0x11fa9f96009b586afd4b8362ac5517c305f303e66b08f86cbcaab7a170c94ba0>,
17:11:08 l2BlockNumber: 17,
17:11:08 l1BlockNumber: 83n,
17:11:08 l1BlockHash: Buffer32<0x23335009f9b45d2e8f0a6774ae89d976d463ddc88c50f7f8d02cbf4fec1b8dc9>,
17:11:08 rollingHash: Buffer16<0x18eeaa8026bb02ea72c301cbeadbe4d7>
17:11:08 }
17:11:08 }
17:11:08 [17:11:08.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:10 [17:11:10.273]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x116387e266fa509ff9ae425e5d342703554def042515dd876e86628c4a9eff38 for L2 block 15 has wrong index 225 (expected 224)
17:11:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
17:11:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:10 inboxMessage: {
17:11:10 index: 225n,
17:11:10 leaf: Fr<0x116387e266fa509ff9ae425e5d342703554def042515dd876e86628c4a9eff38>,
17:11:10 l2BlockNumber: 15,
17:11:10 l1BlockNumber: 35n,
17:11:10 l1BlockHash: Buffer32<0x0cbbbb24a6362508e53a4056a08751316ca86cc24f6aaa81d82a45524218dff5>,
17:11:10 rollingHash: Buffer16<0x4aadaf32f2e05a36aa8fc81ccb5a5e51>
17:11:10 }
17:11:10 }
17:11:10 [17:11:10.278]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:12 [17:11:12.271]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x141e90727f61ec92d11f8104e75674161562bcb52cff9ebb6c6d5c5a72cabb0b at block 2 (expected value in range [16, 32))
17:11:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
17:11:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:11:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:11:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:11:12 inboxMessage: {
17:11:12 index: 32n,
17:11:12 leaf: Fr<0x141e90727f61ec92d11f8104e75674161562bcb52cff9ebb6c6d5c5a72cabb0b>,
17:11:12 l2BlockNumber: 2,
17:11:12 l1BlockNumber: 33n,
17:11:12 l1BlockHash: Buffer32<0xfcdcb5cf8ab158386bacc3c9873d1fa847f2fef28cf38dc3a783f5645ac9abd5>,
17:11:12 rollingHash: Buffer16<0x23dbff05fba33b0d4911d3d364f6a540>
17:11:12 }
17:11:12 }
17:11:12 [17:11:12.275]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:14 [17:11:14.349]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
17:11:14 [17:11:14.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:16 [17:11:16.307]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
17:11:16 [17:11:16.325]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:17 [17:11:17.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:19 [17:11:19.612]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:21 [17:11:21.418]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:23 [17:11:23.229]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:24 [17:11:24.972]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:26 [17:11:26.765]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:28 [17:11:28.711]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:30 [17:11:30.545]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:32 [17:11:32.556]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:34 [17:11:34.588]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:36 [17:11:36.644]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:38 [17:11:38.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:40 [17:11:40.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:42 [17:11:42.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:44 [17:11:44.827]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:46 [17:11:46.820]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:50 [17:11:50.334]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:53 [17:11:53.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:11:56 [17:11:56.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:00 [17:12:00.075]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:05 [17:12:05.984]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:11 [17:12:11.243]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:16 [17:12:16.436]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:21 [17:12:21.082]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:25 [17:12:25.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:30 [17:12:30.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:34 [17:12:34.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:12:39
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
202.484 s)
17:12:39 KVArchiverDataStore
17:12:39 ArchiverStore
17:12:39 addBlocks
17:12:39
✓ returns success when adding blocks (1598 ms)
17:12:39
✓ allows duplicate blocks (1394 ms)
17:12:39
✓ throws an error if the previous block does not exist in the store (1237 ms)
17:12:39
✓ throws an error if there is a gap in the blocks being added (1514 ms)
17:12:39 unwindBlocks
17:12:39
✓ unwinding blocks will remove blocks from the chain (1590 ms)
17:12:39
✓ can unwind multiple empty blocks (1273 ms)
17:12:39
✓ refuses to unwind blocks if the tip is not the last block (1762 ms)
17:12:39 getBlocks
17:12:39
✓ retrieves previously stored blocks (1584 ms)
17:12:39
✓ retrieves previously stored blocks (1849 ms)
17:12:39
✓ retrieves previously stored blocks (2164 ms)
17:12:39
✓ retrieves previously stored blocks (2033 ms)
17:12:39
✓ retrieves previously stored blocks (2153 ms)
17:12:39
✓ returns an empty array if no blocks are found (2754 ms)
17:12:39
✓ throws an error if limit is invalid (2270 ms)
17:12:39
✓ throws an error if `from` it is out of range (2129 ms)
17:12:39
✓ throws an error if unexpected initial block number is found (2362 ms)
17:12:39
✓ throws an error if a gap is found (2200 ms)
17:12:39 getSyncedL2BlockNumber
17:12:39
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1638 ms)
17:12:39
✓ returns the most recently added block's number (1875 ms)
17:12:39 getSynchPoint
17:12:39
✓ returns undefined if no blocks have been added (1114 ms)
17:12:39
✓ returns the L1 block number in which the most recent L2 block was published (1514 ms)
17:12:39
✓ returns the L1 block number that most recently added messages from inbox (1723 ms)
17:12:39
✓ returns the latest syncpoint if latest message is behind (1316 ms)
17:12:39 addLogs
17:12:39
✓ adds private & public logs (1335 ms)
17:12:39 deleteLogs
17:12:39
✓ deletes private & public logs (1554 ms)
17:12:39 getPrivateLogs
17:12:39
✓ gets added private logs (1914 ms)
17:12:39 getTxEffect
17:12:39
✓ retrieves a previously stored transaction (3118 ms)
17:12:39
✓ retrieves a previously stored transaction (2735 ms)
17:12:39
✓ retrieves a previously stored transaction (2667 ms)
17:12:39
✓ retrieves a previously stored transaction (2580 ms)
17:12:39
✓ retrieves a previously stored transaction (2501 ms)
17:12:39
✓ returns undefined if tx is not found (2472 ms)
17:12:39
✓ tries to retrieves a previously stored transaction after deleted (2772 ms)
17:12:39
✓ tries to retrieves a previously stored transaction after deleted (3035 ms)
17:12:39
✓ tries to retrieves a previously stored transaction after deleted (2973 ms)
17:12:39
✓ tries to retrieves a previously stored transaction after deleted (2961 ms)
17:12:39
✓ tries to retrieves a previously stored transaction after deleted (2852 ms)
17:12:39
✓ returns undefined if tx is not found (3007 ms)
17:12:39
✓ does not fail if the block is unwound while requesting a tx (3792 ms)
17:12:39 L1 to L2 Messages
17:12:39
✓ stores first message ever (1677 ms)
17:12:39
✓ stores single message (1751 ms)
17:12:39
✓ stores and returns messages across different blocks (1656 ms)
17:12:39
✓ stores the same messages again (1702 ms)
17:12:39
✓ stores and returns messages across different blocks with gaps (1532 ms)
17:12:39
✓ stores and returns messages with block numbers larger than a byte (1524 ms)
17:12:39
✓ stores and returns multiple messages per block (1676 ms)
17:12:39
✓ stores messages in multiple operations (1671 ms)
17:12:39
✓ iterates over messages from start index (1989 ms)
17:12:39
✓ iterates over messages in reverse (1999 ms)
17:12:39
✓ throws if messages are added out of order (1974 ms)
17:12:39
✓ throws if block number for the first message is out of order (1923 ms)
17:12:39
✓ throws if rolling hash is not correct (1746 ms)
17:12:39
✓ throws if rolling hash for first message is not correct (1798 ms)
17:12:39
✓ throws if index is not in the correct range (1838 ms)
17:12:39
✓ throws if first index in block has gaps (2153 ms)
17:12:39
✓ throws if index does not follow previous one (1997 ms)
17:12:39
✓ removes messages up to the given block number (2120 ms)
17:12:39
✓ removes messages starting with the given index (1927 ms)
17:12:39 contractInstances
17:12:39
✓ returns previously stored contract instances (1606 ms)
17:12:39
✓ returns undefined if contract instance is not found (1679 ms)
17:12:39
✓ returns undefined if previously stored contract instances was deleted (1805 ms)
17:12:39 contractInstanceUpdates
17:12:39
✓ gets the correct current class id for a contract not updated yet (1810 ms)
17:12:39
✓ gets the correct current class id for a contract that has just been updated (1744 ms)
17:12:39
✓ gets the correct current class id for a contract that was updated in the past (1791 ms)
17:12:39
✓ ignores updates for the wrong contract (1945 ms)
17:12:39
✓ bounds its search to the right contract if more than than one update exists (1833 ms)
17:12:39 contractClasses
17:12:39
✓ returns previously stored contract class (2010 ms)
17:12:39
✓ returns undefined if the initial deployed contract class was deleted (2031 ms)
17:12:39
✓ returns contract class if later "deployment" class was deleted (2056 ms)
17:12:39
✓ returns undefined if contract class is not found (2063 ms)
17:12:39
✓ adds new private functions (2164 ms)
17:12:39
✓ does not duplicate private functions (1971 ms)
17:12:39
✓ adds new utility functions (1980 ms)
17:12:39
✓ does not duplicate utility functions (1993 ms)
17:12:39 getLogsByTags
17:12:39
✓ is possible to batch request private logs via tags (3514 ms)
17:12:39
✓ is possible to batch request all logs (private and public) via tags (3127 ms)
17:12:39
✓ is possible to batch request logs that have the same tag but different content (3149 ms)
17:12:39
✓ is possible to request logs for non-existing tags and determine their position (3461 ms)
17:12:39 getPublicLogs
17:12:39
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5909 ms)
17:12:39
✓ "txHash" filter param is respected (5258 ms)
17:12:39
✓ "fromBlock" and "toBlock" filter params are respected (5191 ms)
17:12:39
✓ "contractAddress" filter param is respected (4647 ms)
17:12:39
✓ "afterLog" filter param is respected (4689 ms)
17:12:39
✓ "txHash" filter param is ignored when "afterLog" is set (4683 ms)
17:12:39
✓ intersecting works (4200 ms)
17:12:39
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4491 ms)
17:12:39
17:12:39
Test Suites: 1 passed, 1 total
17:12:39
Tests: 86 passed, 86 total
17:12:39
Snapshots: 0 total
17:12:39
Time: 202.592 s
17:12:39
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
17:12:39
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?