Parent Log:
http://ci.aztec-labs.com/210b73a1ac6e2044
Command: 85ebe83a9ef9464b 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/24972303091baff6f83c6389d7d1406c932357e9
Env: REF_NAME=gh-readonly-queue/next/pr-15042-a0a8617413ca6f4fba2ad190ce73dab59bd75a45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:15:44 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
14:15:46 [14:15:46.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:48 [14:15:48.423]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:49 [14:15:49.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:50 [14:15:50.783]
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
14:15:50 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:15:50 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:50 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:50 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:15:50 newBlockNumber: 2,
14:15:50 previousBlockNumber: undefined
14:15:50 }
14:15:50 [14:15:50.825]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:52 [14:15:52.375]
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
14:15:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
14:15:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:15:52 [14:15:52.378]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:53 [14:15:53.961]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:55 [14:15:55.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:56 [14:15:56.463]
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)
14:15:56 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
14:15:56 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:15:56 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:15:56 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
14:15:56 [14:15:56.465]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:57 [14:15:57.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:15:59 [14:15:59.307]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:01 [14:16:01.050]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:02 [14:16:02.873]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:04 [14:16:04.458]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:06 [14:16:06.019]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:07 [14:16:07.715]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:10 [14:16:10.321]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:12 [14:16:12.245]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:14 [14:16:14.880]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:16 [14:16:16.648]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:18 [14:16:18.362]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:19 [14:16:19.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:21 [14:16:21.826]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:23 [14:16:23.096]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:24 [14:16:24.240]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:25 [14:16:25.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:27 [14:16:27.161]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:28 [14:16:28.751]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:31 [14:16:31.210]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:33 [14:16:33.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:36 [14:16:36.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:39 [14:16:39.042]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:41 [14:16:41.894]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:44 [14:16:44.203]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:47 [14:16:47.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:49 [14:16:49.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:52 [14:16:52.335]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:54 [14:16:54.926]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:16:57 [14:16:57.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:00 [14:17:00.324]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:03 [14:17:03.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:05 [14:17:05.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:07 [14:17:07.268]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:08 [14:17:08.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:10 [14:17:10.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:12 [14:17:12.089]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:13 [14:17:13.836]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:15 [14:17:15.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:17 [14:17:17.676]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:19 [14:17:19.389]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:21 [14:17:21.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:22 [14:17:22.795]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2695ce6a61250dda27f1adf1d61d8baa879ead587f1274c4d67b6fdb7e633b85 for L2 block 1 has wrong index 10 (expected 0)
14:17:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:17:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:22 inboxMessage: {
14:17:22 index: 10n,
14:17:22 leaf: Fr<0x2695ce6a61250dda27f1adf1d61d8baa879ead587f1274c4d67b6fdb7e633b85>,
14:17:22 l2BlockNumber: 1,
14:17:22 l1BlockNumber: 89n,
14:17:22 l1BlockHash: Buffer32<0xbba111cc0a56b23e6631ad2e1d84cfdfa4a79143d74285e773c7be5f40520d3c>,
14:17:22 rollingHash: Buffer16<0xbc07b88fd8d0f79d221fd2102a449f16>
14:17:22 }
14:17:22 }
14:17:22 [14:17:22.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:24 [14:17:24.745]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x255b575873beeb8e30f75125b3173263b16bf2d0d08f0fd007690728387dff63 at block 12 (expected value in range [176, 192))
14:17:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:17:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:24 inboxMessage: {
14:17:24 index: 224n,
14:17:24 leaf: Fr<0x255b575873beeb8e30f75125b3173263b16bf2d0d08f0fd007690728387dff63>,
14:17:24 l2BlockNumber: 12,
14:17:24 l1BlockNumber: 81n,
14:17:24 l1BlockHash: Buffer32<0xe4e0ada3d92f905602999cb42553e59d565e6ba14633ac71b34a3b65adc1b954>,
14:17:24 rollingHash: Buffer16<0x0e52e77a965a4a46f7ab2c2086c9c093>
14:17:24 }
14:17:24 }
14:17:24 [14:17:24.749]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:26 [14:17:26.704]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1e1a3a5d3511396e7e0783b27982545dc61d88ec97f9d4271b797bb5d31607da with index 16 (expected 0xbcb807e89a674a9c6ae7d64d883cabcb from previous hash 0x08c88b569bd88ca84a197de287e305db but got 0x8cd653d485b6761cdde43815c2016713)
14:17:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:17:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:26 inboxMessage: {
14:17:26 index: 16n,
14:17:26 leaf: Fr<0x1e1a3a5d3511396e7e0783b27982545dc61d88ec97f9d4271b797bb5d31607da>,
14:17:26 l2BlockNumber: 2,
14:17:26 l1BlockNumber: 97n,
14:17:26 l1BlockHash: Buffer32<0x7d0e1cc8a5ea4f9a5fea41e511eab1f659345f105f176f08025d5c59afd5bd9b>,
14:17:26 rollingHash: Buffer16<0x8cd653d485b6761cdde43815c2016713>
14:17:26 }
14:17:26 }
14:17:26 [14:17:26.708]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:28 [14:17:28.650]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x2bd61eaad0ca54f1074152cbf9c3bea1aa3ce4fffe185733fc63d1f838bbceba with index 32 (expected 0x69add8f51b9b35493bf9218b08e1cff3 from previous hash 0x652362fb4515e6b5f867cf27da8c9438 but got 0x05c2a93ab140932ba817b925623e3b9d)
14:17:28 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
14:17:28 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:28 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:28 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:28 inboxMessage: {
14:17:28 index: 32n,
14:17:28 leaf: Fr<0x2bd61eaad0ca54f1074152cbf9c3bea1aa3ce4fffe185733fc63d1f838bbceba>,
14:17:28 l2BlockNumber: 3,
14:17:28 l1BlockNumber: 29n,
14:17:28 l1BlockHash: Buffer32<0x6269b5344c6bcdf132ef7138e6eea3384ad37e8dcd54786742b4912b56eb5107>,
14:17:28 rollingHash: Buffer16<0x05c2a93ab140932ba817b925623e3b9d>
14:17:28 }
14:17:28 }
14:17:28 [14:17:28.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:30 [14:17:30.368]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2845fe6969ee33349c181d05d8cb1dbad3f542e0c29ad123d494aa8c48d4b276 at block 17 (expected value in range [256, 272))
14:17:30 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:17:30 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:30 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:30 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:30 inboxMessage: {
14:17:30 index: 356n,
14:17:30 leaf: Fr<0x2845fe6969ee33349c181d05d8cb1dbad3f542e0c29ad123d494aa8c48d4b276>,
14:17:30 l2BlockNumber: 17,
14:17:30 l1BlockNumber: 46n,
14:17:30 l1BlockHash: Buffer32<0xb70ddeb78c659557b1b6ef0ad9a4adfa79c3703adaa5224e2b6fa09e3a71da63>,
14:17:30 rollingHash: Buffer16<0x4d39bb063cebb46fc468ad43778d1d36>
14:17:30 }
14:17:30 }
14:17:30 [14:17:30.372]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:32 [14:17:32.032]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x023840c90f149cb9e8e2af09551de3cbb0c0c42734a32d53da2fd7182c9febbc for L2 block 15 has wrong index 225 (expected 224)
14:17:32 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
14:17:32 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:32 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:32 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:32 inboxMessage: {
14:17:32 index: 225n,
14:17:32 leaf: Fr<0x023840c90f149cb9e8e2af09551de3cbb0c0c42734a32d53da2fd7182c9febbc>,
14:17:32 l2BlockNumber: 15,
14:17:32 l1BlockNumber: 43n,
14:17:32 l1BlockHash: Buffer32<0xd587251965484f69f774bce5d7ff21a15c6b47719118e7f6dec3065dfadaf1a5>,
14:17:32 rollingHash: Buffer16<0xbdbbc0f06425e396b2818c0a16ed3ac7>
14:17:32 }
14:17:32 }
14:17:32 [14:17:32.037]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:33 [14:17:33.933]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x09244468a015847accaa4f493e894714e13e57d97fd50f89dbb484b2a5657405 at block 2 (expected value in range [16, 32))
14:17:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
14:17:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:33 inboxMessage: {
14:17:33 index: 32n,
14:17:33 leaf: Fr<0x09244468a015847accaa4f493e894714e13e57d97fd50f89dbb484b2a5657405>,
14:17:33 l2BlockNumber: 2,
14:17:33 l1BlockNumber: 80n,
14:17:33 l1BlockHash: Buffer32<0x4274a1e068f30b31ab5a4edacbe80a301ea1e86f980cc285b6cfde3e3942d83d>,
14:17:33 rollingHash: Buffer16<0x8cee6d0d055c8f1043c0df1d486debbe>
14:17:33 }
14:17:33 }
14:17:33 [14:17:33.937]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:35 [14:17:35.830]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
14:17:35 [14:17:35.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:37 [14:17:37.922]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
14:17:37 [14:17:37.945]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:39 [14:17:39.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:41 [14:17:41.790]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:43 [14:17:43.570]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:45 [14:17:45.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:47 [14:17:47.251]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:49 [14:17:49.077]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:50 [14:17:50.981]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:52 [14:17:52.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:54 [14:17:54.464]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:56 [14:17:56.439]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:58 [14:17:58.207]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:00 [14:18:00.017]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:01 [14:18:01.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:03 [14:18:03.990]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:05 [14:18:05.862]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:07 [14:18:07.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:11 [14:18:11.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:14 [14:18:14.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:18 [14:18:18.613]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:22 [14:18:22.117]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:28 [14:18:28.127]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:33 [14:18:33.147]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:37 [14:18:37.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:43 [14:18:43.008]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:47 [14:18:47.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:53 [14:18:53.400]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:18:57 [14:18:57.661]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:19:01
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.441 s)
14:19:01 KVArchiverDataStore
14:19:01 ArchiverStore
14:19:01 addBlocks
14:19:01
✓ returns success when adding blocks (1551 ms)
14:19:01
✓ allows duplicate blocks (1381 ms)
14:19:01
✓ throws an error if the previous block does not exist in the store (982 ms)
14:19:01
✓ throws an error if there is a gap in the blocks being added (1591 ms)
14:19:01 unwindBlocks
14:19:01
✓ unwinding blocks will remove blocks from the chain (1582 ms)
14:19:01
✓ can unwind multiple empty blocks (1122 ms)
14:19:01
✓ refuses to unwind blocks if the tip is not the last block (1380 ms)
14:19:01 getBlocks
14:19:01
✓ retrieves previously stored blocks (1296 ms)
14:19:01
✓ retrieves previously stored blocks (1546 ms)
14:19:01
✓ retrieves previously stored blocks (1742 ms)
14:19:01
✓ retrieves previously stored blocks (1822 ms)
14:19:01
✓ retrieves previously stored blocks (1584 ms)
14:19:01
✓ returns an empty array if no blocks are found (1561 ms)
14:19:01
✓ throws an error if limit is invalid (1696 ms)
14:19:01
✓ throws an error if `from` it is out of range (2605 ms)
14:19:01
✓ throws an error if unexpected initial block number is found (1922 ms)
14:19:01
✓ throws an error if a gap is found (2634 ms)
14:19:01 getSyncedL2BlockNumber
14:19:01
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1768 ms)
14:19:01
✓ returns the most recently added block's number (1713 ms)
14:19:01 getSynchPoint
14:19:01
✓ returns undefined if no blocks have been added (1504 ms)
14:19:01
✓ returns the L1 block number in which the most recent L2 block was published (1958 ms)
14:19:01
✓ returns the L1 block number that most recently added messages from inbox (1269 ms)
14:19:01
✓ returns the latest syncpoint if latest message is behind (1143 ms)
14:19:01 addLogs
14:19:01
✓ adds private & public logs (1311 ms)
14:19:01 deleteLogs
14:19:01
✓ deletes private & public logs (1609 ms)
14:19:01 getPrivateLogs
14:19:01
✓ gets added private logs (1587 ms)
14:19:01 getTxEffect
14:19:01
✓ retrieves a previously stored transaction (2460 ms)
14:19:01
✓ retrieves a previously stored transaction (2602 ms)
14:19:01
✓ retrieves a previously stored transaction (2538 ms)
14:19:01
✓ retrieves a previously stored transaction (2691 ms)
14:19:01
✓ retrieves a previously stored transaction (2850 ms)
14:19:01
✓ returns undefined if tx is not found (2309 ms)
14:19:01
✓ tries to retrieves a previously stored transaction after deleted (2890 ms)
14:19:01
✓ tries to retrieves a previously stored transaction after deleted (2488 ms)
14:19:01
✓ tries to retrieves a previously stored transaction after deleted (2752 ms)
14:19:01
✓ tries to retrieves a previously stored transaction after deleted (2592 ms)
14:19:01
✓ tries to retrieves a previously stored transaction after deleted (2842 ms)
14:19:01
✓ returns undefined if tx is not found (2554 ms)
14:19:01
✓ does not fail if the block is unwound while requesting a tx (3504 ms)
14:19:01 L1 to L2 Messages
14:19:01
✓ stores first message ever (1632 ms)
14:19:01
✓ stores single message (1805 ms)
14:19:01
✓ stores and returns messages across different blocks (1604 ms)
14:19:01
✓ stores the same messages again (1667 ms)
14:19:01
✓ stores and returns messages across different blocks with gaps (1546 ms)
14:19:01
✓ stores and returns messages with block numbers larger than a byte (1747 ms)
14:19:01
✓ stores and returns multiple messages per block (1959 ms)
14:19:01
✓ stores messages in multiple operations (1876 ms)
14:19:01
✓ iterates over messages from start index (1713 ms)
14:19:01
✓ iterates over messages in reverse (1699 ms)
14:19:01
✓ throws if messages are added out of order (1710 ms)
14:19:01
✓ throws if block number for the first message is out of order (1950 ms)
14:19:01
✓ throws if rolling hash is not correct (1959 ms)
14:19:01
✓ throws if rolling hash for first message is not correct (1946 ms)
14:19:01
✓ throws if index is not in the correct range (1717 ms)
14:19:01
✓ throws if first index in block has gaps (1663 ms)
14:19:01
✓ throws if index does not follow previous one (1900 ms)
14:19:01
✓ removes messages up to the given block number (1927 ms)
14:19:01
✓ removes messages starting with the given index (2078 ms)
14:19:01 contractInstances
14:19:01
✓ returns previously stored contract instances (1983 ms)
14:19:01
✓ returns undefined if contract instance is not found (1859 ms)
14:19:01
✓ returns undefined if previously stored contract instances was deleted (1780 ms)
14:19:01 contractInstanceUpdates
14:19:01
✓ gets the correct current class id for a contract not updated yet (1794 ms)
14:19:01
✓ gets the correct current class id for a contract that has just been updated (1882 ms)
14:19:01
✓ gets the correct current class id for a contract that was updated in the past (1823 ms)
14:19:01
✓ ignores updates for the wrong contract (1901 ms)
14:19:01
✓ bounds its search to the right contract if more than than one update exists (1639 ms)
14:19:01 contractClasses
14:19:01
✓ returns previously stored contract class (1844 ms)
14:19:01
✓ returns undefined if the initial deployed contract class was deleted (1974 ms)
14:19:01
✓ returns contract class if later "deployment" class was deleted (1767 ms)
14:19:01
✓ returns undefined if contract class is not found (1808 ms)
14:19:01
✓ adds new private functions (1968 ms)
14:19:01
✓ does not duplicate private functions (2003 ms)
14:19:01
✓ adds new utility functions (1870 ms)
14:19:01
✓ does not duplicate utility functions (2004 ms)
14:19:01 getLogsByTags
14:19:01
✓ is possible to batch request private logs via tags (3348 ms)
14:19:01
✓ is possible to batch request all logs (private and public) via tags (3594 ms)
14:19:01
✓ is possible to batch request logs that have the same tag but different content (3803 ms)
14:19:01
✓ is possible to request logs for non-existing tags and determine their position (3501 ms)
14:19:01 getPublicLogs
14:19:01
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6009 ms)
14:19:01
✓ "txHash" filter param is respected (5021 ms)
14:19:01
✓ "fromBlock" and "toBlock" filter params are respected (4773 ms)
14:19:01
✓ "contractAddress" filter param is respected (5086 ms)
14:19:01
✓ "afterLog" filter param is respected (4867 ms)
14:19:01
✓ "txHash" filter param is ignored when "afterLog" is set (5524 ms)
14:19:01
✓ intersecting works (4260 ms)
14:19:01
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (3980 ms)
14:19:01
14:19:01
Test Suites: 1 passed, 1 total
14:19:01
Tests: 86 passed, 86 total
14:19:01
Snapshots: 0 total
14:19:01
Time: 196.551 s
14:19:01
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
14:19:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?