Parent Log: http://ci.aztec-labs.com/20565fb19cf53bed Command: 557c108a8ed544a3 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 Env: REF_NAME=gh-readonly-queue/next/pr-15116-433ba6218aed45169029991a493e4232b30b8ec6 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 20:30:55 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 20:30:59 [20:30:59.067] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 20:31:03 [20:31:03.097] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 20:31:03 [20:31:03.888] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Mi3u6K/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:04 [20:31:04.164] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-nRVgDV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:04 [20:31:04.419] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FAEfQi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:04 [20:31:04.670] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-eAOcxv/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:04 [20:31:04.930] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-O43Ftp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:05 [20:31:05.204] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-lfIx7l/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:05 [20:31:05.475] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-uvDP8C/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:05 [20:31:05.740] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yPSvWu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:06 [20:31:06.020] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-43kbbI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:06 [20:31:06.314] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AmktOM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:31:06 PASS src/public/avm/avm_simulator.test.ts (10.005 s) 20:31:06 AVM simulator: injected bytecode 20:31:06 Should execute bytecode that performs basic addition (8 ms) 20:31:06 Should halt if runs out of gas (4 ms) 20:31:06 An exceptional halt should consume all allocated gas (2 ms) 20:31:06 AVM simulator: transpiled Noir contracts 20:31:06 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 20:31:06 addition (32 ms) 20:31:06 addition via dispatch (219 ms) 20:31:06 get_args_hash via dispatch (60 ms) 20:31:06 modulo and u1 (32 ms) 20:31:06 Should handle calldata oracle (34 ms) 20:31:06 Should handle return oracle (26 ms) 20:31:06 Should handle revert oracle (26 ms) 20:31:06 ec_add should not revert (32 ms) 20:31:06 elliptic curve operations (29 ms) 20:31:06 pedersen commitment operations (39 ms) 20:31:06 conditional move operations (30 ms) 20:31:06 Logging (23 ms) 20:31:06 Assertion message (39 ms) 20:31:06 conversions (19 ms) 20:31:06 should be able to execute contracts that only have private functions (1 ms) 20:31:06 msm 20:31:06 low scalars (36 ms) 20:31:06 with a zero (31 ms) 20:31:06 high scalars (136 ms) 20:31:06 U128 addition and overflows 20:31:06 U128 addition (20 ms) 20:31:06 Expect failure on U128::add() overflow (39 ms) 20:31:06 SET functions 20:31:06 function 'set_opcode_u8' (18 ms) 20:31:06 function 'set_opcode_u32' (16 ms) 20:31:06 function 'set_opcode_u64' (24 ms) 20:31:06 function 'set_opcode_small_field' (18 ms) 20:31:06 function 'set_opcode_big_field' (16 ms) 20:31:06 function 'set_opcode_really_big_field' (16 ms) 20:31:06 Hashes in noir contracts 20:31:06 Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms) 20:31:06 Should execute contract function that performs sha256_hash_20 on input of length 20 (37 ms) 20:31:06 Should execute contract function that performs sha256_hash_30 on input of length 30 (51 ms) 20:31:06 Should execute contract function that performs sha256_hash_40 on input of length 40 (25 ms) 20:31:06 Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms) 20:31:06 Should execute contract function that performs sha256_hash_60 on input of length 60 (39 ms) 20:31:06 Should execute contract function that performs sha256_hash_70 on input of length 70 (30 ms) 20:31:06 Should execute contract function that performs sha256_hash_80 on input of length 80 (30 ms) 20:31:06 Should execute contract function that performs sha256_hash_90 on input of length 90 (54 ms) 20:31:06 Should execute contract function that performs sha256_hash_100 on input of length 100 (31 ms) 20:31:06 Should execute contract function that performs sha256_hash_255 on input of length 255 (77 ms) 20:31:06 Should execute contract function that performs sha256_hash_256 on input of length 256 (68 ms) 20:31:06 Should execute contract function that performs sha256_hash_511 on input of length 511 (134 ms) 20:31:06 Should execute contract function that performs sha256_hash_512 on input of length 512 (141 ms) 20:31:06 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (392 ms) 20:31:06 Should execute contract function that performs keccak_hash on input of length 10 (39 ms) 20:31:06 Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms) 20:31:06 Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms) 20:31:06 Should execute contract function that performs pedersen_hash on input of length 10 (535 ms) 20:31:06 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (456 ms) 20:31:06 Environment getters 20:31:06 address getter (19 ms) 20:31:06 sender getter (23 ms) 20:31:06 transactionFee getter (16 ms) 20:31:06 chainId getter (20 ms) 20:31:06 version getter (22 ms) 20:31:06 blockNumber getter (18 ms) 20:31:06 timestamp getter (20 ms) 20:31:06 feePerDaGas getter (23 ms) 20:31:06 feePerL2Gas getter (19 ms) 20:31:06 Side effects, world state, nested calls 20:31:06 Should append a new note hash correctly (22 ms) 20:31:06 Should append a new nullifier correctly (17 ms) 20:31:06 Note hash checks 20:31:06 Should return false (and be traced) when noteHash does NOT exist (24 ms) 20:31:06 Should return true (and be traced) when noteHash DOES exist (19 ms) 20:31:06 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms) 20:31:06 Nullifier checks 20:31:06 Should return false (and be traced) when nullifier does NOT exist (17 ms) 20:31:06 Should return true (and be traced) when nullifier DOES exist (17 ms) 20:31:06 L1ToL2 message checks 20:31:06 Should return false (and be traced) when message does NOT exist (22 ms) 20:31:06 Should return true (and be traced) when message DOES exist (26 ms) 20:31:06 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (35 ms) 20:31:06 Cached nullifiers 20:31:06 Emits a nullifier and checks its existence (16 ms) 20:31:06 Emits same nullifier twice (expect failure) (32 ms) 20:31:06 Public Logs 20:31:06 Emit public logs (should be traced) (46 ms) 20:31:06 Public storage accesses 20:31:06 Should set value in storage (single) (28 ms) 20:31:06 Should read value in storage (single) (29 ms) 20:31:06 Should set and read a value from storage (single) (23 ms) 20:31:06 Should set a value in storage (list) (18 ms) 20:31:06 Should read a value in storage (list) (19 ms) 20:31:06 Should set a value in storage (map) (38 ms) 20:31:06 Should read-add-set a value in storage (map) (26 ms) 20:31:06 Should read value in storage (map) (25 ms) 20:31:06 Contract Instance Retrieval 20:31:06 Can getContractInstance (38 ms) 20:31:06 Nested external calls 20:31:06 Nested call to non-existent contract (30 ms) 20:31:06 Nested call (120 ms) 20:31:06 Nested static call (120 ms) 20:31:06 Nested call with not enough gas (expect failure) (94 ms) 20:31:06 Nested static call which modifies storage (expect failure) (105 ms) 20:31:06 Nested calls rethrow exceptions (146 ms) 20:31:06 Should handle returndatacopy oracle (135 ms) 20:31:06 Side effect trace errors on overflow 20:31:06 Overrun of Public storage writes (13 ms) 20:31:06 Overrun of New note hashes (17 ms) 20:31:06 Overrun of New nullifiers (17 ms) 20:31:06 Overrun of New unencrypted logs (2 ms) 20:31:06 Overrun of New L1 to L2 messages (1 ms) 20:31:06 Side effects including merkle checks 20:31:06 Note hashes 20:31:06 Should append new note hash correctly (277 ms) 20:31:06 Note hash check properly returns exists=false (262 ms) 20:31:06 Note hash check properly returns exists=true (249 ms) 20:31:06 Nullifiers 20:31:06 Should append a new nullifier correctly (259 ms) 20:31:06 Nullifier check properly returns exists=false (276 ms) 20:31:06 Nullifier check properly returns exists=true (272 ms) 20:31:06 Public storage accesses 20:31:06 Should set value in storage (single) (263 ms) 20:31:06 Should read value in storage (single) - never written (279 ms) 20:31:06 Should read value in storage (single) - written before, leaf exists (292 ms) 20:31:06 Should set and read value in storage (single) (275 ms) 20:31:06 20:31:06 Test Suites: 1 passed, 1 total 20:31:06 Tests: 103 passed, 103 total 20:31:06 Snapshots: 0 total 20:31:06 Time: 10.119 s 20:31:06 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 20:31:06 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?