Parent Log:
http://ci.aztec-labs.com/4fd629c3accd1cc5
Command: 9c87e3b98c85c9a9 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/7763eef5eb7f045b9184a0a4591b394296eb3aa8
Env: REF_NAME=gh-readonly-queue/next/pr-14770-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:05:50 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14770_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:05:53 [15:05:53.057]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:05:54 [15:05:54.795]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:05:56 [15:05:56.809]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:05:58 [15:05:58.119]
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
15:05:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:05:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:05:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:05:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:05:58 newBlockNumber: 2,
15:05:58 previousBlockNumber: undefined
15:05:58 }
15:05:58 [15:05:58.124]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:05:59 [15:05:59.471]
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
15:05:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
15:05:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:05:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:05:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:05:59 [15:05:59.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:01 [15:06:01.265]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:02 [15:06:02.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:04 [15:06:04.011]
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)
15:06:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
15:06:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:06:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:06:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:06:04 [15:06:04.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:05 [15:06:05.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:07 [15:06:07.559]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:09 [15:06:09.807]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:12 [15:06:12.218]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:14 [15:06:14.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:17 [15:06:17.856]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:20 [15:06:20.097]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:22 [15:06:22.548]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:24 [15:06:24.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:26 [15:06:26.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:28 [15:06:28.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:30 [15:06:30.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:31 [15:06:31.383]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:33 [15:06:33.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:34 [15:06:34.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:36 [15:06:36.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:37 [15:06:37.898]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:39 [15:06:39.442]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:41 [15:06:41.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:45 [15:06:45.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:47 [15:06:47.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:50 [15:06:50.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:53 [15:06:53.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:55 [15:06:55.438]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:06:58 [15:06:58.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:00 [15:07:00.910]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:04 [15:07:04.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:07 [15:07:07.285]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:10 [15:07:10.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:13 [15:07:13.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:16 [15:07:16.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:20 [15:07:20.718]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:22 [15:07:22.227]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:23 [15:07:23.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:25 [15:07:25.733]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:27 [15:07:27.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:29 [15:07:29.413]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:31 [15:07:31.125]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:32 [15:07:32.650]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:34 [15:07:34.577]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:36 [15:07:36.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:38 [15:07:38.300]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:40 [15:07:40.274]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0b968a37668d9d59d8dd33ada619e408aa6fc23ecd93b51c45826c8d325d284a for L2 block 1 has wrong index 10 (expected 0)
15:07:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:07:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:40 inboxMessage: {
15:07:40 index: 10n,
15:07:40 leaf: Fr<0x0b968a37668d9d59d8dd33ada619e408aa6fc23ecd93b51c45826c8d325d284a>,
15:07:40 l2BlockNumber: 1,
15:07:40 l1BlockNumber: 80n,
15:07:40 l1BlockHash: Buffer32<0x8bcc694682b46280a01df320518854224f8273984c733f702de71135a3483bd3>,
15:07:40 rollingHash: Buffer16<0xbb14525ee16d13fc11c87c7248eb9c57>
15:07:40 }
15:07:40 }
15:07:40 [15:07:40.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:42 [15:07:42.180]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0d5c06e230ee27a9e5dc6247862a00b1b626e0d7a3b1de6c5a7dbeb5a6aa1087 at block 12 (expected value in range [176, 192))
15:07:42 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:07:42 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:42 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:42 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:42 inboxMessage: {
15:07:42 index: 224n,
15:07:42 leaf: Fr<0x0d5c06e230ee27a9e5dc6247862a00b1b626e0d7a3b1de6c5a7dbeb5a6aa1087>,
15:07:42 l2BlockNumber: 12,
15:07:42 l1BlockNumber: 59n,
15:07:42 l1BlockHash: Buffer32<0x1285b399964dddf23d61abd1ba070d401ae9ca79d4e0528f793697a1143a0bf2>,
15:07:42 rollingHash: Buffer16<0x441d90f7e350c581dfdaf7e46e55d507>
15:07:42 }
15:07:42 }
15:07:42 [15:07:42.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:43 [15:07:43.688]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x050825afece9a5a502cfa9659ae972bec70b559432bc1616dd04f3b64e22b7ef with index 16 (expected 0x900613bca01b3cda88fd27fafe84b414 from previous hash 0xce013fe503ebe11107d81596114b4d7a but got 0x66665ec95942e3498c5d61ed3df50907)
15:07:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:07:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:43 inboxMessage: {
15:07:43 index: 16n,
15:07:43 leaf: Fr<0x050825afece9a5a502cfa9659ae972bec70b559432bc1616dd04f3b64e22b7ef>,
15:07:43 l2BlockNumber: 2,
15:07:43 l1BlockNumber: 56n,
15:07:43 l1BlockHash: Buffer32<0x3a0b402107dd68b3d7e9ca572fc839abbf4d321b66b28d771093b850793768bb>,
15:07:43 rollingHash: Buffer16<0x66665ec95942e3498c5d61ed3df50907>
15:07:43 }
15:07:43 }
15:07:43 [15:07:43.697]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:45 [15:07:45.304]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x163dd5482cc2f8441921980416ef5e43d8d56bf3c97d6ee962d2077c70703659 with index 32 (expected 0x52ac2be21ef222d007e7dffe4af76ee5 from previous hash 0x705fd71ff3d6c30b7a4ddab0524a3a06 but got 0x52f3ca6c00f857293e7a8f79fb9613ad)
15:07:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:07:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:45 inboxMessage: {
15:07:45 index: 32n,
15:07:45 leaf: Fr<0x163dd5482cc2f8441921980416ef5e43d8d56bf3c97d6ee962d2077c70703659>,
15:07:45 l2BlockNumber: 3,
15:07:45 l1BlockNumber: 14n,
15:07:45 l1BlockHash: Buffer32<0x6552340b6802f5c5b80cc333974148c45731d861f782da5a7718c113b6f92b64>,
15:07:45 rollingHash: Buffer16<0x52f3ca6c00f857293e7a8f79fb9613ad>
15:07:45 }
15:07:45 }
15:07:45 [15:07:45.312]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:47 [15:07:47.004]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x151846297a4c35a558613a37a2dd3435ac4719b2ca98f0be255c5e9415735594 at block 17 (expected value in range [256, 272))
15:07:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:07:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:47 inboxMessage: {
15:07:47 index: 356n,
15:07:47 leaf: Fr<0x151846297a4c35a558613a37a2dd3435ac4719b2ca98f0be255c5e9415735594>,
15:07:47 l2BlockNumber: 17,
15:07:47 l1BlockNumber: 83n,
15:07:47 l1BlockHash: Buffer32<0x93e0109393c217e8e549015d0d3ac6636bf34707b7cb00d3157de78953f807cc>,
15:07:47 rollingHash: Buffer16<0xc981e5dd8cb223c1f4ef031daf7c4aaa>
15:07:47 }
15:07:47 }
15:07:47 [15:07:47.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:48 [15:07:48.661]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0a3c1a48610732b5415483a28c9ee7815c93ae4546d7afea23b66b6ef156ef50 for L2 block 15 has wrong index 225 (expected 224)
15:07:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:07:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:48 inboxMessage: {
15:07:48 index: 225n,
15:07:48 leaf: Fr<0x0a3c1a48610732b5415483a28c9ee7815c93ae4546d7afea23b66b6ef156ef50>,
15:07:48 l2BlockNumber: 15,
15:07:48 l1BlockNumber: 6n,
15:07:48 l1BlockHash: Buffer32<0x10c7383bfa186aae5d0800334363f18c0a6b120d5bfdfe4de3c124a3ea2ccff4>,
15:07:48 rollingHash: Buffer16<0x3485b5263a2cf4a93ceebb52808e42b4>
15:07:48 }
15:07:48 }
15:07:48 [15:07:48.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:50 [15:07:50.436]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0c0c1d6825cf7149ce2ef51332eca3462e9f38a11edec6e6e7da947add714050 at block 2 (expected value in range [16, 32))
15:07:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:07:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:50 inboxMessage: {
15:07:50 index: 32n,
15:07:50 leaf: Fr<0x0c0c1d6825cf7149ce2ef51332eca3462e9f38a11edec6e6e7da947add714050>,
15:07:50 l2BlockNumber: 2,
15:07:50 l1BlockNumber: 6n,
15:07:50 l1BlockHash: Buffer32<0x70ce246c3e74f8115d92bd60f00a4ca7740de40fb19c13411236a481f07dbbce>,
15:07:50 rollingHash: Buffer16<0xaa5884a5d68ce911a181399e4bbb338a>
15:07:50 }
15:07:50 }
15:07:50 [15:07:50.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:52 [15:07:52.422]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:07:52 [15:07:52.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:54 [15:07:54.351]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:07:54 [15:07:54.368]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:56 [15:07:56.049]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:57 [15:07:57.808]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:59 [15:07:59.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:01 [15:08:01.292]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:03 [15:08:03.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:04 [15:08:04.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:07 [15:08:07.082]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:09 [15:08:09.024]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:11 [15:08:11.067]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:13 [15:08:13.030]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:15 [15:08:15.147]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:17 [15:08:17.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:19 [15:08:19.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:21 [15:08:21.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:23 [15:08:23.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:25 [15:08:25.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:29 [15:08:29.084]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:32 [15:08:32.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:35 [15:08:35.175]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:38 [15:08:38.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:43 [15:08:43.961]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:49 [15:08:49.326]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:54 [15:08:54.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:58 [15:08:58.953]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:03 [15:09:03.004]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:07 [15:09:07.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:11 [15:09:11.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:15
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
204.205 s)
15:09:15 KVArchiverDataStore
15:09:15 ArchiverStore
15:09:15 addBlocks
15:09:15
✓ returns success when adding blocks (1759 ms)
15:09:15
✓ allows duplicate blocks (2014 ms)
15:09:15
✓ throws an error if the previous block does not exist in the store (1315 ms)
15:09:15
✓ throws an error if there is a gap in the blocks being added (1351 ms)
15:09:15 unwindBlocks
15:09:15
✓ unwinding blocks will remove blocks from the chain (1786 ms)
15:09:15
✓ can unwind multiple empty blocks (1246 ms)
15:09:15
✓ refuses to unwind blocks if the tip is not the last block (1504 ms)
15:09:15 getBlocks
15:09:15
✓ retrieves previously stored blocks (1668 ms)
15:09:15
✓ retrieves previously stored blocks (1876 ms)
15:09:15
✓ retrieves previously stored blocks (2245 ms)
15:09:15
✓ retrieves previously stored blocks (2408 ms)
15:09:15
✓ retrieves previously stored blocks (2588 ms)
15:09:15
✓ returns an empty array if no blocks are found (3045 ms)
15:09:15
✓ throws an error if limit is invalid (2236 ms)
15:09:15
✓ throws an error if `from` it is out of range (2454 ms)
15:09:15
✓ throws an error if unexpected initial block number is found (1870 ms)
15:09:15
✓ throws an error if a gap is found (2319 ms)
15:09:15 getSyncedL2BlockNumber
15:09:15
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1690 ms)
15:09:15
✓ returns the most recently added block's number (1738 ms)
15:09:15 getSynchPoint
15:09:15
✓ returns undefined if no blocks have been added (1212 ms)
15:09:15
✓ returns the L1 block number in which the most recent L2 block was published (1762 ms)
15:09:15
✓ returns the L1 block number that most recently added messages from inbox (1623 ms)
15:09:15
✓ returns the latest syncpoint if latest message is behind (1619 ms)
15:09:15 addLogs
15:09:15
✓ adds private & public logs (1508 ms)
15:09:15 deleteLogs
15:09:15
✓ deletes private & public logs (1543 ms)
15:09:15 getPrivateLogs
15:09:15
✓ gets added private logs (2075 ms)
15:09:15 getTxEffect
15:09:15
✓ retrieves a previously stored transaction (3581 ms)
15:09:15
✓ retrieves a previously stored transaction (2595 ms)
15:09:15
✓ retrieves a previously stored transaction (2715 ms)
15:09:15
✓ retrieves a previously stored transaction (2607 ms)
15:09:15
✓ retrieves a previously stored transaction (2417 ms)
15:09:15
✓ returns undefined if tx is not found (2782 ms)
15:09:15
✓ tries to retrieves a previously stored transaction after deleted (2688 ms)
15:09:15
✓ tries to retrieves a previously stored transaction after deleted (3192 ms)
15:09:15
✓ tries to retrieves a previously stored transaction after deleted (3181 ms)
15:09:15
✓ tries to retrieves a previously stored transaction after deleted (3195 ms)
15:09:15
✓ tries to retrieves a previously stored transaction after deleted (3198 ms)
15:09:15
✓ returns undefined if tx is not found (3027 ms)
15:09:15
✓ does not fail if the block is unwound while requesting a tx (4008 ms)
15:09:15 L1 to L2 Messages
15:09:15
✓ stores first message ever (1509 ms)
15:09:15
✓ stores single message (1745 ms)
15:09:15
✓ stores and returns messages across different blocks (1759 ms)
15:09:15
✓ stores the same messages again (1809 ms)
15:09:15
✓ stores and returns messages across different blocks with gaps (1860 ms)
15:09:15
✓ stores and returns messages with block numbers larger than a byte (1711 ms)
15:09:15
✓ stores and returns multiple messages per block (1531 ms)
15:09:15
✓ stores messages in multiple operations (1926 ms)
15:09:15
✓ iterates over messages from start index (1631 ms)
15:09:15
✓ iterates over messages in reverse (2090 ms)
15:09:15
✓ throws if messages are added out of order (1978 ms)
15:09:15
✓ throws if block number for the first message is out of order (1906 ms)
15:09:15
✓ throws if rolling hash is not correct (1507 ms)
15:09:15
✓ throws if rolling hash for first message is not correct (1614 ms)
15:09:15
✓ throws if index is not in the correct range (1699 ms)
15:09:15
✓ throws if first index in block has gaps (1656 ms)
15:09:15
✓ throws if index does not follow previous one (1776 ms)
15:09:15
✓ removes messages up to the given block number (2027 ms)
15:09:15
✓ removes messages starting with the given index (1899 ms)
15:09:15 contractInstances
15:09:15
✓ returns previously stored contract instances (1680 ms)
15:09:15
✓ returns undefined if contract instance is not found (1757 ms)
15:09:15
✓ returns undefined if previously stored contract instances was deleted (1579 ms)
15:09:15 contractInstanceUpdates
15:09:15
✓ gets the correct current class id for a contract not updated yet (1902 ms)
15:09:15
✓ gets the correct current class id for a contract that has just been updated (1829 ms)
15:09:15
✓ gets the correct current class id for a contract that was updated in the past (1850 ms)
15:09:15
✓ ignores updates for the wrong contract (2109 ms)
15:09:15
✓ bounds its search to the right contract if more than than one update exists (1931 ms)
15:09:15 contractClasses
15:09:15
✓ returns previously stored contract class (2050 ms)
15:09:15
✓ returns undefined if the initial deployed contract class was deleted (1958 ms)
15:09:15
✓ returns contract class if later "deployment" class was deleted (2117 ms)
15:09:15
✓ returns undefined if contract class is not found (1944 ms)
15:09:15
✓ adds new private functions (2028 ms)
15:09:15
✓ does not duplicate private functions (2244 ms)
15:09:15
✓ adds new utility functions (2061 ms)
15:09:15
✓ does not duplicate utility functions (2158 ms)
15:09:15 getLogsByTags
15:09:15
✓ is possible to batch request private logs via tags (3496 ms)
15:09:15
✓ is possible to batch request all logs (private and public) via tags (3245 ms)
15:09:15
✓ is possible to batch request logs that have the same tag but different content (2845 ms)
15:09:15
✓ is possible to request logs for non-existing tags and determine their position (3006 ms)
15:09:15 getPublicLogs
15:09:15
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5777 ms)
15:09:15
✓ "txHash" filter param is respected (5364 ms)
15:09:15
✓ "fromBlock" and "toBlock" filter params are respected (4893 ms)
15:09:15
✓ "contractAddress" filter param is respected (4732 ms)
15:09:15
✓ "afterLog" filter param is respected (4051 ms)
15:09:15
✓ "txHash" filter param is ignored when "afterLog" is set (4376 ms)
15:09:15
✓ intersecting works (4238 ms)
15:09:15
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3850 ms)
15:09:15
15:09:15
Test Suites: 1 passed, 1 total
15:09:15
Tests: 86 passed, 86 total
15:09:15
Snapshots: 0 total
15:09:15
Time: 204.298 s
15:09:15
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
15:09:15
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?