Parent Log:
http://ci.aztec-labs.com/2e2beca9be3205ea
Command: 7036b634d1ccdbba yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/b6c045c8e9bbe748f5441bd1e65a9beeb9c62e73
Env: REF_NAME=gh-readonly-queue/next/pr-15067-24972303091baff6f83c6389d7d1406c932357e9 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:19:01 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15067_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
14:19:05 [14:19:05.400]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
14:19:09 [14:19:09.894]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
14:19:10 [14:19:10.758]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xNFRGq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:11 [14:19:11.036]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-C9dfng/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:11 [14:19:11.328]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-qzML3b/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:11 [14:19:11.596]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2jVwr6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:11 [14:19:11.829]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MpPblV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:12 [14:19:12.081]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7Q7QFl/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:12 [14:19:12.361]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eGUZ5R/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:12 [14:19:12.629]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JVVpxt/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:12 [14:19:12.917]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-T5RrRc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:13 [14:19:13.194]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Z1PePN/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:19:13
PASS src/public/avm/avm_simulator.test.ts (
10.704 s)
14:19:13 AVM simulator: injected bytecode
14:19:13
✓ Should execute bytecode that performs basic addition (7 ms)
14:19:13
✓ Should halt if runs out of gas (3 ms)
14:19:13
✓ An exceptional halt should consume all allocated gas (2 ms)
14:19:13 AVM simulator: transpiled Noir contracts
14:19:13
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
14:19:13
✓ addition (34 ms)
14:19:13
✓ addition via dispatch (220 ms)
14:19:13
✓ get_args_hash via dispatch (41 ms)
14:19:13
✓ modulo and u1 (22 ms)
14:19:13
✓ Should handle calldata oracle (25 ms)
14:19:13
✓ Should handle return oracle (33 ms)
14:19:13
✓ Should handle revert oracle (18 ms)
14:19:13
✓ ec_add should not revert (28 ms)
14:19:13
✓ elliptic curve operations (25 ms)
14:19:13
✓ pedersen commitment operations (44 ms)
14:19:13
✓ conditional move operations (32 ms)
14:19:13
✓ Logging (30 ms)
14:19:13
✓ Assertion message (46 ms)
14:19:13
✓ conversions (31 ms)
14:19:13
✓ should be able to execute contracts that only have private functions (2 ms)
14:19:13 msm
14:19:13
✓ low scalars (50 ms)
14:19:13
✓ with a zero (31 ms)
14:19:13
✓ high scalars (160 ms)
14:19:13 U128 addition and overflows
14:19:13
✓ U128 addition (29 ms)
14:19:13
✓ Expect failure on U128::add() overflow (47 ms)
14:19:13 SET functions
14:19:13
✓ function 'set_opcode_u8' (29 ms)
14:19:13
✓ function 'set_opcode_u32' (30 ms)
14:19:13
✓ function 'set_opcode_u64' (19 ms)
14:19:13
✓ function 'set_opcode_small_field' (17 ms)
14:19:13
✓ function 'set_opcode_big_field' (17 ms)
14:19:13
✓ function 'set_opcode_really_big_field' (26 ms)
14:19:13 Hashes in noir contracts
14:19:13
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (24 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (27 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (32 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (25 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (29 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (30 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (40 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (42 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (78 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (85 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (144 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (165 ms)
14:19:13
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (517 ms)
14:19:13
✓ Should execute contract function that performs keccak_hash on input of length 10 (54 ms)
14:19:13
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms)
14:19:13
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (24 ms)
14:19:13
✓ Should execute contract function that performs pedersen_hash on input of length 10 (584 ms)
14:19:13
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (490 ms)
14:19:13 Environment getters
14:19:13
✓ address getter (29 ms)
14:19:13
✓ sender getter (19 ms)
14:19:13
✓ transactionFee getter (26 ms)
14:19:13
✓ chainId getter (28 ms)
14:19:13
✓ version getter (37 ms)
14:19:13
✓ blockNumber getter (17 ms)
14:19:13
✓ timestamp getter (23 ms)
14:19:13
✓ feePerDaGas getter (20 ms)
14:19:13
✓ feePerL2Gas getter (28 ms)
14:19:13 Side effects, world state, nested calls
14:19:13
✓ Should append a new note hash correctly (30 ms)
14:19:13
✓ Should append a new nullifier correctly (34 ms)
14:19:13 Note hash checks
14:19:13
✓ Should return false (and be traced) when noteHash does NOT exist (22 ms)
14:19:13
✓ Should return true (and be traced) when noteHash DOES exist (27 ms)
14:19:13
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms)
14:19:13 Nullifier checks
14:19:13
✓ Should return false (and be traced) when nullifier does NOT exist (17 ms)
14:19:13
✓ Should return true (and be traced) when nullifier DOES exist (25 ms)
14:19:13 L1ToL2 message checks
14:19:13
✓ Should return false (and be traced) when message does NOT exist (28 ms)
14:19:13
✓ Should return true (and be traced) when message DOES exist (27 ms)
14:19:13
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms)
14:19:13 Cached nullifiers
14:19:13
✓ Emits a nullifier and checks its existence (27 ms)
14:19:13
✓ Emits same nullifier twice (expect failure) (34 ms)
14:19:13 Public Logs
14:19:13
✓ Emit public logs (should be traced) (51 ms)
14:19:13 Public storage accesses
14:19:13
✓ Should set value in storage (single) (27 ms)
14:19:13
✓ Should read value in storage (single) (24 ms)
14:19:13
✓ Should set and read a value from storage (single) (46 ms)
14:19:13
✓ Should set a value in storage (list) (28 ms)
14:19:13
✓ Should read a value in storage (list) (27 ms)
14:19:13
✓ Should set a value in storage (map) (39 ms)
14:19:13
✓ Should read-add-set a value in storage (map) (28 ms)
14:19:13
✓ Should read value in storage (map) (25 ms)
14:19:13 Contract Instance Retrieval
14:19:13
✓ Can getContractInstance (33 ms)
14:19:13 Nested external calls
14:19:13
✓ Nested call to non-existent contract (32 ms)
14:19:13
✓ Nested call (141 ms)
14:19:13
✓ Nested static call (127 ms)
14:19:13
✓ Nested call with not enough gas (expect failure) (104 ms)
14:19:13
✓ Nested static call which modifies storage (expect failure) (135 ms)
14:19:13
✓ Nested calls rethrow exceptions (134 ms)
14:19:13
✓ Should handle returndatacopy oracle (131 ms)
14:19:13 Side effect trace errors on overflow
14:19:13
✓ Overrun of Public storage writes (25 ms)
14:19:13
✓ Overrun of New note hashes (22 ms)
14:19:13
✓ Overrun of New nullifiers (9 ms)
14:19:13
✓ Overrun of New unencrypted logs (1 ms)
14:19:13
✓ Overrun of New L1 to L2 messages (6 ms)
14:19:13 Side effects including merkle checks
14:19:13 Note hashes
14:19:13
✓ Should append new note hash correctly (293 ms)
14:19:13
✓ Note hash check properly returns exists=false (292 ms)
14:19:13
✓ Note hash check properly returns exists=true (266 ms)
14:19:13 Nullifiers
14:19:13
✓ Should append a new nullifier correctly (232 ms)
14:19:13
✓ Nullifier check properly returns exists=false (253 ms)
14:19:13
✓ Nullifier check properly returns exists=true (278 ms)
14:19:13 Public storage accesses
14:19:13
✓ Should set value in storage (single) (272 ms)
14:19:13
✓ Should read value in storage (single) - never written (278 ms)
14:19:13
✓ Should read value in storage (single) - written before, leaf exists (284 ms)
14:19:13
✓ Should set and read value in storage (single) (256 ms)
14:19:13
14:19:13
Test Suites: 1 passed, 1 total
14:19:13
Tests: 103 passed, 103 total
14:19:13
Snapshots: 0 total
14:19:13
Time: 10.819 s
14:19:13
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
14:19:13
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?