Parent Log:
http://ci.aztec-labs.com/89e702b6b9f7cdc0
Command: 5b7486e09cfa5726 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d5c48d855d83e19712c6b72281801c6fce176ec1
Env: REF_NAME=gh-readonly-queue/next/pr-15128-8cc8a56892d36191eefb49254ebbe49ea99ef4b8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 11:38:57 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15128_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
11:39:00 [11:39:00.833]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
11:39:04 [11:39:04.983]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
11:39:05 [11:39:05.940]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-H44s2k/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:06 [11:39:06.204]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CgcXRj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:06 [11:39:06.487]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JyJAxp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:06 [11:39:06.772]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-09f8yE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:07 [11:39:07.047]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WcDTm5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:07 [11:39:07.329]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6q84l6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:07 [11:39:07.598]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-S0XubS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:07 [11:39:07.872]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Wfc4gT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:08 [11:39:08.183]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pZIWYc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:08 [11:39:08.430]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-D0Zq0c/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:39:08
PASS src/public/avm/avm_simulator.test.ts (
10.549 s)
11:39:08 AVM simulator: injected bytecode
11:39:08
✓ Should execute bytecode that performs basic addition (9 ms)
11:39:08
✓ Should halt if runs out of gas (4 ms)
11:39:08
✓ An exceptional halt should consume all allocated gas (2 ms)
11:39:08 AVM simulator: transpiled Noir contracts
11:39:08
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
11:39:08
✓ addition (41 ms)
11:39:08
✓ addition via dispatch (230 ms)
11:39:08
✓ get_args_hash via dispatch (47 ms)
11:39:08
✓ modulo and u1 (20 ms)
11:39:08
✓ Should handle calldata oracle (26 ms)
11:39:08
✓ Should handle return oracle (23 ms)
11:39:08
✓ Should handle revert oracle (26 ms)
11:39:08
✓ ec_add should not revert (28 ms)
11:39:08
✓ elliptic curve operations (25 ms)
11:39:08
✓ pedersen commitment operations (39 ms)
11:39:08
✓ conditional move operations (26 ms)
11:39:08
✓ Logging (25 ms)
11:39:08
✓ Assertion message (39 ms)
11:39:08
✓ conversions (22 ms)
11:39:08
✓ should be able to execute contracts that only have private functions (2 ms)
11:39:08 msm
11:39:08
✓ low scalars (47 ms)
11:39:08
✓ with a zero (26 ms)
11:39:08
✓ high scalars (135 ms)
11:39:08 U128 addition and overflows
11:39:08
✓ U128 addition (19 ms)
11:39:08
✓ Expect failure on U128::add() overflow (43 ms)
11:39:08 SET functions
11:39:08
✓ function 'set_opcode_u8' (18 ms)
11:39:08
✓ function 'set_opcode_u32' (26 ms)
11:39:08
✓ function 'set_opcode_u64' (19 ms)
11:39:08
✓ function 'set_opcode_small_field' (18 ms)
11:39:08
✓ function 'set_opcode_big_field' (25 ms)
11:39:08
✓ function 'set_opcode_really_big_field' (26 ms)
11:39:08 Hashes in noir contracts
11:39:08
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (23 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (24 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (42 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (40 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (45 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (47 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (48 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (56 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (58 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (104 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (99 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (133 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (114 ms)
11:39:08
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (468 ms)
11:39:08
✓ Should execute contract function that performs keccak_hash on input of length 10 (50 ms)
11:39:08
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (17 ms)
11:39:08
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms)
11:39:08
✓ Should execute contract function that performs pedersen_hash on input of length 10 (442 ms)
11:39:08
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (372 ms)
11:39:08 Environment getters
11:39:08
✓ address getter (18 ms)
11:39:08
✓ sender getter (22 ms)
11:39:08
✓ transactionFee getter (25 ms)
11:39:08
✓ chainId getter (23 ms)
11:39:08
✓ version getter (25 ms)
11:39:08
✓ blockNumber getter (24 ms)
11:39:08
✓ timestamp getter (20 ms)
11:39:08
✓ feePerDaGas getter (21 ms)
11:39:08
✓ feePerL2Gas getter (22 ms)
11:39:08 Side effects, world state, nested calls
11:39:08
✓ Should append a new note hash correctly (22 ms)
11:39:08
✓ Should append a new nullifier correctly (22 ms)
11:39:08 Note hash checks
11:39:08
✓ Should return false (and be traced) when noteHash does NOT exist (30 ms)
11:39:08
✓ Should return true (and be traced) when noteHash DOES exist (33 ms)
11:39:08
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms)
11:39:08 Nullifier checks
11:39:08
✓ Should return false (and be traced) when nullifier does NOT exist (30 ms)
11:39:08
✓ Should return true (and be traced) when nullifier DOES exist (30 ms)
11:39:08 L1ToL2 message checks
11:39:08
✓ Should return false (and be traced) when message does NOT exist (24 ms)
11:39:08
✓ Should return true (and be traced) when message DOES exist (18 ms)
11:39:08
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (33 ms)
11:39:08 Cached nullifiers
11:39:08
✓ Emits a nullifier and checks its existence (23 ms)
11:39:08
✓ Emits same nullifier twice (expect failure) (27 ms)
11:39:08 Public Logs
11:39:08
✓ Emit public logs (should be traced) (57 ms)
11:39:08 Public storage accesses
11:39:08
✓ Should set value in storage (single) (30 ms)
11:39:08
✓ Should read value in storage (single) (27 ms)
11:39:08
✓ Should set and read a value from storage (single) (29 ms)
11:39:08
✓ Should set a value in storage (list) (24 ms)
11:39:08
✓ Should read a value in storage (list) (34 ms)
11:39:08
✓ Should set a value in storage (map) (38 ms)
11:39:08
✓ Should read-add-set a value in storage (map) (30 ms)
11:39:08
✓ Should read value in storage (map) (33 ms)
11:39:08 Contract Instance Retrieval
11:39:08
✓ Can getContractInstance (24 ms)
11:39:08 Nested external calls
11:39:08
✓ Nested call to non-existent contract (26 ms)
11:39:08
✓ Nested call (161 ms)
11:39:08
✓ Nested static call (154 ms)
11:39:08
✓ Nested call with not enough gas (expect failure) (127 ms)
11:39:08
✓ Nested static call which modifies storage (expect failure) (144 ms)
11:39:08
✓ Nested calls rethrow exceptions (152 ms)
11:39:08
✓ Should handle returndatacopy oracle (133 ms)
11:39:08 Side effect trace errors on overflow
11:39:08
✓ Overrun of Public storage writes (13 ms)
11:39:08
✓ Overrun of New note hashes (24 ms)
11:39:08
✓ Overrun of New nullifiers (15 ms)
11:39:08
✓ Overrun of New unencrypted logs (9 ms)
11:39:08
✓ Overrun of New L1 to L2 messages (3 ms)
11:39:08 Side effects including merkle checks
11:39:08 Note hashes
11:39:08
✓ Should append new note hash correctly (271 ms)
11:39:08
✓ Note hash check properly returns exists=false (281 ms)
11:39:08
✓ Note hash check properly returns exists=true (287 ms)
11:39:08 Nullifiers
11:39:08
✓ Should append a new nullifier correctly (272 ms)
11:39:08
✓ Nullifier check properly returns exists=false (281 ms)
11:39:08
✓ Nullifier check properly returns exists=true (272 ms)
11:39:08 Public storage accesses
11:39:08
✓ Should set value in storage (single) (273 ms)
11:39:08
✓ Should read value in storage (single) - never written (309 ms)
11:39:08
✓ Should read value in storage (single) - written before, leaf exists (247 ms)
11:39:08
✓ Should set and read value in storage (single) (276 ms)
11:39:08
11:39:08
Test Suites: 1 passed, 1 total
11:39:08
Tests: 103 passed, 103 total
11:39:08
Snapshots: 0 total
11:39:08
Time: 10.654 s
11:39:08
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
11:39:08
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?