Parent Log:
http://ci.aztec-labs.com/9f4d5cb4c0acef50
Command: fab700985fdda05e 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/9164f0ea2d1bd891bbde066fe27f2239188ddec9
Env: REF_NAME=gh-readonly-queue/next/pr-15169-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 11:25:26 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
11:25:29 [11:25:29.261]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:30 [11:25:30.710]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:32 [11:25:32.237]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:33 [11:25:33.507]
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
11:25:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
11:25:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:25:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:25:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:25:33 newBlockNumber: 2,
11:25:33 previousBlockNumber: undefined
11:25:33 }
11:25:33 [11:25:33.511]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:34 [11:25:34.781]
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
11:25:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
11:25:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:25:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:25:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:25:34 [11:25:34.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:36 [11:25:36.174]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:37 [11:25:37.100]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:38 [11:25:38.312]
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)
11:25:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
11:25:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:25:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:25:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
11:25:38 [11:25:38.315]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:39 [11:25:39.726]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:41 [11:25:41.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:42 [11:25:42.869]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:44 [11:25:44.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:45 [11:25:45.891]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:47 [11:25:47.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:49 [11:25:49.007]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:50 [11:25:50.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:52 [11:25:52.603]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:55 [11:25:55.748]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:57 [11:25:57.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:25:59 [11:25:59.606]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:01 [11:26:01.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:02 [11:26:02.861]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:04 [11:26:04.358]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:05 [11:26:05.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:07 [11:26:07.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:08 [11:26:08.729]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:10 [11:26:10.295]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:12 [11:26:12.949]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:15 [11:26:15.578]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:18 [11:26:18.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:21 [11:26:21.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:23 [11:26:23.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:26 [11:26:26.234]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:28 [11:26:28.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:31 [11:26:31.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:33 [11:26:33.941]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:36 [11:26:36.634]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:39 [11:26:39.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:42 [11:26:42.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:45 [11:26:45.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:46 [11:26:46.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:48 [11:26:48.110]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:49 [11:26:49.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:51 [11:26:51.004]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:52 [11:26:52.680]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:54 [11:26:54.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:56 [11:26:56.106]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:58 [11:26:58.022]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:26:59 [11:26:59.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:01 [11:27:01.442]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:03 [11:27:03.224]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1442d6eae046613a038d48ac82634c6c10a203bf9056d8baef08bd1eab44e97e for L2 block 1 has wrong index 10 (expected 0)
11:27:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:27:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:03 inboxMessage: {
11:27:03 index: 10n,
11:27:03 leaf: Fr<0x1442d6eae046613a038d48ac82634c6c10a203bf9056d8baef08bd1eab44e97e>,
11:27:03 l2BlockNumber: 1,
11:27:03 l1BlockNumber: 47n,
11:27:03 l1BlockHash: Buffer32<0xa7fb056c6f6c6b843ccd5c388d8e35a57484a899f5ebc4ac177aecdc84b52574>,
11:27:03 rollingHash: Buffer16<0x42ba0b74c1b8733eb7270df76528a5d4>
11:27:03 }
11:27:03 }
11:27:03 [11:27:03.231]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:05 [11:27:05.058]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x11a4a23f7c7c6a5f0d0b3e95b26edd64b690fbc92528bc8414f460e0f8e5b42c at block 12 (expected value in range [176, 192))
11:27:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:27:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:05 inboxMessage: {
11:27:05 index: 224n,
11:27:05 leaf: Fr<0x11a4a23f7c7c6a5f0d0b3e95b26edd64b690fbc92528bc8414f460e0f8e5b42c>,
11:27:05 l2BlockNumber: 12,
11:27:05 l1BlockNumber: 97n,
11:27:05 l1BlockHash: Buffer32<0x785a43b88f1eb59fb4e18d9113e995945c217b7ff93c37eb6e56610703f48aa3>,
11:27:05 rollingHash: Buffer16<0x47d1c2349c77eeeb8eba56bf6fd5ef6e>
11:27:05 }
11:27:05 }
11:27:05 [11:27:05.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:06 [11:27:06.871]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x109c767d8712dcb7195afaf2beaf305582b86eb8fa7e09ca2642509d8eb913e2 with index 16 (expected 0x56f979a864516fd5a8468b0bc68e85a8 from previous hash 0x47f614748b5c6b42078fd693ac0be845 but got 0xe43210fc07014c5aa6b6e7505a86a904)
11:27:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:27:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:06 inboxMessage: {
11:27:06 index: 16n,
11:27:06 leaf: Fr<0x109c767d8712dcb7195afaf2beaf305582b86eb8fa7e09ca2642509d8eb913e2>,
11:27:06 l2BlockNumber: 2,
11:27:06 l1BlockNumber: 7n,
11:27:06 l1BlockHash: Buffer32<0x17729304b4b9b3bf9649afa1431da49c97f4f57128f409de15d67822c3a725e2>,
11:27:06 rollingHash: Buffer16<0xe43210fc07014c5aa6b6e7505a86a904>
11:27:06 }
11:27:06 }
11:27:06 [11:27:06.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:08 [11:27:08.568]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1e0df10c43996dc8fd1e79f2f8c7673d070fdf1a00161c974e726722cf9b621e with index 32 (expected 0x7fbfc9acd1fa8c7505fe31d1844c504f from previous hash 0x8294e0ddd947c33aa2bd92090c99e519 but got 0x26b11c15aec7066587a35942b0413cc5)
11:27:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
11:27:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:08 inboxMessage: {
11:27:08 index: 32n,
11:27:08 leaf: Fr<0x1e0df10c43996dc8fd1e79f2f8c7673d070fdf1a00161c974e726722cf9b621e>,
11:27:08 l2BlockNumber: 3,
11:27:08 l1BlockNumber: 32n,
11:27:08 l1BlockHash: Buffer32<0x8aa8eb3942dae8e5ec87a04c79b5440c72965fbdb4c4202f5ed047addd7d5520>,
11:27:08 rollingHash: Buffer16<0x26b11c15aec7066587a35942b0413cc5>
11:27:08 }
11:27:08 }
11:27:08 [11:27:08.572]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:10 [11:27:10.298]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0da15dc71e6db31458174e05b83771809c349c58d4d2426870377db82c8ab71d at block 17 (expected value in range [256, 272))
11:27:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:27:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:10 inboxMessage: {
11:27:10 index: 356n,
11:27:10 leaf: Fr<0x0da15dc71e6db31458174e05b83771809c349c58d4d2426870377db82c8ab71d>,
11:27:10 l2BlockNumber: 17,
11:27:10 l1BlockNumber: 72n,
11:27:10 l1BlockHash: Buffer32<0x7d11c15c51825817d76092972f0ea1704fcd0382d086d3b27109464c07f35941>,
11:27:10 rollingHash: Buffer16<0x600a562d27c809e40d68b2472ee0ed8b>
11:27:10 }
11:27:10 }
11:27:10 [11:27:10.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:12 [11:27:12.122]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x12c5229fa034adf31acb7482df7ad64a162a1c36f865627ac7cf811ebb230315 for L2 block 15 has wrong index 225 (expected 224)
11:27:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
11:27:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:12 inboxMessage: {
11:27:12 index: 225n,
11:27:12 leaf: Fr<0x12c5229fa034adf31acb7482df7ad64a162a1c36f865627ac7cf811ebb230315>,
11:27:12 l2BlockNumber: 15,
11:27:12 l1BlockNumber: 81n,
11:27:12 l1BlockHash: Buffer32<0xfca06d8a16cc79da90c5f7813ebcf44ac133721ba6339269d1ade0b609d0a03d>,
11:27:12 rollingHash: Buffer16<0xf6f50d6296f74305e275f8c8ccced8ed>
11:27:12 }
11:27:12 }
11:27:12 [11:27:12.131]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:14 [11:27:14.049]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x00a5617234b55857042f375e69ec0df13de0957d327bf0ac209ee6fd43e85fd5 at block 2 (expected value in range [16, 32))
11:27:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
11:27:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
11:27:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
11:27:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
11:27:14 inboxMessage: {
11:27:14 index: 32n,
11:27:14 leaf: Fr<0x00a5617234b55857042f375e69ec0df13de0957d327bf0ac209ee6fd43e85fd5>,
11:27:14 l2BlockNumber: 2,
11:27:14 l1BlockNumber: 70n,
11:27:14 l1BlockHash: Buffer32<0x560e3f3c99aa795bef1f682f86c7b9e5e23cdba9cd18612c87645f4aec43bcff>,
11:27:14 rollingHash: Buffer16<0xbed6fcff9593f6d1613561df7c9fd636>
11:27:14 }
11:27:14 }
11:27:14 [11:27:14.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:15 [11:27:15.917]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
11:27:15 [11:27:15.954]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:17 [11:27:17.575]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
11:27:17 [11:27:17.595]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:19 [11:27:19.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:21 [11:27:21.385]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:23 [11:27:23.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:25 [11:27:25.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:26 [11:27:26.850]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:28 [11:27:28.502]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:30 [11:27:30.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:32 [11:27:32.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:33 [11:27:33.860]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:35 [11:27:35.641]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:37 [11:27:37.454]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:39 [11:27:39.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:41 [11:27:41.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:43 [11:27:43.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:45 [11:27:45.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:47 [11:27:47.359]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:50 [11:27:50.304]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:53 [11:27:53.421]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:57 [11:27:57.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:27:59 [11:27:59.539]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:05 [11:28:05.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:09 [11:28:09.721]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:14 [11:28:14.714]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:19 [11:28:19.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:24 [11:28:24.795]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:29 [11:28:29.322]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:33 [11:28:33.493]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
11:28:38
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
191.06 s)
11:28:38 KVArchiverDataStore
11:28:38 ArchiverStore
11:28:38 addBlocks
11:28:38
✓ returns success when adding blocks (1463 ms)
11:28:38
✓ allows duplicate blocks (1525 ms)
11:28:38
✓ throws an error if the previous block does not exist in the store (1275 ms)
11:28:38
✓ throws an error if there is a gap in the blocks being added (1272 ms)
11:28:38 unwindBlocks
11:28:38
✓ unwinding blocks will remove blocks from the chain (1389 ms)
11:28:38
✓ can unwind multiple empty blocks (926 ms)
11:28:38
✓ refuses to unwind blocks if the tip is not the last block (1214 ms)
11:28:38 getBlocks
11:28:38
✓ retrieves previously stored blocks (1409 ms)
11:28:38
✓ retrieves previously stored blocks (1389 ms)
11:28:38
✓ retrieves previously stored blocks (1754 ms)
11:28:38
✓ retrieves previously stored blocks (1571 ms)
11:28:38
✓ retrieves previously stored blocks (1448 ms)
11:28:38
✓ returns an empty array if no blocks are found (1466 ms)
11:28:38
✓ throws an error if limit is invalid (1648 ms)
11:28:38
✓ throws an error if `from` it is out of range (1685 ms)
11:28:38
✓ throws an error if unexpected initial block number is found (1910 ms)
11:28:38
✓ throws an error if a gap is found (3141 ms)
11:28:38 getSyncedL2BlockNumber
11:28:38
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1375 ms)
11:28:38
✓ returns the most recently added block's number (2483 ms)
11:28:38 getSynchPoint
11:28:38
✓ returns undefined if no blocks have been added (1395 ms)
11:28:38
✓ returns the L1 block number in which the most recent L2 block was published (1855 ms)
11:28:38
✓ returns the L1 block number that most recently added messages from inbox (1500 ms)
11:28:38
✓ returns the latest syncpoint if latest message is behind (1428 ms)
11:28:38 addLogs
11:28:38
✓ adds private & public logs (1380 ms)
11:28:38 deleteLogs
11:28:38
✓ deletes private & public logs (1560 ms)
11:28:38 getPrivateLogs
11:28:38
✓ gets added private logs (1566 ms)
11:28:38 getTxEffect
11:28:38
✓ retrieves a previously stored transaction (2652 ms)
11:28:38
✓ retrieves a previously stored transaction (2630 ms)
11:28:38
✓ retrieves a previously stored transaction (2924 ms)
11:28:38
✓ retrieves a previously stored transaction (2641 ms)
11:28:38
✓ retrieves a previously stored transaction (2610 ms)
11:28:38
✓ returns undefined if tx is not found (2480 ms)
11:28:38
✓ tries to retrieves a previously stored transaction after deleted (2396 ms)
11:28:38
✓ tries to retrieves a previously stored transaction after deleted (2560 ms)
11:28:38
✓ tries to retrieves a previously stored transaction after deleted (2748 ms)
11:28:38
✓ tries to retrieves a previously stored transaction after deleted (2693 ms)
11:28:38
✓ tries to retrieves a previously stored transaction after deleted (2955 ms)
11:28:38
✓ returns undefined if tx is not found (2459 ms)
11:28:38
✓ does not fail if the block is unwound while requesting a tx (3201 ms)
11:28:38 L1 to L2 Messages
11:28:38
✓ stores first message ever (1403 ms)
11:28:38
✓ stores single message (1454 ms)
11:28:38
✓ stores and returns messages across different blocks (1386 ms)
11:28:38
✓ stores the same messages again (1506 ms)
11:28:38
✓ stores and returns messages across different blocks with gaps (1674 ms)
11:28:38
✓ stores and returns messages with block numbers larger than a byte (1687 ms)
11:28:38
✓ stores and returns multiple messages per block (1736 ms)
11:28:38
✓ stores messages in multiple operations (1918 ms)
11:28:38
✓ iterates over messages from start index (1708 ms)
11:28:38
✓ iterates over messages in reverse (1711 ms)
11:28:38
✓ throws if messages are added out of order (1786 ms)
11:28:38
✓ throws if block number for the first message is out of order (1832 ms)
11:28:38
✓ throws if rolling hash is not correct (1812 ms)
11:28:38
✓ throws if rolling hash for first message is not correct (1697 ms)
11:28:38
✓ throws if index is not in the correct range (1728 ms)
11:28:38
✓ throws if first index in block has gaps (1826 ms)
11:28:38
✓ throws if index does not follow previous one (1924 ms)
11:28:38
✓ removes messages up to the given block number (1902 ms)
11:28:38
✓ removes messages starting with the given index (1640 ms)
11:28:38 contractInstances
11:28:38
✓ returns previously stored contract instances (1863 ms)
11:28:38
✓ returns undefined if contract instance is not found (1922 ms)
11:28:38
✓ returns undefined if previously stored contract instances was deleted (1816 ms)
11:28:38 contractInstanceUpdates
11:28:38
✓ gets the correct current class id for a contract not updated yet (1820 ms)
11:28:38
✓ gets the correct current class id for a contract that has just been updated (1830 ms)
11:28:38
✓ gets the correct current class id for a contract that was updated in the past (1651 ms)
11:28:38
✓ ignores updates for the wrong contract (1794 ms)
11:28:38
✓ bounds its search to the right contract if more than than one update exists (1894 ms)
11:28:38 contractClasses
11:28:38
✓ returns previously stored contract class (1668 ms)
11:28:38
✓ returns undefined if the initial deployed contract class was deleted (1780 ms)
11:28:38
✓ returns contract class if later "deployment" class was deleted (1810 ms)
11:28:38
✓ returns undefined if contract class is not found (2027 ms)
11:28:38
✓ adds new private functions (1883 ms)
11:28:38
✓ does not duplicate private functions (2032 ms)
11:28:38
✓ adds new utility functions (2000 ms)
11:28:38
✓ does not duplicate utility functions (1961 ms)
11:28:38 getLogsByTags
11:28:38
✓ is possible to batch request private logs via tags (2944 ms)
11:28:38
✓ is possible to batch request all logs (private and public) via tags (3113 ms)
11:28:38
✓ is possible to batch request logs that have the same tag but different content (3749 ms)
11:28:38
✓ is possible to request logs for non-existing tags and determine their position (2368 ms)
11:28:38 getPublicLogs
11:28:38
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5597 ms)
11:28:38
✓ "txHash" filter param is respected (4584 ms)
11:28:38
✓ "fromBlock" and "toBlock" filter params are respected (4991 ms)
11:28:38
✓ "contractAddress" filter param is respected (5186 ms)
11:28:38
✓ "afterLog" filter param is respected (4895 ms)
11:28:38
✓ "txHash" filter param is ignored when "afterLog" is set (4526 ms)
11:28:38
✓ intersecting works (4168 ms)
11:28:38
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5077 ms)
11:28:38
11:28:38
Test Suites: 1 passed, 1 total
11:28:38
Tests: 86 passed, 86 total
11:28:38
Snapshots: 0 total
11:28:38
Time: 191.146 s
11:28:38
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
11:28:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?