Parent Log:
http://ci.aztec-labs.com/aa565ebfaed12118
Command: f44e1b4f382283e1 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/7d1abcb337009939ee47da8445b5fee80f39fb58
Env: REF_NAME=gh-readonly-queue/next/pr-15156-df137f9440a970af2eb6e2ee94c48bf3bf47e207 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 10:04:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15156_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
10:04:36 [10:04:36.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:37 [10:04:37.898]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:39 [10:04:39.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:40 [10:04:40.271]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 2 given previous block number in store is undefined
10:04:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:04:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:04:40 newBlockNumber: 2,
10:04:40 previousBlockNumber: undefined
10:04:40 }
10:04:40 [10:04:40.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:41 [10:04:41.423]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: BlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in batch is 1
10:04:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
10:04:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:04:41 [10:04:41.426]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:42 [10:04:42.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:43 [10:04:43.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:44 [10:04:44.937]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: Error: Can only unwind blocks from the tip (requested 5 but current tip is 10)
10:04:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
10:04:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:04:44 [10:04:44.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:46 [10:04:46.345]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:47 [10:04:47.994]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:49 [10:04:49.952]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:52 [10:04:52.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:54 [10:04:54.031]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:56 [10:04:56.305]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:58 [10:04:58.338]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:00 [10:05:00.256]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:02 [10:05:02.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:04 [10:05:04.904]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:06 [10:05:06.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:08 [10:05:08.398]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:09 [10:05:09.806]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:11 [10:05:11.493]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:12 [10:05:12.632]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:14 [10:05:14.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:15 [10:05:15.470]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:17 [10:05:17.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:18 [10:05:18.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:21 [10:05:21.516]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:24 [10:05:24.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:26 [10:05:26.583]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:29 [10:05:29.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:31 [10:05:31.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:34 [10:05:34.214]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:37 [10:05:37.047]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:39 [10:05:39.964]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:42 [10:05:42.465]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:45 [10:05:45.157]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:47 [10:05:47.879]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:50 [10:05:50.478]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:54 [10:05:54.068]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:55 [10:05:55.620]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:57 [10:05:57.281]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:59 [10:05:59.006]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:00 [10:06:00.685]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:02 [10:06:02.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:04 [10:06:04.188]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:05 [10:06:05.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:07 [10:06:07.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:09 [10:06:09.612]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:11 [10:06:11.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:13 [10:06:13.835]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x11a7357f466ccc2ef51dc728785f28da3d4ba286abdae281baed75adabb9a55e for L2 block 1 has wrong index 10 (expected 0)
10:06:13 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:06:13 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:13 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:13 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:13 inboxMessage: {
10:06:13 index: 10n,
10:06:13 leaf: Fr<0x11a7357f466ccc2ef51dc728785f28da3d4ba286abdae281baed75adabb9a55e>,
10:06:13 l2BlockNumber: 1,
10:06:13 l1BlockNumber: 68n,
10:06:13 l1BlockHash: Buffer32<0x15173e03a947f0d2aa5cdc9b93e9dd231de478004fd0cea53aaf3951a44bb130>,
10:06:13 rollingHash: Buffer16<0x26251c2c29bef7e37d0a4716c2c65150>
10:06:13 }
10:06:13 }
10:06:13 [10:06:13.841]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:15 [10:06:15.326]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x0cb89b0b236536879e5e5216cfefa80a4d7c2dc7ce4b71921cce0fc9d396bb76 at block 12 (expected value in range [176, 192))
10:06:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:06:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:15 inboxMessage: {
10:06:15 index: 224n,
10:06:15 leaf: Fr<0x0cb89b0b236536879e5e5216cfefa80a4d7c2dc7ce4b71921cce0fc9d396bb76>,
10:06:15 l2BlockNumber: 12,
10:06:15 l1BlockNumber: 73n,
10:06:15 l1BlockHash: Buffer32<0xdb21259c676fc47c0f05b73264d3f69de9ea032dbea6f9b84f8cfa5fb9e1548d>,
10:06:15 rollingHash: Buffer16<0x8778eeb478d072bf1fede4944be751bd>
10:06:15 }
10:06:15 }
10:06:15 [10:06:15.328]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:17 [10:06:17.011]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2bdbe86efc67de6d94dec9eaec2bb5471a80a65c4dbc5119bdf7c93564c4ba07 with index 16 (expected 0x31a16490434881b4a58b7cf80a326f9b from previous hash 0x8e900e1f0a6504414f190b48c8df4d85 but got 0x3935cdc6c342f46df9c0d8783f4a4b6d)
10:06:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:06:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:17 inboxMessage: {
10:06:17 index: 16n,
10:06:17 leaf: Fr<0x2bdbe86efc67de6d94dec9eaec2bb5471a80a65c4dbc5119bdf7c93564c4ba07>,
10:06:17 l2BlockNumber: 2,
10:06:17 l1BlockNumber: 72n,
10:06:17 l1BlockHash: Buffer32<0xa79cf2b927561c65510e13fee7e7614a5a913f64d1b79a892d28998d72ac0cf5>,
10:06:17 rollingHash: Buffer16<0x3935cdc6c342f46df9c0d8783f4a4b6d>
10:06:17 }
10:06:17 }
10:06:17 [10:06:17.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:18 [10:06:18.643]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2357c75c4828336cd491f351a58ff483bbe60555e0abd7d03d5481aef780501d with index 32 (expected 0xa4f930bea5f6b95fa34a0be89f7c850e from previous hash 0x209e78c24bd4bc52d9a3ca28693f939f but got 0x1e79d38f78767eecad04112a13204d4a)
10:06:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
10:06:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:18 inboxMessage: {
10:06:18 index: 32n,
10:06:18 leaf: Fr<0x2357c75c4828336cd491f351a58ff483bbe60555e0abd7d03d5481aef780501d>,
10:06:18 l2BlockNumber: 3,
10:06:18 l1BlockNumber: 93n,
10:06:18 l1BlockHash: Buffer32<0xe8f39511302e353768d8b75e2292b5ed08854e7e3f73676e49ac19a97f4ffbe5>,
10:06:18 rollingHash: Buffer16<0x1e79d38f78767eecad04112a13204d4a>
10:06:18 }
10:06:18 }
10:06:18 [10:06:18.646]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:20 [10:06:20.573]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x082a2a173da7417324625106741428f53596217418678898aea5fc27a77b78f6 at block 17 (expected value in range [256, 272))
10:06:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:06:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:20 inboxMessage: {
10:06:20 index: 356n,
10:06:20 leaf: Fr<0x082a2a173da7417324625106741428f53596217418678898aea5fc27a77b78f6>,
10:06:20 l2BlockNumber: 17,
10:06:20 l1BlockNumber: 69n,
10:06:20 l1BlockHash: Buffer32<0xfb109e2a4dbab3fd2f0794cfb682c49ce8668d163bbc0a91484e913537114364>,
10:06:20 rollingHash: Buffer16<0x4cad7c02e00b141f1d83ec394eda2738>
10:06:20 }
10:06:20 }
10:06:20 [10:06:20.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:22 [10:06:22.418]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x0261bfd4bbbda41a4f34ee0d147dc1cfde68c046d703ab165d5e06f172fd0c4d for L2 block 15 has wrong index 225 (expected 224)
10:06:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
10:06:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:22 inboxMessage: {
10:06:22 index: 225n,
10:06:22 leaf: Fr<0x0261bfd4bbbda41a4f34ee0d147dc1cfde68c046d703ab165d5e06f172fd0c4d>,
10:06:22 l2BlockNumber: 15,
10:06:22 l1BlockNumber: 68n,
10:06:22 l1BlockHash: Buffer32<0x4aeaef88386a5d3185e082a33d9c58db106e528472c711baa0dbb1ddc47947d0>,
10:06:22 rollingHash: Buffer16<0x526c16c2f222e09360f89fbf0a6bd7bd>
10:06:22 }
10:06:22 }
10:06:22 [10:06:22.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:24 [10:06:24.573]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x13313b700295c53a4e81f3e77a142589766a06dcf0f618f0c83607a6df925994 at block 2 (expected value in range [16, 32))
10:06:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:06:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:24 inboxMessage: {
10:06:24 index: 32n,
10:06:24 leaf: Fr<0x13313b700295c53a4e81f3e77a142589766a06dcf0f618f0c83607a6df925994>,
10:06:24 l2BlockNumber: 2,
10:06:24 l1BlockNumber: 87n,
10:06:24 l1BlockHash: Buffer32<0x6ebb987e28a7ef6dc511e30c83df1e8ca8c772c38dffb2e52b27f456d982dc6d>,
10:06:24 rollingHash: Buffer16<0x15b80e14b5c04fead6a5fa410fdf00dc>
10:06:24 }
10:06:24 }
10:06:24 [10:06:24.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:26 [10:06:26.270]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:06:26 [10:06:26.300]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:27 [10:06:27.901]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:06:27 [10:06:27.918]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:29 [10:06:29.713]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:31 [10:06:31.604]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:33 [10:06:33.792]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:35 [10:06:35.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:37 [10:06:37.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:39 [10:06:39.580]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:41 [10:06:41.232]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:43 [10:06:43.191]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:45 [10:06:45.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:46 [10:06:46.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:48 [10:06:48.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:50 [10:06:50.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:52 [10:06:52.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:54 [10:06:54.797]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:56 [10:06:56.773]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:58 [10:06:58.867]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:02 [10:07:02.134]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:05 [10:07:05.467]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:08 [10:07:08.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:11 [10:07:11.913]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:18 [10:07:18.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:23 [10:07:23.471]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:28 [10:07:28.942]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:33 [10:07:33.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:37 [10:07:37.160]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:41 [10:07:41.503]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:45 [10:07:45.909]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:50
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.128 s)
10:07:50 KVArchiverDataStore
10:07:50 ArchiverStore
10:07:50 addBlocks
10:07:50
✓ returns success when adding blocks (1606 ms)
10:07:50
✓ allows duplicate blocks (1416 ms)
10:07:50
✓ throws an error if the previous block does not exist in the store (962 ms)
10:07:50
✓ throws an error if there is a gap in the blocks being added (1149 ms)
10:07:50 unwindBlocks
10:07:50
✓ unwinding blocks will remove blocks from the chain (1379 ms)
10:07:50
✓ can unwind multiple empty blocks (893 ms)
10:07:50
✓ refuses to unwind blocks if the tip is not the last block (1243 ms)
10:07:50 getBlocks
10:07:50
✓ retrieves previously stored blocks (1402 ms)
10:07:50
✓ retrieves previously stored blocks (1646 ms)
10:07:50
✓ retrieves previously stored blocks (1957 ms)
10:07:50
✓ retrieves previously stored blocks (2292 ms)
10:07:50
✓ retrieves previously stored blocks (1787 ms)
10:07:50
✓ returns an empty array if no blocks are found (2273 ms)
10:07:50
✓ throws an error if limit is invalid (2007 ms)
10:07:50
✓ throws an error if `from` it is out of range (1943 ms)
10:07:50
✓ throws an error if unexpected initial block number is found (2151 ms)
10:07:50
✓ throws an error if a gap is found (2485 ms)
10:07:50 getSyncedL2BlockNumber
10:07:50
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1525 ms)
10:07:50
✓ returns the most recently added block's number (1970 ms)
10:07:50 getSynchPoint
10:07:50
✓ returns undefined if no blocks have been added (1411 ms)
10:07:50
✓ returns the L1 block number in which the most recent L2 block was published (1686 ms)
10:07:50
✓ returns the L1 block number that most recently added messages from inbox (1137 ms)
10:07:50
✓ returns the latest syncpoint if latest message is behind (1495 ms)
10:07:50 addLogs
10:07:50
✓ adds private & public logs (1341 ms)
10:07:50 deleteLogs
10:07:50
✓ deletes private & public logs (1539 ms)
10:07:50 getPrivateLogs
10:07:50
✓ gets added private logs (1803 ms)
10:07:50 getTxEffect
10:07:50
✓ retrieves a previously stored transaction (2701 ms)
10:07:50
✓ retrieves a previously stored transaction (2785 ms)
10:07:50
✓ retrieves a previously stored transaction (2280 ms)
10:07:50
✓ retrieves a previously stored transaction (2460 ms)
10:07:50
✓ retrieves a previously stored transaction (2692 ms)
10:07:50
✓ returns undefined if tx is not found (2477 ms)
10:07:50
✓ tries to retrieves a previously stored transaction after deleted (2828 ms)
10:07:50
✓ tries to retrieves a previously stored transaction after deleted (2920 ms)
10:07:50
✓ tries to retrieves a previously stored transaction after deleted (2499 ms)
10:07:50
✓ tries to retrieves a previously stored transaction after deleted (2691 ms)
10:07:50
✓ tries to retrieves a previously stored transaction after deleted (2722 ms)
10:07:50
✓ returns undefined if tx is not found (2598 ms)
10:07:50
✓ does not fail if the block is unwound while requesting a tx (3588 ms)
10:07:50 L1 to L2 Messages
10:07:50
✓ stores first message ever (1551 ms)
10:07:50
✓ stores single message (1658 ms)
10:07:50
✓ stores and returns messages across different blocks (1724 ms)
10:07:50
✓ stores the same messages again (1679 ms)
10:07:50
✓ stores and returns messages across different blocks with gaps (1637 ms)
10:07:50
✓ stores and returns messages with block numbers larger than a byte (1865 ms)
10:07:50
✓ stores and returns multiple messages per block (1789 ms)
10:07:50
✓ stores messages in multiple operations (1961 ms)
10:07:50
✓ iterates over messages from start index (1670 ms)
10:07:50
✓ iterates over messages in reverse (2252 ms)
10:07:50
✓ throws if messages are added out of order (1975 ms)
10:07:50
✓ throws if block number for the first message is out of order (1488 ms)
10:07:50
✓ throws if rolling hash is not correct (1686 ms)
10:07:50
✓ throws if rolling hash for first message is not correct (1630 ms)
10:07:50
✓ throws if index is not in the correct range (1931 ms)
10:07:50
✓ throws if first index in block has gaps (1842 ms)
10:07:50
✓ throws if index does not follow previous one (2156 ms)
10:07:50
✓ removes messages up to the given block number (1721 ms)
10:07:50
✓ removes messages starting with the given index (1617 ms)
10:07:50 contractInstances
10:07:50
✓ returns previously stored contract instances (1790 ms)
10:07:50
✓ returns undefined if contract instance is not found (1895 ms)
10:07:50
✓ returns undefined if previously stored contract instances was deleted (2185 ms)
10:07:50 contractInstanceUpdates
10:07:50
✓ gets the correct current class id for a contract not updated yet (1806 ms)
10:07:50
✓ gets the correct current class id for a contract that has just been updated (2017 ms)
10:07:50
✓ gets the correct current class id for a contract that was updated in the past (1963 ms)
10:07:50
✓ ignores updates for the wrong contract (1650 ms)
10:07:50
✓ bounds its search to the right contract if more than than one update exists (1953 ms)
10:07:50 contractClasses
10:07:50
✓ returns previously stored contract class (1999 ms)
10:07:50
✓ returns undefined if the initial deployed contract class was deleted (1794 ms)
10:07:50
✓ returns contract class if later "deployment" class was deleted (1803 ms)
10:07:50
✓ returns undefined if contract class is not found (1964 ms)
10:07:50
✓ adds new private functions (1964 ms)
10:07:50
✓ does not duplicate private functions (2081 ms)
10:07:50
✓ adds new utility functions (1974 ms)
10:07:50
✓ does not duplicate utility functions (2093 ms)
10:07:50 getLogsByTags
10:07:50
✓ is possible to batch request private logs via tags (3266 ms)
10:07:50
✓ is possible to batch request all logs (private and public) via tags (3330 ms)
10:07:50
✓ is possible to batch request logs that have the same tag but different content (3333 ms)
10:07:50
✓ is possible to request logs for non-existing tags and determine their position (3111 ms)
10:07:50 getPublicLogs
10:07:50
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6091 ms)
10:07:50
✓ "txHash" filter param is respected (5467 ms)
10:07:50
✓ "fromBlock" and "toBlock" filter params are respected (5470 ms)
10:07:50
✓ "contractAddress" filter param is respected (4226 ms)
10:07:50
✓ "afterLog" filter param is respected (3989 ms)
10:07:50
✓ "txHash" filter param is ignored when "afterLog" is set (4342 ms)
10:07:50
✓ intersecting works (4405 ms)
10:07:50
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5003 ms)
10:07:50
10:07:50
Test Suites: 1 passed, 1 total
10:07:50
Tests: 86 passed, 86 total
10:07:50
Snapshots: 0 total
10:07:50
Time: 196.213 s
10:07:50
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:07:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?