Parent Log:
http://ci.aztec-labs.com/8c7fab2989a37396
Command: a668859b212fc7b1 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/6c74ed65f1d93cd2cb1d0bc305917b967dd0f83a
Env: REF_NAME=release-please--branches--next CURRENT_VERSION=0.88.0 CI_FULL=0
Date: Tue Jun 17 22:22:30 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=release-please--branches--next_amd64
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
22:22:34 [22:22:34.106]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
22:22:37 [22:22:37.999]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
22:22:38 [22:22:38.749]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-fqYOLy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:38 [22:22:38.987]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IoIqy6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:39 [22:22:39.237]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-skQ9Ml/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:39 [22:22:39.469]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KjwomW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:39 [22:22:39.697]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MsBQzD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:39 [22:22:39.922]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-knooKa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:40 [22:22:40.169]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Oi40FZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:40 [22:22:40.430]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Lgpk01/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:40 [22:22:40.692]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JK5eIh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:40 [22:22:40.964]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-RpUGBT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
22:22:41
PASS src/public/avm/avm_simulator.test.ts (
9.824 s)
22:22:41 AVM simulator: injected bytecode
22:22:41
✓ Should execute bytecode that performs basic addition (9 ms)
22:22:41
✓ Should halt if runs out of gas (4 ms)
22:22:41
✓ An exceptional halt should consume all allocated gas (2 ms)
22:22:41 AVM simulator: transpiled Noir contracts
22:22:41
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
22:22:41
✓ addition (36 ms)
22:22:41
✓ addition via dispatch (219 ms)
22:22:41
✓ get_args_hash via dispatch (49 ms)
22:22:41
✓ modulo and u1 (34 ms)
22:22:41
✓ Should handle calldata oracle (29 ms)
22:22:41
✓ Should handle return oracle (25 ms)
22:22:41
✓ Should handle revert oracle (21 ms)
22:22:41
✓ ec_add should not revert (21 ms)
22:22:41
✓ elliptic curve operations (23 ms)
22:22:41
✓ pedersen commitment operations (38 ms)
22:22:41
✓ conditional move operations (23 ms)
22:22:41
✓ Logging (28 ms)
22:22:41
✓ Assertion message (48 ms)
22:22:41
✓ conversions (19 ms)
22:22:41
✓ should be able to execute contracts that only have private functions (2 ms)
22:22:41 msm
22:22:41
✓ low scalars (31 ms)
22:22:41
✓ with a zero (26 ms)
22:22:41
✓ high scalars (132 ms)
22:22:41 U128 addition and overflows
22:22:41
✓ U128 addition (18 ms)
22:22:41
✓ Expect failure on U128::add() overflow (51 ms)
22:22:41 SET functions
22:22:41
✓ function 'set_opcode_u8' (20 ms)
22:22:41
✓ function 'set_opcode_u32' (21 ms)
22:22:41
✓ function 'set_opcode_u64' (22 ms)
22:22:41
✓ function 'set_opcode_small_field' (17 ms)
22:22:41
✓ function 'set_opcode_big_field' (18 ms)
22:22:41
✓ function 'set_opcode_really_big_field' (16 ms)
22:22:41 Hashes in noir contracts
22:22:41
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (27 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (21 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (26 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (24 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (24 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (26 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (39 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (34 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (63 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (118 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (109 ms)
22:22:41
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (377 ms)
22:22:41
✓ Should execute contract function that performs keccak_hash on input of length 10 (38 ms)
22:22:41
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (10 ms)
22:22:41
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (21 ms)
22:22:41
✓ Should execute contract function that performs pedersen_hash on input of length 10 (439 ms)
22:22:41
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (551 ms)
22:22:41 Environment getters
22:22:41
✓ address getter (28 ms)
22:22:41
✓ sender getter (29 ms)
22:22:41
✓ transactionFee getter (27 ms)
22:22:41
✓ chainId getter (27 ms)
22:22:41
✓ version getter (30 ms)
22:22:41
✓ blockNumber getter (28 ms)
22:22:41
✓ timestamp getter (28 ms)
22:22:41
✓ feePerDaGas getter (32 ms)
22:22:41
✓ feePerL2Gas getter (19 ms)
22:22:41 Side effects, world state, nested calls
22:22:41
✓ Should append a new note hash correctly (19 ms)
22:22:41
✓ Should append a new nullifier correctly (22 ms)
22:22:41 Note hash checks
22:22:41
✓ Should return false (and be traced) when noteHash does NOT exist (22 ms)
22:22:41
✓ Should return true (and be traced) when noteHash DOES exist (19 ms)
22:22:41
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
22:22:41 Nullifier checks
22:22:41
✓ Should return false (and be traced) when nullifier does NOT exist (26 ms)
22:22:41
✓ Should return true (and be traced) when nullifier DOES exist (25 ms)
22:22:41 L1ToL2 message checks
22:22:41
✓ Should return false (and be traced) when message does NOT exist (21 ms)
22:22:41
✓ Should return true (and be traced) when message DOES exist (20 ms)
22:22:41
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms)
22:22:41 Cached nullifiers
22:22:41
✓ Emits a nullifier and checks its existence (18 ms)
22:22:41
✓ Emits same nullifier twice (expect failure) (20 ms)
22:22:41 Public Logs
22:22:41
✓ Emit public logs (should be traced) (43 ms)
22:22:41 Public storage accesses
22:22:41
✓ Should set value in storage (single) (22 ms)
22:22:41
✓ Should read value in storage (single) (20 ms)
22:22:41
✓ Should set and read a value from storage (single) (19 ms)
22:22:41
✓ Should set a value in storage (list) (21 ms)
22:22:41
✓ Should read a value in storage (list) (20 ms)
22:22:41
✓ Should set a value in storage (map) (24 ms)
22:22:41
✓ Should read-add-set a value in storage (map) (30 ms)
22:22:41
✓ Should read value in storage (map) (31 ms)
22:22:41 Contract Instance Retrieval
22:22:41
✓ Can getContractInstance (25 ms)
22:22:41 Nested external calls
22:22:41
✓ Nested call to non-existent contract (34 ms)
22:22:41
✓ Nested call (153 ms)
22:22:41
✓ Nested static call (108 ms)
22:22:41
✓ Nested call with not enough gas (expect failure) (91 ms)
22:22:41
✓ Nested static call which modifies storage (expect failure) (110 ms)
22:22:41
✓ Nested calls rethrow exceptions (129 ms)
22:22:41
✓ Should handle returndatacopy oracle (103 ms)
22:22:41 Side effect trace errors on overflow
22:22:41
✓ Overrun of Public storage writes (8 ms)
22:22:41
✓ Overrun of New note hashes (16 ms)
22:22:41
✓ Overrun of New nullifiers (11 ms)
22:22:41
✓ Overrun of New unencrypted logs (2 ms)
22:22:41
✓ Overrun of New L1 to L2 messages (1 ms)
22:22:41 Side effects including merkle checks
22:22:41 Note hashes
22:22:41
✓ Should append new note hash correctly (244 ms)
22:22:41
✓ Note hash check properly returns exists=false (249 ms)
22:22:41
✓ Note hash check properly returns exists=true (233 ms)
22:22:41 Nullifiers
22:22:41
✓ Should append a new nullifier correctly (228 ms)
22:22:41
✓ Nullifier check properly returns exists=false (223 ms)
22:22:41
✓ Nullifier check properly returns exists=true (242 ms)
22:22:41 Public storage accesses
22:22:41
✓ Should set value in storage (single) (265 ms)
22:22:41
✓ Should read value in storage (single) - never written (262 ms)
22:22:41
✓ Should read value in storage (single) - written before, leaf exists (270 ms)
22:22:41
✓ Should set and read value in storage (single) (226 ms)
22:22:41
22:22:41
Test Suites: 1 passed, 1 total
22:22:41
Tests: 103 passed, 103 total
22:22:41
Snapshots: 0 total
22:22:41
Time: 9.942 s
22:22:41
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
22:22:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?