Parent Log:
http://ci.aztec-labs.com/fb293d5910c3fe73
Command: 02573248fd9c66ba 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/712835e3cfa2ed6f980f2d482aa4b0ae767046a7
Env: REF_NAME=gh-readonly-queue/next/pr-15077-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 21:07:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
21:07:30 [21:07:30.662]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:31 [21:07:31.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:33 [21:07:33.409]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:34 [21:07:34.293]
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
21:07:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:07:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:07:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:07:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:07:34 newBlockNumber: 2,
21:07:34 previousBlockNumber: undefined
21:07:34 }
21:07:34 [21:07:34.296]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:35 [21:07:35.287]
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
21:07:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
21:07:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:07:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:07:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:07:35 [21:07:35.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:36 [21:07:36.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:37 [21:07:37.849]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:39 [21:07:39.261]
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)
21:07:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
21:07:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:07:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:07:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
21:07:39 [21:07:39.268]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:41 [21:07:41.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:42 [21:07:42.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:44 [21:07:44.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:46 [21:07:46.633]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:48 [21:07:48.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:50 [21:07:50.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:52 [21:07:52.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:55 [21:07:55.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:07:57 [21:07:57.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:00 [21:08:00.238]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:01 [21:08:01.659]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:03 [21:08:03.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:05 [21:08:05.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:06 [21:08:06.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:08 [21:08:08.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:09 [21:08:09.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:11 [21:08:11.172]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:12 [21:08:12.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:14 [21:08:14.333]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:17 [21:08:17.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:20 [21:08:20.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:23 [21:08:23.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:26 [21:08:26.021]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:28 [21:08:28.622]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:31 [21:08:31.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:33 [21:08:33.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:36 [21:08:36.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:38 [21:08:38.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:41 [21:08:41.788]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:44 [21:08:44.855]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:47 [21:08:47.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:51 [21:08:51.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:52 [21:08:52.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:54 [21:08:54.474]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:56 [21:08:56.263]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:57 [21:08:57.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:08:59 [21:08:59.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:00 [21:09:00.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:02 [21:09:02.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:04 [21:09:04.534]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:06 [21:09:06.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:08 [21:09:08.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:10 [21:09:10.238]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2522c76bd162bd65c0076e196a44e5cfb51be9b8fc6706aff67cf8c960fdab2d for L2 block 1 has wrong index 10 (expected 0)
21:09:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:09:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:10 inboxMessage: {
21:09:10 index: 10n,
21:09:10 leaf: Fr<0x2522c76bd162bd65c0076e196a44e5cfb51be9b8fc6706aff67cf8c960fdab2d>,
21:09:10 l2BlockNumber: 1,
21:09:10 l1BlockNumber: 6n,
21:09:10 l1BlockHash: Buffer32<0x5d1db0de0124e984d4d21298acba0dc0a36a739e30f1b4987ce6ae71aa1c1bab>,
21:09:10 rollingHash: Buffer16<0x30afdb2fb4989de280485c40bdd5056f>
21:09:10 }
21:09:10 }
21:09:10 [21:09:10.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:12 [21:09:12.185]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x04397ff45019eb1541fd97041c6b00dbede32964128b8c47d5fef482eed01c3a at block 12 (expected value in range [176, 192))
21:09:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:09:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:12 inboxMessage: {
21:09:12 index: 224n,
21:09:12 leaf: Fr<0x04397ff45019eb1541fd97041c6b00dbede32964128b8c47d5fef482eed01c3a>,
21:09:12 l2BlockNumber: 12,
21:09:12 l1BlockNumber: 20n,
21:09:12 l1BlockHash: Buffer32<0x255bc4445426b387ad12fcc8cc08ddec95a179fadb8b29468a99538e33a67240>,
21:09:12 rollingHash: Buffer16<0x08002948d813956bb3815a9260a72f36>
21:09:12 }
21:09:12 }
21:09:12 [21:09:12.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:14 [21:09:14.138]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x013df8cc8e920614014fea7aa2a4c663b91f27d49a06b5d21ab6c032cd139bd6 with index 16 (expected 0x6540c05c3d7d819fe617e89c5e593b96 from previous hash 0x1ddb66e53cb053d8db9369cd0fd0bc71 but got 0x78707711badeb4d9f29760514b2eb3c6)
21:09:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:09:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:14 inboxMessage: {
21:09:14 index: 16n,
21:09:14 leaf: Fr<0x013df8cc8e920614014fea7aa2a4c663b91f27d49a06b5d21ab6c032cd139bd6>,
21:09:14 l2BlockNumber: 2,
21:09:14 l1BlockNumber: 53n,
21:09:14 l1BlockHash: Buffer32<0x09ba7723e00ec6ffaea3c606d2285a3341fa58f3fed19df013fa6f7f043b537d>,
21:09:14 rollingHash: Buffer16<0x78707711badeb4d9f29760514b2eb3c6>
21:09:14 }
21:09:14 }
21:09:14 [21:09:14.142]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:15 [21:09:15.809]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x00f90efd3a67d5a53499cebf2fcd5c66965d896040895da1ec5dca629ae1edc4 with index 32 (expected 0x32ab65e3ffcb994bc419fcde25af9bdd from previous hash 0x62eed199668be9883d7a4fdba774260f but got 0x575e8712ce5718f26696a432d4940c99)
21:09:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
21:09:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:15 inboxMessage: {
21:09:15 index: 32n,
21:09:15 leaf: Fr<0x00f90efd3a67d5a53499cebf2fcd5c66965d896040895da1ec5dca629ae1edc4>,
21:09:15 l2BlockNumber: 3,
21:09:15 l1BlockNumber: 45n,
21:09:15 l1BlockHash: Buffer32<0x86fd44b109e48dcf582052ab25f975fafb01efbfbb498febe690b11c0c65a997>,
21:09:15 rollingHash: Buffer16<0x575e8712ce5718f26696a432d4940c99>
21:09:15 }
21:09:15 }
21:09:15 [21:09:15.823]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:17 [21:09:17.757]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2bb3d871f03164ec66ffcb4cddacd7b939f08ce8c65fddd247b663f045b04908 at block 17 (expected value in range [256, 272))
21:09:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:09:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:17 inboxMessage: {
21:09:17 index: 356n,
21:09:17 leaf: Fr<0x2bb3d871f03164ec66ffcb4cddacd7b939f08ce8c65fddd247b663f045b04908>,
21:09:17 l2BlockNumber: 17,
21:09:17 l1BlockNumber: 21n,
21:09:17 l1BlockHash: Buffer32<0x053d892e9ef4e58468357eca31054b3c49fd018807bdf01d47ec08d7dbc2a084>,
21:09:17 rollingHash: Buffer16<0xbec3f236bcb7966ff859e0fb4948cff6>
21:09:17 }
21:09:17 }
21:09:17 [21:09:17.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:19 [21:09:19.727]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0511bf6acf75db4749c58d6d869bed94af7160801710d9dcc88e50bc6720b3b4 for L2 block 15 has wrong index 225 (expected 224)
21:09:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
21:09:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:19 inboxMessage: {
21:09:19 index: 225n,
21:09:19 leaf: Fr<0x0511bf6acf75db4749c58d6d869bed94af7160801710d9dcc88e50bc6720b3b4>,
21:09:19 l2BlockNumber: 15,
21:09:19 l1BlockNumber: 58n,
21:09:19 l1BlockHash: Buffer32<0x28e51ee7fd967b0ef90c20ebaed16cc8204a6aa802b292c0a0aba69ee734dc71>,
21:09:19 rollingHash: Buffer16<0x2af1204675a4cce21dae4e5d24b57d39>
21:09:19 }
21:09:19 }
21:09:19 [21:09:19.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:21 [21:09:21.648]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x281f06e73c6984997c5450f559ccb56844174c590aca9f8664c7b72c22a524a8 at block 2 (expected value in range [16, 32))
21:09:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
21:09:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:09:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:09:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:09:21 inboxMessage: {
21:09:21 index: 32n,
21:09:21 leaf: Fr<0x281f06e73c6984997c5450f559ccb56844174c590aca9f8664c7b72c22a524a8>,
21:09:21 l2BlockNumber: 2,
21:09:21 l1BlockNumber: 60n,
21:09:21 l1BlockHash: Buffer32<0x169954c8a518596c5da51135c942b7f3b697eef0e0f3e6ddc68d251e50d2b001>,
21:09:21 rollingHash: Buffer16<0x75241a6a768ab428520aeb8d230ffd0c>
21:09:21 }
21:09:21 }
21:09:21 [21:09:21.652]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:23 [21:09:23.551]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
21:09:23 [21:09:23.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:25 [21:09:25.381]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
21:09:25 [21:09:25.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:27 [21:09:27.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:29 [21:09:29.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:30 [21:09:30.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:32 [21:09:32.477]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:34 [21:09:34.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:36 [21:09:36.049]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:37 [21:09:37.821]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:39 [21:09:39.671]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:41 [21:09:41.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:43 [21:09:43.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:45 [21:09:45.198]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:47 [21:09:47.086]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:48 [21:09:48.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:50 [21:09:50.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:52 [21:09:52.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:54 [21:09:54.834]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:09:57 [21:09:57.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:00 [21:10:00.815]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:04 [21:10:04.921]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:08 [21:10:08.505]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:14 [21:10:14.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:19 [21:10:19.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:23 [21:10:23.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:27 [21:10:27.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:32 [21:10:32.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:37 [21:10:37.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:42 [21:10:42.696]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:47
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
198.563 s)
21:10:47 KVArchiverDataStore
21:10:47 ArchiverStore
21:10:47 addBlocks
21:10:47
✓ returns success when adding blocks (1334 ms)
21:10:47
✓ allows duplicate blocks (1422 ms)
21:10:47
✓ throws an error if the previous block does not exist in the store (887 ms)
21:10:47
✓ throws an error if there is a gap in the blocks being added (993 ms)
21:10:47 unwindBlocks
21:10:47
✓ unwinding blocks will remove blocks from the chain (1412 ms)
21:10:47
✓ can unwind multiple empty blocks (1146 ms)
21:10:47
✓ refuses to unwind blocks if the tip is not the last block (1416 ms)
21:10:47 getBlocks
21:10:47
✓ retrieves previously stored blocks (1740 ms)
21:10:47
✓ retrieves previously stored blocks (1687 ms)
21:10:47
✓ retrieves previously stored blocks (2032 ms)
21:10:47
✓ retrieves previously stored blocks (1905 ms)
21:10:47
✓ retrieves previously stored blocks (1916 ms)
21:10:47
✓ returns an empty array if no blocks are found (2126 ms)
21:10:47
✓ throws an error if limit is invalid (2085 ms)
21:10:47
✓ throws an error if `from` it is out of range (2379 ms)
21:10:47
✓ throws an error if unexpected initial block number is found (2426 ms)
21:10:47
✓ throws an error if a gap is found (2660 ms)
21:10:47 getSyncedL2BlockNumber
21:10:47
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1421 ms)
21:10:47
✓ returns the most recently added block's number (1791 ms)
21:10:47 getSynchPoint
21:10:47
✓ returns undefined if no blocks have been added (1646 ms)
21:10:47
✓ returns the L1 block number in which the most recent L2 block was published (1687 ms)
21:10:47
✓ returns the L1 block number that most recently added messages from inbox (1420 ms)
21:10:47
✓ returns the latest syncpoint if latest message is behind (1244 ms)
21:10:47 addLogs
21:10:47
✓ adds private & public logs (1719 ms)
21:10:47 deleteLogs
21:10:47
✓ deletes private & public logs (1739 ms)
21:10:47 getPrivateLogs
21:10:47
✓ gets added private logs (1420 ms)
21:10:47 getTxEffect
21:10:47
✓ retrieves a previously stored transaction (2703 ms)
21:10:47
✓ retrieves a previously stored transaction (3308 ms)
21:10:47
✓ retrieves a previously stored transaction (3111 ms)
21:10:47
✓ retrieves a previously stored transaction (2562 ms)
21:10:47
✓ retrieves a previously stored transaction (2595 ms)
21:10:47
✓ returns undefined if tx is not found (2624 ms)
21:10:47
✓ tries to retrieves a previously stored transaction after deleted (2399 ms)
21:10:47
✓ tries to retrieves a previously stored transaction after deleted (2405 ms)
21:10:47
✓ tries to retrieves a previously stored transaction after deleted (2756 ms)
21:10:47
✓ tries to retrieves a previously stored transaction after deleted (2982 ms)
21:10:47
✓ tries to retrieves a previously stored transaction after deleted (3065 ms)
21:10:47
✓ returns undefined if tx is not found (2929 ms)
21:10:47
✓ does not fail if the block is unwound while requesting a tx (3383 ms)
21:10:47 L1 to L2 Messages
21:10:47
✓ stores first message ever (1602 ms)
21:10:47
✓ stores single message (1701 ms)
21:10:47
✓ stores and returns messages across different blocks (1789 ms)
21:10:47
✓ stores the same messages again (1594 ms)
21:10:47
✓ stores and returns messages across different blocks with gaps (1579 ms)
21:10:47
✓ stores and returns messages with block numbers larger than a byte (1531 ms)
21:10:47
✓ stores and returns multiple messages per block (1716 ms)
21:10:47
✓ stores messages in multiple operations (1844 ms)
21:10:47
✓ iterates over messages from start index (1922 ms)
21:10:47
✓ iterates over messages in reverse (1920 ms)
21:10:47
✓ throws if messages are added out of order (1866 ms)
21:10:47
✓ throws if block number for the first message is out of order (1945 ms)
21:10:47
✓ throws if rolling hash is not correct (1953 ms)
21:10:47
✓ throws if rolling hash for first message is not correct (1670 ms)
21:10:47
✓ throws if index is not in the correct range (1949 ms)
21:10:47
✓ throws if first index in block has gaps (1971 ms)
21:10:47
✓ throws if index does not follow previous one (1916 ms)
21:10:47
✓ removes messages up to the given block number (1950 ms)
21:10:47
✓ removes messages starting with the given index (1799 ms)
21:10:47 contractInstances
21:10:47
✓ returns previously stored contract instances (1785 ms)
21:10:47
✓ returns undefined if contract instance is not found (1845 ms)
21:10:47
✓ returns undefined if previously stored contract instances was deleted (1802 ms)
21:10:47 contractInstanceUpdates
21:10:47
✓ gets the correct current class id for a contract not updated yet (1638 ms)
21:10:47
✓ gets the correct current class id for a contract that has just been updated (1814 ms)
21:10:47
✓ gets the correct current class id for a contract that was updated in the past (1758 ms)
21:10:47
✓ ignores updates for the wrong contract (1771 ms)
21:10:47
✓ bounds its search to the right contract if more than than one update exists (1849 ms)
21:10:47 contractClasses
21:10:47
✓ returns previously stored contract class (1815 ms)
21:10:47
✓ returns undefined if the initial deployed contract class was deleted (1902 ms)
21:10:47
✓ returns contract class if later "deployment" class was deleted (1807 ms)
21:10:47
✓ returns undefined if contract class is not found (1886 ms)
21:10:47
✓ adds new private functions (1703 ms)
21:10:47
✓ does not duplicate private functions (2007 ms)
21:10:47
✓ adds new utility functions (1828 ms)
21:10:47
✓ does not duplicate utility functions (2205 ms)
21:10:47 getLogsByTags
21:10:47
✓ is possible to batch request private logs via tags (3051 ms)
21:10:47
✓ is possible to batch request all logs (private and public) via tags (2929 ms)
21:10:47
✓ is possible to batch request logs that have the same tag but different content (4104 ms)
21:10:47
✓ is possible to request logs for non-existing tags and determine their position (3583 ms)
21:10:47 getPublicLogs
21:10:47
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6285 ms)
21:10:47
✓ "txHash" filter param is respected (4269 ms)
21:10:47
✓ "fromBlock" and "toBlock" filter params are respected (4025 ms)
21:10:47
✓ "contractAddress" filter param is respected (4202 ms)
21:10:47
✓ "afterLog" filter param is respected (5555 ms)
21:10:47
✓ "txHash" filter param is ignored when "afterLog" is set (5148 ms)
21:10:47
✓ intersecting works (4701 ms)
21:10:47
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4796 ms)
21:10:47
21:10:47
Test Suites: 1 passed, 1 total
21:10:47
Tests: 86 passed, 86 total
21:10:47
Snapshots: 0 total
21:10:47
Time: 198.666 s
21:10:47
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
21:10:47
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?