Parent Log:
http://ci.aztec-labs.com/6cc9fa695c7cfc03
Command: 4ef547fa5e299294 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/d4893155ff105399557b55c16450c39921c70d11
Env: REF_NAME=gh-readonly-queue/next/pr-15218-7edf16da6c056f9499e2dfd9c71fb9b7580f9bfc CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 10:27:14 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15218_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:27:17 [10:27:17.388]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:18 [10:27:18.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:20 [10:27:20.479]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:21 [10:27:21.553]
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
10:27:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:27:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:27:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:27:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:27:21 newBlockNumber: 2,
10:27:21 previousBlockNumber: undefined
10:27:21 }
10:27:21 [10:27:21.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:22 [10:27:22.894]
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
10:27:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
10:27:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:27:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:27:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:27:22 [10:27:22.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:24 [10:27:24.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:25 [10:27:25.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:26 [10:27:26.870]
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)
10:27:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
10:27:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:27:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:27:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:27:26 [10:27:26.872]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:28 [10:27:28.180]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:29 [10:27:29.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:31 [10:27:31.513]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:33 [10:27:33.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:35 [10:27:35.024]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:36 [10:27:36.574]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:38 [10:27:38.139]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:40 [10:27:40.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:42 [10:27:42.457]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:45 [10:27:45.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:46 [10:27:46.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:49 [10:27:49.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:50 [10:27:50.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:53 [10:27:53.126]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:54 [10:27:54.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:55 [10:27:55.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:57 [10:27:57.702]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:27:59 [10:27:59.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:00 [10:28:00.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:03 [10:28:03.724]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:06 [10:28:06.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:08 [10:28:08.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:11 [10:28:11.427]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:13 [10:28:13.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:16 [10:28:16.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:18 [10:28:18.867]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:21 [10:28:21.370]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:23 [10:28:23.854]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:26 [10:28:26.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:29 [10:28:29.636]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:32 [10:28:32.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:35 [10:28:35.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:36 [10:28:36.684]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:38 [10:28:38.294]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:39 [10:28:39.725]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:41 [10:28:41.277]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:42 [10:28:42.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:44 [10:28:44.322]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:46 [10:28:46.007]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:47 [10:28:47.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:49 [10:28:49.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:51 [10:28:51.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:53 [10:28:53.074]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x23f6a98ba8e5a780153e6fbaa704c428db373d7778ca87e40c49b509f263b1c2 for L2 block 1 has wrong index 10 (expected 0)
10:28:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:28:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:28:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:28:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:28:53 inboxMessage: {
10:28:53 index: 10n,
10:28:53 leaf: Fr<0x23f6a98ba8e5a780153e6fbaa704c428db373d7778ca87e40c49b509f263b1c2>,
10:28:53 l2BlockNumber: 1,
10:28:53 l1BlockNumber: 63n,
10:28:53 l1BlockHash: Buffer32<0xdb5741fc7bfa6ddd15a5c4ffa29bf571ef2ddeb87acd4de85f42ea8a95112815>,
10:28:53 rollingHash: Buffer16<0x0af942dc8b42058792173a64da15883f>
10:28:53 }
10:28:53 }
10:28:53 [10:28:53.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:54 [10:28:54.832]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0447a8fd09d3c14a03078dbd4579bf7b61f1bf3e2eda1166d075242f9967626d at block 12 (expected value in range [176, 192))
10:28:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:28:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:28:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:28:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:28:54 inboxMessage: {
10:28:54 index: 224n,
10:28:54 leaf: Fr<0x0447a8fd09d3c14a03078dbd4579bf7b61f1bf3e2eda1166d075242f9967626d>,
10:28:54 l2BlockNumber: 12,
10:28:54 l1BlockNumber: 72n,
10:28:54 l1BlockHash: Buffer32<0x1b753c713d871e1eb18655ad316a882257d148a5f30ba344210d131c0c783ea3>,
10:28:54 rollingHash: Buffer16<0x3dc7716439da67410671599eceafcaad>
10:28:54 }
10:28:54 }
10:28:54 [10:28:54.835]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:56 [10:28:56.586]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1357435c77911d390b705120c30d21ae9a0c35cd6075101a7c669abe1fb4b4c8 with index 16 (expected 0xd2b9f3b145f47b5059a3022227bfc9d8 from previous hash 0xd029b3e42c9a05be9ac114ece0810920 but got 0xa6a27c7f429b5e7ae3613995be1b790b)
10:28:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:28:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:28:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:28:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:28:56 inboxMessage: {
10:28:56 index: 16n,
10:28:56 leaf: Fr<0x1357435c77911d390b705120c30d21ae9a0c35cd6075101a7c669abe1fb4b4c8>,
10:28:56 l2BlockNumber: 2,
10:28:56 l1BlockNumber: 82n,
10:28:56 l1BlockHash: Buffer32<0xeef7aee30d07f301c8780a67623a6a6ccd0eb4737b8d504379e08241cdf6f17d>,
10:28:56 rollingHash: Buffer16<0xa6a27c7f429b5e7ae3613995be1b790b>
10:28:56 }
10:28:56 }
10:28:56 [10:28:56.591]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:28:58 [10:28:58.512]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0fd591003b701f88bd60b6e5a7b1a14254ab5e2aa3bcb1b2e00c5f3445a76fec with index 32 (expected 0x90677a27b85eda98f28304fd23fb245b from previous hash 0x2468b22da729f30454afce949911bb45 but got 0x70a8d8699e0231ef5d2da2fee993c63d)
10:28:58 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:28:58 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:28:58 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:28:58 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:28:58 inboxMessage: {
10:28:58 index: 32n,
10:28:58 leaf: Fr<0x0fd591003b701f88bd60b6e5a7b1a14254ab5e2aa3bcb1b2e00c5f3445a76fec>,
10:28:58 l2BlockNumber: 3,
10:28:58 l1BlockNumber: 58n,
10:28:58 l1BlockHash: Buffer32<0x65250bfcb387d52928da25b3b36703dfe6edb5ca56f498cc028018d11d8f5cd7>,
10:28:58 rollingHash: Buffer16<0x70a8d8699e0231ef5d2da2fee993c63d>
10:28:58 }
10:28:58 }
10:28:58 [10:28:58.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:00 [10:29:00.286]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0ad20dec04bb77c3c116bfeba6e49018d3d673f163f24af05cdcf18bce8d2921 at block 17 (expected value in range [256, 272))
10:29:00 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:29:00 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:29:00 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:29:00 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:29:00 inboxMessage: {
10:29:00 index: 356n,
10:29:00 leaf: Fr<0x0ad20dec04bb77c3c116bfeba6e49018d3d673f163f24af05cdcf18bce8d2921>,
10:29:00 l2BlockNumber: 17,
10:29:00 l1BlockNumber: 49n,
10:29:00 l1BlockHash: Buffer32<0x3b550e3357e4dd9be4fb9fe2c9e6951404e7b3de2ef08778e4afc80800d6925e>,
10:29:00 rollingHash: Buffer16<0x30528571a5972e4613b4db8eb575308d>
10:29:00 }
10:29:00 }
10:29:00 [10:29:00.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:01 [10:29:01.992]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0e6e90964cdbf0175ee9c4a402f6a11991136aae6ab2d8ef78506187d71f0c8a for L2 block 15 has wrong index 225 (expected 224)
10:29:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:29:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:29:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:29:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:29:01 inboxMessage: {
10:29:01 index: 225n,
10:29:01 leaf: Fr<0x0e6e90964cdbf0175ee9c4a402f6a11991136aae6ab2d8ef78506187d71f0c8a>,
10:29:01 l2BlockNumber: 15,
10:29:01 l1BlockNumber: 87n,
10:29:01 l1BlockHash: Buffer32<0x02a3f1726351b0994134d2ad12d444bfa0fb8a822d14186282868890c37b8003>,
10:29:01 rollingHash: Buffer16<0x7b7ee8629189e3cad7d39b4a1be65ed2>
10:29:01 }
10:29:01 }
10:29:01 [10:29:01.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:03 [10:29:03.757]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x153041701622e003ae7ddf25002c8f1872672c2fc86d49ebf95a034679b12668 at block 2 (expected value in range [16, 32))
10:29:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:29:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:29:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:29:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:29:03 inboxMessage: {
10:29:03 index: 32n,
10:29:03 leaf: Fr<0x153041701622e003ae7ddf25002c8f1872672c2fc86d49ebf95a034679b12668>,
10:29:03 l2BlockNumber: 2,
10:29:03 l1BlockNumber: 36n,
10:29:03 l1BlockHash: Buffer32<0x48469ed0330dcd00f8693ac9f1f82d2aaf616e92abc7e7ccc4c0eabef56e1d97>,
10:29:03 rollingHash: Buffer16<0xb46e44b139403db8333fd89bebd3a6b9>
10:29:03 }
10:29:03 }
10:29:03 [10:29:03.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:05 [10:29:05.711]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:29:05 [10:29:05.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:07 [10:29:07.603]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:29:07 [10:29:07.623]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:09 [10:29:09.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:11 [10:29:11.144]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:12 [10:29:12.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:14 [10:29:14.669]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:16 [10:29:16.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:18 [10:29:18.450]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:20 [10:29:20.313]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:22 [10:29:22.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:23 [10:29:23.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:25 [10:29:25.969]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:27 [10:29:27.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:29 [10:29:29.817]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:31 [10:29:31.722]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:33 [10:29:33.585]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:35 [10:29:35.724]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:37 [10:29:37.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:41 [10:29:41.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:44 [10:29:44.376]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:48 [10:29:48.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:50 [10:29:50.546]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:55 [10:29:55.556]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:29:59 [10:29:59.463]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:04 [10:30:04.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:09 [10:30:09.980]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:14 [10:30:14.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:19 [10:30:19.233]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:24 [10:30:24.236]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:30:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
192.49 s)
10:30:28 KVArchiverDataStore
10:30:28 ArchiverStore
10:30:28 addBlocks
10:30:28
✓ returns success when adding blocks (1500 ms)
10:30:28
✓ allows duplicate blocks (1588 ms)
10:30:28
✓ throws an error if the previous block does not exist in the store (1091 ms)
10:30:28
✓ throws an error if there is a gap in the blocks being added (1338 ms)
10:30:28 unwindBlocks
10:30:28
✓ unwinding blocks will remove blocks from the chain (1510 ms)
10:30:28
✓ can unwind multiple empty blocks (1178 ms)
10:30:28
✓ refuses to unwind blocks if the tip is not the last block (1285 ms)
10:30:28 getBlocks
10:30:28
✓ retrieves previously stored blocks (1306 ms)
10:30:28
✓ retrieves previously stored blocks (1382 ms)
10:30:28
✓ retrieves previously stored blocks (1950 ms)
10:30:28
✓ retrieves previously stored blocks (1923 ms)
10:30:28
✓ retrieves previously stored blocks (1587 ms)
10:30:28
✓ returns an empty array if no blocks are found (1549 ms)
10:30:28
✓ throws an error if limit is invalid (1565 ms)
10:30:28
✓ throws an error if `from` it is out of range (1931 ms)
10:30:28
✓ throws an error if unexpected initial block number is found (2380 ms)
10:30:28
✓ throws an error if a gap is found (2782 ms)
10:30:28 getSyncedL2BlockNumber
10:30:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1518 ms)
10:30:28
✓ returns the most recently added block's number (2506 ms)
10:30:28 getSynchPoint
10:30:28
✓ returns undefined if no blocks have been added (1283 ms)
10:30:28
✓ returns the L1 block number in which the most recent L2 block was published (2573 ms)
10:30:28
✓ returns the L1 block number that most recently added messages from inbox (1441 ms)
10:30:28
✓ returns the latest syncpoint if latest message is behind (1399 ms)
10:30:28 addLogs
10:30:28
✓ adds private & public logs (1728 ms)
10:30:28 deleteLogs
10:30:28
✓ deletes private & public logs (1682 ms)
10:30:28 getPrivateLogs
10:30:28
✓ gets added private logs (1574 ms)
10:30:28 getTxEffect
10:30:28
✓ retrieves a previously stored transaction (2767 ms)
10:30:28
✓ retrieves a previously stored transaction (2542 ms)
10:30:28
✓ retrieves a previously stored transaction (2575 ms)
10:30:28
✓ retrieves a previously stored transaction (2582 ms)
10:30:28
✓ retrieves a previously stored transaction (2400 ms)
10:30:28
✓ returns undefined if tx is not found (2393 ms)
10:30:28
✓ tries to retrieves a previously stored transaction after deleted (2648 ms)
10:30:28
✓ tries to retrieves a previously stored transaction after deleted (2502 ms)
10:30:28
✓ tries to retrieves a previously stored transaction after deleted (2483 ms)
10:30:28
✓ tries to retrieves a previously stored transaction after deleted (2825 ms)
10:30:28
✓ tries to retrieves a previously stored transaction after deleted (2956 ms)
10:30:28
✓ returns undefined if tx is not found (2515 ms)
10:30:28
✓ does not fail if the block is unwound while requesting a tx (3027 ms)
10:30:28 L1 to L2 Messages
10:30:28
✓ stores first message ever (1504 ms)
10:30:28
✓ stores single message (1609 ms)
10:30:28
✓ stores and returns messages across different blocks (1432 ms)
10:30:28
✓ stores the same messages again (1550 ms)
10:30:28
✓ stores and returns messages across different blocks with gaps (1581 ms)
10:30:28
✓ stores and returns messages with block numbers larger than a byte (1464 ms)
10:30:28
✓ stores and returns multiple messages per block (1672 ms)
10:30:28
✓ stores messages in multiple operations (1802 ms)
10:30:28
✓ iterates over messages from start index (1775 ms)
10:30:28
✓ iterates over messages in reverse (1777 ms)
10:30:28
✓ throws if messages are added out of order (1718 ms)
10:30:28
✓ throws if block number for the first message is out of order (1757 ms)
10:30:28
✓ throws if rolling hash is not correct (1754 ms)
10:30:28
✓ throws if rolling hash for first message is not correct (1924 ms)
10:30:28
✓ throws if index is not in the correct range (1775 ms)
10:30:28
✓ throws if first index in block has gaps (1705 ms)
10:30:28
✓ throws if index does not follow previous one (1764 ms)
10:30:28
✓ removes messages up to the given block number (1992 ms)
10:30:28
✓ removes messages starting with the given index (1869 ms)
10:30:28 contractInstances
10:30:28
✓ returns previously stored contract instances (1741 ms)
10:30:28
✓ returns undefined if contract instance is not found (1777 ms)
10:30:28
✓ returns undefined if previously stored contract instances was deleted (1785 ms)
10:30:28 contractInstanceUpdates
10:30:28
✓ gets the correct current class id for a contract not updated yet (1739 ms)
10:30:28
✓ gets the correct current class id for a contract that has just been updated (1799 ms)
10:30:28
✓ gets the correct current class id for a contract that was updated in the past (1980 ms)
10:30:28
✓ ignores updates for the wrong contract (1862 ms)
10:30:28
✓ bounds its search to the right contract if more than than one update exists (1837 ms)
10:30:28 contractClasses
10:30:28
✓ returns previously stored contract class (1822 ms)
10:30:28
✓ returns undefined if the initial deployed contract class was deleted (1994 ms)
10:30:28
✓ returns contract class if later "deployment" class was deleted (1969 ms)
10:30:28
✓ returns undefined if contract class is not found (1878 ms)
10:30:28
✓ adds new private functions (1904 ms)
10:30:28
✓ does not duplicate private functions (1862 ms)
10:30:28
✓ adds new utility functions (2137 ms)
10:30:28
✓ does not duplicate utility functions (2134 ms)
10:30:28 getLogsByTags
10:30:28
✓ is possible to batch request private logs via tags (3148 ms)
10:30:28
✓ is possible to batch request all logs (private and public) via tags (3370 ms)
10:30:28
✓ is possible to batch request logs that have the same tag but different content (3625 ms)
10:30:28
✓ is possible to request logs for non-existing tags and determine their position (2544 ms)
10:30:28 getPublicLogs
10:30:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5008 ms)
10:30:28
✓ "txHash" filter param is respected (3907 ms)
10:30:28
✓ "fromBlock" and "toBlock" filter params are respected (5059 ms)
10:30:28
✓ "contractAddress" filter param is respected (5457 ms)
10:30:28
✓ "afterLog" filter param is respected (4888 ms)
10:30:28
✓ "txHash" filter param is ignored when "afterLog" is set (4365 ms)
10:30:28
✓ intersecting works (5002 ms)
10:30:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4061 ms)
10:30:28
10:30:28
Test Suites: 1 passed, 1 total
10:30:28
Tests: 86 passed, 86 total
10:30:28
Snapshots: 0 total
10:30:28
Time: 192.565 s
10:30:28
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:30:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?