Parent Log:
http://ci.aztec-labs.com/c148bc90788ce605
Command: 069d70048f6bf27e 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/08d3f55874836a573c4756b0cc7279160b0813a3
Env: REF_NAME=gh-readonly-queue/next/pr-15167-aac426c9418162aeee8162ed45014b9393d605b8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 10:04:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15167_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:43 [10:04:43.200]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:44 [10:04:44.736]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:46 [10:04:46.076]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:47 [10:04:47.105]
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:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:04:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:04:47 newBlockNumber: 2,
10:04:47 previousBlockNumber: undefined
10:04:47 }
10:04:47 [10:04:47.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:48 [10:04:48.287]
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:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
10:04:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:04:48 [10:04:48.290]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:49 [10:04:49.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:50 [10:04:50.679]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:52 [10:04:52.197]
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:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
10:04:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:04:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:04:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
10:04:52 [10:04:52.201]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:53 [10:04:53.835]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:55 [10:04:55.246]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:56 [10:04:56.744]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:58 [10:04:58.251]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:59 [10:04:59.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:01 [10:05:01.012]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:02 [10:05:02.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:04 [10:05:04.298]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:06 [10:05:06.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:08 [10:05:08.970]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:10 [10:05:10.605]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:12 [10:05:12.881]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:14 [10:05:14.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:16 [10:05:16.384]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:17 [10:05:17.690]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:19 [10:05:19.175]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:20 [10:05:20.428]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:22 [10:05:22.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:23 [10:05:23.377]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:25 [10:05:25.628]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:28 [10:05:28.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:30 [10:05:30.857]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:33 [10:05:33.366]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:35 [10:05:35.887]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:38 [10:05:38.188]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:41 [10:05:41.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:43 [10:05:43.730]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:46 [10:05:46.507]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:49 [10:05:49.109]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:51 [10:05:51.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:53 [10:05:53.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:56 [10:05:56.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:58 [10:05:58.237]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:59 [10:05:59.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:01 [10:06:01.165]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:02 [10:06:02.757]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:04 [10:06:04.316]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:05 [10:06:05.938]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:07 [10:06:07.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:09 [10:06:09.312]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:11 [10:06:11.095]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:12 [10:06:12.979]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:15 [10:06:15.060]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x271405565b37e24df1b57778ed4e6baf22e3e93fa4f82fbcd56f995f9da9a3f9 for L2 block 1 has wrong index 10 (expected 0)
10:06:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144: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: 10n,
10:06:15 leaf: Fr<0x271405565b37e24df1b57778ed4e6baf22e3e93fa4f82fbcd56f995f9da9a3f9>,
10:06:15 l2BlockNumber: 1,
10:06:15 l1BlockNumber: 36n,
10:06:15 l1BlockHash: Buffer32<0xd068931fbd0a43536c01759bdb2ada394b8337d03826e59cbb337e8a5382f5be>,
10:06:15 rollingHash: Buffer16<0x6466f82af544786ff06f85c2c40ba30f>
10:06:15 }
10:06:15 }
10:06:15 [10:06:15.065]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:17 [10:06:17.024]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x2503405f86fde53764206f5a4a556cdd7baccdde8f8aaada025d526c90284d2d at block 12 (expected value in range [176, 192))
10:06:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119: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: 224n,
10:06:17 leaf: Fr<0x2503405f86fde53764206f5a4a556cdd7baccdde8f8aaada025d526c90284d2d>,
10:06:17 l2BlockNumber: 12,
10:06:17 l1BlockNumber: 11n,
10:06:17 l1BlockHash: Buffer32<0xa53aff84e74e0d610312aa1fb3a22f4828801a7896c685be6aeec457237521b7>,
10:06:17 rollingHash: Buffer16<0xe7a215acd5f39b48cb7eea0505bace84>
10:06:17 }
10:06:17 }
10:06:17 [10:06:17.031]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:18 [10:06:18.897]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x041b42bfe14f6fe54061d14221d8eaa5588e5955b09658af429cba35cd05ca79 with index 16 (expected 0x39a81f596266584186efa204ea7978ce from previous hash 0x12e3527922ada075f83bd29ffb462982 but got 0x0807ce764f30270212d8b8c0b9958cb3)
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: 16n,
10:06:18 leaf: Fr<0x041b42bfe14f6fe54061d14221d8eaa5588e5955b09658af429cba35cd05ca79>,
10:06:18 l2BlockNumber: 2,
10:06:18 l1BlockNumber: 34n,
10:06:18 l1BlockHash: Buffer32<0x8801fbd078bbf6b3f06734a1d55a66e2bb2fa6943d8a83a0e4c4cd91d6438ff5>,
10:06:18 rollingHash: Buffer16<0x0807ce764f30270212d8b8c0b9958cb3>
10:06:18 }
10:06:18 }
10:06:18 [10:06:18.902]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:20 [10:06:20.864]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x12913731140debfef5738d1b18aa4bf4318414f03ecb9ebcc983303e55875d6b with index 32 (expected 0xebc013b08acac896c792f7434405f298 from previous hash 0x8a905bcb7d2cc4d4bfdf5a2b4ceb79d3 but got 0xaeefb974ac2b1b230881ad37e3d298c4)
10:06:20 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108: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: 32n,
10:06:20 leaf: Fr<0x12913731140debfef5738d1b18aa4bf4318414f03ecb9ebcc983303e55875d6b>,
10:06:20 l2BlockNumber: 3,
10:06:20 l1BlockNumber: 96n,
10:06:20 l1BlockHash: Buffer32<0x76e5439ba9525cf1dde6d3bfcf7cb9e5fbab871c33d0ec07488a9c04365b185b>,
10:06:20 rollingHash: Buffer16<0xaeefb974ac2b1b230881ad37e3d298c4>
10:06:20 }
10:06:20 }
10:06:20 [10:06:20.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:22 [10:06:22.527]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x0fe9428dd33f208b53cd5e6fe27521f9da597d5bc1638bd2d21e10c6f8c53901 at block 17 (expected value in range [256, 272))
10:06:22 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119: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: 356n,
10:06:22 leaf: Fr<0x0fe9428dd33f208b53cd5e6fe27521f9da597d5bc1638bd2d21e10c6f8c53901>,
10:06:22 l2BlockNumber: 17,
10:06:22 l1BlockNumber: 63n,
10:06:22 l1BlockHash: Buffer32<0x1bff1bf7008431a4b2894a2afb59cebe4f634c190b1b2dc0eb7ec7e38ba61f96>,
10:06:22 rollingHash: Buffer16<0x03ac77a24d5be875701b4da3f48a3ede>
10:06:22 }
10:06:22 }
10:06:22 [10:06:22.531]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:24 [10:06:24.473]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x18912fd40e12dd686081a4165d33710d2555bcb6cec4323044d172f4f3a6216c for L2 block 15 has wrong index 225 (expected 224)
10:06:24 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144: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: 225n,
10:06:24 leaf: Fr<0x18912fd40e12dd686081a4165d33710d2555bcb6cec4323044d172f4f3a6216c>,
10:06:24 l2BlockNumber: 15,
10:06:24 l1BlockNumber: 69n,
10:06:24 l1BlockHash: Buffer32<0x1366c6003588ac6c7bdc3ecf5adcac9fd34983843bbb345f0371c2b4840fc8cd>,
10:06:24 rollingHash: Buffer16<0xd1e347aeb2b2eebcc6d3dfc4ad4259a1>
10:06:24 }
10:06:24 }
10:06:24 [10:06:24.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:26 [10:06:26.352]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x0f321d862ec3a891d8269b1a2b6354369833222662a3f6d338f1d4eec9e7e953 at block 2 (expected value in range [16, 32))
10:06:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
10:06:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:06:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:06:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:06:26 inboxMessage: {
10:06:26 index: 32n,
10:06:26 leaf: Fr<0x0f321d862ec3a891d8269b1a2b6354369833222662a3f6d338f1d4eec9e7e953>,
10:06:26 l2BlockNumber: 2,
10:06:26 l1BlockNumber: 20n,
10:06:26 l1BlockHash: Buffer32<0xea42295392c8378cf65cdd30830daf084f5512a42dbf1514c57478e0bcc2cd1e>,
10:06:26 rollingHash: Buffer16<0x08f6409501749b19e26ba134c87d73a1>
10:06:26 }
10:06:26 }
10:06:26 [10:06:26.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:28 [10:06:28.255]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
10:06:28 [10:06:28.306]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:30 [10:06:30.205]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
10:06:30 [10:06:30.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:31 [10:06:31.972]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:33 [10:06:33.844]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:35 [10:06:35.529]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:37 [10:06:37.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:39 [10:06:39.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:41 [10:06:41.241]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:43 [10:06:43.046]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:44 [10:06:44.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:46 [10:06:46.718]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:48 [10:06:48.449]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:50 [10:06:50.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:52 [10:06:52.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:53 [10:06:53.875]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:55 [10:06:55.674]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:57 [10:06:57.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:06:59 [10:06:59.481]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:02 [10:07:02.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:06 [10:07:06.062]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:09 [10:07:09.802]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:13 [10:07:13.036]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:19 [10:07:19.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:24 [10:07:24.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:29 [10:07:29.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:34 [10:07:34.617]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:39 [10:07:39.340]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:43 [10:07:43.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:49 [10:07:49.212]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:07:54
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
193.188 s)
10:07:54 KVArchiverDataStore
10:07:54 ArchiverStore
10:07:54 addBlocks
10:07:54
✓ returns success when adding blocks (1553 ms)
10:07:54
✓ allows duplicate blocks (1339 ms)
10:07:54
✓ throws an error if the previous block does not exist in the store (1035 ms)
10:07:54
✓ throws an error if there is a gap in the blocks being added (1178 ms)
10:07:54 unwindBlocks
10:07:54
✓ unwinding blocks will remove blocks from the chain (1398 ms)
10:07:54
✓ can unwind multiple empty blocks (991 ms)
10:07:54
✓ refuses to unwind blocks if the tip is not the last block (1520 ms)
10:07:54 getBlocks
10:07:54
✓ retrieves previously stored blocks (1631 ms)
10:07:54
✓ retrieves previously stored blocks (1414 ms)
10:07:54
✓ retrieves previously stored blocks (1496 ms)
10:07:54
✓ retrieves previously stored blocks (1506 ms)
10:07:54
✓ retrieves previously stored blocks (1267 ms)
10:07:54
✓ returns an empty array if no blocks are found (1493 ms)
10:07:54
✓ throws an error if limit is invalid (1434 ms)
10:07:54
✓ throws an error if `from` it is out of range (1842 ms)
10:07:54
✓ throws an error if unexpected initial block number is found (2146 ms)
10:07:54
✓ throws an error if a gap is found (2523 ms)
10:07:54 getSyncedL2BlockNumber
10:07:54
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1640 ms)
10:07:54
✓ returns the most recently added block's number (2274 ms)
10:07:54 getSynchPoint
10:07:54
✓ returns undefined if no blocks have been added (1579 ms)
10:07:54
✓ returns the L1 block number in which the most recent L2 block was published (1922 ms)
10:07:54
✓ returns the L1 block number that most recently added messages from inbox (1304 ms)
10:07:54
✓ returns the latest syncpoint if latest message is behind (1484 ms)
10:07:54 addLogs
10:07:54
✓ adds private & public logs (1251 ms)
10:07:54 deleteLogs
10:07:54
✓ deletes private & public logs (1634 ms)
10:07:54 getPrivateLogs
10:07:54
✓ gets added private logs (1315 ms)
10:07:54 getTxEffect
10:07:54
✓ retrieves a previously stored transaction (2250 ms)
10:07:54
✓ retrieves a previously stored transaction (2727 ms)
10:07:54
✓ retrieves a previously stored transaction (2501 ms)
10:07:54
✓ retrieves a previously stored transaction (2509 ms)
10:07:54
✓ retrieves a previously stored transaction (2517 ms)
10:07:54
✓ returns undefined if tx is not found (2300 ms)
10:07:54
✓ tries to retrieves a previously stored transaction after deleted (2933 ms)
10:07:54
✓ tries to retrieves a previously stored transaction after deleted (2611 ms)
10:07:54
✓ tries to retrieves a previously stored transaction after deleted (2777 ms)
10:07:54
✓ tries to retrieves a previously stored transaction after deleted (2602 ms)
10:07:54
✓ tries to retrieves a previously stored transaction after deleted (2319 ms)
10:07:54
✓ returns undefined if tx is not found (2384 ms)
10:07:54
✓ does not fail if the block is unwound while requesting a tx (3075 ms)
10:07:54 L1 to L2 Messages
10:07:54
✓ stores first message ever (1347 ms)
10:07:54
✓ stores single message (1426 ms)
10:07:54
✓ stores and returns messages across different blocks (1500 ms)
10:07:54
✓ stores the same messages again (1592 ms)
10:07:54
✓ stores and returns messages across different blocks with gaps (1558 ms)
10:07:54
✓ stores and returns messages with block numbers larger than a byte (1622 ms)
10:07:54
✓ stores and returns multiple messages per block (1587 ms)
10:07:54
✓ stores messages in multiple operations (1785 ms)
10:07:54
✓ iterates over messages from start index (1778 ms)
10:07:54
✓ iterates over messages in reverse (1888 ms)
10:07:54
✓ throws if messages are added out of order (2085 ms)
10:07:54
✓ throws if block number for the first message is out of order (1962 ms)
10:07:54
✓ throws if rolling hash is not correct (1872 ms)
10:07:54
✓ throws if rolling hash for first message is not correct (1967 ms)
10:07:54
✓ throws if index is not in the correct range (1663 ms)
10:07:54
✓ throws if first index in block has gaps (1945 ms)
10:07:54
✓ throws if index does not follow previous one (1878 ms)
10:07:54
✓ removes messages up to the given block number (1943 ms)
10:07:54
✓ removes messages starting with the given index (1923 ms)
10:07:54 contractInstances
10:07:54
✓ returns previously stored contract instances (1746 ms)
10:07:54
✓ returns undefined if contract instance is not found (1871 ms)
10:07:54
✓ returns undefined if previously stored contract instances was deleted (1684 ms)
10:07:54 contractInstanceUpdates
10:07:54
✓ gets the correct current class id for a contract not updated yet (1850 ms)
10:07:54
✓ gets the correct current class id for a contract that has just been updated (1976 ms)
10:07:54
✓ gets the correct current class id for a contract that was updated in the past (1885 ms)
10:07:54
✓ ignores updates for the wrong contract (1804 ms)
10:07:54
✓ bounds its search to the right contract if more than than one update exists (1719 ms)
10:07:54 contractClasses
10:07:54
✓ returns previously stored contract class (1951 ms)
10:07:54
✓ returns undefined if the initial deployed contract class was deleted (1731 ms)
10:07:54
✓ returns contract class if later "deployment" class was deleted (1890 ms)
10:07:54
✓ returns undefined if contract class is not found (1740 ms)
10:07:54
✓ adds new private functions (1793 ms)
10:07:54
✓ does not duplicate private functions (1798 ms)
10:07:54
✓ adds new utility functions (1836 ms)
10:07:54
✓ does not duplicate utility functions (1969 ms)
10:07:54 getLogsByTags
10:07:54
✓ is possible to batch request private logs via tags (3294 ms)
10:07:54
✓ is possible to batch request all logs (private and public) via tags (3286 ms)
10:07:54
✓ is possible to batch request logs that have the same tag but different content (3735 ms)
10:07:54
✓ is possible to request logs for non-existing tags and determine their position (3237 ms)
10:07:54 getPublicLogs
10:07:54
✓ no logs returned if deleted ("txHash" filter param is respected variant) (5977 ms)
10:07:54
✓ "txHash" filter param is respected (5440 ms)
10:07:54
✓ "fromBlock" and "toBlock" filter params are respected (5229 ms)
10:07:54
✓ "contractAddress" filter param is respected (4932 ms)
10:07:54
✓ "afterLog" filter param is respected (4722 ms)
10:07:54
✓ "txHash" filter param is ignored when "afterLog" is set (4651 ms)
10:07:54
✓ intersecting works (5219 ms)
10:07:54
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (5708 ms)
10:07:54
10:07:54
Test Suites: 1 passed, 1 total
10:07:54
Tests: 86 passed, 86 total
10:07:54
Snapshots: 0 total
10:07:54
Time: 193.262 s
10:07:54
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
10:07:54
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?