Parent Log:
http://ci.aztec-labs.com/f69a1713c602d5eb
Command: bdb887914394d73a 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/47c749527b1c3cce3edd9defedc46e89ea00c69e
Env: REF_NAME=gh-readonly-queue/next/pr-15009-00cd67e98e76d3202a0219baf301d59ef4211872 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 15:54:03 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15009_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
15:54:05 [15:54:05.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:07 [15:54:07.326]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:08 [15:54:08.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:10 [15:54:10.102]
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:54:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:54:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:54:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:54:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:54:10 newBlockNumber: 2,
15:54:10 previousBlockNumber: undefined
15:54:10 }
15:54:10 [15:54:10.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:11 [15:54:11.376]
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:54:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
15:54:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:54:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:54:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:54:11 [15:54:11.384]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:12 [15:54:12.916]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:14 [15:54:14.107]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:15 [15:54:15.636]
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:54:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
15:54:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:54:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:54:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:54:15 [15:54:15.639]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:17 [15:54:17.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:18 [15:54:18.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:19 [15:54:19.855]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:21 [15:54:21.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:22 [15:54:22.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:23 [15:54:23.549]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:25 [15:54:25.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:27 [15:54:27.071]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:28 [15:54:28.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:31 [15:54:31.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:32 [15:54:32.704]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:34 [15:54:34.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:36 [15:54:36.158]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:37 [15:54:37.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:39 [15:54:39.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:40 [15:54:40.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:42 [15:54:42.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:43 [15:54:43.763]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:45 [15:54:45.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:48 [15:54:48.422]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:51 [15:54:51.479]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:54 [15:54:54.423]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:57 [15:54:57.332]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:54:59 [15:54:59.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:02 [15:55:02.681]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:05 [15:55:05.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:07 [15:55:07.699]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:10 [15:55:10.323]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:12 [15:55:12.672]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:15 [15:55:15.651]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:18 [15:55:18.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:21 [15:55:21.695]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:23 [15:55:23.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:24 [15:55:24.649]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:26 [15:55:26.341]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:27 [15:55:27.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:29 [15:55:29.662]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:31 [15:55:31.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:32 [15:55:32.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:34 [15:55:34.226]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:35 [15:55:35.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:37 [15:55:37.743]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:39 [15:55:39.519]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x165e6772092fcbc771d838dec9cfbf4283effe669a56a44818d15d8cdeb86d40 for L2 block 1 has wrong index 10 (expected 0)
15:55:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:55:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:39 inboxMessage: {
15:55:39 index: 10n,
15:55:39 leaf: Fr<0x165e6772092fcbc771d838dec9cfbf4283effe669a56a44818d15d8cdeb86d40>,
15:55:39 l2BlockNumber: 1,
15:55:39 l1BlockNumber: 16n,
15:55:39 l1BlockHash: Buffer32<0xfe6006fe227924355176095cf5ea8276c4de90b34f7d7cee6f92349a7a401781>,
15:55:39 rollingHash: Buffer16<0x295420412ce8893cb9d156c04221d93a>
15:55:39 }
15:55:39 }
15:55:39 [15:55:39.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:41 [15:55:41.247]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0f1f46f74774dfe0f2f1dd949fd24685d48a87cfa8f566b62ae178d29e5a5ab9 at block 12 (expected value in range [176, 192))
15:55:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:55:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:41 inboxMessage: {
15:55:41 index: 224n,
15:55:41 leaf: Fr<0x0f1f46f74774dfe0f2f1dd949fd24685d48a87cfa8f566b62ae178d29e5a5ab9>,
15:55:41 l2BlockNumber: 12,
15:55:41 l1BlockNumber: 89n,
15:55:41 l1BlockHash: Buffer32<0x84809ee910e7b08b9f8428edd6a456cc868e02b958d6ec1b9d974b5504558d1b>,
15:55:41 rollingHash: Buffer16<0x9d36ae8905c8c25cdbd61cabfe59dbde>
15:55:41 }
15:55:41 }
15:55:41 [15:55:41.249]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:43 [15:55:43.056]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1d60508fd2d8bf28e57ae0ac5be48737602ba007571bc717dcc5c4bfce042e71 with index 16 (expected 0xf75afaaac7caf62c98466a9b4875fa1a from previous hash 0x266d91f059cc5383fd54c5b81bada888 but got 0x821601fecdf79e7cd475045599882afa)
15:55:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:55:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:43 inboxMessage: {
15:55:43 index: 16n,
15:55:43 leaf: Fr<0x1d60508fd2d8bf28e57ae0ac5be48737602ba007571bc717dcc5c4bfce042e71>,
15:55:43 l2BlockNumber: 2,
15:55:43 l1BlockNumber: 72n,
15:55:43 l1BlockHash: Buffer32<0xcd0dda08c3cea11fd3799306cf6937a90c559ccd49a2dea8f2f616d48da8fd03>,
15:55:43 rollingHash: Buffer16<0x821601fecdf79e7cd475045599882afa>
15:55:43 }
15:55:43 }
15:55:43 [15:55:43.059]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:44 [15:55:44.812]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2128b130857373961fb934f793cdadadf17e9e7731ba199e4a822bee334e3679 with index 32 (expected 0xd6d4bbcb55051f5407bd047bb7791c19 from previous hash 0xb7e2be902a0de1f3b6aa6a8828200ebf but got 0xe17d9b0dfd311f2bf4b734a76b7390aa)
15:55:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:55:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:44 inboxMessage: {
15:55:44 index: 32n,
15:55:44 leaf: Fr<0x2128b130857373961fb934f793cdadadf17e9e7731ba199e4a822bee334e3679>,
15:55:44 l2BlockNumber: 3,
15:55:44 l1BlockNumber: 85n,
15:55:44 l1BlockHash: Buffer32<0xdfa98c3e0cdb66ae031cdafa6635774880296ffe7a87f9741cad577d9019daed>,
15:55:44 rollingHash: Buffer16<0xe17d9b0dfd311f2bf4b734a76b7390aa>
15:55:44 }
15:55:44 }
15:55:44 [15:55:44.815]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:46 [15:55:46.482]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x15d2059a332d877bf0c4d9eb317ef092bed9a3328a13bd7b6c4430c01ead80da at block 17 (expected value in range [256, 272))
15:55:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:55:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:46 inboxMessage: {
15:55:46 index: 356n,
15:55:46 leaf: Fr<0x15d2059a332d877bf0c4d9eb317ef092bed9a3328a13bd7b6c4430c01ead80da>,
15:55:46 l2BlockNumber: 17,
15:55:46 l1BlockNumber: 99n,
15:55:46 l1BlockHash: Buffer32<0xadc093d163b97d820cc507aefa79082b7354d653135d7f23cd7d5a02177eef0b>,
15:55:46 rollingHash: Buffer16<0x88aaa158efed39743070ccd95b507b1c>
15:55:46 }
15:55:46 }
15:55:46 [15:55:46.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:47 [15:55:47.842]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0f51a438c89a542cbaca6aec841d1f94b8197667a69897b4367c35347bc9b435 for L2 block 15 has wrong index 225 (expected 224)
15:55:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:55:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:47 inboxMessage: {
15:55:47 index: 225n,
15:55:47 leaf: Fr<0x0f51a438c89a542cbaca6aec841d1f94b8197667a69897b4367c35347bc9b435>,
15:55:47 l2BlockNumber: 15,
15:55:47 l1BlockNumber: 54n,
15:55:47 l1BlockHash: Buffer32<0x03476c210086cb1ee698e26d6e15859ab03abf2360f54a2fd21600aa3c5a06bd>,
15:55:47 rollingHash: Buffer16<0x7094b9588e53c95dc7b8f011f31b2a43>
15:55:47 }
15:55:47 }
15:55:47 [15:55:47.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:49 [15:55:49.517]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x120c5b98b1c1c079066e71a49eed9b4b7330f85fa70bb4c37534b8f41bbc649e at block 2 (expected value in range [16, 32))
15:55:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:55:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:55:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:55:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:55:49 inboxMessage: {
15:55:49 index: 32n,
15:55:49 leaf: Fr<0x120c5b98b1c1c079066e71a49eed9b4b7330f85fa70bb4c37534b8f41bbc649e>,
15:55:49 l2BlockNumber: 2,
15:55:49 l1BlockNumber: 81n,
15:55:49 l1BlockHash: Buffer32<0x3151b167c6c94cd05bb207e96bdc20282f30fe372637faf981c9f846bee9f883>,
15:55:49 rollingHash: Buffer16<0xeb69d13ae3c154efcbf59cb618d9af5d>
15:55:49 }
15:55:49 }
15:55:49 [15:55:49.520]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:51 [15:55:51.401]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:55:51 [15:55:51.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:53 [15:55:53.318]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:55:53 [15:55:53.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:55 [15:55:55.167]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:57 [15:55:57.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:55:58 [15:55:58.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:00 [15:56:00.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:02 [15:56:02.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:04 [15:56:04.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:06 [15:56:06.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:08 [15:56:08.198]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:09 [15:56:09.966]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:11 [15:56:11.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:13 [15:56:13.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:15 [15:56:15.402]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:17 [15:56:17.254]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:19 [15:56:19.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:20 [15:56:20.902]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:22 [15:56:22.818]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:25 [15:56:25.896]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:29 [15:56:29.125]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:33 [15:56:33.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:36 [15:56:36.447]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:42 [15:56:42.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:47 [15:56:47.401]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:51 [15:56:51.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:56:55 [15:56:55.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:01 [15:57:01.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:06 [15:57:06.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:12 [15:57:12.561]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:57:17
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
193.324 s)
15:57:17 KVArchiverDataStore
15:57:17 ArchiverStore
15:57:17 addBlocks
15:57:17
✓ returns success when adding blocks (1345 ms)
15:57:17
✓ allows duplicate blocks (1660 ms)
15:57:17
✓ throws an error if the previous block does not exist in the store (1119 ms)
15:57:17
✓ throws an error if there is a gap in the blocks being added (1273 ms)
15:57:17 unwindBlocks
15:57:17
✓ unwinding blocks will remove blocks from the chain (1503 ms)
15:57:17
✓ can unwind multiple empty blocks (1219 ms)
15:57:17
✓ refuses to unwind blocks if the tip is not the last block (1533 ms)
15:57:17 getBlocks
15:57:17
✓ retrieves previously stored blocks (1377 ms)
15:57:17
✓ retrieves previously stored blocks (1213 ms)
15:57:17
✓ retrieves previously stored blocks (1622 ms)
15:57:17
✓ retrieves previously stored blocks (1256 ms)
15:57:17
✓ retrieves previously stored blocks (1228 ms)
15:57:17
✓ returns an empty array if no blocks are found (1209 ms)
15:57:17
✓ throws an error if limit is invalid (1733 ms)
15:57:17
✓ throws an error if `from` it is out of range (1787 ms)
15:57:17
✓ throws an error if unexpected initial block number is found (1684 ms)
15:57:17
✓ throws an error if a gap is found (2674 ms)
15:57:17 getSyncedL2BlockNumber
15:57:17
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1272 ms)
15:57:17
✓ returns the most recently added block's number (2094 ms)
15:57:17 getSynchPoint
15:57:17
✓ returns undefined if no blocks have been added (1355 ms)
15:57:17
✓ returns the L1 block number in which the most recent L2 block was published (1723 ms)
15:57:17
✓ returns the L1 block number that most recently added messages from inbox (1456 ms)
15:57:17
✓ returns the latest syncpoint if latest message is behind (1401 ms)
15:57:17 addLogs
15:57:17
✓ adds private & public logs (1305 ms)
15:57:17 deleteLogs
15:57:17
✓ deletes private & public logs (1717 ms)
15:57:17 getPrivateLogs
15:57:17
✓ gets added private logs (1659 ms)
15:57:17 getTxEffect
15:57:17
✓ retrieves a previously stored transaction (2996 ms)
15:57:17
✓ retrieves a previously stored transaction (3057 ms)
15:57:17
✓ retrieves a previously stored transaction (2941 ms)
15:57:17
✓ retrieves a previously stored transaction (2910 ms)
15:57:17
✓ retrieves a previously stored transaction (2545 ms)
15:57:17
✓ returns undefined if tx is not found (2804 ms)
15:57:17
✓ tries to retrieves a previously stored transaction after deleted (2473 ms)
15:57:17
✓ tries to retrieves a previously stored transaction after deleted (2539 ms)
15:57:17
✓ tries to retrieves a previously stored transaction after deleted (2630 ms)
15:57:17
✓ tries to retrieves a previously stored transaction after deleted (2349 ms)
15:57:17
✓ tries to retrieves a previously stored transaction after deleted (2978 ms)
15:57:17
✓ returns undefined if tx is not found (2768 ms)
15:57:17
✓ does not fail if the block is unwound while requesting a tx (3273 ms)
15:57:17 L1 to L2 Messages
15:57:17
✓ stores first message ever (1349 ms)
15:57:17
✓ stores single message (1606 ms)
15:57:17
✓ stores and returns messages across different blocks (1691 ms)
15:57:17
✓ stores the same messages again (1622 ms)
15:57:17
✓ stores and returns messages across different blocks with gaps (1699 ms)
15:57:17
✓ stores and returns messages with block numbers larger than a byte (1446 ms)
15:57:17
✓ stores and returns multiple messages per block (1561 ms)
15:57:17
✓ stores messages in multiple operations (1556 ms)
15:57:17
✓ iterates over messages from start index (1758 ms)
15:57:17
✓ iterates over messages in reverse (1758 ms)
15:57:17
✓ throws if messages are added out of order (1779 ms)
15:57:17
✓ throws if block number for the first message is out of order (1726 ms)
15:57:17
✓ throws if rolling hash is not correct (1810 ms)
15:57:17
✓ throws if rolling hash for first message is not correct (1755 ms)
15:57:17
✓ throws if index is not in the correct range (1670 ms)
15:57:17
✓ throws if first index in block has gaps (1359 ms)
15:57:17
✓ throws if index does not follow previous one (1675 ms)
15:57:17
✓ removes messages up to the given block number (1934 ms)
15:57:17
✓ removes messages starting with the given index (1886 ms)
15:57:17 contractInstances
15:57:17
✓ returns previously stored contract instances (1823 ms)
15:57:17
✓ returns undefined if contract instance is not found (1960 ms)
15:57:17
✓ returns undefined if previously stored contract instances was deleted (1856 ms)
15:57:17 contractInstanceUpdates
15:57:17
✓ gets the correct current class id for a contract not updated yet (1700 ms)
15:57:17
✓ gets the correct current class id for a contract that has just been updated (1794 ms)
15:57:17
✓ gets the correct current class id for a contract that was updated in the past (1862 ms)
15:57:17
✓ ignores updates for the wrong contract (1880 ms)
15:57:17
✓ bounds its search to the right contract if more than than one update exists (1973 ms)
15:57:17 contractClasses
15:57:17
✓ returns previously stored contract class (1768 ms)
15:57:17
✓ returns undefined if the initial deployed contract class was deleted (1760 ms)
15:57:17
✓ returns contract class if later "deployment" class was deleted (1906 ms)
15:57:17
✓ returns undefined if contract class is not found (1767 ms)
15:57:17
✓ adds new private functions (1851 ms)
15:57:17
✓ does not duplicate private functions (1773 ms)
15:57:17
✓ adds new utility functions (1871 ms)
15:57:17
✓ does not duplicate utility functions (1915 ms)
15:57:17 getLogsByTags
15:57:17
✓ is possible to batch request private logs via tags (3079 ms)
15:57:17
✓ is possible to batch request all logs (private and public) via tags (3227 ms)
15:57:17
✓ is possible to batch request logs that have the same tag but different content (3921 ms)
15:57:17
✓ is possible to request logs for non-existing tags and determine their position (3401 ms)
15:57:17 getPublicLogs
15:57:17
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5949 ms)
15:57:17
✓ "txHash" filter param is respected (5003 ms)
15:57:17
✓ "fromBlock" and "toBlock" filter params are respected (4327 ms)
15:57:17
✓ "contractAddress" filter param is respected (4059 ms)
15:57:17
✓ "afterLog" filter param is respected (5244 ms)
15:57:17
✓ "txHash" filter param is ignored when "afterLog" is set (5856 ms)
15:57:17
✓ intersecting works (5668 ms)
15:57:17
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5125 ms)
15:57:17
15:57:17
Test Suites: 1 passed, 1 total
15:57:17
Tests: 86 passed, 86 total
15:57:17
Snapshots: 0 total
15:57:17
Time: 193.427 s
15:57:17
Ran all test suites matching /archiver\/src\/archiver\/kv_archiver_store\/kv_archiver_store.test.ts/i
.
15:57:17
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?