Parent Log:
http://ci.aztec-labs.com/a6379728c23043a9
Command: d2a1f586812a792c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/464e1a9d9b40b5188586643b44bc52bffccbc3e6
Env: REF_NAME=gh-readonly-queue/master/pr-15117-c06f30929f18b85bcea93c0926a8d640a3819f00 CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Tue Jun 17 20:25:04 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15117_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_master
20:25:08 [20:25:08.689]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
20:25:11 [20:25:11.979]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
20:25:13 [20:25:13.153]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OuE1MT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:13 [20:25:13.412]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-0df8w7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:13 [20:25:13.641]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4KJXXe/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:13 [20:25:13.889]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gAJ3rT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:14 [20:25:14.126]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MtwiKH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:14 [20:25:14.338]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-RqUsip/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:14 [20:25:14.586]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6Q51zX/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:14 [20:25:14.857]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-o52Upe/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:15 [20:25:15.114]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4ZczBG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:15 [20:25:15.382]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-nZ464B/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:25:15
PASS src/public/avm/avm_simulator.test.ts (
9.716 s)
20:25:15 AVM simulator: injected bytecode
20:25:15
✓ Should execute bytecode that performs basic addition (10 ms)
20:25:15
✓ Should halt if runs out of gas (5 ms)
20:25:15
✓ An exceptional halt should consume all allocated gas (2 ms)
20:25:15 AVM simulator: transpiled Noir contracts
20:25:15
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
20:25:15
✓ addition (38 ms)
20:25:15
✓ addition via dispatch (27 ms)
20:25:15
✓ get_args_hash via dispatch (33 ms)
20:25:15
✓ modulo and u1 (14 ms)
20:25:15
✓ Should handle calldata oracle (15 ms)
20:25:15
✓ Should handle return oracle (33 ms)
20:25:15
✓ Should handle revert oracle (22 ms)
20:25:15
✓ ec_add should not revert (21 ms)
20:25:15
✓ elliptic curve operations (20 ms)
20:25:15
✓ pedersen commitment operations (41 ms)
20:25:15
✓ conditional move operations (26 ms)
20:25:15
✓ Logging (20 ms)
20:25:15
✓ Assertion message (35 ms)
20:25:15
✓ conversions (17 ms)
20:25:15
✓ should be able to execute contracts that only have private functions (1 ms)
20:25:15 msm
20:25:15
✓ low scalars (49 ms)
20:25:15
✓ with a zero (36 ms)
20:25:15
✓ high scalars (145 ms)
20:25:15 U128 addition and overflows
20:25:15
✓ U128 addition (33 ms)
20:25:15
✓ Expect failure on U128::add() overflow (38 ms)
20:25:15 SET functions
20:25:15
✓ function 'set_opcode_u8' (16 ms)
20:25:15
✓ function 'set_opcode_u32' (13 ms)
20:25:15
✓ function 'set_opcode_u64' (15 ms)
20:25:15
✓ function 'set_opcode_small_field' (15 ms)
20:25:15
✓ function 'set_opcode_big_field' (11 ms)
20:25:15
✓ function 'set_opcode_really_big_field' (24 ms)
20:25:15 Hashes in noir contracts
20:25:15
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (28 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (23 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (23 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (35 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (22 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (27 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (42 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (23 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (31 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (85 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (72 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (102 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (100 ms)
20:25:15
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (365 ms)
20:25:15
✓ Should execute contract function that performs keccak_hash on input of length 10 (40 ms)
20:25:15
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (8 ms)
20:25:15
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms)
20:25:15
✓ Should execute contract function that performs pedersen_hash on input of length 10 (454 ms)
20:25:15
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (380 ms)
20:25:15 Environment getters
20:25:15
✓ address getter (15 ms)
20:25:15
✓ sender getter (11 ms)
20:25:15
✓ transactionFee getter (14 ms)
20:25:15
✓ chainId getter (15 ms)
20:25:15
✓ version getter (20 ms)
20:25:15
✓ blockNumber getter (14 ms)
20:25:15
✓ timestamp getter (14 ms)
20:25:15
✓ feePerDaGas getter (17 ms)
20:25:15
✓ feePerL2Gas getter (12 ms)
20:25:15 Side effects, world state, nested calls
20:25:15
✓ Should append a new note hash correctly (19 ms)
20:25:15
✓ Should append a new nullifier correctly (21 ms)
20:25:15 Note hash checks
20:25:15
✓ Should return false (and be traced) when noteHash does NOT exist (18 ms)
20:25:15
✓ Should return true (and be traced) when noteHash DOES exist (13 ms)
20:25:15
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (13 ms)
20:25:15 Nullifier checks
20:25:15
✓ Should return false (and be traced) when nullifier does NOT exist (12 ms)
20:25:15
✓ Should return true (and be traced) when nullifier DOES exist (11 ms)
20:25:15 L1ToL2 message checks
20:25:15
✓ Should return false (and be traced) when message does NOT exist (14 ms)
20:25:15
✓ Should return true (and be traced) when message DOES exist (15 ms)
20:25:15
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (27 ms)
20:25:15 Cached nullifiers
20:25:15
✓ Emits a nullifier and checks its existence (21 ms)
20:25:15
✓ Emits same nullifier twice (expect failure) (20 ms)
20:25:15 Public Logs
20:25:15
✓ Emit public logs (should be traced) (53 ms)
20:25:15 Public storage accesses
20:25:15
✓ Should set value in storage (single) (21 ms)
20:25:15
✓ Should read value in storage (single) (22 ms)
20:25:15
✓ Should set and read a value from storage (single) (18 ms)
20:25:15
✓ Should set a value in storage (list) (12 ms)
20:25:15
✓ Should read a value in storage (list) (18 ms)
20:25:15
✓ Should set a value in storage (map) (22 ms)
20:25:15
✓ Should read-add-set a value in storage (map) (26 ms)
20:25:15
✓ Should read value in storage (map) (24 ms)
20:25:15 Contract Instance Retrieval
20:25:15
✓ Can getContractInstance (14 ms)
20:25:15 Nested external calls
20:25:15
✓ Nested call to non-existent contract (16 ms)
20:25:15
✓ Nested call (191 ms)
20:25:15
✓ Nested static call (186 ms)
20:25:15
✓ Nested call with not enough gas (expect failure) (196 ms)
20:25:15
✓ Nested static call which modifies storage (expect failure) (173 ms)
20:25:15
✓ Nested calls rethrow exceptions (190 ms)
20:25:15
✓ Should handle returndatacopy oracle (179 ms)
20:25:15 Side effect trace errors on overflow
20:25:15
✓ Overrun of Public storage writes (9 ms)
20:25:15
✓ Overrun of New note hashes (18 ms)
20:25:15
✓ Overrun of New nullifiers (11 ms)
20:25:15
✓ Overrun of New unencrypted logs (2 ms)
20:25:15
✓ Overrun of New L1 to L2 messages (2 ms)
20:25:15 Side effects including merkle checks
20:25:15 Note hashes
20:25:15
✓ Should append new note hash correctly (261 ms)
20:25:15
✓ Note hash check properly returns exists=false (229 ms)
20:25:15
✓ Note hash check properly returns exists=true (246 ms)
20:25:15 Nullifiers
20:25:15
✓ Should append a new nullifier correctly (240 ms)
20:25:15
✓ Nullifier check properly returns exists=false (211 ms)
20:25:15
✓ Nullifier check properly returns exists=true (245 ms)
20:25:15 Public storage accesses
20:25:15
✓ Should set value in storage (single) (274 ms)
20:25:15
✓ Should read value in storage (single) - never written (255 ms)
20:25:15
✓ Should read value in storage (single) - written before, leaf exists (271 ms)
20:25:15
✓ Should set and read value in storage (single) (248 ms)
20:25:15
20:25:15
Test Suites: 1 passed, 1 total
20:25:15
Tests: 103 passed, 103 total
20:25:15
Snapshots: 0 total
20:25:15
Time: 9.801 s
20:25:15
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
20:25:15
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?