Parent Log:
http://ci.aztec-labs.com/be5e45ccea0d4a06
Command: a5f5c8aa95cdbf1c 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/90e495a77534c1d250949dbc053161959c9aadcc
Env: REF_NAME=gh-readonly-queue/next/pr-15048-af8041048ee98abe05402607256df4b4cac51dd8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 15:07:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15048_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:07:24 [15:07:24.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:26 [15:07:26.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:27 [15:07:27.830]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:28 [15:07:28.920]
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:07:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:07:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:07:28 newBlockNumber: 2,
15:07:28 previousBlockNumber: undefined
15:07:28 }
15:07:28 [15:07:28.929]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:30 [15:07:30.283]
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:07:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
15:07:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:07:30 [15:07:30.286]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:31 [15:07:31.716]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:32 [15:07:32.728]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:34 [15:07:34.478]
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:07:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
15:07:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:07:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:07:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
15:07:34 [15:07:34.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:36 [15:07:36.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:37 [15:07:37.740]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:39 [15:07:39.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:41 [15:07:41.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:44 [15:07:44.458]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:46 [15:07:46.093]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:48 [15:07:48.297]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:50 [15:07:50.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:52 [15:07:52.659]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:55 [15:07:55.025]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:56 [15:07:56.638]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:58 [15:07:58.555]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:07:59 [15:07:59.878]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:01 [15:08:01.508]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:02 [15:08:02.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:04 [15:08:04.093]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:05 [15:08:05.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:06 [15:08:06.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:08 [15:08:08.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:11 [15:08:11.380]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:14 [15:08:14.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:16 [15:08:16.756]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:19 [15:08:19.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:22 [15:08:22.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:24 [15:08:24.451]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:26 [15:08:26.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:29 [15:08:29.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:32 [15:08:32.387]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:35 [15:08:35.303]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:38 [15:08:38.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:40 [15:08:40.781]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:44 [15:08:44.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:46 [15:08:46.371]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:48 [15:08:48.219]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:50 [15:08:50.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:51 [15:08:51.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:53 [15:08:53.853]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:55 [15:08:55.653]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:57 [15:08:57.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:08:59 [15:08:59.492]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:01 [15:09:01.273]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:03 [15:09:03.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:05 [15:09:05.096]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2b1ac17aeaec395d7ad611081bb2fdca6dfc38f50b054b504b26600efb576c58 for L2 block 1 has wrong index 10 (expected 0)
15:09:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:09:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:05 inboxMessage: {
15:09:05 index: 10n,
15:09:05 leaf: Fr<0x2b1ac17aeaec395d7ad611081bb2fdca6dfc38f50b054b504b26600efb576c58>,
15:09:05 l2BlockNumber: 1,
15:09:05 l1BlockNumber: 53n,
15:09:05 l1BlockHash: Buffer32<0x418348d5f3dae61dd0ffdd3eac009d2fcbdca65a954324418f8d327730555d90>,
15:09:05 rollingHash: Buffer16<0x424f6c47354fff779155cc9566f97042>
15:09:05 }
15:09:05 }
15:09:05 [15:09:05.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:07 [15:09:07.055]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x08931b03fddaa70b96708aeb7d784876b7df16c38c27ab98607af37ff72c2ae8 at block 12 (expected value in range [176, 192))
15:09:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:09:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:07 inboxMessage: {
15:09:07 index: 224n,
15:09:07 leaf: Fr<0x08931b03fddaa70b96708aeb7d784876b7df16c38c27ab98607af37ff72c2ae8>,
15:09:07 l2BlockNumber: 12,
15:09:07 l1BlockNumber: 60n,
15:09:07 l1BlockHash: Buffer32<0xd339c22d1a904c1e8ebd66c3ed198be9d1a5a4490aa64da48e640878a55a4ed9>,
15:09:07 rollingHash: Buffer16<0x2a0a4fb8b22fa152b64ec3f1d59c35a9>
15:09:07 }
15:09:07 }
15:09:07 [15:09:07.060]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:08 [15:09:08.778]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x03dc3f0fb970c5c141b55c74a48316c9e9616ecc05f6d6d0cc6289287833c405 with index 16 (expected 0x112f019ab8927163b56fe4df1091fd5e from previous hash 0x40d2329bac6f660668dc730247d1eb30 but got 0xa4b6847417fc1d70b91cf11456b4d24e)
15:09:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:09:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:08 inboxMessage: {
15:09:08 index: 16n,
15:09:08 leaf: Fr<0x03dc3f0fb970c5c141b55c74a48316c9e9616ecc05f6d6d0cc6289287833c405>,
15:09:08 l2BlockNumber: 2,
15:09:08 l1BlockNumber: 82n,
15:09:08 l1BlockHash: Buffer32<0x61ad249b1ab0e9012681ec8287faf84d6d9de13c07c257d0f808c96c665303b1>,
15:09:08 rollingHash: Buffer16<0xa4b6847417fc1d70b91cf11456b4d24e>
15:09:08 }
15:09:08 }
15:09:08 [15:09:08.781]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:10 [15:09:10.616]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x0931f7938df0fc82536bc8a37b87fc2ba24e0b11f48cbfc20278e9311f842632 with index 32 (expected 0x38afce333532a1ea220e3ae38b6108d7 from previous hash 0x238f90cc0592b0fbf06870f7c5617aac but got 0xbe28f857cc9687c6229f8f94d37c243b)
15:09:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
15:09:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:10 inboxMessage: {
15:09:10 index: 32n,
15:09:10 leaf: Fr<0x0931f7938df0fc82536bc8a37b87fc2ba24e0b11f48cbfc20278e9311f842632>,
15:09:10 l2BlockNumber: 3,
15:09:10 l1BlockNumber: 4n,
15:09:10 l1BlockHash: Buffer32<0x3bd274add461e11216c193167f21848706587c9e43fbabae3110deb58f8c570e>,
15:09:10 rollingHash: Buffer16<0xbe28f857cc9687c6229f8f94d37c243b>
15:09:10 }
15:09:10 }
15:09:10 [15:09:10.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:12 [15:09:12.610]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x21e7828c258c50eaef26f3943e840ffb75b7b249fe884fd504fe339210a9b595 at block 17 (expected value in range [256, 272))
15:09:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:09:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:12 inboxMessage: {
15:09:12 index: 356n,
15:09:12 leaf: Fr<0x21e7828c258c50eaef26f3943e840ffb75b7b249fe884fd504fe339210a9b595>,
15:09:12 l2BlockNumber: 17,
15:09:12 l1BlockNumber: 75n,
15:09:12 l1BlockHash: Buffer32<0xd1875102c84a76f7c1d56ae1c14ac42e51a97d43b14f67b780108f4e6c37e401>,
15:09:12 rollingHash: Buffer16<0x3279676b0f490629bd9b21056cd6e5d1>
15:09:12 }
15:09:12 }
15:09:12 [15:09:12.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:14 [15:09:14.258]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2ff9d17263e995a18ee7edbdd5eec1b5af71060fad452cb3bd9bdfe99faafc8e for L2 block 15 has wrong index 225 (expected 224)
15:09:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
15:09:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:14 inboxMessage: {
15:09:14 index: 225n,
15:09:14 leaf: Fr<0x2ff9d17263e995a18ee7edbdd5eec1b5af71060fad452cb3bd9bdfe99faafc8e>,
15:09:14 l2BlockNumber: 15,
15:09:14 l1BlockNumber: 33n,
15:09:14 l1BlockHash: Buffer32<0x6d7513843a0b2e20b5db9e51c88078aa83411884bd5b7356fd36bb8c354ee611>,
15:09:14 rollingHash: Buffer16<0x7e5f8b087c510ace2b8c03a684f29c87>
15:09:14 }
15:09:14 }
15:09:14 [15:09:14.262]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:15 [15:09:15.793]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x076c8784733161a6421f0acdae3231d0b1d7726af5b9bb4e74ef924fd387c975 at block 2 (expected value in range [16, 32))
15:09:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
15:09:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:09:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:09:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:09:15 inboxMessage: {
15:09:15 index: 32n,
15:09:15 leaf: Fr<0x076c8784733161a6421f0acdae3231d0b1d7726af5b9bb4e74ef924fd387c975>,
15:09:15 l2BlockNumber: 2,
15:09:15 l1BlockNumber: 100n,
15:09:15 l1BlockHash: Buffer32<0x2ed32fe4fdfffe343788d1f3a55f5e73f0374b2b1f2f29fd13f547aeecbfbb03>,
15:09:15 rollingHash: Buffer16<0x1ca3499ffbe4c7328c45939fae18c8af>
15:09:15 }
15:09:15 }
15:09:15 [15:09:15.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:18 [15:09:18.208]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
15:09:18 [15:09:18.255]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:20 [15:09:20.629]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
15:09:20 [15:09:20.651]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:22 [15:09:22.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:24 [15:09:24.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:26 [15:09:26.007]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:27 [15:09:27.840]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:29 [15:09:29.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:31 [15:09:31.553]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:33 [15:09:33.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:35 [15:09:35.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:37 [15:09:37.119]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:39 [15:09:39.271]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:41 [15:09:41.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:43 [15:09:43.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:45 [15:09:45.747]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:47 [15:09:47.851]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:49 [15:09:49.982]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:52 [15:09:52.123]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:56 [15:09:56.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:09:59 [15:09:59.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:03 [15:10:03.380]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:06 [15:10:06.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:12 [15:10:12.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:17 [15:10:17.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:22 [15:10:22.185]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:27 [15:10:27.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:32 [15:10:32.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:36 [15:10:36.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:40 [15:10:40.796]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:10:45
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
202.72 s)
15:10:45 KVArchiverDataStore
15:10:45 ArchiverStore
15:10:45 addBlocks
15:10:45
✓ returns success when adding blocks (1675 ms)
15:10:45
✓ allows duplicate blocks (1727 ms)
15:10:45
✓ throws an error if the previous block does not exist in the store (1095 ms)
15:10:45
✓ throws an error if there is a gap in the blocks being added (1360 ms)
15:10:45 unwindBlocks
15:10:45
✓ unwinding blocks will remove blocks from the chain (1430 ms)
15:10:45
✓ can unwind multiple empty blocks (1001 ms)
15:10:45
✓ refuses to unwind blocks if the tip is not the last block (1765 ms)
15:10:45 getBlocks
15:10:45
✓ retrieves previously stored blocks (1698 ms)
15:10:45
✓ retrieves previously stored blocks (1556 ms)
15:10:45
✓ retrieves previously stored blocks (1935 ms)
15:10:45
✓ retrieves previously stored blocks (2068 ms)
15:10:45
✓ retrieves previously stored blocks (2711 ms)
15:10:45
✓ returns an empty array if no blocks are found (1632 ms)
15:10:45
✓ throws an error if limit is invalid (2206 ms)
15:10:45
✓ throws an error if `from` it is out of range (2082 ms)
15:10:45
✓ throws an error if unexpected initial block number is found (2278 ms)
15:10:45
✓ throws an error if a gap is found (2365 ms)
15:10:45 getSyncedL2BlockNumber
15:10:45
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1613 ms)
15:10:45
✓ returns the most recently added block's number (1916 ms)
15:10:45 getSynchPoint
15:10:45
✓ returns undefined if no blocks have been added (1323 ms)
15:10:45
✓ returns the L1 block number in which the most recent L2 block was published (1628 ms)
15:10:45
✓ returns the L1 block number that most recently added messages from inbox (1266 ms)
15:10:45
✓ returns the latest syncpoint if latest message is behind (1314 ms)
15:10:45 addLogs
15:10:45
✓ adds private & public logs (1302 ms)
15:10:45 deleteLogs
15:10:45
✓ deletes private & public logs (1575 ms)
15:10:45 getPrivateLogs
15:10:45
✓ gets added private logs (1630 ms)
15:10:45 getTxEffect
15:10:45
✓ retrieves a previously stored transaction (2781 ms)
15:10:45
✓ retrieves a previously stored transaction (2639 ms)
15:10:45
✓ retrieves a previously stored transaction (2731 ms)
15:10:45
✓ retrieves a previously stored transaction (2604 ms)
15:10:45
✓ retrieves a previously stored transaction (2797 ms)
15:10:45
✓ returns undefined if tx is not found (2297 ms)
15:10:45
✓ tries to retrieves a previously stored transaction after deleted (2428 ms)
15:10:45
✓ tries to retrieves a previously stored transaction after deleted (2709 ms)
15:10:45
✓ tries to retrieves a previously stored transaction after deleted (2797 ms)
15:10:45
✓ tries to retrieves a previously stored transaction after deleted (2916 ms)
15:10:45
✓ tries to retrieves a previously stored transaction after deleted (2745 ms)
15:10:45
✓ returns undefined if tx is not found (2732 ms)
15:10:45
✓ does not fail if the block is unwound while requesting a tx (3801 ms)
15:10:45 L1 to L2 Messages
15:10:45
✓ stores first message ever (1786 ms)
15:10:45
✓ stores single message (1847 ms)
15:10:45
✓ stores and returns messages across different blocks (1842 ms)
15:10:45
✓ stores the same messages again (1872 ms)
15:10:45
✓ stores and returns messages across different blocks with gaps (1916 ms)
15:10:45
✓ stores and returns messages with block numbers larger than a byte (1800 ms)
15:10:45
✓ stores and returns multiple messages per block (1698 ms)
15:10:45
✓ stores messages in multiple operations (2139 ms)
15:10:45
✓ iterates over messages from start index (1781 ms)
15:10:45
✓ iterates over messages in reverse (1794 ms)
15:10:45
✓ throws if messages are added out of order (2031 ms)
15:10:45
✓ throws if block number for the first message is out of order (1958 ms)
15:10:45
✓ throws if rolling hash is not correct (1721 ms)
15:10:45
✓ throws if rolling hash for first message is not correct (1838 ms)
15:10:45
✓ throws if index is not in the correct range (1993 ms)
15:10:45
✓ throws if first index in block has gaps (1647 ms)
15:10:45
✓ throws if index does not follow previous one (1534 ms)
15:10:45
✓ removes messages up to the given block number (2457 ms)
15:10:45
✓ removes messages starting with the given index (2397 ms)
15:10:45 contractInstances
15:10:45
✓ returns previously stored contract instances (1809 ms)
15:10:45
✓ returns undefined if contract instance is not found (1826 ms)
15:10:45
✓ returns undefined if previously stored contract instances was deleted (1717 ms)
15:10:45 contractInstanceUpdates
15:10:45
✓ gets the correct current class id for a contract not updated yet (1832 ms)
15:10:45
✓ gets the correct current class id for a contract that has just been updated (1793 ms)
15:10:45
✓ gets the correct current class id for a contract that was updated in the past (1916 ms)
15:10:45
✓ ignores updates for the wrong contract (1836 ms)
15:10:45
✓ bounds its search to the right contract if more than than one update exists (1615 ms)
15:10:45 contractClasses
15:10:45
✓ returns previously stored contract class (2114 ms)
15:10:45
✓ returns undefined if the initial deployed contract class was deleted (2149 ms)
15:10:45
✓ returns contract class if later "deployment" class was deleted (2070 ms)
15:10:45
✓ returns undefined if contract class is not found (2098 ms)
15:10:45
✓ adds new private functions (2304 ms)
15:10:45
✓ does not duplicate private functions (2104 ms)
15:10:45
✓ adds new utility functions (2129 ms)
15:10:45
✓ does not duplicate utility functions (2136 ms)
15:10:45 getLogsByTags
15:10:45
✓ is possible to batch request private logs via tags (3896 ms)
15:10:45
✓ is possible to batch request all logs (private and public) via tags (3543 ms)
15:10:45
✓ is possible to batch request logs that have the same tag but different content (3819 ms)
15:10:45
✓ is possible to request logs for non-existing tags and determine their position (3378 ms)
15:10:45 getPublicLogs
15:10:45
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6112 ms)
15:10:45
✓ "txHash" filter param is respected (4488 ms)
15:10:45
✓ "fromBlock" and "toBlock" filter params are respected (4821 ms)
15:10:45
✓ "contractAddress" filter param is respected (5396 ms)
15:10:45
✓ "afterLog" filter param is respected (4775 ms)
15:10:45
✓ "txHash" filter param is ignored when "afterLog" is set (4435 ms)
15:10:45
✓ intersecting works (4003 ms)
15:10:45
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4908 ms)
15:10:45
15:10:45
Test Suites: 1 passed, 1 total
15:10:45
Tests: 86 passed, 86 total
15:10:45
Snapshots: 0 total
15:10:45
Time: 202.828 s
15:10:45
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
15:10:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?