Parent Log: http://ci.aztec-labs.com/4b746e1186bf09cc Command: 0e6cfc077fbe1818 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/f17855f94a58189a98dd378743e67b774ea38144 Env: REF_NAME=gh-readonly-queue/next/pr-15066-47bd93499e6606131b6ececa3536632cf5e84409 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 10:00:58 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15066_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 10:01:02 [10:01:02.060] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 10:01:06 [10:01:06.657] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 10:01:07 [10:01:07.509] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-tGCEeA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:07 [10:01:07.816] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ctXUIS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:08 [10:01:08.095] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZZGcRC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:08 [10:01:08.368] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-7COL2M/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:08 [10:01:08.624] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-RyUcp4/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:08 [10:01:08.890] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6RwXHA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:09 [10:01:09.155] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FswXgo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:09 [10:01:09.463] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yvJ7pG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:09 [10:01:09.781] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-fiYB9T/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:10 [10:01:10.055] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-0qDFuq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:01:10 PASS src/public/avm/avm_simulator.test.ts (10.904 s) 10:01:10 AVM simulator: injected bytecode 10:01:10 Should execute bytecode that performs basic addition (7 ms) 10:01:10 Should halt if runs out of gas (3 ms) 10:01:10 An exceptional halt should consume all allocated gas (1 ms) 10:01:10 AVM simulator: transpiled Noir contracts 10:01:10 execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms) 10:01:10 addition (22 ms) 10:01:10 addition via dispatch (252 ms) 10:01:10 get_args_hash via dispatch (44 ms) 10:01:10 modulo and u1 (21 ms) 10:01:10 Should handle calldata oracle (26 ms) 10:01:10 Should handle return oracle (24 ms) 10:01:10 Should handle revert oracle (19 ms) 10:01:10 ec_add should not revert (29 ms) 10:01:10 elliptic curve operations (30 ms) 10:01:10 pedersen commitment operations (48 ms) 10:01:10 conditional move operations (26 ms) 10:01:10 Logging (31 ms) 10:01:10 Assertion message (60 ms) 10:01:10 conversions (26 ms) 10:01:10 should be able to execute contracts that only have private functions (2 ms) 10:01:10 msm 10:01:10 low scalars (48 ms) 10:01:10 with a zero (32 ms) 10:01:10 high scalars (169 ms) 10:01:10 U128 addition and overflows 10:01:10 U128 addition (24 ms) 10:01:10 Expect failure on U128::add() overflow (45 ms) 10:01:10 SET functions 10:01:10 function 'set_opcode_u8' (28 ms) 10:01:10 function 'set_opcode_u32' (26 ms) 10:01:10 function 'set_opcode_u64' (26 ms) 10:01:10 function 'set_opcode_small_field' (23 ms) 10:01:10 function 'set_opcode_big_field' (25 ms) 10:01:10 function 'set_opcode_really_big_field' (24 ms) 10:01:10 Hashes in noir contracts 10:01:10 Should execute contract function that performs sha256_hash_10 on input of length 10 (48 ms) 10:01:10 Should execute contract function that performs sha256_hash_20 on input of length 20 (40 ms) 10:01:10 Should execute contract function that performs sha256_hash_30 on input of length 30 (42 ms) 10:01:10 Should execute contract function that performs sha256_hash_40 on input of length 40 (43 ms) 10:01:10 Should execute contract function that performs sha256_hash_50 on input of length 50 (48 ms) 10:01:10 Should execute contract function that performs sha256_hash_60 on input of length 60 (48 ms) 10:01:10 Should execute contract function that performs sha256_hash_70 on input of length 70 (45 ms) 10:01:10 Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms) 10:01:10 Should execute contract function that performs sha256_hash_90 on input of length 90 (32 ms) 10:01:10 Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms) 10:01:10 Should execute contract function that performs sha256_hash_255 on input of length 255 (67 ms) 10:01:10 Should execute contract function that performs sha256_hash_256 on input of length 256 (65 ms) 10:01:10 Should execute contract function that performs sha256_hash_511 on input of length 511 (163 ms) 10:01:10 Should execute contract function that performs sha256_hash_512 on input of length 512 (122 ms) 10:01:10 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (579 ms) 10:01:10 Should execute contract function that performs keccak_hash on input of length 10 (61 ms) 10:01:10 Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms) 10:01:10 Should execute contract function that performs poseidon2_hash on input of length 10 (24 ms) 10:01:10 Should execute contract function that performs pedersen_hash on input of length 10 (602 ms) 10:01:10 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (467 ms) 10:01:10 Environment getters 10:01:10 address getter (22 ms) 10:01:10 sender getter (18 ms) 10:01:10 transactionFee getter (27 ms) 10:01:10 chainId getter (24 ms) 10:01:10 version getter (23 ms) 10:01:10 blockNumber getter (25 ms) 10:01:10 timestamp getter (28 ms) 10:01:10 feePerDaGas getter (26 ms) 10:01:10 feePerL2Gas getter (27 ms) 10:01:10 Side effects, world state, nested calls 10:01:10 Should append a new note hash correctly (24 ms) 10:01:10 Should append a new nullifier correctly (20 ms) 10:01:10 Note hash checks 10:01:10 Should return false (and be traced) when noteHash does NOT exist (31 ms) 10:01:10 Should return true (and be traced) when noteHash DOES exist (26 ms) 10:01:10 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (41 ms) 10:01:10 Nullifier checks 10:01:10 Should return false (and be traced) when nullifier does NOT exist (29 ms) 10:01:10 Should return true (and be traced) when nullifier DOES exist (33 ms) 10:01:10 L1ToL2 message checks 10:01:10 Should return false (and be traced) when message does NOT exist (24 ms) 10:01:10 Should return true (and be traced) when message DOES exist (29 ms) 10:01:10 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (40 ms) 10:01:10 Cached nullifiers 10:01:10 Emits a nullifier and checks its existence (26 ms) 10:01:10 Emits same nullifier twice (expect failure) (27 ms) 10:01:10 Public Logs 10:01:10 Emit public logs (should be traced) (38 ms) 10:01:10 Public storage accesses 10:01:10 Should set value in storage (single) (21 ms) 10:01:10 Should read value in storage (single) (26 ms) 10:01:10 Should set and read a value from storage (single) (18 ms) 10:01:10 Should set a value in storage (list) (16 ms) 10:01:10 Should read a value in storage (list) (21 ms) 10:01:10 Should set a value in storage (map) (22 ms) 10:01:10 Should read-add-set a value in storage (map) (34 ms) 10:01:10 Should read value in storage (map) (33 ms) 10:01:10 Contract Instance Retrieval 10:01:10 Can getContractInstance (26 ms) 10:01:10 Nested external calls 10:01:10 Nested call to non-existent contract (26 ms) 10:01:10 Nested call (138 ms) 10:01:10 Nested static call (117 ms) 10:01:10 Nested call with not enough gas (expect failure) (102 ms) 10:01:10 Nested static call which modifies storage (expect failure) (115 ms) 10:01:10 Nested calls rethrow exceptions (161 ms) 10:01:10 Should handle returndatacopy oracle (147 ms) 10:01:10 Side effect trace errors on overflow 10:01:10 Overrun of Public storage writes (16 ms) 10:01:10 Overrun of New note hashes (22 ms) 10:01:10 Overrun of New nullifiers (13 ms) 10:01:10 Overrun of New unencrypted logs (2 ms) 10:01:10 Overrun of New L1 to L2 messages (1 ms) 10:01:10 Side effects including merkle checks 10:01:10 Note hashes 10:01:10 Should append new note hash correctly (311 ms) 10:01:10 Note hash check properly returns exists=false (279 ms) 10:01:10 Note hash check properly returns exists=true (263 ms) 10:01:10 Nullifiers 10:01:10 Should append a new nullifier correctly (265 ms) 10:01:10 Nullifier check properly returns exists=false (265 ms) 10:01:10 Nullifier check properly returns exists=true (262 ms) 10:01:10 Public storage accesses 10:01:10 Should set value in storage (single) (292 ms) 10:01:10 Should read value in storage (single) - never written (337 ms) 10:01:10 Should read value in storage (single) - written before, leaf exists (275 ms) 10:01:10 Should set and read value in storage (single) (261 ms) 10:01:10 10:01:10 Test Suites: 1 passed, 1 total 10:01:10 Tests: 103 passed, 103 total 10:01:10 Snapshots: 0 total 10:01:10 Time: 10.999 s 10:01:10 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 10:01:10 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?