Parent Log: http://ci.aztec-labs.com/ae044bbb1e4daaae 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:53 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15019_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 11:07:56 [11:07:56.361] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 11:08:00 [11:08:00.140] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 11:08:01 [11:08:01.497] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4UzzHh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:01 [11:08:01.734] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kfUr3r/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:02 [11:08:01.998] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yuh1wM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:02 [11:08:02.225] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zfUqD6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:02 [11:08:02.480] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-nEp4PM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:02 [11:08:02.722] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LfUuPL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:02 [11:08:02.973] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-GscPlh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:03 [11:08:03.231] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-nwI83G/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:03 [11:08:03.515] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LgdY6J/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:03 [11:08:03.770] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-OjqEAX/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:08:04 PASS src/public/avm/avm_simulator.test.ts (9.863 s) 11:08:04 AVM simulator: injected bytecode 11:08:04 Should execute bytecode that performs basic addition (8 ms) 11:08:04 Should halt if runs out of gas (3 ms) 11:08:04 An exceptional halt should consume all allocated gas (2 ms) 11:08:04 AVM simulator: transpiled Noir contracts 11:08:04 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 11:08:04 addition (31 ms) 11:08:04 addition via dispatch (205 ms) 11:08:04 get_args_hash via dispatch (52 ms) 11:08:04 modulo and u1 (22 ms) 11:08:04 Should handle calldata oracle (25 ms) 11:08:04 Should handle return oracle (24 ms) 11:08:04 Should handle revert oracle (26 ms) 11:08:04 ec_add should not revert (26 ms) 11:08:04 elliptic curve operations (23 ms) 11:08:04 pedersen commitment operations (29 ms) 11:08:04 conditional move operations (15 ms) 11:08:04 Logging (14 ms) 11:08:04 Assertion message (40 ms) 11:08:04 conversions (22 ms) 11:08:04 should be able to execute contracts that only have private functions (1 ms) 11:08:04 msm 11:08:04 low scalars (41 ms) 11:08:04 with a zero (27 ms) 11:08:04 high scalars (128 ms) 11:08:04 U128 addition and overflows 11:08:04 U128 addition (12 ms) 11:08:04 Expect failure on U128::add() overflow (29 ms) 11:08:04 SET functions 11:08:04 function 'set_opcode_u8' (15 ms) 11:08:04 function 'set_opcode_u32' (17 ms) 11:08:04 function 'set_opcode_u64' (25 ms) 11:08:04 function 'set_opcode_small_field' (20 ms) 11:08:04 function 'set_opcode_big_field' (21 ms) 11:08:04 function 'set_opcode_really_big_field' (23 ms) 11:08:04 Hashes in noir contracts 11:08:04 Should execute contract function that performs sha256_hash_10 on input of length 10 (23 ms) 11:08:04 Should execute contract function that performs sha256_hash_20 on input of length 20 (40 ms) 11:08:04 Should execute contract function that performs sha256_hash_30 on input of length 30 (20 ms) 11:08:04 Should execute contract function that performs sha256_hash_40 on input of length 40 (24 ms) 11:08:04 Should execute contract function that performs sha256_hash_50 on input of length 50 (34 ms) 11:08:04 Should execute contract function that performs sha256_hash_60 on input of length 60 (25 ms) 11:08:04 Should execute contract function that performs sha256_hash_70 on input of length 70 (28 ms) 11:08:04 Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms) 11:08:04 Should execute contract function that performs sha256_hash_90 on input of length 90 (39 ms) 11:08:04 Should execute contract function that performs sha256_hash_100 on input of length 100 (31 ms) 11:08:04 Should execute contract function that performs sha256_hash_255 on input of length 255 (61 ms) 11:08:04 Should execute contract function that performs sha256_hash_256 on input of length 256 (78 ms) 11:08:04 Should execute contract function that performs sha256_hash_511 on input of length 511 (137 ms) 11:08:04 Should execute contract function that performs sha256_hash_512 on input of length 512 (141 ms) 11:08:04 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (427 ms) 11:08:04 Should execute contract function that performs keccak_hash on input of length 10 (48 ms) 11:08:04 Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms) 11:08:04 Should execute contract function that performs poseidon2_hash on input of length 10 (30 ms) 11:08:04 Should execute contract function that performs pedersen_hash on input of length 10 (462 ms) 11:08:04 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (383 ms) 11:08:04 Environment getters 11:08:04 address getter (16 ms) 11:08:04 sender getter (17 ms) 11:08:04 transactionFee getter (24 ms) 11:08:04 chainId getter (17 ms) 11:08:04 version getter (13 ms) 11:08:04 blockNumber getter (23 ms) 11:08:04 timestamp getter (15 ms) 11:08:04 feePerDaGas getter (22 ms) 11:08:04 feePerL2Gas getter (26 ms) 11:08:04 Side effects, world state, nested calls 11:08:04 Should append a new note hash correctly (26 ms) 11:08:04 Should append a new nullifier correctly (24 ms) 11:08:04 Note hash checks 11:08:04 Should return false (and be traced) when noteHash does NOT exist (23 ms) 11:08:04 Should return true (and be traced) when noteHash DOES exist (29 ms) 11:08:04 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms) 11:08:04 Nullifier checks 11:08:04 Should return false (and be traced) when nullifier does NOT exist (23 ms) 11:08:04 Should return true (and be traced) when nullifier DOES exist (26 ms) 11:08:04 L1ToL2 message checks 11:08:04 Should return false (and be traced) when message does NOT exist (24 ms) 11:08:04 Should return true (and be traced) when message DOES exist (24 ms) 11:08:04 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms) 11:08:04 Cached nullifiers 11:08:04 Emits a nullifier and checks its existence (26 ms) 11:08:04 Emits same nullifier twice (expect failure) (25 ms) 11:08:04 Public Logs 11:08:04 Emit public logs (should be traced) (51 ms) 11:08:04 Public storage accesses 11:08:04 Should set value in storage (single) (17 ms) 11:08:04 Should read value in storage (single) (22 ms) 11:08:04 Should set and read a value from storage (single) (22 ms) 11:08:04 Should set a value in storage (list) (22 ms) 11:08:04 Should read a value in storage (list) (25 ms) 11:08:04 Should set a value in storage (map) (28 ms) 11:08:04 Should read-add-set a value in storage (map) (35 ms) 11:08:04 Should read value in storage (map) (23 ms) 11:08:04 Contract Instance Retrieval 11:08:04 Can getContractInstance (15 ms) 11:08:04 Nested external calls 11:08:04 Nested call to non-existent contract (21 ms) 11:08:04 Nested call (185 ms) 11:08:04 Nested static call (199 ms) 11:08:04 Nested call with not enough gas (expect failure) (210 ms) 11:08:04 Nested static call which modifies storage (expect failure) (184 ms) 11:08:04 Nested calls rethrow exceptions (238 ms) 11:08:04 Should handle returndatacopy oracle (276 ms) 11:08:04 Side effect trace errors on overflow 11:08:04 Overrun of Public storage writes (13 ms) 11:08:04 Overrun of New note hashes (17 ms) 11:08:04 Overrun of New nullifiers (11 ms) 11:08:04 Overrun of New unencrypted logs (1 ms) 11:08:04 Overrun of New L1 to L2 messages (2 ms) 11:08:04 Side effects including merkle checks 11:08:04 Note hashes 11:08:04 Should append new note hash correctly (247 ms) 11:08:04 Note hash check properly returns exists=false (263 ms) 11:08:04 Note hash check properly returns exists=true (227 ms) 11:08:04 Nullifiers 11:08:04 Should append a new nullifier correctly (247 ms) 11:08:04 Nullifier check properly returns exists=false (246 ms) 11:08:04 Nullifier check properly returns exists=true (253 ms) 11:08:04 Public storage accesses 11:08:04 Should set value in storage (single) (256 ms) 11:08:04 Should read value in storage (single) - never written (283 ms) 11:08:04 Should read value in storage (single) - written before, leaf exists (257 ms) 11:08:04 Should set and read value in storage (single) (329 ms) 11:08:04 11:08:04 Test Suites: 1 passed, 1 total 11:08:04 Tests: 103 passed, 103 total 11:08:04 Snapshots: 0 total 11:08:04 Time: 9.954 s 11:08:04 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 11:08:04 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?