Parent Log: http://ci.aztec-labs.com/ce57deeae491c23c Command: a5bf9fa49c3b3b54 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/8cc8a56892d36191eefb49254ebbe49ea99ef4b8 Env: REF_NAME=gh-readonly-queue/next/pr-14921-78d87cb88633aee537d022d6fd8e57ceb74a3a95 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Wed Jun 18 11:37:53 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14921_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 11:37:55 [11:37:55.825] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 11:37:59 [11:37:59.446] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 11:38:00 [11:38:00.160] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-fwLELm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:00 [11:38:00.402] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-At4Ezo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:00 [11:38:00.652] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-cU7HIC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:00 [11:38:00.848] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-i1W6Qa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:01 [11:38:01.106] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-R9QjqF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:01 [11:38:01.299] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-bTzTWm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:01 [11:38:01.495] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-M2VotB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:01 [11:38:01.713] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-hk7Eyc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:01 [11:38:01.917] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Tqfckr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:02 [11:38:02.140] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AN3KZ9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:38:02 PASS src/public/avm/avm_simulator.test.ts (8.408 s) 11:38:02 AVM simulator: injected bytecode 11:38:02 Should execute bytecode that performs basic addition (6 ms) 11:38:02 Should halt if runs out of gas (3 ms) 11:38:02 An exceptional halt should consume all allocated gas (2 ms) 11:38:02 AVM simulator: transpiled Noir contracts 11:38:02 execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms) 11:38:02 addition (27 ms) 11:38:02 addition via dispatch (220 ms) 11:38:02 get_args_hash via dispatch (41 ms) 11:38:02 modulo and u1 (23 ms) 11:38:02 Should handle calldata oracle (23 ms) 11:38:02 Should handle return oracle (22 ms) 11:38:02 Should handle revert oracle (24 ms) 11:38:02 ec_add should not revert (23 ms) 11:38:02 elliptic curve operations (22 ms) 11:38:02 pedersen commitment operations (37 ms) 11:38:02 conditional move operations (23 ms) 11:38:02 Logging (23 ms) 11:38:02 Assertion message (42 ms) 11:38:02 conversions (27 ms) 11:38:02 should be able to execute contracts that only have private functions (1 ms) 11:38:02 msm 11:38:02 low scalars (42 ms) 11:38:02 with a zero (26 ms) 11:38:02 high scalars (124 ms) 11:38:02 U128 addition and overflows 11:38:02 U128 addition (20 ms) 11:38:02 Expect failure on U128::add() overflow (45 ms) 11:38:02 SET functions 11:38:02 function 'set_opcode_u8' (20 ms) 11:38:02 function 'set_opcode_u32' (19 ms) 11:38:02 function 'set_opcode_u64' (21 ms) 11:38:02 function 'set_opcode_small_field' (20 ms) 11:38:02 function 'set_opcode_big_field' (19 ms) 11:38:02 function 'set_opcode_really_big_field' (25 ms) 11:38:02 Hashes in noir contracts 11:38:02 Should execute contract function that performs sha256_hash_10 on input of length 10 (34 ms) 11:38:02 Should execute contract function that performs sha256_hash_20 on input of length 20 (30 ms) 11:38:02 Should execute contract function that performs sha256_hash_30 on input of length 30 (26 ms) 11:38:02 Should execute contract function that performs sha256_hash_40 on input of length 40 (28 ms) 11:38:02 Should execute contract function that performs sha256_hash_50 on input of length 50 (28 ms) 11:38:02 Should execute contract function that performs sha256_hash_60 on input of length 60 (31 ms) 11:38:02 Should execute contract function that performs sha256_hash_70 on input of length 70 (33 ms) 11:38:02 Should execute contract function that performs sha256_hash_80 on input of length 80 (35 ms) 11:38:02 Should execute contract function that performs sha256_hash_90 on input of length 90 (38 ms) 11:38:02 Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms) 11:38:02 Should execute contract function that performs sha256_hash_255 on input of length 255 (68 ms) 11:38:02 Should execute contract function that performs sha256_hash_256 on input of length 256 (67 ms) 11:38:02 Should execute contract function that performs sha256_hash_511 on input of length 511 (117 ms) 11:38:02 Should execute contract function that performs sha256_hash_512 on input of length 512 (114 ms) 11:38:02 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (412 ms) 11:38:02 Should execute contract function that performs keccak_hash on input of length 10 (43 ms) 11:38:02 Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms) 11:38:02 Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms) 11:38:02 Should execute contract function that performs pedersen_hash on input of length 10 (399 ms) 11:38:02 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (365 ms) 11:38:02 Environment getters 11:38:02 address getter (19 ms) 11:38:02 sender getter (20 ms) 11:38:02 transactionFee getter (19 ms) 11:38:02 chainId getter (21 ms) 11:38:02 version getter (20 ms) 11:38:02 blockNumber getter (20 ms) 11:38:02 timestamp getter (21 ms) 11:38:02 feePerDaGas getter (24 ms) 11:38:02 feePerL2Gas getter (19 ms) 11:38:02 Side effects, world state, nested calls 11:38:02 Should append a new note hash correctly (25 ms) 11:38:02 Should append a new nullifier correctly (20 ms) 11:38:02 Note hash checks 11:38:02 Should return false (and be traced) when noteHash does NOT exist (20 ms) 11:38:02 Should return true (and be traced) when noteHash DOES exist (26 ms) 11:38:02 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms) 11:38:02 Nullifier checks 11:38:02 Should return false (and be traced) when nullifier does NOT exist (20 ms) 11:38:02 Should return true (and be traced) when nullifier DOES exist (20 ms) 11:38:02 L1ToL2 message checks 11:38:02 Should return false (and be traced) when message does NOT exist (21 ms) 11:38:02 Should return true (and be traced) when message DOES exist (19 ms) 11:38:02 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms) 11:38:02 Cached nullifiers 11:38:02 Emits a nullifier and checks its existence (19 ms) 11:38:02 Emits same nullifier twice (expect failure) (22 ms) 11:38:02 Public Logs 11:38:02 Emit public logs (should be traced) (43 ms) 11:38:02 Public storage accesses 11:38:02 Should set value in storage (single) (20 ms) 11:38:02 Should read value in storage (single) (20 ms) 11:38:02 Should set and read a value from storage (single) (23 ms) 11:38:02 Should set a value in storage (list) (20 ms) 11:38:02 Should read a value in storage (list) (19 ms) 11:38:02 Should set a value in storage (map) (30 ms) 11:38:02 Should read-add-set a value in storage (map) (28 ms) 11:38:02 Should read value in storage (map) (23 ms) 11:38:02 Contract Instance Retrieval 11:38:02 Can getContractInstance (22 ms) 11:38:02 Nested external calls 11:38:02 Nested call to non-existent contract (23 ms) 11:38:02 Nested call (119 ms) 11:38:02 Nested static call (108 ms) 11:38:02 Nested call with not enough gas (expect failure) (93 ms) 11:38:02 Nested static call which modifies storage (expect failure) (110 ms) 11:38:02 Nested calls rethrow exceptions (129 ms) 11:38:02 Should handle returndatacopy oracle (108 ms) 11:38:02 Side effect trace errors on overflow 11:38:02 Overrun of Public storage writes (8 ms) 11:38:02 Overrun of New note hashes (16 ms) 11:38:02 Overrun of New nullifiers (10 ms) 11:38:02 Overrun of New unencrypted logs (1 ms) 11:38:02 Overrun of New L1 to L2 messages (2 ms) 11:38:02 Side effects including merkle checks 11:38:02 Note hashes 11:38:02 Should append new note hash correctly (242 ms) 11:38:02 Note hash check properly returns exists=false (251 ms) 11:38:02 Note hash check properly returns exists=true (197 ms) 11:38:02 Nullifiers 11:38:02 Should append a new nullifier correctly (256 ms) 11:38:02 Nullifier check properly returns exists=false (195 ms) 11:38:02 Nullifier check properly returns exists=true (195 ms) 11:38:02 Public storage accesses 11:38:02 Should set value in storage (single) (217 ms) 11:38:02 Should read value in storage (single) - never written (204 ms) 11:38:02 Should read value in storage (single) - written before, leaf exists (224 ms) 11:38:02 Should set and read value in storage (single) (250 ms) 11:38:02 11:38:02 Test Suites: 1 passed, 1 total 11:38:02 Tests: 103 passed, 103 total 11:38:02 Snapshots: 0 total 11:38:02 Time: 8.486 s 11:38:02 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 11:38:02 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?