Parent Log:
http://ci.aztec-labs.com/a3904b8892ad0957
Command: f9856415d54196c8 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/3084a7eb89277f14c021ec43f4bddf01c77cc5cc
Env: REF_NAME=gh-readonly-queue/next/pr-15077-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 19:11:41 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
19:11:44 [19:11:44.618]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:46 [19:11:46.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:47 [19:11:47.546]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:48 [19:11:48.539]
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
19:11:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:11:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:11:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:11:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:11:48 newBlockNumber: 2,
19:11:48 previousBlockNumber: undefined
19:11:48 }
19:11:48 [19:11:48.543]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:49 [19:11:49.575]
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
19:11:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:86:17
19:11:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:11:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:11:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
19:11:49 [19:11:49.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:50 [19:11:50.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:51 [19:11:51.837]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:52 [19:11:52.985]
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)
19:11:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:123:15
19:11:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:11:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:11:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
19:11:52 [19:11:52.989]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:54 [19:11:54.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:55 [19:11:55.864]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:57 [19:11:57.369]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:11:58 [19:11:58.939]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:00 [19:12:00.349]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:01 [19:12:01.863]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:03 [19:12:03.581]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:05 [19:12:05.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:08 [19:12:08.019]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:10 [19:12:10.151]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:12 [19:12:12.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:14 [19:12:14.339]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:15 [19:12:15.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:17 [19:12:17.363]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:18 [19:12:18.851]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:20 [19:12:20.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:21 [19:12:21.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:23 [19:12:23.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:24 [19:12:24.720]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:27 [19:12:27.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:30 [19:12:30.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:32 [19:12:32.895]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:35 [19:12:35.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:38 [19:12:38.462]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:40 [19:12:40.957]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:43 [19:12:43.944]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:46 [19:12:46.601]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:49 [19:12:49.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:51 [19:12:51.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:54 [19:12:54.507]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:12:56 [19:12:56.886]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:00 [19:13:00.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:02 [19:13:02.154]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:03 [19:13:03.753]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:05 [19:13:05.396]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:07 [19:13:07.154]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:09 [19:13:09.009]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:10 [19:13:10.934]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:12 [19:13:12.739]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:14 [19:13:14.801]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:16 [19:13:16.988]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:18 [19:13:18.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:20 [19:13:20.482]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x2c838bd62d8ea6d22d03b54e575a8fb918a8a40681c3707431f472866ae29b9c for L2 block 1 has wrong index 10 (expected 0)
19:13:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
19:13:20 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:20 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:20 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:20 inboxMessage: {
19:13:20 index: 10n,
19:13:20 leaf: Fr<0x2c838bd62d8ea6d22d03b54e575a8fb918a8a40681c3707431f472866ae29b9c>,
19:13:20 l2BlockNumber: 1,
19:13:20 l1BlockNumber: 80n,
19:13:20 l1BlockHash: Buffer32<0x557ce556d56b7eabf6a5683414b32d6ea0bc0e6ef560f798ec35f7114963e901>,
19:13:20 rollingHash: Buffer16<0x9e51e03a57b73f6303123b438838e1e8>
19:13:20 }
19:13:20 }
19:13:20 [19:13:20.487]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:22 [19:13:22.304]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x178fe676b26a06b1ab1f40434cc62c489903068d30b65b8940bcfba138313e10 at block 12 (expected value in range [176, 192))
19:13:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:13:22 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:22 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:22 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:22 inboxMessage: {
19:13:22 index: 224n,
19:13:22 leaf: Fr<0x178fe676b26a06b1ab1f40434cc62c489903068d30b65b8940bcfba138313e10>,
19:13:22 l2BlockNumber: 12,
19:13:22 l1BlockNumber: 86n,
19:13:22 l1BlockHash: Buffer32<0x5713c7850157f7ca2c7966bca11b6113b1869a59c44307a091f6f05c23bb7f3a>,
19:13:22 rollingHash: Buffer16<0x1e40f8fdcd74a335fc6852f8223399d2>
19:13:22 }
19:13:22 }
19:13:22 [19:13:22.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:24 [19:13:24.132]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x25fc421964212a57e14c20ec9365bb99f43a8f00b30f0a58302b30e56be5a36f with index 16 (expected 0x3cd2023407b4a8172ae51a1223d09e64 from previous hash 0xa120ee8eaf1240f27e1925e9e763bbbf but got 0xe5681615e52d2ee2a0a7c8fcfe3a0694)
19:13:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
19:13:24 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:24 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:24 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:24 inboxMessage: {
19:13:24 index: 16n,
19:13:24 leaf: Fr<0x25fc421964212a57e14c20ec9365bb99f43a8f00b30f0a58302b30e56be5a36f>,
19:13:24 l2BlockNumber: 2,
19:13:24 l1BlockNumber: 95n,
19:13:24 l1BlockHash: Buffer32<0x092c8f7ce9cbecfb33c0538b755008b88a86ebc77f35706aee2fbbbf02310a62>,
19:13:24 rollingHash: Buffer16<0xe5681615e52d2ee2a0a7c8fcfe3a0694>
19:13:24 }
19:13:24 }
19:13:24 [19:13:24.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:26 [19:13:26.030]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1fa3201f327657f86763125c3e2d207134b5b5ec0054979a0b67326f94a9b42b with index 32 (expected 0x77d36a70d71d7658b939fbaa10a12b5a from previous hash 0x14794b2c2cd8a2d23aa6e4c420168ec6 but got 0x327e63f44968d3f06f62e5e1b39e838c)
19:13:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
19:13:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:26 inboxMessage: {
19:13:26 index: 32n,
19:13:26 leaf: Fr<0x1fa3201f327657f86763125c3e2d207134b5b5ec0054979a0b67326f94a9b42b>,
19:13:26 l2BlockNumber: 3,
19:13:26 l1BlockNumber: 63n,
19:13:26 l1BlockHash: Buffer32<0x7a718f7a5c97646892daa78c9f1b8db8d8306d7e5838c466194c2e55c655c737>,
19:13:26 rollingHash: Buffer16<0x327e63f44968d3f06f62e5e1b39e838c>
19:13:26 }
19:13:26 }
19:13:26 [19:13:26.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:27 [19:13:27.927]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0bfa0999895dabdad9ac705a9d1bf458df832f68e761d1617281796bd9a3ef60 at block 17 (expected value in range [256, 272))
19:13:27 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:13:27 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:27 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:27 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:27 inboxMessage: {
19:13:27 index: 356n,
19:13:27 leaf: Fr<0x0bfa0999895dabdad9ac705a9d1bf458df832f68e761d1617281796bd9a3ef60>,
19:13:27 l2BlockNumber: 17,
19:13:27 l1BlockNumber: 93n,
19:13:27 l1BlockHash: Buffer32<0xa9c2c6d73fefd5b89e154f1bfd6e0c622444cbe26e95cca5311729f95032473f>,
19:13:27 rollingHash: Buffer16<0x7f3f45a4434c00dae1c1f907871c099a>
19:13:27 }
19:13:27 }
19:13:27 [19:13:27.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:29 [19:13:29.670]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x1ee557d49263f77bb9144b2c0bd36d42fde88fa7f5f08ed73d4c2045b3ee70b8 for L2 block 15 has wrong index 225 (expected 224)
19:13:29 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
19:13:29 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:29 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:29 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:29 inboxMessage: {
19:13:29 index: 225n,
19:13:29 leaf: Fr<0x1ee557d49263f77bb9144b2c0bd36d42fde88fa7f5f08ed73d4c2045b3ee70b8>,
19:13:29 l2BlockNumber: 15,
19:13:29 l1BlockNumber: 93n,
19:13:29 l1BlockHash: Buffer32<0x4e4bfee8136b345c1f7262c7901ab5ef8780776cd8238c1d2f33d829e40ec5ce>,
19:13:29 rollingHash: Buffer16<0x91e6460e00b13a3a6b8d28490076056e>
19:13:29 }
19:13:29 }
19:13:29 [19:13:29.673]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:31 [19:13:31.490]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x086a3e36ec602bab2dfaf122cda0816265a23dec930d0c0a4bb614a7a126a544 at block 2 (expected value in range [16, 32))
19:13:31 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
19:13:31 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:13:31 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:13:31 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:13:31 inboxMessage: {
19:13:31 index: 32n,
19:13:31 leaf: Fr<0x086a3e36ec602bab2dfaf122cda0816265a23dec930d0c0a4bb614a7a126a544>,
19:13:31 l2BlockNumber: 2,
19:13:31 l1BlockNumber: 52n,
19:13:31 l1BlockHash: Buffer32<0x608cc8467f65129c62c401b06cbc9ddb8c035a0ad3c2b7816c446af0bc77a048>,
19:13:31 rollingHash: Buffer16<0x02b7ff1abea3117c349228080717a6b6>
19:13:31 }
19:13:31 }
19:13:31 [19:13:31.494]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:33 [19:13:33.340]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
19:13:33 [19:13:33.394]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:35 [19:13:35.269]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
19:13:35 [19:13:35.302]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:37 [19:13:37.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:39 [19:13:39.244]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:41 [19:13:41.068]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:42 [19:13:42.719]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:44 [19:13:44.393]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:46 [19:13:46.252]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:48 [19:13:48.136]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:49 [19:13:49.968]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:51 [19:13:51.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:53 [19:13:53.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:55 [19:13:55.386]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:57 [19:13:57.195]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:13:58 [19:13:58.990]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:00 [19:14:00.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:02 [19:14:02.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:04 [19:14:04.780]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:08 [19:14:08.258]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:11 [19:14:11.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:15 [19:14:15.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:18 [19:14:18.683]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:25 [19:14:25.048]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:30 [19:14:30.294]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:34 [19:14:34.985]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:39 [19:14:39.425]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:43 [19:14:43.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:49 [19:14:49.344]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:54 [19:14:54.791]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:14:59
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
196.256 s)
19:14:59 KVArchiverDataStore
19:14:59 ArchiverStore
19:14:59 addBlocks
19:14:59
✓ returns success when adding blocks (1485 ms)
19:14:59
✓ allows duplicate blocks (1453 ms)
19:14:59
✓ throws an error if the previous block does not exist in the store (999 ms)
19:14:59
✓ throws an error if there is a gap in the blocks being added (1035 ms)
19:14:59 unwindBlocks
19:14:59
✓ unwinding blocks will remove blocks from the chain (1310 ms)
19:14:59
✓ can unwind multiple empty blocks (937 ms)
19:14:59
✓ refuses to unwind blocks if the tip is not the last block (1161 ms)
19:14:59 getBlocks
19:14:59
✓ retrieves previously stored blocks (1591 ms)
19:14:59
✓ retrieves previously stored blocks (1284 ms)
19:14:59
✓ retrieves previously stored blocks (1504 ms)
19:14:59
✓ retrieves previously stored blocks (1569 ms)
19:14:59
✓ retrieves previously stored blocks (1408 ms)
19:14:59
✓ returns an empty array if no blocks are found (1504 ms)
19:14:59
✓ throws an error if limit is invalid (1725 ms)
19:14:59
✓ throws an error if `from` it is out of range (2130 ms)
19:14:59
✓ throws an error if unexpected initial block number is found (2306 ms)
19:14:59
✓ throws an error if a gap is found (2131 ms)
19:14:59 getSyncedL2BlockNumber
19:14:59
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (2011 ms)
19:14:59
✓ returns the most recently added block's number (2176 ms)
19:14:59 getSynchPoint
19:14:59
✓ returns undefined if no blocks have been added (1212 ms)
19:14:59
✓ returns the L1 block number in which the most recent L2 block was published (1805 ms)
19:14:59
✓ returns the L1 block number that most recently added messages from inbox (1490 ms)
19:14:59
✓ returns the latest syncpoint if latest message is behind (1330 ms)
19:14:59 addLogs
19:14:59
✓ adds private & public logs (1416 ms)
19:14:59 deleteLogs
19:14:59
✓ deletes private & public logs (1569 ms)
19:14:59 getPrivateLogs
19:14:59
✓ gets added private logs (1550 ms)
19:14:59 getTxEffect
19:14:59
✓ retrieves a previously stored transaction (2807 ms)
19:14:59
✓ retrieves a previously stored transaction (2626 ms)
19:14:59
✓ retrieves a previously stored transaction (2738 ms)
19:14:59
✓ retrieves a previously stored transaction (2722 ms)
19:14:59
✓ retrieves a previously stored transaction (2844 ms)
19:14:59
✓ returns undefined if tx is not found (2495 ms)
19:14:59
✓ tries to retrieves a previously stored transaction after deleted (2988 ms)
19:14:59
✓ tries to retrieves a previously stored transaction after deleted (2657 ms)
19:14:59
✓ tries to retrieves a previously stored transaction after deleted (2425 ms)
19:14:59
✓ tries to retrieves a previously stored transaction after deleted (2670 ms)
19:14:59
✓ tries to retrieves a previously stored transaction after deleted (2809 ms)
19:14:59
✓ returns undefined if tx is not found (2378 ms)
19:14:59
✓ does not fail if the block is unwound while requesting a tx (3541 ms)
19:14:59 L1 to L2 Messages
19:14:59
✓ stores first message ever (1727 ms)
19:14:59
✓ stores single message (1597 ms)
19:14:59
✓ stores and returns messages across different blocks (1640 ms)
19:14:59
✓ stores the same messages again (1759 ms)
19:14:59
✓ stores and returns messages across different blocks with gaps (1854 ms)
19:14:59
✓ stores and returns messages with block numbers larger than a byte (1923 ms)
19:14:59
✓ stores and returns multiple messages per block (1803 ms)
19:14:59
✓ stores messages in multiple operations (2062 ms)
19:14:59
✓ iterates over messages from start index (2179 ms)
19:14:59
✓ iterates over messages in reverse (1829 ms)
19:14:59
✓ throws if messages are added out of order (1674 ms)
19:14:59
✓ throws if block number for the first message is out of order (1821 ms)
19:14:59
✓ throws if rolling hash is not correct (1828 ms)
19:14:59
✓ throws if rolling hash for first message is not correct (1898 ms)
19:14:59
✓ throws if index is not in the correct range (1896 ms)
19:14:59
✓ throws if first index in block has gaps (1742 ms)
19:14:59
✓ throws if index does not follow previous one (1819 ms)
19:14:59
✓ removes messages up to the given block number (1897 ms)
19:14:59
✓ removes messages starting with the given index (1908 ms)
19:14:59 contractInstances
19:14:59
✓ returns previously stored contract instances (1818 ms)
19:14:59
✓ returns undefined if contract instance is not found (2120 ms)
19:14:59
✓ returns undefined if previously stored contract instances was deleted (1824 ms)
19:14:59 contractInstanceUpdates
19:14:59
✓ gets the correct current class id for a contract not updated yet (1653 ms)
19:14:59
✓ gets the correct current class id for a contract that has just been updated (1672 ms)
19:14:59
✓ gets the correct current class id for a contract that was updated in the past (1858 ms)
19:14:59
✓ ignores updates for the wrong contract (1884 ms)
19:14:59
✓ bounds its search to the right contract if more than than one update exists (1822 ms)
19:14:59 contractClasses
19:14:59
✓ returns previously stored contract class (1793 ms)
19:14:59
✓ returns undefined if the initial deployed contract class was deleted (1871 ms)
19:14:59
✓ returns contract class if later "deployment" class was deleted (1760 ms)
19:14:59
✓ returns undefined if contract class is not found (1808 ms)
19:14:59
✓ adds new private functions (1789 ms)
19:14:59
✓ does not duplicate private functions (1933 ms)
19:14:59
✓ adds new utility functions (1697 ms)
19:14:59
✓ does not duplicate utility functions (2149 ms)
19:14:59 getLogsByTags
19:14:59
✓ is possible to batch request private logs via tags (3486 ms)
19:14:59
✓ is possible to batch request all logs (private and public) via tags (3401 ms)
19:14:59
✓ is possible to batch request logs that have the same tag but different content (3879 ms)
19:14:59
✓ is possible to request logs for non-existing tags and determine their position (3140 ms)
19:14:59 getPublicLogs
19:14:59
✓ no logs returned if deleted ("txHash" filter param is respected variant) (6364 ms)
19:14:59
✓ "txHash" filter param is respected (5244 ms)
19:14:59
✓ "fromBlock" and "toBlock" filter params are respected (4691 ms)
19:14:59
✓ "contractAddress" filter param is respected (4441 ms)
19:14:59
✓ "afterLog" filter param is respected (4572 ms)
19:14:59
✓ "txHash" filter param is ignored when "afterLog" is set (5345 ms)
19:14:59
✓ intersecting works (5448 ms)
19:14:59
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4221 ms)
19:14:59
19:14:59
Test Suites: 1 passed, 1 total
19:14:59
Tests: 86 passed, 86 total
19:14:59
Snapshots: 0 total
19:14:59
Time: 196.362 s
19:14:59
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
19:14:59
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?