Parent Log:
http://ci.aztec-labs.com/f92f0e17b07b44aa
Command: 4cadf2b318302dc1 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/4bc54c2acb532388aae32aea2765a66709edfdc9
Env: REF_NAME=gh-readonly-queue/next/pr-15249-4873eb2f8189ef2d21a8b7fcfbfebe4dbc0f4145 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 25 20:08:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15249_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
20:08:35 [20:08:35.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:37 [20:08:37.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:38 [20:08:38.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:39 [20:08:39.780]
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:08:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
20:08:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:08:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:08:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:08:39 newBlockNumber: 2,
20:08:39 previousBlockNumber: undefined
20:08:39 }
20:08:39 [20:08:39.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:40 [20:08:40.840]
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:08:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
20:08:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:08:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:08:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:08:40 [20:08:40.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:42 [20:08:42.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:43 [20:08:43.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:45 [20:08:45.132]
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:08:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
20:08:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:08:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:08:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
20:08:45 [20:08:45.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:46 [20:08:46.444]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:47 [20:08:47.925]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:49 [20:08:49.373]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:50 [20:08:50.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:52 [20:08:52.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:53 [20:08:53.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:54 [20:08:54.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:56 [20:08:56.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:08:57 [20:08:57.795]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:00 [20:09:00.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:01 [20:09:01.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:04 [20:09:04.508]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:06 [20:09:06.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:09 [20:09:09.291]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:10 [20:09:10.779]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:12 [20:09:12.565]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:14 [20:09:14.246]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:16 [20:09:16.007]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:17 [20:09:17.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:20 [20:09:20.822]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:23 [20:09:23.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:26 [20:09:26.292]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:29 [20:09:29.033]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:31 [20:09:31.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:34 [20:09:34.007]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:36 [20:09:36.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:39 [20:09:39.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:42 [20:09:42.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:44 [20:09:44.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:47 [20:09:47.689]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:50 [20:09:50.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:53 [20:09:53.453]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:54 [20:09:54.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:56 [20:09:56.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:57 [20:09:57.703]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:09:59 [20:09:59.270]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:00 [20:10:00.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:02 [20:10:02.479]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:04 [20:10:04.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:06 [20:10:06.001]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:07 [20:10:07.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:09 [20:10:09.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:11 [20:10:11.682]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x28ed304fae3eaf5f5d949e85c00dd6bd13c911c4e9981bfca90b651ebb54f93f for L2 block 1 has wrong index 10 (expected 0)
20:10:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:10:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:11 inboxMessage: {
20:10:11 index: 10n,
20:10:11 leaf: Fr<0x28ed304fae3eaf5f5d949e85c00dd6bd13c911c4e9981bfca90b651ebb54f93f>,
20:10:11 l2BlockNumber: 1,
20:10:11 l1BlockNumber: 84n,
20:10:11 l1BlockHash: Buffer32<0xa27005a54ae0966dcc2c56734c97d380aad514cc88bc7f77d54b10aee2fa81f5>,
20:10:11 rollingHash: Buffer16<0xf8fb4f67988cf11b0e19c4aae5070f18>
20:10:11 }
20:10:11 }
20:10:11 [20:10:11.686]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:13 [20:10:13.493]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x272352b61e769e70e32854f581af25d093e4b7c59feea4f45994e70fa199e561 at block 12 (expected value in range [176, 192))
20:10:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:13 inboxMessage: {
20:10:13 index: 224n,
20:10:13 leaf: Fr<0x272352b61e769e70e32854f581af25d093e4b7c59feea4f45994e70fa199e561>,
20:10:13 l2BlockNumber: 12,
20:10:13 l1BlockNumber: 29n,
20:10:13 l1BlockHash: Buffer32<0x4ceb2c0617e8c2bfd9ac989c9c925a9c61f8b685a91321d4b7269a9aa0c880d3>,
20:10:13 rollingHash: Buffer16<0x1bd22ce90bc527a7650866648726d59c>
20:10:13 }
20:10:13 }
20:10:13 [20:10:13.497]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:15 [20:10:15.089]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1654a61ee1ade4091f1a46ac7420c1017c3eab0821dc0310af0deb3e479d6809 with index 16 (expected 0xcf625e3192f4f1c88e4ed0f8e0f2d81d from previous hash 0x25e382ceea2a93813d80af25e70692b7 but got 0xe00f808cea704eb1a42b7c2eb425cbb8)
20:10:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:10:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:15 inboxMessage: {
20:10:15 index: 16n,
20:10:15 leaf: Fr<0x1654a61ee1ade4091f1a46ac7420c1017c3eab0821dc0310af0deb3e479d6809>,
20:10:15 l2BlockNumber: 2,
20:10:15 l1BlockNumber: 80n,
20:10:15 l1BlockHash: Buffer32<0x92b7e4be35ad80aebd93206750812619e01971e9d08e5ec7163bb81239b52d40>,
20:10:15 rollingHash: Buffer16<0xe00f808cea704eb1a42b7c2eb425cbb8>
20:10:15 }
20:10:15 }
20:10:15 [20:10:15.093]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:16 [20:10:16.969]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x02d39b618af3deacb1e14853f9b1f0dda16c83038ff614042d823a0a0ba7c865 with index 32 (expected 0x9c008739a979c8ec16290d1d669a2bab from previous hash 0x30aefacf58a7bc7816dcbcc8b7d991a5 but got 0xc119ff5873b2936ed81d64a96b567cf0)
20:10:16 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
20:10:16 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:16 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:16 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:16 inboxMessage: {
20:10:16 index: 32n,
20:10:16 leaf: Fr<0x02d39b618af3deacb1e14853f9b1f0dda16c83038ff614042d823a0a0ba7c865>,
20:10:16 l2BlockNumber: 3,
20:10:16 l1BlockNumber: 19n,
20:10:16 l1BlockHash: Buffer32<0x5b2235846b29db94c66f54d96a6d1c2198eaddd834e3d3530f7982489593713a>,
20:10:16 rollingHash: Buffer16<0xc119ff5873b2936ed81d64a96b567cf0>
20:10:16 }
20:10:16 }
20:10:16 [20:10:16.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:18 [20:10:18.718]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x239680702ce2c485a5c502fd24c797dfbf1da516313f0b076e8c4e813402dd2f at block 17 (expected value in range [256, 272))
20:10:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:18 inboxMessage: {
20:10:18 index: 356n,
20:10:18 leaf: Fr<0x239680702ce2c485a5c502fd24c797dfbf1da516313f0b076e8c4e813402dd2f>,
20:10:18 l2BlockNumber: 17,
20:10:18 l1BlockNumber: 99n,
20:10:18 l1BlockHash: Buffer32<0xacf0bd2b14f16a2f987fbff750c93b13fb3c6a33e3411ef830e7ec2d812de699>,
20:10:18 rollingHash: Buffer16<0x7f68049deae91eb8d0ad725f7bc05c4b>
20:10:18 }
20:10:18 }
20:10:18 [20:10:18.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:20 [20:10:20.496]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1ef8bf768ceae5c2471fb457bc66af535157626c52371dded53b4dd1d317bc2c for L2 block 15 has wrong index 225 (expected 224)
20:10:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
20:10:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:20 inboxMessage: {
20:10:20 index: 225n,
20:10:20 leaf: Fr<0x1ef8bf768ceae5c2471fb457bc66af535157626c52371dded53b4dd1d317bc2c>,
20:10:20 l2BlockNumber: 15,
20:10:20 l1BlockNumber: 30n,
20:10:20 l1BlockHash: Buffer32<0xb7afbda775a8c1e38b2e355b94977ec0c8f1a845d0edd30937f8053fda976ffa>,
20:10:20 rollingHash: Buffer16<0xfe743033653a397f1bbcaa302ac3b0a6>
20:10:20 }
20:10:20 }
20:10:20 [20:10:20.499]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:22 [20:10:22.323]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x2e862f9c621626bf3cfaa85fa82a48ca666654ae4d042472e0a610111d4242ef at block 2 (expected value in range [16, 32))
20:10:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
20:10:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
20:10:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
20:10:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
20:10:22 inboxMessage: {
20:10:22 index: 32n,
20:10:22 leaf: Fr<0x2e862f9c621626bf3cfaa85fa82a48ca666654ae4d042472e0a610111d4242ef>,
20:10:22 l2BlockNumber: 2,
20:10:22 l1BlockNumber: 69n,
20:10:22 l1BlockHash: Buffer32<0x4f615074cb62780f5ba971700664f82d5c7a568847d5db412117d3748b4dd210>,
20:10:22 rollingHash: Buffer16<0xb10acee45e9b687c8c7517c17a634a92>
20:10:22 }
20:10:22 }
20:10:22 [20:10:22.329]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:24 [20:10:24.146]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
20:10:24 [20:10:24.188]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:26 [20:10:26.082]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
20:10:26 [20:10:26.104]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:28 [20:10:28.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:29 [20:10:29.899]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:31 [20:10:31.793]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:33 [20:10:33.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:35 [20:10:35.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:37 [20:10:37.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:38 [20:10:38.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:40 [20:10:40.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:42 [20:10:42.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:44 [20:10:44.453]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:46 [20:10:46.267]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:48 [20:10:48.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:50 [20:10:50.019]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:52 [20:10:52.091]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:53 [20:10:53.983]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:55 [20:10:55.925]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:10:59 [20:10:59.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:02 [20:11:02.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:06 [20:11:06.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:09 [20:11:09.829]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:15 [20:11:15.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:20 [20:11:20.476]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:25 [20:11:25.718]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:31 [20:11:31.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:37 [20:11:37.005]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:41 [20:11:41.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:45 [20:11:45.420]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
20:11:50
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.492 s)
20:11:50 KVArchiverDataStore
20:11:50 ArchiverStore
20:11:50 addBlocks
20:11:50
✓ returns success when adding blocks (1583 ms)
20:11:50
✓ allows duplicate blocks (1658 ms)
20:11:50
✓ throws an error if the previous block does not exist in the store (1109 ms)
20:11:50
✓ throws an error if there is a gap in the blocks being added (1058 ms)
20:11:50 unwindBlocks
20:11:50
✓ unwinding blocks will remove blocks from the chain (1426 ms)
20:11:50
✓ can unwind multiple empty blocks (1349 ms)
20:11:50
✓ refuses to unwind blocks if the tip is not the last block (1515 ms)
20:11:50 getBlocks
20:11:50
✓ retrieves previously stored blocks (1304 ms)
20:11:50
✓ retrieves previously stored blocks (1482 ms)
20:11:50
✓ retrieves previously stored blocks (1449 ms)
20:11:50
✓ retrieves previously stored blocks (1325 ms)
20:11:50
✓ retrieves previously stored blocks (1416 ms)
20:11:50
✓ returns an empty array if no blocks are found (1325 ms)
20:11:50
✓ throws an error if limit is invalid (1289 ms)
20:11:50
✓ throws an error if `from` it is out of range (1421 ms)
20:11:50
✓ throws an error if unexpected initial block number is found (1644 ms)
20:11:50
✓ throws an error if a gap is found (2640 ms)
20:11:50 getSyncedL2BlockNumber
20:11:50
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1401 ms)
20:11:50
✓ returns the most recently added block's number (2666 ms)
20:11:50 getSynchPoint
20:11:50
✓ returns undefined if no blocks have been added (1893 ms)
20:11:50
✓ returns the L1 block number in which the most recent L2 block was published (2892 ms)
20:11:50
✓ returns the L1 block number that most recently added messages from inbox (1487 ms)
20:11:50
✓ returns the latest syncpoint if latest message is behind (1784 ms)
20:11:50 addLogs
20:11:50
✓ adds private & public logs (1680 ms)
20:11:50 deleteLogs
20:11:50
✓ deletes private & public logs (1761 ms)
20:11:50 getPrivateLogs
20:11:50
✓ gets added private logs (1856 ms)
20:11:50 getTxEffect
20:11:50
✓ retrieves a previously stored transaction (2956 ms)
20:11:50
✓ retrieves a previously stored transaction (2851 ms)
20:11:50
✓ retrieves a previously stored transaction (2619 ms)
20:11:50
✓ retrieves a previously stored transaction (2737 ms)
20:11:50
✓ retrieves a previously stored transaction (2412 ms)
20:11:50
✓ returns undefined if tx is not found (2565 ms)
20:11:50
✓ tries to retrieves a previously stored transaction after deleted (2872 ms)
20:11:50
✓ tries to retrieves a previously stored transaction after deleted (2724 ms)
20:11:50
✓ tries to retrieves a previously stored transaction after deleted (2797 ms)
20:11:50
✓ tries to retrieves a previously stored transaction after deleted (2524 ms)
20:11:50
✓ tries to retrieves a previously stored transaction after deleted (2762 ms)
20:11:50
✓ returns undefined if tx is not found (2624 ms)
20:11:50
✓ does not fail if the block is unwound while requesting a tx (3135 ms)
20:11:50 L1 to L2 Messages
20:11:50
✓ stores first message ever (1444 ms)
20:11:50
✓ stores single message (1483 ms)
20:11:50
✓ stores and returns messages across different blocks (1324 ms)
20:11:50
✓ stores the same messages again (1565 ms)
20:11:50
✓ stores and returns messages across different blocks with gaps (1598 ms)
20:11:50
✓ stores and returns messages with block numbers larger than a byte (1610 ms)
20:11:50
✓ stores and returns multiple messages per block (1641 ms)
20:11:50
✓ stores messages in multiple operations (1880 ms)
20:11:50
✓ iterates over messages from start index (1928 ms)
20:11:50
✓ iterates over messages in reverse (1872 ms)
20:11:50
✓ throws if messages are added out of order (1882 ms)
20:11:50
✓ throws if block number for the first message is out of order (1810 ms)
20:11:50
✓ throws if rolling hash is not correct (1596 ms)
20:11:50
✓ throws if rolling hash for first message is not correct (1879 ms)
20:11:50
✓ throws if index is not in the correct range (1747 ms)
20:11:50
✓ throws if first index in block has gaps (1778 ms)
20:11:50
✓ throws if index does not follow previous one (1827 ms)
20:11:50
✓ removes messages up to the given block number (1861 ms)
20:11:50
✓ removes messages starting with the given index (1915 ms)
20:11:50 contractInstances
20:11:50
✓ returns previously stored contract instances (1917 ms)
20:11:50
✓ returns undefined if contract instance is not found (1876 ms)
20:11:50
✓ returns undefined if previously stored contract instances was deleted (1895 ms)
20:11:50 contractInstanceUpdates
20:11:50
✓ gets the correct current class id for a contract not updated yet (1755 ms)
20:11:50
✓ gets the correct current class id for a contract that has just been updated (1754 ms)
20:11:50
✓ gets the correct current class id for a contract that was updated in the past (1786 ms)
20:11:50
✓ ignores updates for the wrong contract (1865 ms)
20:11:50
✓ bounds its search to the right contract if more than than one update exists (1683 ms)
20:11:50 contractClasses
20:11:50
✓ returns previously stored contract class (1855 ms)
20:11:50
✓ returns undefined if the initial deployed contract class was deleted (1954 ms)
20:11:50
✓ returns contract class if later "deployment" class was deleted (1812 ms)
20:11:50
✓ returns undefined if contract class is not found (1776 ms)
20:11:50
✓ adds new private functions (1975 ms)
20:11:50
✓ does not duplicate private functions (2071 ms)
20:11:50
✓ adds new utility functions (1889 ms)
20:11:50
✓ does not duplicate utility functions (1943 ms)
20:11:50 getLogsByTags
20:11:50
✓ is possible to batch request private logs via tags (3440 ms)
20:11:50
✓ is possible to batch request all logs (private and public) via tags (3407 ms)
20:11:50
✓ is possible to batch request logs that have the same tag but different content (3677 ms)
20:11:50
✓ is possible to request logs for non-existing tags and determine their position (3376 ms)
20:11:50 getPublicLogs
20:11:50
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6032 ms)
20:11:50
✓ "txHash" filter param is respected (4615 ms)
20:11:50
✓ "fromBlock" and "toBlock" filter params are respected (5239 ms)
20:11:50
✓ "contractAddress" filter param is respected (5741 ms)
20:11:50
✓ "afterLog" filter param is respected (5547 ms)
20:11:50
✓ "txHash" filter param is ignored when "afterLog" is set (4110 ms)
20:11:50
✓ intersecting works (4302 ms)
20:11:50
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5041 ms)
20:11:50
20:11:50
Test Suites: 1 passed, 1 total
20:11:50
Tests: 86 passed, 86 total
20:11:50
Snapshots: 0 total
20:11:50
Time: 196.567 s
20:11:50
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
20:11:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?