Parent Log:
http://ci.aztec-labs.com/2dd73c7f6b4dcf15
Command: c118fea9c063e772 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/12d931e5ea9343eec403068931d3121e1d10e37e
Env: REF_NAME=gh-readonly-queue/next/pr-15042-254faae7d330e160b14c6eaaa099dc92d4a9cac7 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 12:35:22 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
12:35:25 [12:35:25.768]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
12:35:29 [12:35:29.519]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
12:35:30 [12:35:30.795]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2AodMS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:31 [12:35:31.060]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-BtBoiy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:31 [12:35:31.317]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-FjyVj0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:31 [12:35:31.601]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-dbTiF8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:31 [12:35:31.871]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eYdyYZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:32 [12:35:32.145]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IIdM1h/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:32 [12:35:32.395]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6hcp2G/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:32 [12:35:32.662]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CYDU8F/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:32 [12:35:32.923]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oaBV26/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:33 [12:35:33.195]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-d1XpWw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
12:35:33
PASS src/public/avm/avm_simulator.test.ts (
10.122 s)
12:35:33 AVM simulator: injected bytecode
12:35:33
✓ Should execute bytecode that performs basic addition (7 ms)
12:35:33
✓ Should halt if runs out of gas (3 ms)
12:35:33
✓ An exceptional halt should consume all allocated gas (2 ms)
12:35:33 AVM simulator: transpiled Noir contracts
12:35:33
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms)
12:35:33
✓ addition (16 ms)
12:35:33
✓ addition via dispatch (217 ms)
12:35:33
✓ get_args_hash via dispatch (37 ms)
12:35:33
✓ modulo and u1 (18 ms)
12:35:33
✓ Should handle calldata oracle (18 ms)
12:35:33
✓ Should handle return oracle (18 ms)
12:35:33
✓ Should handle revert oracle (15 ms)
12:35:33
✓ ec_add should not revert (17 ms)
12:35:33
✓ elliptic curve operations (24 ms)
12:35:33
✓ pedersen commitment operations (41 ms)
12:35:33
✓ conditional move operations (21 ms)
12:35:33
✓ Logging (25 ms)
12:35:33
✓ Assertion message (46 ms)
12:35:33
✓ conversions (24 ms)
12:35:33
✓ should be able to execute contracts that only have private functions (1 ms)
12:35:33 msm
12:35:33
✓ low scalars (39 ms)
12:35:33
✓ with a zero (33 ms)
12:35:33
✓ high scalars (148 ms)
12:35:33 U128 addition and overflows
12:35:33
✓ U128 addition (19 ms)
12:35:33
✓ Expect failure on U128::add() overflow (49 ms)
12:35:33 SET functions
12:35:33
✓ function 'set_opcode_u8' (21 ms)
12:35:33
✓ function 'set_opcode_u32' (24 ms)
12:35:33
✓ function 'set_opcode_u64' (21 ms)
12:35:33
✓ function 'set_opcode_small_field' (22 ms)
12:35:33
✓ function 'set_opcode_big_field' (21 ms)
12:35:33
✓ function 'set_opcode_really_big_field' (13 ms)
12:35:33 Hashes in noir contracts
12:35:33
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (25 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (33 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (39 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (41 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (39 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (36 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (41 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (39 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (42 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (41 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (94 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (98 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (106 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (106 ms)
12:35:33
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (404 ms)
12:35:33
✓ Should execute contract function that performs keccak_hash on input of length 10 (42 ms)
12:35:33
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
12:35:33
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (11 ms)
12:35:33
✓ Should execute contract function that performs pedersen_hash on input of length 10 (438 ms)
12:35:33
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (405 ms)
12:35:33 Environment getters
12:35:33
✓ address getter (17 ms)
12:35:33
✓ sender getter (16 ms)
12:35:33
✓ transactionFee getter (21 ms)
12:35:33
✓ chainId getter (15 ms)
12:35:33
✓ version getter (19 ms)
12:35:33
✓ blockNumber getter (13 ms)
12:35:33
✓ timestamp getter (17 ms)
12:35:33
✓ feePerDaGas getter (18 ms)
12:35:33
✓ feePerL2Gas getter (18 ms)
12:35:33 Side effects, world state, nested calls
12:35:33
✓ Should append a new note hash correctly (23 ms)
12:35:33
✓ Should append a new nullifier correctly (26 ms)
12:35:33 Note hash checks
12:35:33
✓ Should return false (and be traced) when noteHash does NOT exist (29 ms)
12:35:33
✓ Should return true (and be traced) when noteHash DOES exist (24 ms)
12:35:33
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
12:35:33 Nullifier checks
12:35:33
✓ Should return false (and be traced) when nullifier does NOT exist (20 ms)
12:35:33
✓ Should return true (and be traced) when nullifier DOES exist (15 ms)
12:35:33 L1ToL2 message checks
12:35:33
✓ Should return false (and be traced) when message does NOT exist (16 ms)
12:35:33
✓ Should return true (and be traced) when message DOES exist (21 ms)
12:35:33
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
12:35:33 Cached nullifiers
12:35:33
✓ Emits a nullifier and checks its existence (23 ms)
12:35:33
✓ Emits same nullifier twice (expect failure) (26 ms)
12:35:33 Public Logs
12:35:33
✓ Emit public logs (should be traced) (51 ms)
12:35:33 Public storage accesses
12:35:33
✓ Should set value in storage (single) (24 ms)
12:35:33
✓ Should read value in storage (single) (16 ms)
12:35:33
✓ Should set and read a value from storage (single) (16 ms)
12:35:33
✓ Should set a value in storage (list) (22 ms)
12:35:33
✓ Should read a value in storage (list) (15 ms)
12:35:33
✓ Should set a value in storage (map) (25 ms)
12:35:33
✓ Should read-add-set a value in storage (map) (32 ms)
12:35:33
✓ Should read value in storage (map) (20 ms)
12:35:33 Contract Instance Retrieval
12:35:33
✓ Can getContractInstance (22 ms)
12:35:33 Nested external calls
12:35:33
✓ Nested call to non-existent contract (22 ms)
12:35:33
✓ Nested call (201 ms)
12:35:33
✓ Nested static call (210 ms)
12:35:33
✓ Nested call with not enough gas (expect failure) (217 ms)
12:35:33
✓ Nested static call which modifies storage (expect failure) (192 ms)
12:35:33
✓ Nested calls rethrow exceptions (186 ms)
12:35:33
✓ Should handle returndatacopy oracle (197 ms)
12:35:33 Side effect trace errors on overflow
12:35:33
✓ Overrun of Public storage writes (11 ms)
12:35:33
✓ Overrun of New note hashes (26 ms)
12:35:33
✓ Overrun of New nullifiers (12 ms)
12:35:33
✓ Overrun of New unencrypted logs (2 ms)
12:35:33
✓ Overrun of New L1 to L2 messages (2 ms)
12:35:33 Side effects including merkle checks
12:35:33 Note hashes
12:35:33
✓ Should append new note hash correctly (272 ms)
12:35:33
✓ Note hash check properly returns exists=false (255 ms)
12:35:33
✓ Note hash check properly returns exists=true (284 ms)
12:35:33 Nullifiers
12:35:33
✓ Should append a new nullifier correctly (269 ms)
12:35:33
✓ Nullifier check properly returns exists=false (272 ms)
12:35:33
✓ Nullifier check properly returns exists=true (252 ms)
12:35:33 Public storage accesses
12:35:33
✓ Should set value in storage (single) (266 ms)
12:35:33
✓ Should read value in storage (single) - never written (257 ms)
12:35:33
✓ Should read value in storage (single) - written before, leaf exists (275 ms)
12:35:33
✓ Should set and read value in storage (single) (281 ms)
12:35:33
12:35:33
Test Suites: 1 passed, 1 total
12:35:33
Tests: 103 passed, 103 total
12:35:33
Snapshots: 0 total
12:35:33
Time: 10.207 s
12:35:33
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
12:35:33
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?