Parent Log:
http://ci.aztec-labs.com/5e515535e86b994c
Command: 5f8c4dc44886aef3 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e340440b20c8e6058b811ce607aaf8447cf11c15
Env: REF_NAME=gh-readonly-queue/next/pr-15307-211a2c7b7aa5782c4eaa4292b84d2dc8c378aee1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 26 19:01:40 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15307_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
19:01:44 [19:01:44.043]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
19:01:48 [19:01:48.568]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
19:01:49 [19:01:49.459]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Nt7si7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:49 [19:01:49.771]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mhXvJm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:50 [19:01:50.023]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KYoZ5s/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:50 [19:01:50.284]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xthw7x/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:50 [19:01:50.562]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WIXoIo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:50 [19:01:50.826]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WSVdkY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:51 [19:01:51.097]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-PzPw6d/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:51 [19:01:51.407]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-kVhsDi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:51 [19:01:51.690]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4lZWww/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:51 [19:01:51.994]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CnshAV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
19:01:52
PASS src/public/avm/avm_simulator.test.ts (
11.075 s)
19:01:52 AVM simulator: injected bytecode
19:01:52
✓ Should execute bytecode that performs basic addition (8 ms)
19:01:52
✓ Should halt if runs out of gas (3 ms)
19:01:52
✓ An exceptional halt should consume all allocated gas (2 ms)
19:01:52 AVM simulator: transpiled Noir contracts
19:01:52
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
19:01:52
✓ addition (28 ms)
19:01:52
✓ addition via dispatch (223 ms)
19:01:52
✓ get_args_hash via dispatch (47 ms)
19:01:52
✓ modulo and u1 (19 ms)
19:01:52
✓ Should handle calldata oracle (23 ms)
19:01:52
✓ Should handle return oracle (24 ms)
19:01:52
✓ Should handle revert oracle (24 ms)
19:01:52
✓ ec_add should not revert (27 ms)
19:01:52
✓ elliptic curve operations (19 ms)
19:01:52
✓ pedersen commitment operations (36 ms)
19:01:52
✓ conditional move operations (22 ms)
19:01:52
✓ Logging (25 ms)
19:01:52
✓ Assertion message (46 ms)
19:01:52
✓ conversions (20 ms)
19:01:52
✓ should be able to execute contracts that only have private functions (2 ms)
19:01:52 msm
19:01:52
✓ low scalars (37 ms)
19:01:52
✓ with a zero (29 ms)
19:01:52
✓ high scalars (164 ms)
19:01:52 U128 addition and overflows
19:01:52
✓ U128 addition (22 ms)
19:01:52
✓ Expect failure on U128::add() overflow (40 ms)
19:01:52 SET functions
19:01:52
✓ function 'set_opcode_u8' (21 ms)
19:01:52
✓ function 'set_opcode_u32' (18 ms)
19:01:52
✓ function 'set_opcode_u64' (19 ms)
19:01:52
✓ function 'set_opcode_small_field' (24 ms)
19:01:52
✓ function 'set_opcode_big_field' (20 ms)
19:01:52
✓ function 'set_opcode_really_big_field' (22 ms)
19:01:52 Hashes in noir contracts
19:01:52
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (34 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (30 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (34 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (37 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (40 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (37 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (47 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (37 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (77 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (106 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (133 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (192 ms)
19:01:52
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (529 ms)
19:01:52
✓ Should execute contract function that performs keccak_hash on input of length 10 (51 ms)
19:01:52
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
19:01:52
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms)
19:01:52
✓ Should execute contract function that performs pedersen_hash on input of length 10 (561 ms)
19:01:52
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (587 ms)
19:01:52 Environment getters
19:01:52
✓ address getter (17 ms)
19:01:52
✓ sender getter (23 ms)
19:01:52
✓ transactionFee getter (21 ms)
19:01:52
✓ chainId getter (29 ms)
19:01:52
✓ version getter (30 ms)
19:01:52
✓ blockNumber getter (26 ms)
19:01:52
✓ timestamp getter (18 ms)
19:01:52
✓ feePerDaGas getter (29 ms)
19:01:52
✓ feePerL2Gas getter (28 ms)
19:01:52 Side effects, world state, nested calls
19:01:52
✓ Should append a new note hash correctly (27 ms)
19:01:52
✓ Should append a new nullifier correctly (23 ms)
19:01:52 Note hash checks
19:01:52
✓ Should return false (and be traced) when noteHash does NOT exist (28 ms)
19:01:52
✓ Should return true (and be traced) when noteHash DOES exist (31 ms)
19:01:52
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
19:01:52 Nullifier checks
19:01:52
✓ Should return false (and be traced) when nullifier does NOT exist (20 ms)
19:01:52
✓ Should return true (and be traced) when nullifier DOES exist (36 ms)
19:01:52 L1ToL2 message checks
19:01:52
✓ Should return false (and be traced) when message does NOT exist (21 ms)
19:01:52
✓ Should return true (and be traced) when message DOES exist (20 ms)
19:01:52
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
19:01:52 Cached nullifiers
19:01:52
✓ Emits a nullifier and checks its existence (22 ms)
19:01:52
✓ Emits same nullifier twice (expect failure) (22 ms)
19:01:52 Public Logs
19:01:52
✓ Emit public logs (should be traced) (63 ms)
19:01:52 Public storage accesses
19:01:52
✓ Should set value in storage (single) (22 ms)
19:01:52
✓ Should read value in storage (single) (22 ms)
19:01:52
✓ Should set and read a value from storage (single) (33 ms)
19:01:52
✓ Should set a value in storage (list) (18 ms)
19:01:52
✓ Should read a value in storage (list) (22 ms)
19:01:52
✓ Should set a value in storage (map) (34 ms)
19:01:52
✓ Should read-add-set a value in storage (map) (38 ms)
19:01:52
✓ Should read value in storage (map) (33 ms)
19:01:52 Contract Instance Retrieval
19:01:52
✓ Can getContractInstance (21 ms)
19:01:52 Nested external calls
19:01:52
✓ Nested call to non-existent contract (32 ms)
19:01:52
✓ Nested call (137 ms)
19:01:52
✓ Nested static call (122 ms)
19:01:52
✓ Nested call with not enough gas (expect failure) (106 ms)
19:01:52
✓ Nested static call which modifies storage (expect failure) (133 ms)
19:01:52
✓ Nested calls rethrow exceptions (155 ms)
19:01:52
✓ Should handle returndatacopy oracle (163 ms)
19:01:52 Side effect trace errors on overflow
19:01:52
✓ Overrun of Public storage writes (11 ms)
19:01:52
✓ Overrun of New note hashes (23 ms)
19:01:52
✓ Overrun of New nullifiers (11 ms)
19:01:52
✓ Overrun of New unencrypted logs (2 ms)
19:01:52
✓ Overrun of New L1 to L2 messages (2 ms)
19:01:52 Side effects including merkle checks
19:01:52 Note hashes
19:01:52
✓ Should append new note hash correctly (320 ms)
19:01:52
✓ Note hash check properly returns exists=false (258 ms)
19:01:52
✓ Note hash check properly returns exists=true (260 ms)
19:01:52 Nullifiers
19:01:52
✓ Should append a new nullifier correctly (271 ms)
19:01:52
✓ Nullifier check properly returns exists=false (272 ms)
19:01:52
✓ Nullifier check properly returns exists=true (268 ms)
19:01:52 Public storage accesses
19:01:52
✓ Should set value in storage (single) (308 ms)
19:01:52
✓ Should read value in storage (single) - never written (285 ms)
19:01:52
✓ Should read value in storage (single) - written before, leaf exists (301 ms)
19:01:52
✓ Should set and read value in storage (single) (287 ms)
19:01:52
19:01:52
Test Suites: 1 passed, 1 total
19:01:52
Tests: 103 passed, 103 total
19:01:52
Snapshots: 0 total
19:01:52
Time: 11.172 s
19:01:52
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
19:01:52
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?