Parent Log: http://ci.aztec-labs.com/08d3995fcf33019a Command: ebf67495dae0c068 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/10badd24359b04680068afd9ca24407383374db1 Env: REF_NAME=gh-readonly-queue/next/pr-15019-7d223783d91db15002a09abc1b52d1455eb3e3da CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 11:07:13 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15019_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 11:07:17 [11:07:17.533] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 11:07:21 [11:07:21.523] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 11:07:23 [11:07:23.020] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zRnX4x/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:23 [11:07:23.325] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-JcUNm1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:23 [11:07:23.583] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-bqJxd1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:23 [11:07:23.827] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-aPZLNO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:24 [11:07:24.116] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Dv4sKE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:24 [11:07:24.381] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wQdpRF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:24 [11:07:24.628] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-uKoALo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:24 [11:07:24.894] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-D7YE97/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:25 [11:07:25.158] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-eNCEjL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:25 [11:07:25.424] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4T7P2k/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:07:25 PASS src/public/avm/avm_simulator.test.ts (10.963 s) 11:07:25 AVM simulator: injected bytecode 11:07:25 Should execute bytecode that performs basic addition (9 ms) 11:07:25 Should halt if runs out of gas (3 ms) 11:07:25 An exceptional halt should consume all allocated gas (2 ms) 11:07:25 AVM simulator: transpiled Noir contracts 11:07:25 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 11:07:25 addition (37 ms) 11:07:25 addition via dispatch (226 ms) 11:07:25 get_args_hash via dispatch (50 ms) 11:07:25 modulo and u1 (23 ms) 11:07:25 Should handle calldata oracle (18 ms) 11:07:25 Should handle return oracle (18 ms) 11:07:25 Should handle revert oracle (18 ms) 11:07:25 ec_add should not revert (36 ms) 11:07:25 elliptic curve operations (24 ms) 11:07:25 pedersen commitment operations (34 ms) 11:07:25 conditional move operations (23 ms) 11:07:25 Logging (25 ms) 11:07:25 Assertion message (37 ms) 11:07:25 conversions (22 ms) 11:07:25 should be able to execute contracts that only have private functions (2 ms) 11:07:25 msm 11:07:25 low scalars (39 ms) 11:07:25 with a zero (21 ms) 11:07:25 high scalars (141 ms) 11:07:25 U128 addition and overflows 11:07:25 U128 addition (22 ms) 11:07:25 Expect failure on U128::add() overflow (33 ms) 11:07:25 SET functions 11:07:25 function 'set_opcode_u8' (25 ms) 11:07:25 function 'set_opcode_u32' (20 ms) 11:07:25 function 'set_opcode_u64' (19 ms) 11:07:25 function 'set_opcode_small_field' (20 ms) 11:07:25 function 'set_opcode_big_field' (17 ms) 11:07:25 function 'set_opcode_really_big_field' (21 ms) 11:07:25 Hashes in noir contracts 11:07:25 Should execute contract function that performs sha256_hash_10 on input of length 10 (27 ms) 11:07:25 Should execute contract function that performs sha256_hash_20 on input of length 20 (25 ms) 11:07:25 Should execute contract function that performs sha256_hash_30 on input of length 30 (23 ms) 11:07:25 Should execute contract function that performs sha256_hash_40 on input of length 40 (28 ms) 11:07:25 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 11:07:25 Should execute contract function that performs sha256_hash_60 on input of length 60 (21 ms) 11:07:25 Should execute contract function that performs sha256_hash_70 on input of length 70 (27 ms) 11:07:25 Should execute contract function that performs sha256_hash_80 on input of length 80 (30 ms) 11:07:25 Should execute contract function that performs sha256_hash_90 on input of length 90 (31 ms) 11:07:25 Should execute contract function that performs sha256_hash_100 on input of length 100 (31 ms) 11:07:25 Should execute contract function that performs sha256_hash_255 on input of length 255 (63 ms) 11:07:25 Should execute contract function that performs sha256_hash_256 on input of length 256 (53 ms) 11:07:25 Should execute contract function that performs sha256_hash_511 on input of length 511 (101 ms) 11:07:25 Should execute contract function that performs sha256_hash_512 on input of length 512 (155 ms) 11:07:25 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (404 ms) 11:07:25 Should execute contract function that performs keccak_hash on input of length 10 (44 ms) 11:07:25 Should execute contract function that performs keccak_f1600 on input of length 25 (8 ms) 11:07:25 Should execute contract function that performs poseidon2_hash on input of length 10 (15 ms) 11:07:25 Should execute contract function that performs pedersen_hash on input of length 10 (556 ms) 11:07:25 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (481 ms) 11:07:25 Environment getters 11:07:25 address getter (25 ms) 11:07:25 sender getter (22 ms) 11:07:25 transactionFee getter (24 ms) 11:07:25 chainId getter (20 ms) 11:07:25 version getter (26 ms) 11:07:25 blockNumber getter (18 ms) 11:07:25 timestamp getter (14 ms) 11:07:25 feePerDaGas getter (22 ms) 11:07:25 feePerL2Gas getter (20 ms) 11:07:25 Side effects, world state, nested calls 11:07:25 Should append a new note hash correctly (21 ms) 11:07:25 Should append a new nullifier correctly (19 ms) 11:07:25 Note hash checks 11:07:25 Should return false (and be traced) when noteHash does NOT exist (29 ms) 11:07:25 Should return true (and be traced) when noteHash DOES exist (23 ms) 11:07:25 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms) 11:07:25 Nullifier checks 11:07:25 Should return false (and be traced) when nullifier does NOT exist (32 ms) 11:07:25 Should return true (and be traced) when nullifier DOES exist (25 ms) 11:07:25 L1ToL2 message checks 11:07:25 Should return false (and be traced) when message does NOT exist (23 ms) 11:07:25 Should return true (and be traced) when message DOES exist (23 ms) 11:07:25 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms) 11:07:25 Cached nullifiers 11:07:25 Emits a nullifier and checks its existence (25 ms) 11:07:25 Emits same nullifier twice (expect failure) (27 ms) 11:07:25 Public Logs 11:07:25 Emit public logs (should be traced) (57 ms) 11:07:25 Public storage accesses 11:07:25 Should set value in storage (single) (28 ms) 11:07:25 Should read value in storage (single) (25 ms) 11:07:25 Should set and read a value from storage (single) (25 ms) 11:07:25 Should set a value in storage (list) (27 ms) 11:07:25 Should read a value in storage (list) (24 ms) 11:07:25 Should set a value in storage (map) (33 ms) 11:07:25 Should read-add-set a value in storage (map) (42 ms) 11:07:25 Should read value in storage (map) (37 ms) 11:07:25 Contract Instance Retrieval 11:07:25 Can getContractInstance (27 ms) 11:07:25 Nested external calls 11:07:25 Nested call to non-existent contract (25 ms) 11:07:25 Nested call (245 ms) 11:07:25 Nested static call (245 ms) 11:07:25 Nested call with not enough gas (expect failure) (205 ms) 11:07:25 Nested static call which modifies storage (expect failure) (210 ms) 11:07:25 Nested calls rethrow exceptions (277 ms) 11:07:25 Should handle returndatacopy oracle (253 ms) 11:07:25 Side effect trace errors on overflow 11:07:25 Overrun of Public storage writes (12 ms) 11:07:25 Overrun of New note hashes (20 ms) 11:07:25 Overrun of New nullifiers (9 ms) 11:07:25 Overrun of New unencrypted logs (1 ms) 11:07:25 Overrun of New L1 to L2 messages (1 ms) 11:07:25 Side effects including merkle checks 11:07:25 Note hashes 11:07:25 Should append new note hash correctly (309 ms) 11:07:25 Note hash check properly returns exists=false (259 ms) 11:07:25 Note hash check properly returns exists=true (239 ms) 11:07:25 Nullifiers 11:07:25 Should append a new nullifier correctly (291 ms) 11:07:25 Nullifier check properly returns exists=false (266 ms) 11:07:25 Nullifier check properly returns exists=true (245 ms) 11:07:25 Public storage accesses 11:07:25 Should set value in storage (single) (265 ms) 11:07:25 Should read value in storage (single) - never written (262 ms) 11:07:25 Should read value in storage (single) - written before, leaf exists (271 ms) 11:07:25 Should set and read value in storage (single) (270 ms) 11:07:25 11:07:25 Test Suites: 1 passed, 1 total 11:07:25 Tests: 103 passed, 103 total 11:07:25 Snapshots: 0 total 11:07:25 Time: 11.048 s 11:07:25 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 11:07:25 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?