Parent Log:
http://ci.aztec-labs.com/6831883003656c64
Command: aff82278d9e14e25 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f880f14c946fb8464186d4178c5d49e391041988
Env: REF_NAME=gh-readonly-queue/next/pr-14967-b608f9359219731d3c03407689a4fadaaa5a0d45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 14:17:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14967_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
14:17:34 [14:17:34.658]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
14:17:38 [14:17:38.511]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
14:17:39 [14:17:39.776]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-PsDRik/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:40 [14:17:40.066]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-z17ISj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:40 [14:17:40.305]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eTOZKJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:40 [14:17:40.546]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-leonum/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:40 [14:17:40.816]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Qq8vuG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:41 [14:17:41.096]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-nVe6Kp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:41 [14:17:41.332]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-zU0AaF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:41 [14:17:41.581]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8Oy301/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:41 [14:17:41.837]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-3GCNaQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:42 [14:17:42.097]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eJqRAP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:42
PASS src/public/avm/avm_simulator.test.ts (
9.85 s)
14:17:42 AVM simulator: injected bytecode
14:17:42
✓ Should execute bytecode that performs basic addition (8 ms)
14:17:42
✓ Should halt if runs out of gas (3 ms)
14:17:42
✓ An exceptional halt should consume all allocated gas (2 ms)
14:17:42 AVM simulator: transpiled Noir contracts
14:17:42
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (11 ms)
14:17:42
✓ addition (39 ms)
14:17:42
✓ addition via dispatch (251 ms)
14:17:42
✓ get_args_hash via dispatch (48 ms)
14:17:42
✓ modulo and u1 (18 ms)
14:17:42
✓ Should handle calldata oracle (29 ms)
14:17:42
✓ Should handle return oracle (26 ms)
14:17:42
✓ Should handle revert oracle (24 ms)
14:17:42
✓ ec_add should not revert (25 ms)
14:17:42
✓ elliptic curve operations (18 ms)
14:17:42
✓ pedersen commitment operations (46 ms)
14:17:42
✓ conditional move operations (19 ms)
14:17:42
✓ Logging (26 ms)
14:17:42
✓ Assertion message (43 ms)
14:17:42
✓ conversions (17 ms)
14:17:42
✓ should be able to execute contracts that only have private functions (1 ms)
14:17:42 msm
14:17:42
✓ low scalars (42 ms)
14:17:42
✓ with a zero (29 ms)
14:17:42
✓ high scalars (152 ms)
14:17:42 U128 addition and overflows
14:17:42
✓ U128 addition (25 ms)
14:17:42
✓ Expect failure on U128::add() overflow (47 ms)
14:17:42 SET functions
14:17:42
✓ function 'set_opcode_u8' (19 ms)
14:17:42
✓ function 'set_opcode_u32' (18 ms)
14:17:42
✓ function 'set_opcode_u64' (17 ms)
14:17:42
✓ function 'set_opcode_small_field' (19 ms)
14:17:42
✓ function 'set_opcode_big_field' (19 ms)
14:17:42
✓ function 'set_opcode_really_big_field' (21 ms)
14:17:42 Hashes in noir contracts
14:17:42
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (32 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (22 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (28 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (34 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (34 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (41 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (41 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (39 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (38 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (60 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (66 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (128 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (160 ms)
14:17:42
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (449 ms)
14:17:42
✓ Should execute contract function that performs keccak_hash on input of length 10 (35 ms)
14:17:42
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (9 ms)
14:17:42
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms)
14:17:42
✓ Should execute contract function that performs pedersen_hash on input of length 10 (474 ms)
14:17:42
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (403 ms)
14:17:42 Environment getters
14:17:42
✓ address getter (17 ms)
14:17:42
✓ sender getter (16 ms)
14:17:42
✓ transactionFee getter (21 ms)
14:17:42
✓ chainId getter (14 ms)
14:17:42
✓ version getter (12 ms)
14:17:42
✓ blockNumber getter (18 ms)
14:17:42
✓ timestamp getter (12 ms)
14:17:42
✓ feePerDaGas getter (16 ms)
14:17:42
✓ feePerL2Gas getter (24 ms)
14:17:42 Side effects, world state, nested calls
14:17:42
✓ Should append a new note hash correctly (21 ms)
14:17:42
✓ Should append a new nullifier correctly (22 ms)
14:17:42 Note hash checks
14:17:42
✓ Should return false (and be traced) when noteHash does NOT exist (17 ms)
14:17:42
✓ Should return true (and be traced) when noteHash DOES exist (20 ms)
14:17:42
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms)
14:17:42 Nullifier checks
14:17:42
✓ Should return false (and be traced) when nullifier does NOT exist (17 ms)
14:17:42
✓ Should return true (and be traced) when nullifier DOES exist (26 ms)
14:17:42 L1ToL2 message checks
14:17:42
✓ Should return false (and be traced) when message does NOT exist (22 ms)
14:17:42
✓ Should return true (and be traced) when message DOES exist (21 ms)
14:17:42
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms)
14:17:42 Cached nullifiers
14:17:42
✓ Emits a nullifier and checks its existence (18 ms)
14:17:42
✓ Emits same nullifier twice (expect failure) (15 ms)
14:17:42 Public Logs
14:17:42
✓ Emit public logs (should be traced) (36 ms)
14:17:42 Public storage accesses
14:17:42
✓ Should set value in storage (single) (14 ms)
14:17:42
✓ Should read value in storage (single) (13 ms)
14:17:42
✓ Should set and read a value from storage (single) (22 ms)
14:17:42
✓ Should set a value in storage (list) (21 ms)
14:17:42
✓ Should read a value in storage (list) (20 ms)
14:17:42
✓ Should set a value in storage (map) (27 ms)
14:17:42
✓ Should read-add-set a value in storage (map) (29 ms)
14:17:42
✓ Should read value in storage (map) (25 ms)
14:17:42 Contract Instance Retrieval
14:17:42
✓ Can getContractInstance (21 ms)
14:17:42 Nested external calls
14:17:42
✓ Nested call to non-existent contract (23 ms)
14:17:42
✓ Nested call (214 ms)
14:17:42
✓ Nested static call (176 ms)
14:17:42
✓ Nested call with not enough gas (expect failure) (170 ms)
14:17:42
✓ Nested static call which modifies storage (expect failure) (176 ms)
14:17:42
✓ Nested calls rethrow exceptions (226 ms)
14:17:42
✓ Should handle returndatacopy oracle (224 ms)
14:17:42 Side effect trace errors on overflow
14:17:42
✓ Overrun of Public storage writes (12 ms)
14:17:42
✓ Overrun of New note hashes (20 ms)
14:17:42
✓ Overrun of New nullifiers (15 ms)
14:17:42
✓ Overrun of New unencrypted logs (1 ms)
14:17:42
✓ Overrun of New L1 to L2 messages (1 ms)
14:17:42 Side effects including merkle checks
14:17:42 Note hashes
14:17:42
✓ Should append new note hash correctly (304 ms)
14:17:42
✓ Note hash check properly returns exists=false (239 ms)
14:17:42
✓ Note hash check properly returns exists=true (239 ms)
14:17:42 Nullifiers
14:17:42
✓ Should append a new nullifier correctly (269 ms)
14:17:42
✓ Nullifier check properly returns exists=false (281 ms)
14:17:42
✓ Nullifier check properly returns exists=true (236 ms)
14:17:42 Public storage accesses
14:17:42
✓ Should set value in storage (single) (251 ms)
14:17:42
✓ Should read value in storage (single) - never written (252 ms)
14:17:42
✓ Should read value in storage (single) - written before, leaf exists (264 ms)
14:17:42
✓ Should set and read value in storage (single) (245 ms)
14:17:42
14:17:42
Test Suites: 1 passed, 1 total
14:17:42
Tests: 103 passed, 103 total
14:17:42
Snapshots: 0 total
14:17:42
Time: 9.938 s
14:17:42
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
14:17:42
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?