Parent Log:
http://ci.aztec-labs.com/9b1548acd97b5e1c
Command: d2fcfaaceedeb658 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/bd28eda782eb6f2e1e5c2101a27104b4ad8796b3
Env: REF_NAME=gh-readonly-queue/next/pr-15315-634f8607a18c02c1d6e9ab5f302821fa8fc0e833 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 26 16:34:38 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15315_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
16:34:42 [16:34:42.584]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
16:34:47 [16:34:47.004]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
16:34:47 [16:34:47.822]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ezDv0C/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:48 [16:34:48.112]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ecjrHR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:48 [16:34:48.389]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9aHUGC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:48 [16:34:48.652]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-hL2c22/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:48 [16:34:48.918]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-raiJGr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:49 [16:34:49.201]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-TcOKUg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:49 [16:34:49.461]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-QOClhz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:49 [16:34:49.716]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2a3dEW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:49 [16:34:49.990]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-avxGax/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:50 [16:34:50.251]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-zIWwwN/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:34:50
PASS src/public/avm/avm_simulator.test.ts (
10.654 s)
16:34:50 AVM simulator: injected bytecode
16:34:50
✓ Should execute bytecode that performs basic addition (9 ms)
16:34:50
✓ Should halt if runs out of gas (3 ms)
16:34:50
✓ An exceptional halt should consume all allocated gas (2 ms)
16:34:50 AVM simulator: transpiled Noir contracts
16:34:50
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (9 ms)
16:34:50
✓ addition (25 ms)
16:34:50
✓ addition via dispatch (248 ms)
16:34:50
✓ get_args_hash via dispatch (52 ms)
16:34:50
✓ modulo and u1 (22 ms)
16:34:50
✓ Should handle calldata oracle (31 ms)
16:34:50
✓ Should handle return oracle (24 ms)
16:34:50
✓ Should handle revert oracle (19 ms)
16:34:50
✓ ec_add should not revert (24 ms)
16:34:50
✓ elliptic curve operations (31 ms)
16:34:50
✓ pedersen commitment operations (55 ms)
16:34:50
✓ conditional move operations (27 ms)
16:34:50
✓ Logging (31 ms)
16:34:50
✓ Assertion message (49 ms)
16:34:50
✓ conversions (23 ms)
16:34:50
✓ should be able to execute contracts that only have private functions (1 ms)
16:34:50 msm
16:34:50
✓ low scalars (40 ms)
16:34:50
✓ with a zero (26 ms)
16:34:50
✓ high scalars (139 ms)
16:34:50 U128 addition and overflows
16:34:50
✓ U128 addition (30 ms)
16:34:50
✓ Expect failure on U128::add() overflow (61 ms)
16:34:50 SET functions
16:34:50
✓ function 'set_opcode_u8' (21 ms)
16:34:50
✓ function 'set_opcode_u32' (32 ms)
16:34:50
✓ function 'set_opcode_u64' (23 ms)
16:34:50
✓ function 'set_opcode_small_field' (17 ms)
16:34:50
✓ function 'set_opcode_big_field' (18 ms)
16:34:50
✓ function 'set_opcode_really_big_field' (29 ms)
16:34:50 Hashes in noir contracts
16:34:50
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (37 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (40 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (36 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (26 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (45 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (39 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (45 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (50 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (43 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (63 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (82 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (142 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (158 ms)
16:34:50
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (546 ms)
16:34:50
✓ Should execute contract function that performs keccak_hash on input of length 10 (40 ms)
16:34:50
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
16:34:50
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (18 ms)
16:34:50
✓ Should execute contract function that performs pedersen_hash on input of length 10 (431 ms)
16:34:50
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (511 ms)
16:34:50 Environment getters
16:34:50
✓ address getter (19 ms)
16:34:50
✓ sender getter (17 ms)
16:34:50
✓ transactionFee getter (19 ms)
16:34:50
✓ chainId getter (20 ms)
16:34:50
✓ version getter (18 ms)
16:34:50
✓ blockNumber getter (28 ms)
16:34:50
✓ timestamp getter (32 ms)
16:34:50
✓ feePerDaGas getter (22 ms)
16:34:50
✓ feePerL2Gas getter (33 ms)
16:34:50 Side effects, world state, nested calls
16:34:50
✓ Should append a new note hash correctly (21 ms)
16:34:50
✓ Should append a new nullifier correctly (28 ms)
16:34:50 Note hash checks
16:34:50
✓ Should return false (and be traced) when noteHash does NOT exist (18 ms)
16:34:50
✓ Should return true (and be traced) when noteHash DOES exist (22 ms)
16:34:50
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (35 ms)
16:34:50 Nullifier checks
16:34:50
✓ Should return false (and be traced) when nullifier does NOT exist (30 ms)
16:34:50
✓ Should return true (and be traced) when nullifier DOES exist (31 ms)
16:34:50 L1ToL2 message checks
16:34:50
✓ Should return false (and be traced) when message does NOT exist (25 ms)
16:34:50
✓ Should return true (and be traced) when message DOES exist (21 ms)
16:34:50
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms)
16:34:50 Cached nullifiers
16:34:50
✓ Emits a nullifier and checks its existence (31 ms)
16:34:50
✓ Emits same nullifier twice (expect failure) (23 ms)
16:34:50 Public Logs
16:34:50
✓ Emit public logs (should be traced) (41 ms)
16:34:50 Public storage accesses
16:34:50
✓ Should set value in storage (single) (35 ms)
16:34:50
✓ Should read value in storage (single) (30 ms)
16:34:50
✓ Should set and read a value from storage (single) (30 ms)
16:34:50
✓ Should set a value in storage (list) (36 ms)
16:34:50
✓ Should read a value in storage (list) (33 ms)
16:34:50
✓ Should set a value in storage (map) (45 ms)
16:34:50
✓ Should read-add-set a value in storage (map) (43 ms)
16:34:50
✓ Should read value in storage (map) (29 ms)
16:34:50 Contract Instance Retrieval
16:34:50
✓ Can getContractInstance (42 ms)
16:34:50 Nested external calls
16:34:50
✓ Nested call to non-existent contract (24 ms)
16:34:50
✓ Nested call (124 ms)
16:34:50
✓ Nested static call (128 ms)
16:34:50
✓ Nested call with not enough gas (expect failure) (104 ms)
16:34:50
✓ Nested static call which modifies storage (expect failure) (104 ms)
16:34:50
✓ Nested calls rethrow exceptions (146 ms)
16:34:50
✓ Should handle returndatacopy oracle (135 ms)
16:34:50 Side effect trace errors on overflow
16:34:50
✓ Overrun of Public storage writes (17 ms)
16:34:50
✓ Overrun of New note hashes (24 ms)
16:34:50
✓ Overrun of New nullifiers (12 ms)
16:34:50
✓ Overrun of New unencrypted logs (1 ms)
16:34:50
✓ Overrun of New L1 to L2 messages (2 ms)
16:34:50 Side effects including merkle checks
16:34:50 Note hashes
16:34:50
✓ Should append new note hash correctly (295 ms)
16:34:50
✓ Note hash check properly returns exists=false (279 ms)
16:34:50
✓ Note hash check properly returns exists=true (263 ms)
16:34:50 Nullifiers
16:34:50
✓ Should append a new nullifier correctly (264 ms)
16:34:50
✓ Nullifier check properly returns exists=false (284 ms)
16:34:50
✓ Nullifier check properly returns exists=true (261 ms)
16:34:50 Public storage accesses
16:34:50
✓ Should set value in storage (single) (252 ms)
16:34:50
✓ Should read value in storage (single) - never written (274 ms)
16:34:50
✓ Should read value in storage (single) - written before, leaf exists (257 ms)
16:34:50
✓ Should set and read value in storage (single) (277 ms)
16:34:50
16:34:50
Test Suites: 1 passed, 1 total
16:34:50
Tests: 103 passed, 103 total
16:34:50
Snapshots: 0 total
16:34:50
Time: 10.747 s
16:34:50
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
16:34:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?