Parent Log: http://ci.aztec-labs.com/3c24fedc0371bc76 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:29:54 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15116_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 20:29:58 [20:29:58.311] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 20:30:02 [20:30:02.864] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 20:30:03 [20:30:03.722] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wzIUos/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:04 [20:30:04.049] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-M5b8SJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:04 [20:30:04.312] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-22odEB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:04 [20:30:04.581] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-qGS4eZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:04 [20:30:04.845] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-vWLqdB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:05 [20:30:05.143] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-5x9yVg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:05 [20:30:05.404] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-P3UYdn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:05 [20:30:05.688] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-9lYUVF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:05 [20:30:05.952] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wjr8fc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:06 [20:30:06.218] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-u34HTj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 20:30:06 PASS src/public/avm/avm_simulator.test.ts (10.938 s) 20:30:06 AVM simulator: injected bytecode 20:30:06 Should execute bytecode that performs basic addition (7 ms) 20:30:06 Should halt if runs out of gas (2 ms) 20:30:06 An exceptional halt should consume all allocated gas (2 ms) 20:30:06 AVM simulator: transpiled Noir contracts 20:30:06 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 20:30:06 addition (33 ms) 20:30:06 addition via dispatch (250 ms) 20:30:06 get_args_hash via dispatch (50 ms) 20:30:06 modulo and u1 (33 ms) 20:30:06 Should handle calldata oracle (27 ms) 20:30:06 Should handle return oracle (23 ms) 20:30:06 Should handle revert oracle (21 ms) 20:30:06 ec_add should not revert (29 ms) 20:30:06 elliptic curve operations (28 ms) 20:30:06 pedersen commitment operations (34 ms) 20:30:06 conditional move operations (21 ms) 20:30:06 Logging (35 ms) 20:30:06 Assertion message (65 ms) 20:30:06 conversions (25 ms) 20:30:06 should be able to execute contracts that only have private functions (1 ms) 20:30:06 msm 20:30:06 low scalars (42 ms) 20:30:06 with a zero (28 ms) 20:30:06 high scalars (129 ms) 20:30:06 U128 addition and overflows 20:30:06 U128 addition (27 ms) 20:30:06 Expect failure on U128::add() overflow (62 ms) 20:30:06 SET functions 20:30:06 function 'set_opcode_u8' (27 ms) 20:30:06 function 'set_opcode_u32' (21 ms) 20:30:06 function 'set_opcode_u64' (19 ms) 20:30:06 function 'set_opcode_small_field' (28 ms) 20:30:06 function 'set_opcode_big_field' (36 ms) 20:30:06 function 'set_opcode_really_big_field' (31 ms) 20:30:06 Hashes in noir contracts 20:30:06 Should execute contract function that performs sha256_hash_10 on input of length 10 (41 ms) 20:30:06 Should execute contract function that performs sha256_hash_20 on input of length 20 (37 ms) 20:30:06 Should execute contract function that performs sha256_hash_30 on input of length 30 (40 ms) 20:30:06 Should execute contract function that performs sha256_hash_40 on input of length 40 (43 ms) 20:30:06 Should execute contract function that performs sha256_hash_50 on input of length 50 (31 ms) 20:30:06 Should execute contract function that performs sha256_hash_60 on input of length 60 (26 ms) 20:30:06 Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms) 20:30:06 Should execute contract function that performs sha256_hash_80 on input of length 80 (46 ms) 20:30:06 Should execute contract function that performs sha256_hash_90 on input of length 90 (57 ms) 20:30:06 Should execute contract function that performs sha256_hash_100 on input of length 100 (47 ms) 20:30:06 Should execute contract function that performs sha256_hash_255 on input of length 255 (76 ms) 20:30:06 Should execute contract function that performs sha256_hash_256 on input of length 256 (77 ms) 20:30:06 Should execute contract function that performs sha256_hash_511 on input of length 511 (132 ms) 20:30:06 Should execute contract function that performs sha256_hash_512 on input of length 512 (127 ms) 20:30:06 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (558 ms) 20:30:06 Should execute contract function that performs keccak_hash on input of length 10 (63 ms) 20:30:06 Should execute contract function that performs keccak_f1600 on input of length 25 (19 ms) 20:30:06 Should execute contract function that performs poseidon2_hash on input of length 10 (18 ms) 20:30:06 Should execute contract function that performs pedersen_hash on input of length 10 (563 ms) 20:30:06 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (419 ms) 20:30:06 Environment getters 20:30:06 address getter (22 ms) 20:30:06 sender getter (17 ms) 20:30:06 transactionFee getter (19 ms) 20:30:06 chainId getter (28 ms) 20:30:06 version getter (32 ms) 20:30:06 blockNumber getter (32 ms) 20:30:06 timestamp getter (35 ms) 20:30:06 feePerDaGas getter (23 ms) 20:30:06 feePerL2Gas getter (23 ms) 20:30:06 Side effects, world state, nested calls 20:30:06 Should append a new note hash correctly (34 ms) 20:30:06 Should append a new nullifier correctly (31 ms) 20:30:06 Note hash checks 20:30:06 Should return false (and be traced) when noteHash does NOT exist (25 ms) 20:30:06 Should return true (and be traced) when noteHash DOES exist (18 ms) 20:30:06 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms) 20:30:06 Nullifier checks 20:30:06 Should return false (and be traced) when nullifier does NOT exist (29 ms) 20:30:06 Should return true (and be traced) when nullifier DOES exist (29 ms) 20:30:06 L1ToL2 message checks 20:30:06 Should return false (and be traced) when message does NOT exist (32 ms) 20:30:06 Should return true (and be traced) when message DOES exist (27 ms) 20:30:06 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 20:30:06 Cached nullifiers 20:30:06 Emits a nullifier and checks its existence (29 ms) 20:30:06 Emits same nullifier twice (expect failure) (37 ms) 20:30:06 Public Logs 20:30:06 Emit public logs (should be traced) (68 ms) 20:30:06 Public storage accesses 20:30:06 Should set value in storage (single) (36 ms) 20:30:06 Should read value in storage (single) (31 ms) 20:30:06 Should set and read a value from storage (single) (31 ms) 20:30:06 Should set a value in storage (list) (27 ms) 20:30:06 Should read a value in storage (list) (19 ms) 20:30:06 Should set a value in storage (map) (30 ms) 20:30:06 Should read-add-set a value in storage (map) (35 ms) 20:30:06 Should read value in storage (map) (28 ms) 20:30:06 Contract Instance Retrieval 20:30:06 Can getContractInstance (21 ms) 20:30:06 Nested external calls 20:30:06 Nested call to non-existent contract (31 ms) 20:30:06 Nested call (178 ms) 20:30:06 Nested static call (109 ms) 20:30:06 Nested call with not enough gas (expect failure) (97 ms) 20:30:06 Nested static call which modifies storage (expect failure) (116 ms) 20:30:06 Nested calls rethrow exceptions (170 ms) 20:30:06 Should handle returndatacopy oracle (122 ms) 20:30:06 Side effect trace errors on overflow 20:30:06 Overrun of Public storage writes (11 ms) 20:30:06 Overrun of New note hashes (15 ms) 20:30:06 Overrun of New nullifiers (11 ms) 20:30:06 Overrun of New unencrypted logs (2 ms) 20:30:06 Overrun of New L1 to L2 messages (2 ms) 20:30:06 Side effects including merkle checks 20:30:06 Note hashes 20:30:06 Should append new note hash correctly (337 ms) 20:30:06 Note hash check properly returns exists=false (262 ms) 20:30:06 Note hash check properly returns exists=true (270 ms) 20:30:06 Nullifiers 20:30:06 Should append a new nullifier correctly (263 ms) 20:30:06 Nullifier check properly returns exists=false (295 ms) 20:30:06 Nullifier check properly returns exists=true (263 ms) 20:30:06 Public storage accesses 20:30:06 Should set value in storage (single) (286 ms) 20:30:06 Should read value in storage (single) - never written (262 ms) 20:30:06 Should read value in storage (single) - written before, leaf exists (266 ms) 20:30:06 Should set and read value in storage (single) (252 ms) 20:30:06 20:30:06 Test Suites: 1 passed, 1 total 20:30:06 Tests: 103 passed, 103 total 20:30:06 Snapshots: 0 total 20:30:06 Time: 11.046 s 20:30:06 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 20:30:06 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?