Parent Log:
http://ci.aztec-labs.com/25434d047f5ec4fb
Command: 53a3eb771435c939 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/6e3848bbd6845559b55825f0bc64df0673272969
Env: REF_NAME=gh-readonly-queue/next/pr-15167-bae1f0ed01e43b291f60c0888e05ceb15d4bb6f6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 09:37:13 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15167_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
09:37:16 [09:37:16.138]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:17 [09:37:17.800]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:19 [09:37:19.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:21 [09:37:21.160]
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
09:37:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
09:37:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:37:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:37:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:37:21 newBlockNumber: 2,
09:37:21 previousBlockNumber: undefined
09:37:21 }
09:37:21 [09:37:21.168]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:22 [09:37:22.341]
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
09:37:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
09:37:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:37:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:37:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:37:22 [09:37:22.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:23 [09:37:23.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:24 [09:37:24.966]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:26 [09:37:26.479]
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)
09:37:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
09:37:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:37:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:37:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
09:37:26 [09:37:26.482]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:27 [09:37:27.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:29 [09:37:29.295]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:31 [09:37:31.116]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:32 [09:37:32.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:34 [09:37:34.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:36 [09:37:36.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:38 [09:37:38.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:41 [09:37:41.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:43 [09:37:43.001]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:45 [09:37:45.812]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:47 [09:37:47.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:49 [09:37:49.013]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:50 [09:37:50.578]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:52 [09:37:52.242]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:53 [09:37:53.475]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:54 [09:37:54.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:56 [09:37:56.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:57 [09:37:57.646]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:37:59 [09:37:59.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:01 [09:38:01.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:04 [09:38:04.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:07 [09:38:07.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:09 [09:38:09.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:11 [09:38:11.962]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:14 [09:38:14.323]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:16 [09:38:16.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:19 [09:38:19.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:22 [09:38:22.237]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:24 [09:38:24.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:28 [09:38:28.101]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:30 [09:38:30.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:33 [09:38:33.848]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:35 [09:38:35.547]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:37 [09:38:37.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:38 [09:38:38.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:40 [09:38:40.255]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:41 [09:38:41.717]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:43 [09:38:43.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:45 [09:38:45.111]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:46 [09:38:46.960]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:48 [09:38:48.815]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:50 [09:38:50.415]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:52 [09:38:52.236]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2b3d351efe12adf5e8f43d82e9f07bd51879870501fc895ebc7e96442b43f3a0 for L2 block 1 has wrong index 10 (expected 0)
09:38:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:38:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:38:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:38:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:38:52 inboxMessage: {
09:38:52 index: 10n,
09:38:52 leaf: Fr<0x2b3d351efe12adf5e8f43d82e9f07bd51879870501fc895ebc7e96442b43f3a0>,
09:38:52 l2BlockNumber: 1,
09:38:52 l1BlockNumber: 30n,
09:38:52 l1BlockHash: Buffer32<0xf749f18d8f78ef349ee9557a3f6a1cf3db390b90a19412c6596e2435d1f012e0>,
09:38:52 rollingHash: Buffer16<0x4e7206ce40d35c1a061483bf67b03edd>
09:38:52 }
09:38:52 }
09:38:52 [09:38:52.246]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:53 [09:38:53.940]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x23a049e9157991a3a5241759b2213828f976d04faeb3f64768625cc70b5c2d8c at block 12 (expected value in range [176, 192))
09:38:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:38:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:38:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:38:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:38:53 inboxMessage: {
09:38:53 index: 224n,
09:38:53 leaf: Fr<0x23a049e9157991a3a5241759b2213828f976d04faeb3f64768625cc70b5c2d8c>,
09:38:53 l2BlockNumber: 12,
09:38:53 l1BlockNumber: 76n,
09:38:53 l1BlockHash: Buffer32<0xe4054acbf4a14bcdea961668d6fe23b89d3fb1781ddfdb2b8d67c2c50643ff38>,
09:38:53 rollingHash: Buffer16<0x037810e66aa1dec9f4c57eb9d1ddccf5>
09:38:53 }
09:38:53 }
09:38:53 [09:38:53.943]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:55 [09:38:55.782]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x10e96038bce83a2697ba577d2bb35d2eafcc769f3ce3eb1cc5ffea0f84643680 with index 16 (expected 0x4183138475c9faea53a298511b76504e from previous hash 0x5b97f874dc1d9bb322c17790d6601890 but got 0xd87460166807622b722e390e3003b69b)
09:38:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:38:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:38:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:38:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:38:55 inboxMessage: {
09:38:55 index: 16n,
09:38:55 leaf: Fr<0x10e96038bce83a2697ba577d2bb35d2eafcc769f3ce3eb1cc5ffea0f84643680>,
09:38:55 l2BlockNumber: 2,
09:38:55 l1BlockNumber: 83n,
09:38:55 l1BlockHash: Buffer32<0x352978e06e2f09492982cd55781595de2769c238daaf8399b0ca4912543775dc>,
09:38:55 rollingHash: Buffer16<0xd87460166807622b722e390e3003b69b>
09:38:55 }
09:38:55 }
09:38:55 [09:38:55.785]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:57 [09:38:57.696]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2ad0f070768de86e7c7fda26493cdda80350a965dd72ef515101854f783829c0 with index 32 (expected 0x928547890a96d5a6a30fae4da5f14365 from previous hash 0xdd05cdcd0328aa6fa919b9fce72111e1 but got 0x961214f24c2e2022a9e3b8b5a5697b76)
09:38:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
09:38:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:38:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:38:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:38:57 inboxMessage: {
09:38:57 index: 32n,
09:38:57 leaf: Fr<0x2ad0f070768de86e7c7fda26493cdda80350a965dd72ef515101854f783829c0>,
09:38:57 l2BlockNumber: 3,
09:38:57 l1BlockNumber: 54n,
09:38:57 l1BlockHash: Buffer32<0x9d3c8e63ecd2e0560b398ab94394f948d44af39c9a28c5bd8e186607acd0d502>,
09:38:57 rollingHash: Buffer16<0x961214f24c2e2022a9e3b8b5a5697b76>
09:38:57 }
09:38:57 }
09:38:57 [09:38:57.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:38:59 [09:38:59.700]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x03602caa16f350240129f3a93c245a57e0c6fda7521fef5dc2dacd48e2706a0f at block 17 (expected value in range [256, 272))
09:38:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:38:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:38:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:38:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:38:59 inboxMessage: {
09:38:59 index: 356n,
09:38:59 leaf: Fr<0x03602caa16f350240129f3a93c245a57e0c6fda7521fef5dc2dacd48e2706a0f>,
09:38:59 l2BlockNumber: 17,
09:38:59 l1BlockNumber: 80n,
09:38:59 l1BlockHash: Buffer32<0x119419977b31b245f9dea6293ec447412c071d726b363b7864054bc5fedee84a>,
09:38:59 rollingHash: Buffer16<0xf297a224d5796b11e08e7585794995e0>
09:38:59 }
09:38:59 }
09:38:59 [09:38:59.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:01 [09:39:01.586]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2ecab629f3a71be0cba9c794cdb9b16cea03e543b587e12f7673aa0feee7459a for L2 block 15 has wrong index 225 (expected 224)
09:39:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
09:39:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:39:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:39:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:39:01 inboxMessage: {
09:39:01 index: 225n,
09:39:01 leaf: Fr<0x2ecab629f3a71be0cba9c794cdb9b16cea03e543b587e12f7673aa0feee7459a>,
09:39:01 l2BlockNumber: 15,
09:39:01 l1BlockNumber: 65n,
09:39:01 l1BlockHash: Buffer32<0x4b4a8a0760450190b6db596c96eb21beb8ef5932847410f0a9ac4aa44cf13b4f>,
09:39:01 rollingHash: Buffer16<0x4758b28f3f34379ce14faf0455cfe87a>
09:39:01 }
09:39:01 }
09:39:01 [09:39:01.589]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:03 [09:39:03.288]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x10848898a3be76ecf9e16c4408f7bbb526457dd0aaea14badc82179876d48bf5 at block 2 (expected value in range [16, 32))
09:39:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
09:39:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:39:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:39:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:39:03 inboxMessage: {
09:39:03 index: 32n,
09:39:03 leaf: Fr<0x10848898a3be76ecf9e16c4408f7bbb526457dd0aaea14badc82179876d48bf5>,
09:39:03 l2BlockNumber: 2,
09:39:03 l1BlockNumber: 48n,
09:39:03 l1BlockHash: Buffer32<0x4399d63853a33c02f30fdb884700ff73e9f91d7a6e2bec3562a92fbb474aa547>,
09:39:03 rollingHash: Buffer16<0x57071060af68542bc22e5aba5ecd9428>
09:39:03 }
09:39:03 }
09:39:03 [09:39:03.292]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:05 [09:39:05.163]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
09:39:05 [09:39:05.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:07 [09:39:07.139]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
09:39:07 [09:39:07.154]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:08 [09:39:08.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:10 [09:39:10.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:12 [09:39:12.220]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:14 [09:39:14.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:15 [09:39:15.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:17 [09:39:17.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:19 [09:39:19.687]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:21 [09:39:21.554]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:23 [09:39:23.318]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:25 [09:39:25.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:27 [09:39:27.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:29 [09:39:29.049]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:31 [09:39:31.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:33 [09:39:33.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:35 [09:39:35.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:37 [09:39:37.011]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:40 [09:39:40.321]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:43 [09:39:43.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:47 [09:39:47.390]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:50 [09:39:50.659]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:39:56 [09:39:56.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:00 [09:40:00.546]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:05 [09:40:05.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:11 [09:40:11.344]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:16 [09:40:16.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:20 [09:40:20.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:25 [09:40:25.567]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:40:29
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
195.314 s)
09:40:29 KVArchiverDataStore
09:40:29 ArchiverStore
09:40:29 addBlocks
09:40:29
✓ returns success when adding blocks (1659 ms)
09:40:29
✓ allows duplicate blocks (2050 ms)
09:40:29
✓ throws an error if the previous block does not exist in the store (1320 ms)
09:40:29
✓ throws an error if there is a gap in the blocks being added (1179 ms)
09:40:29 unwindBlocks
09:40:29
✓ unwinding blocks will remove blocks from the chain (1513 ms)
09:40:29
✓ can unwind multiple empty blocks (1105 ms)
09:40:29
✓ refuses to unwind blocks if the tip is not the last block (1515 ms)
09:40:29 getBlocks
09:40:29
✓ retrieves previously stored blocks (1323 ms)
09:40:29
✓ retrieves previously stored blocks (1488 ms)
09:40:29
✓ retrieves previously stored blocks (1821 ms)
09:40:29
✓ retrieves previously stored blocks (1723 ms)
09:40:29
✓ retrieves previously stored blocks (1543 ms)
09:40:29
✓ returns an empty array if no blocks are found (1838 ms)
09:40:29
✓ throws an error if limit is invalid (2614 ms)
09:40:29
✓ throws an error if `from` it is out of range (2307 ms)
09:40:29
✓ throws an error if unexpected initial block number is found (1857 ms)
09:40:29
✓ throws an error if a gap is found (2811 ms)
09:40:29 getSyncedL2BlockNumber
09:40:29
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1337 ms)
09:40:29
✓ returns the most recently added block's number (1862 ms)
09:40:29 getSynchPoint
09:40:29
✓ returns undefined if no blocks have been added (1565 ms)
09:40:29
✓ returns the L1 block number in which the most recent L2 block was published (1656 ms)
09:40:29
✓ returns the L1 block number that most recently added messages from inbox (1239 ms)
09:40:29
✓ returns the latest syncpoint if latest message is behind (1316 ms)
09:40:29 addLogs
09:40:29
✓ adds private & public logs (1332 ms)
09:40:29 deleteLogs
09:40:29
✓ deletes private & public logs (1516 ms)
09:40:29 getPrivateLogs
09:40:29
✓ gets added private logs (1437 ms)
09:40:29 getTxEffect
09:40:29
✓ retrieves a previously stored transaction (2636 ms)
09:40:29
✓ retrieves a previously stored transaction (2483 ms)
09:40:29
✓ retrieves a previously stored transaction (2911 ms)
09:40:29
✓ retrieves a previously stored transaction (2551 ms)
09:40:29
✓ retrieves a previously stored transaction (2299 ms)
09:40:29
✓ returns undefined if tx is not found (2362 ms)
09:40:29
✓ tries to retrieves a previously stored transaction after deleted (2648 ms)
09:40:29
✓ tries to retrieves a previously stored transaction after deleted (2496 ms)
09:40:29
✓ tries to retrieves a previously stored transaction after deleted (2767 ms)
09:40:29
✓ tries to retrieves a previously stored transaction after deleted (2696 ms)
09:40:29
✓ tries to retrieves a previously stored transaction after deleted (3167 ms)
09:40:29
✓ returns undefined if tx is not found (2538 ms)
09:40:29
✓ does not fail if the block is unwound while requesting a tx (3207 ms)
09:40:29 L1 to L2 Messages
09:40:29
✓ stores first message ever (1698 ms)
09:40:29
✓ stores single message (1645 ms)
09:40:29
✓ stores and returns messages across different blocks (1511 ms)
09:40:29
✓ stores the same messages again (1550 ms)
09:40:29
✓ stores and returns messages across different blocks with gaps (1459 ms)
09:40:29
✓ stores and returns messages with block numbers larger than a byte (1618 ms)
09:40:29
✓ stores and returns multiple messages per block (1776 ms)
09:40:29
✓ stores messages in multiple operations (1850 ms)
09:40:29
✓ iterates over messages from start index (1852 ms)
09:40:29
✓ iterates over messages in reverse (1604 ms)
09:40:29
✓ throws if messages are added out of order (1824 ms)
09:40:29
✓ throws if block number for the first message is out of order (1702 ms)
09:40:29
✓ throws if rolling hash is not correct (1841 ms)
09:40:29
✓ throws if rolling hash for first message is not correct (1913 ms)
09:40:29
✓ throws if index is not in the correct range (2003 ms)
09:40:29
✓ throws if first index in block has gaps (1885 ms)
09:40:29
✓ throws if index does not follow previous one (1702 ms)
09:40:29
✓ removes messages up to the given block number (1909 ms)
09:40:29
✓ removes messages starting with the given index (1953 ms)
09:40:29 contractInstances
09:40:29
✓ returns previously stored contract instances (1693 ms)
09:40:29
✓ returns undefined if contract instance is not found (1701 ms)
09:40:29
✓ returns undefined if previously stored contract instances was deleted (1671 ms)
09:40:29 contractInstanceUpdates
09:40:29
✓ gets the correct current class id for a contract not updated yet (1850 ms)
09:40:29
✓ gets the correct current class id for a contract that has just been updated (1866 ms)
09:40:29
✓ gets the correct current class id for a contract that was updated in the past (1926 ms)
09:40:29
✓ ignores updates for the wrong contract (1823 ms)
09:40:29
✓ bounds its search to the right contract if more than than one update exists (1865 ms)
09:40:29 contractClasses
09:40:29
✓ returns previously stored contract class (1764 ms)
09:40:29
✓ returns undefined if the initial deployed contract class was deleted (1824 ms)
09:40:29
✓ returns contract class if later "deployment" class was deleted (1955 ms)
09:40:29
✓ returns undefined if contract class is not found (1950 ms)
09:40:29
✓ adds new private functions (2061 ms)
09:40:29
✓ does not duplicate private functions (1952 ms)
09:40:29
✓ adds new utility functions (2025 ms)
09:40:29
✓ does not duplicate utility functions (1922 ms)
09:40:29 getLogsByTags
09:40:29
✓ is possible to batch request private logs via tags (3309 ms)
09:40:29
✓ is possible to batch request all logs (private and public) via tags (3237 ms)
09:40:29
✓ is possible to batch request logs that have the same tag but different content (3830 ms)
09:40:29
✓ is possible to request logs for non-existing tags and determine their position (3267 ms)
09:40:29 getPublicLogs
09:40:29
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5661 ms)
09:40:29
✓ "txHash" filter param is respected (4227 ms)
09:40:29
✓ "fromBlock" and "toBlock" filter params are respected (5151 ms)
09:40:29
✓ "contractAddress" filter param is respected (5644 ms)
09:40:29
✓ "afterLog" filter param is respected (4847 ms)
09:40:29
✓ "txHash" filter param is ignored when "afterLog" is set (4575 ms)
09:40:29
✓ intersecting works (4800 ms)
09:40:29
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4288 ms)
09:40:29
09:40:29
Test Suites: 1 passed, 1 total
09:40:29
Tests: 86 passed, 86 total
09:40:29
Snapshots: 0 total
09:40:29
Time: 195.414 s
09:40:29
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
09:40:29
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?