Parent Log:
http://ci.aztec-labs.com/4df5d3e68602ef2d
Command: 3d59cf67433a82a0 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ada03190841b1923625905b0e6ea3bdc4a3b3e84
Env: REF_NAME=gh-readonly-queue/next/pr-14953-1650b3d017a2a4fa5182c8787e79cc108e24e1f4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 10:50:13 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14953_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:50:17 [10:50:17.492]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:50:21 [10:50:21.130]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:50:22 [10:50:22.463]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-rUukXQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:22 [10:50:22.731]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-sUb92M/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:23 [10:50:23.012]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-u2r6d0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:23 [10:50:23.279]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YlPqrA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:23 [10:50:23.523]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9E2udY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:23 [10:50:23.776]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-C5S4WK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:24 [10:50:24.031]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Cs2bja/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:24 [10:50:24.288]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-tb2d4N/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:24 [10:50:24.549]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4fqdE8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:24 [10:50:24.820]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-LLEP6a/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:25
PASS src/public/avm/avm_simulator.test.ts (
10.15 s)
10:50:25 AVM simulator: injected bytecode
10:50:25
✓ Should execute bytecode that performs basic addition (6 ms)
10:50:25
✓ Should halt if runs out of gas (2 ms)
10:50:25
✓ An exceptional halt should consume all allocated gas (1 ms)
10:50:25 AVM simulator: transpiled Noir contracts
10:50:25
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
10:50:25
✓ addition (36 ms)
10:50:25
✓ addition via dispatch (252 ms)
10:50:25
✓ get_args_hash via dispatch (49 ms)
10:50:25
✓ modulo and u1 (28 ms)
10:50:25
✓ Should handle calldata oracle (27 ms)
10:50:25
✓ Should handle return oracle (25 ms)
10:50:25
✓ Should handle revert oracle (17 ms)
10:50:25
✓ ec_add should not revert (19 ms)
10:50:25
✓ elliptic curve operations (17 ms)
10:50:25
✓ pedersen commitment operations (28 ms)
10:50:25
✓ conditional move operations (14 ms)
10:50:25
✓ Logging (24 ms)
10:50:25
✓ Assertion message (50 ms)
10:50:25
✓ conversions (13 ms)
10:50:25
✓ should be able to execute contracts that only have private functions (2 ms)
10:50:25 msm
10:50:25
✓ low scalars (36 ms)
10:50:25
✓ with a zero (20 ms)
10:50:25
✓ high scalars (131 ms)
10:50:25 U128 addition and overflows
10:50:25
✓ U128 addition (17 ms)
10:50:25
✓ Expect failure on U128::add() overflow (30 ms)
10:50:25 SET functions
10:50:25
✓ function 'set_opcode_u8' (18 ms)
10:50:25
✓ function 'set_opcode_u32' (13 ms)
10:50:25
✓ function 'set_opcode_u64' (17 ms)
10:50:25
✓ function 'set_opcode_small_field' (19 ms)
10:50:25
✓ function 'set_opcode_big_field' (24 ms)
10:50:25
✓ function 'set_opcode_really_big_field' (15 ms)
10:50:25 Hashes in noir contracts
10:50:25
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (28 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (21 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (31 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (29 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (31 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (32 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (26 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (26 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (29 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (63 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (54 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (110 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (99 ms)
10:50:25
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (427 ms)
10:50:25
✓ Should execute contract function that performs keccak_hash on input of length 10 (48 ms)
10:50:25
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms)
10:50:25
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (15 ms)
10:50:25
✓ Should execute contract function that performs pedersen_hash on input of length 10 (511 ms)
10:50:25
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (442 ms)
10:50:25 Environment getters
10:50:25
✓ address getter (13 ms)
10:50:25
✓ sender getter (14 ms)
10:50:25
✓ transactionFee getter (12 ms)
10:50:25
✓ chainId getter (12 ms)
10:50:25
✓ version getter (17 ms)
10:50:25
✓ blockNumber getter (14 ms)
10:50:25
✓ timestamp getter (18 ms)
10:50:25
✓ feePerDaGas getter (15 ms)
10:50:25
✓ feePerL2Gas getter (12 ms)
10:50:25 Side effects, world state, nested calls
10:50:25
✓ Should append a new note hash correctly (16 ms)
10:50:25
✓ Should append a new nullifier correctly (17 ms)
10:50:25 Note hash checks
10:50:25
✓ Should return false (and be traced) when noteHash does NOT exist (18 ms)
10:50:25
✓ Should return true (and be traced) when noteHash DOES exist (16 ms)
10:50:25
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms)
10:50:25 Nullifier checks
10:50:25
✓ Should return false (and be traced) when nullifier does NOT exist (20 ms)
10:50:25
✓ Should return true (and be traced) when nullifier DOES exist (18 ms)
10:50:25 L1ToL2 message checks
10:50:25
✓ Should return false (and be traced) when message does NOT exist (15 ms)
10:50:25
✓ Should return true (and be traced) when message DOES exist (18 ms)
10:50:25
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms)
10:50:25 Cached nullifiers
10:50:25
✓ Emits a nullifier and checks its existence (13 ms)
10:50:25
✓ Emits same nullifier twice (expect failure) (13 ms)
10:50:25 Public Logs
10:50:25
✓ Emit public logs (should be traced) (44 ms)
10:50:25 Public storage accesses
10:50:25
✓ Should set value in storage (single) (15 ms)
10:50:25
✓ Should read value in storage (single) (20 ms)
10:50:25
✓ Should set and read a value from storage (single) (21 ms)
10:50:25
✓ Should set a value in storage (list) (22 ms)
10:50:25
✓ Should read a value in storage (list) (23 ms)
10:50:25
✓ Should set a value in storage (map) (18 ms)
10:50:25
✓ Should read-add-set a value in storage (map) (28 ms)
10:50:25
✓ Should read value in storage (map) (27 ms)
10:50:25 Contract Instance Retrieval
10:50:25
✓ Can getContractInstance (20 ms)
10:50:25 Nested external calls
10:50:25
✓ Nested call to non-existent contract (29 ms)
10:50:25
✓ Nested call (202 ms)
10:50:25
✓ Nested static call (198 ms)
10:50:25
✓ Nested call with not enough gas (expect failure) (186 ms)
10:50:25
✓ Nested static call which modifies storage (expect failure) (176 ms)
10:50:25
✓ Nested calls rethrow exceptions (263 ms)
10:50:25
✓ Should handle returndatacopy oracle (241 ms)
10:50:25 Side effect trace errors on overflow
10:50:25
✓ Overrun of Public storage writes (12 ms)
10:50:25
✓ Overrun of New note hashes (18 ms)
10:50:25
✓ Overrun of New nullifiers (13 ms)
10:50:25
✓ Overrun of New unencrypted logs (2 ms)
10:50:25
✓ Overrun of New L1 to L2 messages (1 ms)
10:50:25 Side effects including merkle checks
10:50:25 Note hashes
10:50:25
✓ Should append new note hash correctly (276 ms)
10:50:25
✓ Note hash check properly returns exists=false (278 ms)
10:50:25
✓ Note hash check properly returns exists=true (270 ms)
10:50:25 Nullifiers
10:50:25
✓ Should append a new nullifier correctly (241 ms)
10:50:25
✓ Nullifier check properly returns exists=false (257 ms)
10:50:25
✓ Nullifier check properly returns exists=true (252 ms)
10:50:25 Public storage accesses
10:50:25
✓ Should set value in storage (single) (259 ms)
10:50:25
✓ Should read value in storage (single) - never written (261 ms)
10:50:25
✓ Should read value in storage (single) - written before, leaf exists (267 ms)
10:50:25
✓ Should set and read value in storage (single) (240 ms)
10:50:25
10:50:25
Test Suites: 1 passed, 1 total
10:50:25
Tests: 103 passed, 103 total
10:50:25
Snapshots: 0 total
10:50:25
Time: 10.243 s
10:50:25
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
10:50:25
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?