Parent Log:
http://ci.aztec-labs.com/3c24fedc0371bc76
Command: 557c108a8ed544a3 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/4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069
Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 20:28:45 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
20:28:48 [20:28:48.041]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:49 [20:28:49.642]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:51 [20:28:51.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:52 [20:28:52.143]
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
20:28:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
20:28:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:28:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:28:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:28:52 newBlockNumber: 2,
20:28:52 previousBlockNumber: undefined
20:28:52 }
20:28:52 [20:28:52.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:53 [20:28:53.270]
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
20:28:53 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
20:28:53 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:28:53 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:28:53 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:28:53 [20:28:53.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:54 [20:28:54.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:55 [20:28:55.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:56 [20:28:56.800]
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)
20:28:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
20:28:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:28:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:28:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:28:56 [20:28:56.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:58 [20:28:58.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:28:59 [20:28:59.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:01 [20:29:01.751]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:03 [20:29:03.417]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:04 [20:29:04.801]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:06 [20:29:06.217]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:07 [20:29:07.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:10 [20:29:10.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:12 [20:29:12.876]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:15 [20:29:15.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:17 [20:29:17.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:19 [20:29:19.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:20 [20:29:20.774]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:22 [20:29:22.861]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:24 [20:29:24.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:25 [20:29:25.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:26 [20:29:26.630]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:28 [20:29:28.083]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:29 [20:29:29.513]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:32 [20:29:32.080]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:34 [20:29:34.647]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:37 [20:29:37.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:40 [20:29:40.320]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:42 [20:29:42.915]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:45 [20:29:45.445]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:48 [20:29:48.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:51 [20:29:51.131]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:53 [20:29:53.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:56 [20:29:56.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:29:59 [20:29:59.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:01 [20:30:01.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:04 [20:30:04.871]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:06 [20:30:06.305]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:07 [20:30:07.875]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:09 [20:30:09.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:10 [20:30:10.911]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:12 [20:30:12.555]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:14 [20:30:14.254]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:16 [20:30:16.083]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:17 [20:30:17.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:19 [20:30:19.619]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:21 [20:30:21.598]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:23 [20:30:23.526]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1fbbbe1cc3ef2f3eb39ec252a9b2bdb67a183289218954612e7573f98ab374e3 for L2 block 1 has wrong index 10 (expected 0)
20:30:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:30:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:23 inboxMessage: {
20:30:23 index: 10n,
20:30:23 leaf: Fr<0x1fbbbe1cc3ef2f3eb39ec252a9b2bdb67a183289218954612e7573f98ab374e3>,
20:30:23 l2BlockNumber: 1,
20:30:23 l1BlockNumber: 23n,
20:30:23 l1BlockHash: Buffer32<0x742d463e7b7f63433305feebbb505a40d3476de682e98e750ee1bcb7bfcd70bd>,
20:30:23 rollingHash: Buffer16<0x672e6889273ebd49495cf3ef1355bdca>
20:30:23 }
20:30:23 }
20:30:23 [20:30:23.530]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:25 [20:30:25.258]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x119860edf528444ac35b2003cf89ad543930c0099fa0ade0d73643560a8b3ec7 at block 12 (expected value in range [176, 192))
20:30:25 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:30:25 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:25 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:25 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:25 inboxMessage: {
20:30:25 index: 224n,
20:30:25 leaf: Fr<0x119860edf528444ac35b2003cf89ad543930c0099fa0ade0d73643560a8b3ec7>,
20:30:25 l2BlockNumber: 12,
20:30:25 l1BlockNumber: 36n,
20:30:25 l1BlockHash: Buffer32<0xc0c6fd4c0ca5dcf76d8f1d6d7ce8bd5ae22c58c5288565eca3b1de2203ef0185>,
20:30:25 rollingHash: Buffer16<0x725c5f8052aea428443858a763692b0e>
20:30:25 }
20:30:25 }
20:30:25 [20:30:25.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:26 [20:30:26.895]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x212d24ff5787871f1c0d2f5f0a824c37d6aca9ca459c60b1172e7a22013be306 with index 16 (expected 0xf0de80a02a56b774512da16ff4753ca6 from previous hash 0x821b59a386d0733065c49426bbad3c46 but got 0x75e4a63feb1002cb4c00762d5ba695c4)
20:30:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:30:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:26 inboxMessage: {
20:30:26 index: 16n,
20:30:26 leaf: Fr<0x212d24ff5787871f1c0d2f5f0a824c37d6aca9ca459c60b1172e7a22013be306>,
20:30:26 l2BlockNumber: 2,
20:30:26 l1BlockNumber: 15n,
20:30:26 l1BlockHash: Buffer32<0x1e4fa9199f4bae6b588cf11c224b49822ba6a73cc03728660b127d657f9a43b7>,
20:30:26 rollingHash: Buffer16<0x75e4a63feb1002cb4c00762d5ba695c4>
20:30:26 }
20:30:26 }
20:30:26 [20:30:26.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:28 [20:30:28.601]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x17fe8d7acc5fdaada30de7b25826605fc8347b6992e55469064bd06df801b968 with index 32 (expected 0x98d8744be84bb97ed85f5da21f5ea025 from previous hash 0xc908c0a7c17127ce676e45dfbc0539c2 but got 0xd228b4821f53f66f857cc49f31ef6ce9)
20:30:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:30:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:28 inboxMessage: {
20:30:28 index: 32n,
20:30:28 leaf: Fr<0x17fe8d7acc5fdaada30de7b25826605fc8347b6992e55469064bd06df801b968>,
20:30:28 l2BlockNumber: 3,
20:30:28 l1BlockNumber: 60n,
20:30:28 l1BlockHash: Buffer32<0x07a309d349791dcbf8dbf2344ac55d0b549c57c9f47917d85865d28d0a6a41ab>,
20:30:28 rollingHash: Buffer16<0xd228b4821f53f66f857cc49f31ef6ce9>
20:30:28 }
20:30:28 }
20:30:28 [20:30:28.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:30 [20:30:30.296]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x05d14df1826e4c9d35901723507c5aa007587e60d46c892efe1ef1ecf15dad4d at block 17 (expected value in range [256, 272))
20:30:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:30:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:30 inboxMessage: {
20:30:30 index: 356n,
20:30:30 leaf: Fr<0x05d14df1826e4c9d35901723507c5aa007587e60d46c892efe1ef1ecf15dad4d>,
20:30:30 l2BlockNumber: 17,
20:30:30 l1BlockNumber: 12n,
20:30:30 l1BlockHash: Buffer32<0x561d64b41fab8d72ab6c6abbb97cce67e727b0a270ffbb101b0d995db2bc5fde>,
20:30:30 rollingHash: Buffer16<0xf6e824d2b5556ac145591959ed1127cf>
20:30:30 }
20:30:30 }
20:30:30 [20:30:30.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:32 [20:30:32.276]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2db042ae24eb85ccf1afc19912d33447c010c3f43f7e4d615b2731061e17e56a for L2 block 15 has wrong index 225 (expected 224)
20:30:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:30:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:32 inboxMessage: {
20:30:32 index: 225n,
20:30:32 leaf: Fr<0x2db042ae24eb85ccf1afc19912d33447c010c3f43f7e4d615b2731061e17e56a>,
20:30:32 l2BlockNumber: 15,
20:30:32 l1BlockNumber: 95n,
20:30:32 l1BlockHash: Buffer32<0x412805a7d73d7e579f6371a32ecd7a946f5db8b08fc3a138ab7616cfccc4894e>,
20:30:32 rollingHash: Buffer16<0x7abe0d3dd6427fdf85935aa25ec1d9a8>
20:30:32 }
20:30:32 }
20:30:32 [20:30:32.282]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:34 [20:30:34.051]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x27c41f98b685dc747503a63611e76331ca34276da41e54533b2f869df9b14bc6 at block 2 (expected value in range [16, 32))
20:30:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:30:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:30:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:30:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:30:34 inboxMessage: {
20:30:34 index: 32n,
20:30:34 leaf: Fr<0x27c41f98b685dc747503a63611e76331ca34276da41e54533b2f869df9b14bc6>,
20:30:34 l2BlockNumber: 2,
20:30:34 l1BlockNumber: 9n,
20:30:34 l1BlockHash: Buffer32<0x17dc7cad81bcf2291fe5eff450a3abf27c9db9155d5d6ac0255307eed0a2b2b5>,
20:30:34 rollingHash: Buffer16<0x8e81bd8fcf0e55a786be83344a787fc0>
20:30:34 }
20:30:34 }
20:30:34 [20:30:34.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:36 [20:30:36.021]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
20:30:36 [20:30:36.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:37 [20:30:37.867]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
20:30:37 [20:30:37.883]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:39 [20:30:39.675]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:41 [20:30:41.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:43 [20:30:43.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:45 [20:30:45.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:47 [20:30:47.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:49 [20:30:49.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:51 [20:30:51.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:53 [20:30:53.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:54 [20:30:54.684]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:56 [20:30:56.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:30:58 [20:30:58.412]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:00 [20:31:00.324]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:02 [20:31:02.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:04 [20:31:04.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:06 [20:31:06.212]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:08 [20:31:08.164]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:11 [20:31:11.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:14 [20:31:14.707]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:18 [20:31:18.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:21 [20:31:21.927]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:28 [20:31:28.208]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:33 [20:31:33.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:38 [20:31:38.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:43 [20:31:43.423]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:47 [20:31:47.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:52 [20:31:52.128]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:31:57 [20:31:57.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:32:03
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.747 s)
20:32:03 KVArchiverDataStore
20:32:03 ArchiverStore
20:32:03 addBlocks
20:32:03
✓ returns success when adding blocks (1631 ms)
20:32:03
✓ allows duplicate blocks (1478 ms)
20:32:03
✓ throws an error if the previous block does not exist in the store (1026 ms)
20:32:03
✓ throws an error if there is a gap in the blocks being added (1127 ms)
20:32:03 unwindBlocks
20:32:03
✓ unwinding blocks will remove blocks from the chain (1399 ms)
20:32:03
✓ can unwind multiple empty blocks (874 ms)
20:32:03
✓ refuses to unwind blocks if the tip is not the last block (1252 ms)
20:32:03 getBlocks
20:32:03
✓ retrieves previously stored blocks (1384 ms)
20:32:03
✓ retrieves previously stored blocks (1469 ms)
20:32:03
✓ retrieves previously stored blocks (2090 ms)
20:32:03
✓ retrieves previously stored blocks (1666 ms)
20:32:03
✓ retrieves previously stored blocks (1383 ms)
20:32:03
✓ returns an empty array if no blocks are found (1414 ms)
20:32:03
✓ throws an error if limit is invalid (1767 ms)
20:32:03
✓ throws an error if `from` it is out of range (2595 ms)
20:32:03
✓ throws an error if unexpected initial block number is found (2295 ms)
20:32:03
✓ throws an error if a gap is found (2972 ms)
20:32:03 getSyncedL2BlockNumber
20:32:03
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1837 ms)
20:32:03
✓ returns the most recently added block's number (1686 ms)
20:32:03 getSynchPoint
20:32:03
✓ returns undefined if no blocks have been added (1389 ms)
20:32:03
✓ returns the L1 block number in which the most recent L2 block was published (2093 ms)
20:32:03
✓ returns the L1 block number that most recently added messages from inbox (1225 ms)
20:32:03
✓ returns the latest syncpoint if latest message is behind (1257 ms)
20:32:03 addLogs
20:32:03
✓ adds private & public logs (1285 ms)
20:32:03 deleteLogs
20:32:03
✓ deletes private & public logs (1452 ms)
20:32:03 getPrivateLogs
20:32:03
✓ gets added private logs (1428 ms)
20:32:03 getTxEffect
20:32:03
✓ retrieves a previously stored transaction (2562 ms)
20:32:03
✓ retrieves a previously stored transaction (2570 ms)
20:32:03
✓ retrieves a previously stored transaction (2771 ms)
20:32:03
✓ retrieves a previously stored transaction (2896 ms)
20:32:03
✓ retrieves a previously stored transaction (2599 ms)
20:32:03
✓ returns undefined if tx is not found (2530 ms)
20:32:03
✓ tries to retrieves a previously stored transaction after deleted (2710 ms)
20:32:03
✓ tries to retrieves a previously stored transaction after deleted (2974 ms)
20:32:03
✓ tries to retrieves a previously stored transaction after deleted (2778 ms)
20:32:03
✓ tries to retrieves a previously stored transaction after deleted (2510 ms)
20:32:03
✓ tries to retrieves a previously stored transaction after deleted (2918 ms)
20:32:03
✓ returns undefined if tx is not found (2506 ms)
20:32:03
✓ does not fail if the block is unwound while requesting a tx (3023 ms)
20:32:03 L1 to L2 Messages
20:32:03
✓ stores first message ever (1435 ms)
20:32:03
✓ stores single message (1568 ms)
20:32:03
✓ stores and returns messages across different blocks (1573 ms)
20:32:03
✓ stores the same messages again (1463 ms)
20:32:03
✓ stores and returns messages across different blocks with gaps (1641 ms)
20:32:03
✓ stores and returns messages with block numbers larger than a byte (1696 ms)
20:32:03
✓ stores and returns multiple messages per block (1829 ms)
20:32:03
✓ stores messages in multiple operations (1756 ms)
20:32:03
✓ iterates over messages from start index (1779 ms)
20:32:03
✓ iterates over messages in reverse (1978 ms)
20:32:03
✓ throws if messages are added out of order (1931 ms)
20:32:03
✓ throws if block number for the first message is out of order (1733 ms)
20:32:03
✓ throws if rolling hash is not correct (1634 ms)
20:32:03
✓ throws if rolling hash for first message is not correct (1706 ms)
20:32:03
✓ throws if index is not in the correct range (1694 ms)
20:32:03
✓ throws if first index in block has gaps (1980 ms)
20:32:03
✓ throws if index does not follow previous one (1774 ms)
20:32:03
✓ removes messages up to the given block number (1988 ms)
20:32:03
✓ removes messages starting with the given index (1834 ms)
20:32:03 contractInstances
20:32:03
✓ returns previously stored contract instances (1792 ms)
20:32:03
✓ returns undefined if contract instance is not found (1875 ms)
20:32:03
✓ returns undefined if previously stored contract instances was deleted (1965 ms)
20:32:03 contractInstanceUpdates
20:32:03
✓ gets the correct current class id for a contract not updated yet (1811 ms)
20:32:03
✓ gets the correct current class id for a contract that has just been updated (1974 ms)
20:32:03
✓ gets the correct current class id for a contract that was updated in the past (2074 ms)
20:32:03
✓ ignores updates for the wrong contract (1919 ms)
20:32:03
✓ bounds its search to the right contract if more than than one update exists (1734 ms)
20:32:03 contractClasses
20:32:03
✓ returns previously stored contract class (1649 ms)
20:32:03
✓ returns undefined if the initial deployed contract class was deleted (1953 ms)
20:32:03
✓ returns contract class if later "deployment" class was deleted (1772 ms)
20:32:03
✓ returns undefined if contract class is not found (1911 ms)
20:32:03
✓ adds new private functions (1967 ms)
20:32:03
✓ does not duplicate private functions (2005 ms)
20:32:03
✓ adds new utility functions (1913 ms)
20:32:03
✓ does not duplicate utility functions (1952 ms)
20:32:03 getLogsByTags
20:32:03
✓ is possible to batch request private logs via tags (3462 ms)
20:32:03
✓ is possible to batch request all logs (private and public) via tags (3079 ms)
20:32:03
✓ is possible to batch request logs that have the same tag but different content (3861 ms)
20:32:03
✓ is possible to request logs for non-existing tags and determine their position (3353 ms)
20:32:03 getPublicLogs
20:32:03
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6283 ms)
20:32:03
✓ "txHash" filter param is respected (5690 ms)
20:32:03
✓ "fromBlock" and "toBlock" filter params are respected (4841 ms)
20:32:03
✓ "contractAddress" filter param is respected (4681 ms)
20:32:03
✓ "afterLog" filter param is respected (3918 ms)
20:32:03
✓ "txHash" filter param is ignored when "afterLog" is set (4788 ms)
20:32:03
✓ intersecting works (5673 ms)
20:32:03
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5385 ms)
20:32:03
20:32:03
Test Suites: 1 passed, 1 total
20:32:03
Tests: 86 passed, 86 total
20:32:03
Snapshots: 0 total
20:32:03
Time: 196.868 s
20:32:03
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
20:32:03
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?