Parent Log:
http://ci.aztec-labs.com/210b73a1ac6e2044
Command: 85ebe83a9ef9464b yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/24972303091baff6f83c6389d7d1406c932357e9
Env: REF_NAME=gh-readonly-queue/next/pr-15042-a0a8617413ca6f4fba2ad190ce73dab59bd75a45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 14:16:52 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
14:16:56 [14:16:56.336]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
14:17:01 [14:17:01.147]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
14:17:02 [14:17:02.046]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7HvxkF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:02 [14:17:02.336]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NgUyxc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:02 [14:17:02.633]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9bflzO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:02 [14:17:02.910]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-rWhP3B/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:03 [14:17:03.176]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-msPMPu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:03 [14:17:03.434]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-qxUtDU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:03 [14:17:03.722]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HXQBJW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:04 [14:17:04.007]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-QJGvid/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:04 [14:17:04.262]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-nEFIAD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:04 [14:17:04.615]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-iSqy1O/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
14:17:04
PASS src/public/avm/avm_simulator.test.ts (
11.351 s)
14:17:04 AVM simulator: injected bytecode
14:17:04
✓ Should execute bytecode that performs basic addition (8 ms)
14:17:04
✓ Should halt if runs out of gas (4 ms)
14:17:04
✓ An exceptional halt should consume all allocated gas (3 ms)
14:17:04 AVM simulator: transpiled Noir contracts
14:17:04
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
14:17:04
✓ addition (34 ms)
14:17:04
✓ addition via dispatch (232 ms)
14:17:04
✓ get_args_hash via dispatch (52 ms)
14:17:04
✓ modulo and u1 (28 ms)
14:17:04
✓ Should handle calldata oracle (27 ms)
14:17:04
✓ Should handle return oracle (40 ms)
14:17:04
✓ Should handle revert oracle (34 ms)
14:17:04
✓ ec_add should not revert (43 ms)
14:17:04
✓ elliptic curve operations (37 ms)
14:17:04
✓ pedersen commitment operations (50 ms)
14:17:04
✓ conditional move operations (19 ms)
14:17:04
✓ Logging (25 ms)
14:17:04
✓ Assertion message (41 ms)
14:17:04
✓ conversions (24 ms)
14:17:04
✓ should be able to execute contracts that only have private functions (2 ms)
14:17:04 msm
14:17:04
✓ low scalars (54 ms)
14:17:04
✓ with a zero (44 ms)
14:17:04
✓ high scalars (183 ms)
14:17:04 U128 addition and overflows
14:17:04
✓ U128 addition (16 ms)
14:17:04
✓ Expect failure on U128::add() overflow (47 ms)
14:17:04 SET functions
14:17:04
✓ function 'set_opcode_u8' (33 ms)
14:17:04
✓ function 'set_opcode_u32' (33 ms)
14:17:04
✓ function 'set_opcode_u64' (16 ms)
14:17:04
✓ function 'set_opcode_small_field' (27 ms)
14:17:04
✓ function 'set_opcode_big_field' (31 ms)
14:17:04
✓ function 'set_opcode_really_big_field' (30 ms)
14:17:04 Hashes in noir contracts
14:17:04
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (39 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (33 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (40 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (40 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (39 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (50 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (51 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (52 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (55 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (72 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (109 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (134 ms)
14:17:04
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (508 ms)
14:17:04
✓ Should execute contract function that performs keccak_hash on input of length 10 (75 ms)
14:17:04
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms)
14:17:04
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (29 ms)
14:17:04
✓ Should execute contract function that performs pedersen_hash on input of length 10 (611 ms)
14:17:04
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (531 ms)
14:17:04 Environment getters
14:17:04
✓ address getter (25 ms)
14:17:04
✓ sender getter (44 ms)
14:17:04
✓ transactionFee getter (29 ms)
14:17:04
✓ chainId getter (27 ms)
14:17:04
✓ version getter (43 ms)
14:17:04
✓ blockNumber getter (30 ms)
14:17:04
✓ timestamp getter (26 ms)
14:17:04
✓ feePerDaGas getter (33 ms)
14:17:04
✓ feePerL2Gas getter (24 ms)
14:17:04 Side effects, world state, nested calls
14:17:04
✓ Should append a new note hash correctly (34 ms)
14:17:04
✓ Should append a new nullifier correctly (35 ms)
14:17:04 Note hash checks
14:17:04
✓ Should return false (and be traced) when noteHash does NOT exist (24 ms)
14:17:04
✓ Should return true (and be traced) when noteHash DOES exist (32 ms)
14:17:04
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
14:17:04 Nullifier checks
14:17:04
✓ Should return false (and be traced) when nullifier does NOT exist (27 ms)
14:17:04
✓ Should return true (and be traced) when nullifier DOES exist (20 ms)
14:17:04 L1ToL2 message checks
14:17:04
✓ Should return false (and be traced) when message does NOT exist (33 ms)
14:17:04
✓ Should return true (and be traced) when message DOES exist (28 ms)
14:17:04
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (29 ms)
14:17:04 Cached nullifiers
14:17:04
✓ Emits a nullifier and checks its existence (27 ms)
14:17:04
✓ Emits same nullifier twice (expect failure) (26 ms)
14:17:04 Public Logs
14:17:04
✓ Emit public logs (should be traced) (68 ms)
14:17:04 Public storage accesses
14:17:04
✓ Should set value in storage (single) (42 ms)
14:17:04
✓ Should read value in storage (single) (28 ms)
14:17:04
✓ Should set and read a value from storage (single) (27 ms)
14:17:04
✓ Should set a value in storage (list) (30 ms)
14:17:04
✓ Should read a value in storage (list) (28 ms)
14:17:04
✓ Should set a value in storage (map) (29 ms)
14:17:04
✓ Should read-add-set a value in storage (map) (35 ms)
14:17:04
✓ Should read value in storage (map) (29 ms)
14:17:04 Contract Instance Retrieval
14:17:04
✓ Can getContractInstance (26 ms)
14:17:04 Nested external calls
14:17:04
✓ Nested call to non-existent contract (25 ms)
14:17:04
✓ Nested call (168 ms)
14:17:04
✓ Nested static call (129 ms)
14:17:04
✓ Nested call with not enough gas (expect failure) (121 ms)
14:17:04
✓ Nested static call which modifies storage (expect failure) (145 ms)
14:17:04
✓ Nested calls rethrow exceptions (152 ms)
14:17:04
✓ Should handle returndatacopy oracle (114 ms)
14:17:04 Side effect trace errors on overflow
14:17:04
✓ Overrun of Public storage writes (13 ms)
14:17:04
✓ Overrun of New note hashes (23 ms)
14:17:04
✓ Overrun of New nullifiers (12 ms)
14:17:04
✓ Overrun of New unencrypted logs (1 ms)
14:17:04
✓ Overrun of New L1 to L2 messages (2 ms)
14:17:04 Side effects including merkle checks
14:17:04 Note hashes
14:17:04
✓ Should append new note hash correctly (296 ms)
14:17:04
✓ Note hash check properly returns exists=false (296 ms)
14:17:04
✓ Note hash check properly returns exists=true (276 ms)
14:17:04 Nullifiers
14:17:04
✓ Should append a new nullifier correctly (266 ms)
14:17:04
✓ Nullifier check properly returns exists=false (258 ms)
14:17:04
✓ Nullifier check properly returns exists=true (287 ms)
14:17:04 Public storage accesses
14:17:04
✓ Should set value in storage (single) (280 ms)
14:17:04
✓ Should read value in storage (single) - never written (258 ms)
14:17:04
✓ Should read value in storage (single) - written before, leaf exists (353 ms)
14:17:04
✓ Should set and read value in storage (single) (331 ms)
14:17:04
14:17:04
Test Suites: 1 passed, 1 total
14:17:04
Tests: 103 passed, 103 total
14:17:04
Snapshots: 0 total
14:17:04
Time: 11.462 s
14:17:04
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
14:17:04
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?