Parent Log:
http://ci.aztec-labs.com/8987cc544dfadd81
Command: 766c06d3b41e663f 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/2b96419831503435fa46a83dc2e2b7ba19109d0f
Env: REF_NAME=gh-readonly-queue/next/pr-15229-af094bce13530e078c78de9f3264280e6693d533 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 08:43:45 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15229_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_afeabe6543d27e83_next
08:43:47 [08:43:47.379]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:48 [08:43:48.723]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:50 [08:43:50.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:51 [08:43:51.181]
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
08:43:51 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
08:43:51 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:43:51 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:43:51 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:43:51 newBlockNumber: 2,
08:43:51 previousBlockNumber: undefined
08:43:51 }
08:43:51 [08:43:51.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:52 [08:43:52.312]
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
08:43:52 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:96:17
08:43:52 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:43:52 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:43:52 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
08:43:52 [08:43:52.314]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:53 [08:43:53.587]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:54 [08:43:54.539]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:55 [08:43:55.762]
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)
08:43:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:141:15
08:43:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:43:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:43:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17)
08:43:55 [08:43:55.764]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:57 [08:43:57.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:58 [08:43:58.305]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:43:59 [08:43:59.829]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:01 [08:44:01.223]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:02 [08:44:02.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:03 [08:44:03.766]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:05 [08:44:05.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:06 [08:44:06.325]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:07 [08:44:07.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:09 [08:44:09.419]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:10 [08:44:10.507]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:11 [08:44:11.885]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:12 [08:44:12.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:14 [08:44:14.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:15 [08:44:15.514]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:16 [08:44:16.625]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:17 [08:44:17.797]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:19 [08:44:19.063]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:20 [08:44:20.347]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:22 [08:44:22.450]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:24 [08:44:24.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:26 [08:44:26.698]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:28 [08:44:28.755]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:30 [08:44:30.841]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:32 [08:44:32.907]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:35 [08:44:35.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:37 [08:44:37.363]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:39 [08:44:39.599]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:41 [08:44:41.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:44 [08:44:44.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:46 [08:44:46.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:48 [08:44:48.655]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:49 [08:44:49.919]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:51 [08:44:51.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:52 [08:44:52.459]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:53 [08:44:53.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:55 [08:44:55.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:56 [08:44:56.380]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:57 [08:44:57.753]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:44:59 [08:44:59.215]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:00 [08:45:00.663]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:02 [08:45:02.122]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:03 [08:45:03.604]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x08b62bf426624b1b68955c64fdbdc130be58f056f1008c2b5d7e505139cf0e68 for L2 block 1 has wrong index 10 (expected 0)
08:45:03 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
08:45:03 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:03 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:03 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:03 inboxMessage: {
08:45:03 index: 10n,
08:45:03 leaf: Fr<0x08b62bf426624b1b68955c64fdbdc130be58f056f1008c2b5d7e505139cf0e68>,
08:45:03 l2BlockNumber: 1,
08:45:03 l1BlockNumber: 2n,
08:45:03 l1BlockHash: Buffer32<0x34eb026e9dbb706f846fefef3f11163adfe69b61d70e6ad855e66eb1be22ff31>,
08:45:03 rollingHash: Buffer16<0x21f0269667dcef5eac42f2b4098c07b8>
08:45:03 }
08:45:03 }
08:45:03 [08:45:03.607]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:05 [08:45:05.097]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 224 for incoming L1 to L2 message 0x1863a2a2fe5fb1e35fe5657472509a74ae316c168bbd74138feee5fbc3963a03 at block 12 (expected value in range [176, 192))
08:45:05 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
08:45:05 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:05 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:05 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:05 inboxMessage: {
08:45:05 index: 224n,
08:45:05 leaf: Fr<0x1863a2a2fe5fb1e35fe5657472509a74ae316c168bbd74138feee5fbc3963a03>,
08:45:05 l2BlockNumber: 12,
08:45:05 l1BlockNumber: 45n,
08:45:05 l1BlockHash: Buffer32<0xa4b9bb0aa23a36613fa0b9db54e87ca7a5c5101e32e73a5938276e4b147b1b06>,
08:45:05 rollingHash: Buffer16<0xe7aa9a424595ab732b795cd1107a9321>
08:45:05 }
08:45:05 }
08:45:05 [08:45:05.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:06 [08:45:06.619]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x062b487c66179c56f0e3d395ce2a04d22955494fba02ee7888df1507e373afe6 with index 16 (expected 0x48f14dd66a49e829c71061adba7bd895 from previous hash 0xab80db96eb44519bfdd663f1349a2be8 but got 0x05b71fc298d3940b006666b3c7c979ef)
08:45:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
08:45:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:06 inboxMessage: {
08:45:06 index: 16n,
08:45:06 leaf: Fr<0x062b487c66179c56f0e3d395ce2a04d22955494fba02ee7888df1507e373afe6>,
08:45:06 l2BlockNumber: 2,
08:45:06 l1BlockNumber: 97n,
08:45:06 l1BlockHash: Buffer32<0xec1eb9e570973059ed7c87cc76729d26232f1b2f1d9d675ec9dc4ef6918477b0>,
08:45:06 rollingHash: Buffer16<0x05b71fc298d3940b006666b3c7c979ef>
08:45:06 }
08:45:06 }
08:45:06 [08:45:06.621]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:08 [08:45:08.143]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid rolling hash for incoming L1 to L2 message 0x1786ed293ed0f14ace8ea2a17bc2c215093dba0136ec6017897c92405951f6f4 with index 32 (expected 0xeccf136401042d848257b31039a5bd26 from previous hash 0x8ef2453fbcd50f7ec2291af7a9ca73c2 but got 0x249dc3610b9991cb12cb4c322c12982c)
08:45:08 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:108:17
08:45:08 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:08 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:08 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:08 inboxMessage: {
08:45:08 index: 32n,
08:45:08 leaf: Fr<0x1786ed293ed0f14ace8ea2a17bc2c215093dba0136ec6017897c92405951f6f4>,
08:45:08 l2BlockNumber: 3,
08:45:08 l1BlockNumber: 59n,
08:45:08 l1BlockHash: Buffer32<0xd7c64f99c072dd4060dd159bab8bcacbae759b606a523fa1bf97288fc29547a4>,
08:45:08 rollingHash: Buffer16<0x249dc3610b9991cb12cb4c322c12982c>
08:45:08 }
08:45:08 }
08:45:08 [08:45:08.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:09 [08:45:09.649]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 356 for incoming L1 to L2 message 0x2c4c70c80f1af4c5b39474226a64e8f72b0aed3871f6d5ed32e1fa20b5fe77e3 at block 17 (expected value in range [256, 272))
08:45:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
08:45:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:09 inboxMessage: {
08:45:09 index: 356n,
08:45:09 leaf: Fr<0x2c4c70c80f1af4c5b39474226a64e8f72b0aed3871f6d5ed32e1fa20b5fe77e3>,
08:45:09 l2BlockNumber: 17,
08:45:09 l1BlockNumber: 61n,
08:45:09 l1BlockHash: Buffer32<0xf10fabbf3e677ccba91707dc0321f324a5472a7bcc394a22589289370951c812>,
08:45:09 rollingHash: Buffer16<0x3a836eb039a63a10768afe97c71f29b2>
08:45:09 }
08:45:09 }
08:45:09 [08:45:09.657]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:11 [08:45:11.182]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Message 0x21011aa46fb283813f3300b8cbaf6a0c721dda2543e1ab94e849640727078816 for L2 block 15 has wrong index 225 (expected 224)
08:45:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:144:17
08:45:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:11 inboxMessage: {
08:45:11 index: 225n,
08:45:11 leaf: Fr<0x21011aa46fb283813f3300b8cbaf6a0c721dda2543e1ab94e849640727078816>,
08:45:11 l2BlockNumber: 15,
08:45:11 l1BlockNumber: 72n,
08:45:11 l1BlockHash: Buffer32<0xe13fdfcace6beb2bf0b8fbf9bd83397dba004039a7666106a8c7864119c18af8>,
08:45:11 rollingHash: Buffer16<0xd44fa2c3e54eb35bcb3d933919cd927e>
08:45:11 }
08:45:11 }
08:45:11 [08:45:11.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:12 [08:45:12.709]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: MessageStoreError: Invalid index 32 for incoming L1 to L2 message 0x172bb41954dfd8ff8cbd039682f5d56e07bf227ec3e34d854f32516db3174e25 at block 2 (expected value in range [16, 32))
08:45:12 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/message_store.ts:119:17
08:45:12 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
08:45:12 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
08:45:12 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
08:45:12 inboxMessage: {
08:45:12 index: 32n,
08:45:12 leaf: Fr<0x172bb41954dfd8ff8cbd039682f5d56e07bf227ec3e34d854f32516db3174e25>,
08:45:12 l2BlockNumber: 2,
08:45:12 l1BlockNumber: 47n,
08:45:12 l1BlockHash: Buffer32<0x6006b95c9937c5a9116b6cf37d976506c24ab7f73fa9d60545bbc77be40d09aa>,
08:45:12 rollingHash: Buffer16<0x3264902f160d7ecfa9502b77811066ab>
08:45:12 }
08:45:12 }
08:45:12 [08:45:12.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:14 [08:45:14.342]
WARN:
archiver:message_store Deleted 32 L1 to L2 messages from index 32 from the store
08:45:14 [08:45:14.374]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:15 [08:45:15.890]
WARN:
archiver:message_store Deleted 51 L1 to L2 messages from index 13 from the store
08:45:15 [08:45:15.905]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:17 [08:45:17.448]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:18 [08:45:18.949]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:20 [08:45:20.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:21 [08:45:21.976]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:23 [08:45:23.482]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:25 [08:45:25.003]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:26 [08:45:26.551]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:28 [08:45:28.135]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:29 [08:45:29.691]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:31 [08:45:31.275]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:32 [08:45:32.868]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:34 [08:45:34.443]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:36 [08:45:36.016]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:37 [08:45:37.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:39 [08:45:39.206]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:40 [08:45:40.778]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:43 [08:45:43.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:46 [08:45:46.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:49 [08:45:49.261]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:51 [08:45:51.944]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:45:56 [08:45:56.770]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:01 [08:46:01.184]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:05 [08:46:05.771]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:10 [08:46:10.456]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:14 [08:46:14.991]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:19 [08:46:19.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:24 [08:46:24.038]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
08:46:28
PASS src/archiver/kv_archiver_store/kv_archiver_store.test.ts (
162.616 s)
08:46:28 KVArchiverDataStore
08:46:28 ArchiverStore
08:46:28 addBlocks
08:46:28
✓ returns success when adding blocks (1349 ms)
08:46:28
✓ allows duplicate blocks (1423 ms)
08:46:28
✓ throws an error if the previous block does not exist in the store (1037 ms)
08:46:28
✓ throws an error if there is a gap in the blocks being added (1129 ms)
08:46:28 unwindBlocks
08:46:28
✓ unwinding blocks will remove blocks from the chain (1273 ms)
08:46:28
✓ can unwind multiple empty blocks (951 ms)
08:46:28
✓ refuses to unwind blocks if the tip is not the last block (1224 ms)
08:46:28 getBlocks
08:46:28
✓ retrieves previously stored blocks (1270 ms)
08:46:28
✓ retrieves previously stored blocks (1270 ms)
08:46:28
✓ retrieves previously stored blocks (1524 ms)
08:46:28
✓ retrieves previously stored blocks (1394 ms)
08:46:28
✓ retrieves previously stored blocks (1300 ms)
08:46:28
✓ returns an empty array if no blocks are found (1243 ms)
08:46:28
✓ throws an error if limit is invalid (1288 ms)
08:46:28
✓ throws an error if `from` it is out of range (1271 ms)
08:46:28
✓ throws an error if unexpected initial block number is found (1412 ms)
08:46:28
✓ throws an error if a gap is found (1682 ms)
08:46:28 getSyncedL2BlockNumber
08:46:28
✓ returns the block number before INITIAL_L2_BLOCK_NUM if no blocks have been added (1088 ms)
08:46:28
✓ returns the most recently added block's number (1377 ms)
08:46:28 getSynchPoint
08:46:28
✓ returns undefined if no blocks have been added (1110 ms)
08:46:28
✓ returns the L1 block number in which the most recent L2 block was published (1400 ms)
08:46:28
✓ returns the L1 block number that most recently added messages from inbox (1119 ms)
08:46:28
✓ returns the latest syncpoint if latest message is behind (1111 ms)
08:46:28 addLogs
08:46:28
✓ adds private & public logs (1172 ms)
08:46:28 deleteLogs
08:46:28
✓ deletes private & public logs (1266 ms)
08:46:28 getPrivateLogs
08:46:28
✓ gets added private logs (1283 ms)
08:46:28 getTxEffect
08:46:28
✓ retrieves a previously stored transaction (2103 ms)
08:46:28
✓ retrieves a previously stored transaction (2135 ms)
08:46:28
✓ retrieves a previously stored transaction (2112 ms)
08:46:28
✓ retrieves a previously stored transaction (2058 ms)
08:46:28
✓ retrieves a previously stored transaction (2085 ms)
08:46:28
✓ returns undefined if tx is not found (2066 ms)
08:46:28
✓ tries to retrieves a previously stored transaction after deleted (2205 ms)
08:46:28
✓ tries to retrieves a previously stored transaction after deleted (2251 ms)
08:46:28
✓ tries to retrieves a previously stored transaction after deleted (2236 ms)
08:46:28
✓ tries to retrieves a previously stored transaction after deleted (2246 ms)
08:46:28
✓ tries to retrieves a previously stored transaction after deleted (2242 ms)
08:46:28
✓ returns undefined if tx is not found (2091 ms)
08:46:28
✓ does not fail if the block is unwound while requesting a tx (2475 ms)
08:46:28 L1 to L2 Messages
08:46:28
✓ stores first message ever (1264 ms)
08:46:28
✓ stores single message (1264 ms)
08:46:28
✓ stores and returns messages across different blocks (1273 ms)
08:46:28
✓ stores the same messages again (1314 ms)
08:46:28
✓ stores and returns messages across different blocks with gaps (1302 ms)
08:46:28
✓ stores and returns messages with block numbers larger than a byte (1307 ms)
08:46:28
✓ stores and returns multiple messages per block (1373 ms)
08:46:28
✓ stores messages in multiple operations (1461 ms)
08:46:28
✓ iterates over messages from start index (1448 ms)
08:46:28
✓ iterates over messages in reverse (1458 ms)
08:46:28
✓ throws if messages are added out of order (1484 ms)
08:46:28
✓ throws if block number for the first message is out of order (1493 ms)
08:46:28
✓ throws if rolling hash is not correct (1521 ms)
08:46:28
✓ throws if rolling hash for first message is not correct (1524 ms)
08:46:28
✓ throws if index is not in the correct range (1506 ms)
08:46:28
✓ throws if first index in block has gaps (1533 ms)
08:46:28
✓ throws if index does not follow previous one (1527 ms)
08:46:28
✓ removes messages up to the given block number (1662 ms)
08:46:28
✓ removes messages starting with the given index (1532 ms)
08:46:28 contractInstances
08:46:28
✓ returns previously stored contract instances (1540 ms)
08:46:28
✓ returns undefined if contract instance is not found (1502 ms)
08:46:28
✓ returns undefined if previously stored contract instances was deleted (1511 ms)
08:46:28 contractInstanceUpdates
08:46:28
✓ gets the correct current class id for a contract not updated yet (1515 ms)
08:46:28
✓ gets the correct current class id for a contract that has just been updated (1505 ms)
08:46:28
✓ gets the correct current class id for a contract that was updated in the past (1519 ms)
08:46:28
✓ ignores updates for the wrong contract (1549 ms)
08:46:28
✓ bounds its search to the right contract if more than than one update exists (1583 ms)
08:46:28 contractClasses
08:46:28
✓ returns previously stored contract class (1555 ms)
08:46:28
✓ returns undefined if the initial deployed contract class was deleted (1582 ms)
08:46:28
✓ returns contract class if later "deployment" class was deleted (1594 ms)
08:46:28
✓ returns undefined if contract class is not found (1574 ms)
08:46:28
✓ adds new private functions (1574 ms)
08:46:28
✓ does not duplicate private functions (1614 ms)
08:46:28
✓ adds new utility functions (1575 ms)
08:46:28
✓ does not duplicate utility functions (1571 ms)
08:46:28 getLogsByTags
08:46:28
✓ is possible to batch request private logs via tags (2683 ms)
08:46:28
✓ is possible to batch request all logs (private and public) via tags (2710 ms)
08:46:28
✓ is possible to batch request logs that have the same tag but different content (3090 ms)
08:46:28
✓ is possible to request logs for non-existing tags and determine their position (2682 ms)
08:46:28 getPublicLogs
08:46:28
✓ no logs returned if deleted ("txHash" filter param is respected variant) (4825 ms)
08:46:28
✓ "txHash" filter param is respected (4413 ms)
08:46:28
✓ "fromBlock" and "toBlock" filter params are respected (4585 ms)
08:46:28
✓ "contractAddress" filter param is respected (4686 ms)
08:46:28
✓ "afterLog" filter param is respected (4534 ms)
08:46:28
✓ "txHash" filter param is ignored when "afterLog" is set (4530 ms)
08:46:28
✓ intersecting works (4516 ms)
08:46:28
✓ "txIndex" and "logIndex" are respected when "afterLog.blockNumber" is equal to "fromBlock" (4638 ms)
08:46:28
08:46:28
Test Suites: 1 passed, 1 total
08:46:28
Tests: 86 passed, 86 total
08:46:28
Snapshots: 0 total
08:46:28
Time: 162.692 s
08:46:28
Ran all test suites matching archiver/src/archiver/kv_archiver_store/kv_archiver_store.test.ts
.
08:46:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?