Parent Log: http://ci.aztec-labs.com/6dc709803944a101 Command: 5c58d0b0e69f02f7 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7339c264ad706420ee9babb0dd1b6ed793e97402 Env: REF_NAME=gh-readonly-queue/next/pr-15039-ddabb45f79cc171e41a0a5330544775de9fdf7fd CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 15:03:12 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15039_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 15:03:16 [15:03:16.072] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 15:03:20 [15:03:20.008] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 15:03:21 [15:03:21.452] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-oECl6X/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:21 [15:03:21.723] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zwjDsS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:21 [15:03:21.989] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-27GJvK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:22 [15:03:22.237] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-QFOr2p/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:22 [15:03:22.526] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-WwqW9F/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:22 [15:03:22.778] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-QGpdwx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:23 [15:03:23.066] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-bEZzqC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:23 [15:03:23.380] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-JUdajg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:23 [15:03:23.660] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-g25w4W/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:23 [15:03:23.938] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xcKDnx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 15:03:24 PASS src/public/avm/avm_simulator.test.ts (10.711 s) 15:03:24 AVM simulator: injected bytecode 15:03:24 Should execute bytecode that performs basic addition (9 ms) 15:03:24 Should halt if runs out of gas (3 ms) 15:03:24 An exceptional halt should consume all allocated gas (2 ms) 15:03:24 AVM simulator: transpiled Noir contracts 15:03:24 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 15:03:24 addition (27 ms) 15:03:24 addition via dispatch (259 ms) 15:03:24 get_args_hash via dispatch (50 ms) 15:03:24 modulo and u1 (24 ms) 15:03:24 Should handle calldata oracle (26 ms) 15:03:24 Should handle return oracle (27 ms) 15:03:24 Should handle revert oracle (23 ms) 15:03:24 ec_add should not revert (26 ms) 15:03:24 elliptic curve operations (26 ms) 15:03:24 pedersen commitment operations (45 ms) 15:03:24 conditional move operations (24 ms) 15:03:24 Logging (15 ms) 15:03:24 Assertion message (30 ms) 15:03:24 conversions (20 ms) 15:03:24 should be able to execute contracts that only have private functions (1 ms) 15:03:24 msm 15:03:24 low scalars (40 ms) 15:03:24 with a zero (32 ms) 15:03:24 high scalars (151 ms) 15:03:24 U128 addition and overflows 15:03:24 U128 addition (22 ms) 15:03:24 Expect failure on U128::add() overflow (42 ms) 15:03:24 SET functions 15:03:24 function 'set_opcode_u8' (14 ms) 15:03:24 function 'set_opcode_u32' (22 ms) 15:03:24 function 'set_opcode_u64' (20 ms) 15:03:24 function 'set_opcode_small_field' (21 ms) 15:03:24 function 'set_opcode_big_field' (22 ms) 15:03:24 function 'set_opcode_really_big_field' (20 ms) 15:03:24 Hashes in noir contracts 15:03:24 Should execute contract function that performs sha256_hash_10 on input of length 10 (32 ms) 15:03:24 Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms) 15:03:24 Should execute contract function that performs sha256_hash_30 on input of length 30 (29 ms) 15:03:24 Should execute contract function that performs sha256_hash_40 on input of length 40 (28 ms) 15:03:24 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 15:03:24 Should execute contract function that performs sha256_hash_60 on input of length 60 (32 ms) 15:03:24 Should execute contract function that performs sha256_hash_70 on input of length 70 (36 ms) 15:03:24 Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms) 15:03:24 Should execute contract function that performs sha256_hash_90 on input of length 90 (39 ms) 15:03:24 Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms) 15:03:24 Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms) 15:03:24 Should execute contract function that performs sha256_hash_256 on input of length 256 (54 ms) 15:03:24 Should execute contract function that performs sha256_hash_511 on input of length 511 (120 ms) 15:03:24 Should execute contract function that performs sha256_hash_512 on input of length 512 (160 ms) 15:03:24 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (420 ms) 15:03:24 Should execute contract function that performs keccak_hash on input of length 10 (52 ms) 15:03:24 Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms) 15:03:24 Should execute contract function that performs poseidon2_hash on input of length 10 (12 ms) 15:03:24 Should execute contract function that performs pedersen_hash on input of length 10 (510 ms) 15:03:24 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (398 ms) 15:03:24 Environment getters 15:03:24 address getter (21 ms) 15:03:24 sender getter (23 ms) 15:03:24 transactionFee getter (20 ms) 15:03:24 chainId getter (14 ms) 15:03:24 version getter (21 ms) 15:03:24 blockNumber getter (23 ms) 15:03:24 timestamp getter (21 ms) 15:03:24 feePerDaGas getter (18 ms) 15:03:24 feePerL2Gas getter (13 ms) 15:03:24 Side effects, world state, nested calls 15:03:24 Should append a new note hash correctly (20 ms) 15:03:24 Should append a new nullifier correctly (19 ms) 15:03:24 Note hash checks 15:03:24 Should return false (and be traced) when noteHash does NOT exist (28 ms) 15:03:24 Should return true (and be traced) when noteHash DOES exist (21 ms) 15:03:24 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms) 15:03:24 Nullifier checks 15:03:24 Should return false (and be traced) when nullifier does NOT exist (21 ms) 15:03:24 Should return true (and be traced) when nullifier DOES exist (17 ms) 15:03:24 L1ToL2 message checks 15:03:24 Should return false (and be traced) when message does NOT exist (26 ms) 15:03:24 Should return true (and be traced) when message DOES exist (29 ms) 15:03:24 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 15:03:24 Cached nullifiers 15:03:24 Emits a nullifier and checks its existence (15 ms) 15:03:24 Emits same nullifier twice (expect failure) (26 ms) 15:03:24 Public Logs 15:03:24 Emit public logs (should be traced) (52 ms) 15:03:24 Public storage accesses 15:03:24 Should set value in storage (single) (30 ms) 15:03:24 Should read value in storage (single) (13 ms) 15:03:24 Should set and read a value from storage (single) (16 ms) 15:03:24 Should set a value in storage (list) (20 ms) 15:03:24 Should read a value in storage (list) (18 ms) 15:03:24 Should set a value in storage (map) (32 ms) 15:03:24 Should read-add-set a value in storage (map) (32 ms) 15:03:24 Should read value in storage (map) (19 ms) 15:03:24 Contract Instance Retrieval 15:03:24 Can getContractInstance (38 ms) 15:03:24 Nested external calls 15:03:24 Nested call to non-existent contract (27 ms) 15:03:24 Nested call (231 ms) 15:03:24 Nested static call (248 ms) 15:03:24 Nested call with not enough gas (expect failure) (193 ms) 15:03:24 Nested static call which modifies storage (expect failure) (246 ms) 15:03:24 Nested calls rethrow exceptions (219 ms) 15:03:24 Should handle returndatacopy oracle (243 ms) 15:03:24 Side effect trace errors on overflow 15:03:24 Overrun of Public storage writes (12 ms) 15:03:24 Overrun of New note hashes (18 ms) 15:03:24 Overrun of New nullifiers (13 ms) 15:03:24 Overrun of New unencrypted logs (4 ms) 15:03:24 Overrun of New L1 to L2 messages (1 ms) 15:03:24 Side effects including merkle checks 15:03:24 Note hashes 15:03:24 Should append new note hash correctly (274 ms) 15:03:24 Note hash check properly returns exists=false (262 ms) 15:03:24 Note hash check properly returns exists=true (250 ms) 15:03:24 Nullifiers 15:03:24 Should append a new nullifier correctly (291 ms) 15:03:24 Nullifier check properly returns exists=false (251 ms) 15:03:24 Nullifier check properly returns exists=true (284 ms) 15:03:24 Public storage accesses 15:03:24 Should set value in storage (single) (313 ms) 15:03:24 Should read value in storage (single) - never written (283 ms) 15:03:24 Should read value in storage (single) - written before, leaf exists (280 ms) 15:03:24 Should set and read value in storage (single) (273 ms) 15:03:24 15:03:24 Test Suites: 1 passed, 1 total 15:03:24 Tests: 103 passed, 103 total 15:03:24 Snapshots: 0 total 15:03:24 Time: 10.811 s 15:03:24 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 15:03:24 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?