Parent Log:
http://ci.aztec-labs.com/8230d37b8e4008cc
Command: 03c0d59bf5b4a0b1 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=0
Date: Tue Jun 17 20:29:49 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15116_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
20:29:52 [20:29:52.344]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
20:29:55 [20:29:55.963]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
20:29:56 [20:29:56.686]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-A4adXW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:56 [20:29:56.911]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-kzyJji/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:57 [20:29:57.120]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WZ7bvV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:57 [20:29:57.335]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JVGG93/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:57 [20:29:57.582]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-dO2har/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:57 [20:29:57.798]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xfUaiC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:58 [20:29:58.031]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-jTfo0Q/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:58 [20:29:58.273]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HfqeBR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:58 [20:29:58.506]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-zNdWW1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:58 [20:29:58.751]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-5MYkOd/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:29:59
PASS src/public/avm/avm_simulator.test.ts (
8.473 s)
20:29:59 AVM simulator: injected bytecode
20:29:59
✓ Should execute bytecode that performs basic addition (6 ms)
20:29:59
✓ Should halt if runs out of gas (3 ms)
20:29:59
✓ An exceptional halt should consume all allocated gas (2 ms)
20:29:59 AVM simulator: transpiled Noir contracts
20:29:59
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
20:29:59
✓ addition (27 ms)
20:29:59
✓ addition via dispatch (192 ms)
20:29:59
✓ get_args_hash via dispatch (43 ms)
20:29:59
✓ modulo and u1 (22 ms)
20:29:59
✓ Should handle calldata oracle (25 ms)
20:29:59
✓ Should handle return oracle (22 ms)
20:29:59
✓ Should handle revert oracle (22 ms)
20:29:59
✓ ec_add should not revert (26 ms)
20:29:59
✓ elliptic curve operations (22 ms)
20:29:59
✓ pedersen commitment operations (42 ms)
20:29:59
✓ conditional move operations (23 ms)
20:29:59
✓ Logging (24 ms)
20:29:59
✓ Assertion message (43 ms)
20:29:59
✓ conversions (23 ms)
20:29:59
✓ should be able to execute contracts that only have private functions (1 ms)
20:29:59 msm
20:29:59
✓ low scalars (36 ms)
20:29:59
✓ with a zero (27 ms)
20:29:59
✓ high scalars (122 ms)
20:29:59 U128 addition and overflows
20:29:59
✓ U128 addition (22 ms)
20:29:59
✓ Expect failure on U128::add() overflow (45 ms)
20:29:59 SET functions
20:29:59
✓ function 'set_opcode_u8' (23 ms)
20:29:59
✓ function 'set_opcode_u32' (20 ms)
20:29:59
✓ function 'set_opcode_u64' (20 ms)
20:29:59
✓ function 'set_opcode_small_field' (22 ms)
20:29:59
✓ function 'set_opcode_big_field' (21 ms)
20:29:59
✓ function 'set_opcode_really_big_field' (20 ms)
20:29:59 Hashes in noir contracts
20:29:59
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (25 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (27 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (35 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (36 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (37 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (69 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (67 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (117 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (115 ms)
20:29:59
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (412 ms)
20:29:59
✓ Should execute contract function that performs keccak_hash on input of length 10 (46 ms)
20:29:59
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms)
20:29:59
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms)
20:29:59
✓ Should execute contract function that performs pedersen_hash on input of length 10 (400 ms)
20:29:59
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (366 ms)
20:29:59 Environment getters
20:29:59
✓ address getter (21 ms)
20:29:59
✓ sender getter (21 ms)
20:29:59
✓ transactionFee getter (20 ms)
20:29:59
✓ chainId getter (22 ms)
20:29:59
✓ version getter (21 ms)
20:29:59
✓ blockNumber getter (20 ms)
20:29:59
✓ timestamp getter (21 ms)
20:29:59
✓ feePerDaGas getter (21 ms)
20:29:59
✓ feePerL2Gas getter (20 ms)
20:29:59 Side effects, world state, nested calls
20:29:59
✓ Should append a new note hash correctly (25 ms)
20:29:59
✓ Should append a new nullifier correctly (21 ms)
20:29:59 Note hash checks
20:29:59
✓ Should return false (and be traced) when noteHash does NOT exist (21 ms)
20:29:59
✓ Should return true (and be traced) when noteHash DOES exist (20 ms)
20:29:59
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
20:29:59 Nullifier checks
20:29:59
✓ Should return false (and be traced) when nullifier does NOT exist (21 ms)
20:29:59
✓ Should return true (and be traced) when nullifier DOES exist (21 ms)
20:29:59 L1ToL2 message checks
20:29:59
✓ Should return false (and be traced) when message does NOT exist (22 ms)
20:29:59
✓ Should return true (and be traced) when message DOES exist (21 ms)
20:29:59
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
20:29:59 Cached nullifiers
20:29:59
✓ Emits a nullifier and checks its existence (21 ms)
20:29:59
✓ Emits same nullifier twice (expect failure) (23 ms)
20:29:59 Public Logs
20:29:59
✓ Emit public logs (should be traced) (42 ms)
20:29:59 Public storage accesses
20:29:59
✓ Should set value in storage (single) (26 ms)
20:29:59
✓ Should read value in storage (single) (20 ms)
20:29:59
✓ Should set and read a value from storage (single) (21 ms)
20:29:59
✓ Should set a value in storage (list) (22 ms)
20:29:59
✓ Should read a value in storage (list) (21 ms)
20:29:59
✓ Should set a value in storage (map) (31 ms)
20:29:59
✓ Should read-add-set a value in storage (map) (29 ms)
20:29:59
✓ Should read value in storage (map) (23 ms)
20:29:59 Contract Instance Retrieval
20:29:59
✓ Can getContractInstance (24 ms)
20:29:59 Nested external calls
20:29:59
✓ Nested call to non-existent contract (24 ms)
20:29:59
✓ Nested call (121 ms)
20:29:59
✓ Nested static call (110 ms)
20:29:59
✓ Nested call with not enough gas (expect failure) (95 ms)
20:29:59
✓ Nested static call which modifies storage (expect failure) (107 ms)
20:29:59
✓ Nested calls rethrow exceptions (130 ms)
20:29:59
✓ Should handle returndatacopy oracle (110 ms)
20:29:59 Side effect trace errors on overflow
20:29:59
✓ Overrun of Public storage writes (8 ms)
20:29:59
✓ Overrun of New note hashes (15 ms)
20:29:59
✓ Overrun of New nullifiers (10 ms)
20:29:59
✓ Overrun of New unencrypted logs (2 ms)
20:29:59
✓ Overrun of New L1 to L2 messages (1 ms)
20:29:59 Side effects including merkle checks
20:29:59 Note hashes
20:29:59
✓ Should append new note hash correctly (224 ms)
20:29:59
✓ Note hash check properly returns exists=false (213 ms)
20:29:59
✓ Note hash check properly returns exists=true (215 ms)
20:29:59 Nullifiers
20:29:59
✓ Should append a new nullifier correctly (247 ms)
20:29:59
✓ Nullifier check properly returns exists=false (216 ms)
20:29:59
✓ Nullifier check properly returns exists=true (233 ms)
20:29:59 Public storage accesses
20:29:59
✓ Should set value in storage (single) (241 ms)
20:29:59
✓ Should read value in storage (single) - never written (215 ms)
20:29:59
✓ Should read value in storage (single) - written before, leaf exists (262 ms)
20:29:59
✓ Should set and read value in storage (single) (254 ms)
20:29:59
20:29:59
Test Suites: 1 passed, 1 total
20:29:59
Tests: 103 passed, 103 total
20:29:59
Snapshots: 0 total
20:29:59
Time: 8.559 s
20:29:59
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
20:29:59
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?