Parent Log:
http://ci.aztec-labs.com/1c420a977384450c
Command: 426cee6a32f1da3c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d96baf1c44329e8b2e3a432ad803f702f5184a62
Env: REF_NAME=gh-readonly-queue/next/pr-15025-26c5a39fe03723d11540f721293d7aebd1f478d9 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 09:33:26 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15025_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
09:33:30 [09:33:30.113]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
09:33:33 [09:33:33.560]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
09:33:34 [09:33:34.912]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CrPRb7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:35 [09:33:35.149]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-EKT8ZE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:35 [09:33:35.393]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-fuOlLL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:35 [09:33:35.678]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9gEnVa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:35 [09:33:35.950]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-P3b317/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:36 [09:33:36.239]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-yUqn9g/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:36 [09:33:36.492]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YG94Th/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:36 [09:33:36.783]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ztKtNP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:37 [09:33:37.038]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-UeyrYi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:37 [09:33:37.285]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8iwiaM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:33:37
PASS src/public/avm/avm_simulator.test.ts (
9.781 s)
09:33:37 AVM simulator: injected bytecode
09:33:37
✓ Should execute bytecode that performs basic addition (7 ms)
09:33:37
✓ Should halt if runs out of gas (3 ms)
09:33:37
✓ An exceptional halt should consume all allocated gas (2 ms)
09:33:37 AVM simulator: transpiled Noir contracts
09:33:37
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms)
09:33:37
✓ addition (21 ms)
09:33:37
✓ addition via dispatch (218 ms)
09:33:37
✓ get_args_hash via dispatch (38 ms)
09:33:37
✓ modulo and u1 (18 ms)
09:33:37
✓ Should handle calldata oracle (17 ms)
09:33:37
✓ Should handle return oracle (24 ms)
09:33:37
✓ Should handle revert oracle (21 ms)
09:33:37
✓ ec_add should not revert (20 ms)
09:33:37
✓ elliptic curve operations (19 ms)
09:33:37
✓ pedersen commitment operations (31 ms)
09:33:37
✓ conditional move operations (15 ms)
09:33:37
✓ Logging (17 ms)
09:33:37
✓ Assertion message (31 ms)
09:33:37
✓ conversions (20 ms)
09:33:37
✓ should be able to execute contracts that only have private functions (1 ms)
09:33:37 msm
09:33:37
✓ low scalars (33 ms)
09:33:37
✓ with a zero (24 ms)
09:33:37
✓ high scalars (119 ms)
09:33:37 U128 addition and overflows
09:33:37
✓ U128 addition (13 ms)
09:33:37
✓ Expect failure on U128::add() overflow (38 ms)
09:33:37 SET functions
09:33:37
✓ function 'set_opcode_u8' (13 ms)
09:33:37
✓ function 'set_opcode_u32' (14 ms)
09:33:37
✓ function 'set_opcode_u64' (14 ms)
09:33:37
✓ function 'set_opcode_small_field' (16 ms)
09:33:37
✓ function 'set_opcode_big_field' (16 ms)
09:33:37
✓ function 'set_opcode_really_big_field' (13 ms)
09:33:37 Hashes in noir contracts
09:33:37
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (25 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (22 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (22 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (22 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (25 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (23 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (29 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (30 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (30 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (32 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (60 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (53 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (93 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (97 ms)
09:33:37
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (409 ms)
09:33:37
✓ Should execute contract function that performs keccak_hash on input of length 10 (45 ms)
09:33:37
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms)
09:33:37
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms)
09:33:37
✓ Should execute contract function that performs pedersen_hash on input of length 10 (432 ms)
09:33:37
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (458 ms)
09:33:37 Environment getters
09:33:37
✓ address getter (24 ms)
09:33:37
✓ sender getter (21 ms)
09:33:37
✓ transactionFee getter (20 ms)
09:33:37
✓ chainId getter (31 ms)
09:33:37
✓ version getter (18 ms)
09:33:37
✓ blockNumber getter (16 ms)
09:33:37
✓ timestamp getter (15 ms)
09:33:37
✓ feePerDaGas getter (25 ms)
09:33:37
✓ feePerL2Gas getter (20 ms)
09:33:37 Side effects, world state, nested calls
09:33:37
✓ Should append a new note hash correctly (20 ms)
09:33:37
✓ Should append a new nullifier correctly (21 ms)
09:33:37 Note hash checks
09:33:37
✓ Should return false (and be traced) when noteHash does NOT exist (15 ms)
09:33:37
✓ Should return true (and be traced) when noteHash DOES exist (13 ms)
09:33:37
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
09:33:37 Nullifier checks
09:33:37
✓ Should return false (and be traced) when nullifier does NOT exist (25 ms)
09:33:37
✓ Should return true (and be traced) when nullifier DOES exist (15 ms)
09:33:37 L1ToL2 message checks
09:33:37
✓ Should return false (and be traced) when message does NOT exist (16 ms)
09:33:37
✓ Should return true (and be traced) when message DOES exist (19 ms)
09:33:37
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (14 ms)
09:33:37 Cached nullifiers
09:33:37
✓ Emits a nullifier and checks its existence (20 ms)
09:33:37
✓ Emits same nullifier twice (expect failure) (17 ms)
09:33:37 Public Logs
09:33:37
✓ Emit public logs (should be traced) (40 ms)
09:33:37 Public storage accesses
09:33:37
✓ Should set value in storage (single) (31 ms)
09:33:37
✓ Should read value in storage (single) (26 ms)
09:33:37
✓ Should set and read a value from storage (single) (22 ms)
09:33:37
✓ Should set a value in storage (list) (23 ms)
09:33:37
✓ Should read a value in storage (list) (20 ms)
09:33:37
✓ Should set a value in storage (map) (18 ms)
09:33:37
✓ Should read-add-set a value in storage (map) (20 ms)
09:33:37
✓ Should read value in storage (map) (16 ms)
09:33:37 Contract Instance Retrieval
09:33:37
✓ Can getContractInstance (17 ms)
09:33:37 Nested external calls
09:33:37
✓ Nested call to non-existent contract (24 ms)
09:33:37
✓ Nested call (250 ms)
09:33:37
✓ Nested static call (210 ms)
09:33:37
✓ Nested call with not enough gas (expect failure) (190 ms)
09:33:37
✓ Nested static call which modifies storage (expect failure) (204 ms)
09:33:37
✓ Nested calls rethrow exceptions (240 ms)
09:33:37
✓ Should handle returndatacopy oracle (192 ms)
09:33:37 Side effect trace errors on overflow
09:33:37
✓ Overrun of Public storage writes (10 ms)
09:33:37
✓ Overrun of New note hashes (20 ms)
09:33:37
✓ Overrun of New nullifiers (16 ms)
09:33:37
✓ Overrun of New unencrypted logs (3 ms)
09:33:37
✓ Overrun of New L1 to L2 messages (2 ms)
09:33:37 Side effects including merkle checks
09:33:37 Note hashes
09:33:37
✓ Should append new note hash correctly (236 ms)
09:33:37
✓ Note hash check properly returns exists=false (243 ms)
09:33:37
✓ Note hash check properly returns exists=true (292 ms)
09:33:37 Nullifiers
09:33:37
✓ Should append a new nullifier correctly (270 ms)
09:33:37
✓ Nullifier check properly returns exists=false (289 ms)
09:33:37
✓ Nullifier check properly returns exists=true (253 ms)
09:33:37 Public storage accesses
09:33:37
✓ Should set value in storage (single) (290 ms)
09:33:37
✓ Should read value in storage (single) - never written (257 ms)
09:33:37
✓ Should read value in storage (single) - written before, leaf exists (247 ms)
09:33:37
✓ Should set and read value in storage (single) (299 ms)
09:33:37
09:33:37
Test Suites: 1 passed, 1 total
09:33:37
Tests: 103 passed, 103 total
09:33:37
Snapshots: 0 total
09:33:37
Time: 9.885 s
09:33:37
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
09:33:37
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?