Parent Log:
http://ci.aztec-labs.com/ddf305e3c7df868f
Command: 29957fbe93665d48 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/4608046e462faf9ff3fbee265ba34dbecb5d0b31
Env: REF_NAME=gh-readonly-queue/next/pr-15169-2868628b6ae039db35b4267ab3975abc64a5d9b4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 13:06:55 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
13:06:57 [13:06:57.777]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:06:59 [13:06:59.412]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:01 [13:07:01.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:02 [13:07:02.146]
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
13:07:02 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:07:02 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:07:02 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:07:02 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:07:02 newBlockNumber: 2,
13:07:02 previousBlockNumber: undefined
13:07:02 }
13:07:02 [13:07:02.149]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:03 [13:07:03.171]
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
13:07:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
13:07:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:07:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:07:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:07:03 [13:07:03.174]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:04 [13:07:04.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:05 [13:07:05.505]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:06 [13:07:06.830]
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)
13:07:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
13:07:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:07:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:07:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
13:07:06 [13:07:06.834]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:08 [13:07:08.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:09 [13:07:09.534]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:11 [13:07:11.204]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:12 [13:07:12.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:14 [13:07:14.081]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:15 [13:07:15.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:17 [13:07:17.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:18 [13:07:18.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:21 [13:07:21.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:23 [13:07:23.493]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:25 [13:07:25.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:27 [13:07:27.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:28 [13:07:28.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:30 [13:07:30.373]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:31 [13:07:31.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:33 [13:07:33.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:34 [13:07:34.836]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:36 [13:07:36.372]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:37 [13:07:37.984]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:40 [13:07:40.626]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:43 [13:07:43.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:45 [13:07:45.928]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:48 [13:07:48.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:50 [13:07:50.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:53 [13:07:53.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:55 [13:07:55.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:07:57 [13:07:57.772]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:00 [13:08:00.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:03 [13:08:03.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:05 [13:08:05.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:08 [13:08:08.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:11 [13:08:11.189]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:12 [13:08:12.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:13 [13:08:13.975]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:15 [13:08:15.382]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:16 [13:08:16.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:18 [13:08:18.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:19 [13:08:19.602]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:21 [13:08:21.160]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:22 [13:08:22.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:24 [13:08:24.778]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:26 [13:08:26.531]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:28 [13:08:28.090]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x20259df912128b7566bcaaa6f9d2cd50faa2ab102e71edf4407681fae3b736ca for L2 block 1 has wrong index 10 (expected 0)
13:08:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:08:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:28 inboxMessage: {
13:08:28 index: 10n,
13:08:28 leaf: Fr<0x20259df912128b7566bcaaa6f9d2cd50faa2ab102e71edf4407681fae3b736ca>,
13:08:28 l2BlockNumber: 1,
13:08:28 l1BlockNumber: 62n,
13:08:28 l1BlockHash: Buffer32<0x539867269afd2753738c7bca1fb5d57f51fcb3fb833a9adb63494527e6a62b5a>,
13:08:28 rollingHash: Buffer16<0x37265fcf5c153126a3eaa42cd37946bc>
13:08:28 }
13:08:28 }
13:08:28 [13:08:28.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:29 [13:08:29.784]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0c5eb62995dab30b43d00df9680d7afdea9141385bb412281891fd964f4fd402 at block 12 (expected value in range [176, 192))
13:08:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:08:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:29 inboxMessage: {
13:08:29 index: 224n,
13:08:29 leaf: Fr<0x0c5eb62995dab30b43d00df9680d7afdea9141385bb412281891fd964f4fd402>,
13:08:29 l2BlockNumber: 12,
13:08:29 l1BlockNumber: 95n,
13:08:29 l1BlockHash: Buffer32<0x210f5ff1ae9f94a901f936cd28b184a2693054e5fea0a41bfe1a9f2aa7033416>,
13:08:29 rollingHash: Buffer16<0xb0d6aa155a85ade0c5496c1b2047e161>
13:08:29 }
13:08:29 }
13:08:29 [13:08:29.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:31 [13:08:31.555]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1832b6f8c62631986a3dbcf5873d1dd0bcc9d6290c76f4f399ba9ea7a107928c with index 16 (expected 0xab17b84cab757dbf0abc63d09af2ff21 from previous hash 0xe67790c9f8964790af2a48cf11864fd7 but got 0xbfbd3842d80a4159f98cec0ca04fb935)
13:08:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:08:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:31 inboxMessage: {
13:08:31 index: 16n,
13:08:31 leaf: Fr<0x1832b6f8c62631986a3dbcf5873d1dd0bcc9d6290c76f4f399ba9ea7a107928c>,
13:08:31 l2BlockNumber: 2,
13:08:31 l1BlockNumber: 95n,
13:08:31 l1BlockHash: Buffer32<0x564f4103736fa2f654d4e40e5f3e83d442c2ed7c63987866e30165c5b4682c6a>,
13:08:31 rollingHash: Buffer16<0xbfbd3842d80a4159f98cec0ca04fb935>
13:08:31 }
13:08:31 }
13:08:31 [13:08:31.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:33 [13:08:33.365]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2199d9768843e1b1eae1b4fbb55e78c2ea4d821dea048e8865cbb99e040e0f39 with index 32 (expected 0x82d3a1b42088c287513478a0879a9f23 from previous hash 0x7fa0130068f736ed527664a9846acd03 but got 0xb6acbf4c2dce791dfa9944fa1194659e)
13:08:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
13:08:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:33 inboxMessage: {
13:08:33 index: 32n,
13:08:33 leaf: Fr<0x2199d9768843e1b1eae1b4fbb55e78c2ea4d821dea048e8865cbb99e040e0f39>,
13:08:33 l2BlockNumber: 3,
13:08:33 l1BlockNumber: 69n,
13:08:33 l1BlockHash: Buffer32<0x4d5dec8b729c3e19c32751ae8d10187f6d46d7da3c8ba9ac112c9eca49b24235>,
13:08:33 rollingHash: Buffer16<0xb6acbf4c2dce791dfa9944fa1194659e>
13:08:33 }
13:08:33 }
13:08:33 [13:08:33.367]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:35 [13:08:35.156]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2492930d774d6cbf78e06074a99954214062a2d673d26c5013a60a1a9a8f5d77 at block 17 (expected value in range [256, 272))
13:08:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:08:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:35 inboxMessage: {
13:08:35 index: 356n,
13:08:35 leaf: Fr<0x2492930d774d6cbf78e06074a99954214062a2d673d26c5013a60a1a9a8f5d77>,
13:08:35 l2BlockNumber: 17,
13:08:35 l1BlockNumber: 13n,
13:08:35 l1BlockHash: Buffer32<0x918d2573a6f9e53158fc1a23ee652f6d56fc141185e745832e365b942843967c>,
13:08:35 rollingHash: Buffer16<0xd8f6a4c95811a6f06a27d1f99ad0ad40>
13:08:35 }
13:08:35 }
13:08:35 [13:08:35.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:36 [13:08:36.927]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x235f828486a2a8a6277639c98283c6ba438df4b3523e5d849d77a0887ad2685d for L2 block 15 has wrong index 225 (expected 224)
13:08:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
13:08:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:36 inboxMessage: {
13:08:36 index: 225n,
13:08:36 leaf: Fr<0x235f828486a2a8a6277639c98283c6ba438df4b3523e5d849d77a0887ad2685d>,
13:08:36 l2BlockNumber: 15,
13:08:36 l1BlockNumber: 37n,
13:08:36 l1BlockHash: Buffer32<0x51570831c62a8581d67acad4d0ef73026b8342db04eb812955ca805b67543b5d>,
13:08:36 rollingHash: Buffer16<0xc84088a0905c000be37e6f52c3352e3c>
13:08:36 }
13:08:36 }
13:08:36 [13:08:36.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:38 [13:08:38.649]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0c7fd4f1b93e980af2b82018106eb6f6d6790a7dd0d73651b37ea32c3bbe3c58 at block 2 (expected value in range [16, 32))
13:08:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
13:08:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:08:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:08:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:08:38 inboxMessage: {
13:08:38 index: 32n,
13:08:38 leaf: Fr<0x0c7fd4f1b93e980af2b82018106eb6f6d6790a7dd0d73651b37ea32c3bbe3c58>,
13:08:38 l2BlockNumber: 2,
13:08:38 l1BlockNumber: 85n,
13:08:38 l1BlockHash: Buffer32<0xfb898da42cb364ae4486441ecf8cb17f5d5a2ac063dc00f29705b538452fd36e>,
13:08:38 rollingHash: Buffer16<0xdab81c0fd26cb75c7b7110a846f21613>
13:08:38 }
13:08:38 }
13:08:38 [13:08:38.653]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:40 [13:08:40.513]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
13:08:40 [13:08:40.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:42 [13:08:42.213]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
13:08:42 [13:08:42.234]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:43 [13:08:43.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:45 [13:08:45.781]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:47 [13:08:47.624]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:49 [13:08:49.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:51 [13:08:51.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:52 [13:08:52.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:54 [13:08:54.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:56 [13:08:56.611]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:58 [13:08:58.187]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:08:59 [13:08:59.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:01 [13:09:01.538]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:03 [13:09:03.235]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:04 [13:09:04.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:06 [13:09:06.958]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:08 [13:09:08.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:10 [13:09:10.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:13 [13:09:13.936]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:17 [13:09:17.205]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:21 [13:09:21.003]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:24 [13:09:24.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:29 [13:09:29.993]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:35 [13:09:35.075]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:40 [13:09:40.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:45 [13:09:45.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:50 [13:09:50.648]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:55 [13:09:55.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:09:59 [13:09:59.514]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:10:04
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
187.876 s)
13:10:04 KVArchiverDataStore
13:10:04 ArchiverStore
13:10:04 addBlocks
13:10:04
✓ returns success when adding blocks (1646 ms)
13:10:04
✓ allows duplicate blocks (1692 ms)
13:10:04
✓ throws an error if the previous block does not exist in the store (1047 ms)
13:10:04
✓ throws an error if there is a gap in the blocks being added (1024 ms)
13:10:04 unwindBlocks
13:10:04
✓ unwinding blocks will remove blocks from the chain (1408 ms)
13:10:04
✓ can unwind multiple empty blocks (922 ms)
13:10:04
✓ refuses to unwind blocks if the tip is not the last block (1328 ms)
13:10:04 getBlocks
13:10:04
✓ retrieves previously stored blocks (1468 ms)
13:10:04
✓ retrieves previously stored blocks (1230 ms)
13:10:04
✓ retrieves previously stored blocks (1670 ms)
13:10:04
✓ retrieves previously stored blocks (1606 ms)
13:10:04
✓ retrieves previously stored blocks (1271 ms)
13:10:04
✓ returns an empty array if no blocks are found (1368 ms)
13:10:04
✓ throws an error if limit is invalid (1615 ms)
13:10:04
✓ throws an error if `from` it is out of range (1655 ms)
13:10:04
✓ throws an error if unexpected initial block number is found (2321 ms)
13:10:04
✓ throws an error if a gap is found (2448 ms)
13:10:04 getSyncedL2BlockNumber
13:10:04
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1513 ms)
13:10:04
✓ returns the most recently added block's number (2111 ms)
13:10:04 getSynchPoint
13:10:04
✓ returns undefined if no blocks have been added (1467 ms)
13:10:04
✓ returns the L1 block number in which the most recent L2 block was published (1789 ms)
13:10:04
✓ returns the L1 block number that most recently added messages from inbox (1483 ms)
13:10:04
✓ returns the latest syncpoint if latest message is behind (1474 ms)
13:10:04 addLogs
13:10:04
✓ adds private & public logs (1504 ms)
13:10:04 deleteLogs
13:10:04
✓ deletes private & public logs (1534 ms)
13:10:04 getPrivateLogs
13:10:04
✓ gets added private logs (1611 ms)
13:10:04 getTxEffect
13:10:04
✓ retrieves a previously stored transaction (2642 ms)
13:10:04
✓ retrieves a previously stored transaction (2566 ms)
13:10:04
✓ retrieves a previously stored transaction (2735 ms)
13:10:04
✓ retrieves a previously stored transaction (2436 ms)
13:10:04
✓ retrieves a previously stored transaction (2498 ms)
13:10:04
✓ returns undefined if tx is not found (2180 ms)
13:10:04
✓ tries to retrieves a previously stored transaction after deleted (2182 ms)
13:10:04
✓ tries to retrieves a previously stored transaction after deleted (2548 ms)
13:10:04
✓ tries to retrieves a previously stored transaction after deleted (2687 ms)
13:10:04
✓ tries to retrieves a previously stored transaction after deleted (2641 ms)
13:10:04
✓ tries to retrieves a previously stored transaction after deleted (2634 ms)
13:10:04
✓ returns undefined if tx is not found (2484 ms)
13:10:04
✓ does not fail if the block is unwound while requesting a tx (2968 ms)
13:10:04 L1 to L2 Messages
13:10:04
✓ stores first message ever (1307 ms)
13:10:04
✓ stores single message (1478 ms)
13:10:04
✓ stores and returns messages across different blocks (1406 ms)
13:10:04
✓ stores the same messages again (1304 ms)
13:10:04
✓ stores and returns messages across different blocks with gaps (1417 ms)
13:10:04
✓ stores and returns messages with block numbers larger than a byte (1498 ms)
13:10:04
✓ stores and returns multiple messages per block (1557 ms)
13:10:04
✓ stores messages in multiple operations (1754 ms)
13:10:04
✓ iterates over messages from start index (1864 ms)
13:10:04
✓ iterates over messages in reverse (1752 ms)
13:10:04
✓ throws if messages are added out of order (1562 ms)
13:10:04
✓ throws if block number for the first message is out of order (1694 ms)
13:10:04
✓ throws if rolling hash is not correct (1771 ms)
13:10:04
✓ throws if rolling hash for first message is not correct (1810 ms)
13:10:04
✓ throws if index is not in the correct range (1792 ms)
13:10:04
✓ throws if first index in block has gaps (1764 ms)
13:10:04
✓ throws if index does not follow previous one (1722 ms)
13:10:04
✓ removes messages up to the given block number (1903 ms)
13:10:04
✓ removes messages starting with the given index (1676 ms)
13:10:04 contractInstances
13:10:04
✓ returns previously stored contract instances (1716 ms)
13:10:04
✓ returns undefined if contract instance is not found (1829 ms)
13:10:04
✓ returns undefined if previously stored contract instances was deleted (1843 ms)
13:10:04 contractInstanceUpdates
13:10:04
✓ gets the correct current class id for a contract not updated yet (1751 ms)
13:10:04
✓ gets the correct current class id for a contract that has just been updated (1831 ms)
13:10:04
✓ gets the correct current class id for a contract that was updated in the past (1754 ms)
13:10:04
✓ ignores updates for the wrong contract (1837 ms)
13:10:04
✓ bounds its search to the right contract if more than than one update exists (1813 ms)
13:10:04 contractClasses
13:10:04
✓ returns previously stored contract class (1574 ms)
13:10:04
✓ returns undefined if the initial deployed contract class was deleted (1787 ms)
13:10:04
✓ returns contract class if later "deployment" class was deleted (1564 ms)
13:10:04
✓ returns undefined if contract class is not found (1697 ms)
13:10:04
✓ adds new private functions (1753 ms)
13:10:04
✓ does not duplicate private functions (1967 ms)
13:10:04
✓ adds new utility functions (1903 ms)
13:10:04
✓ does not duplicate utility functions (1845 ms)
13:10:04 getLogsByTags
13:10:04
✓ is possible to batch request private logs via tags (3226 ms)
13:10:04
✓ is possible to batch request all logs (private and public) via tags (3268 ms)
13:10:04
✓ is possible to batch request logs that have the same tag but different content (3799 ms)
13:10:04
✓ is possible to request logs for non-existing tags and determine their position (3333 ms)
13:10:04 getPublicLogs
13:10:04
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5647 ms)
13:10:04
✓ "txHash" filter param is respected (5086 ms)
13:10:04
✓ "fromBlock" and "toBlock" filter params are respected (5043 ms)
13:10:04
✓ "contractAddress" filter param is respected (5338 ms)
13:10:04
✓ "afterLog" filter param is respected (5189 ms)
13:10:04
✓ "txHash" filter param is ignored when "afterLog" is set (4898 ms)
13:10:04
✓ intersecting works (3965 ms)
13:10:04
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4771 ms)
13:10:04
13:10:04
Test Suites: 1 passed, 1 total
13:10:04
Tests: 86 passed, 86 total
13:10:04
Snapshots: 0 total
13:10:04
Time: 187.966 s
13:10:04
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
13:10:04
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?