Parent Log:
http://ci.aztec-labs.com/8f0e17f4e3d757c2
Command: f8dcf08d5c6024d3 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/254faae7d330e160b14c6eaaa099dc92d4a9cac7
Env: REF_NAME=gh-readonly-queue/next/pr-14870-10badd24359b04680068afd9ca24407383374db1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 11:53:20 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14870_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
11:53:23 [11:53:23.714]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
11:53:27 [11:53:27.098]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
11:53:28 [11:53:28.427]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-BzrHG1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:28 [11:53:28.707]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wHKTmp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:28 [11:53:28.946]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-qe2Ja2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:29 [11:53:29.156]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NwguLf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:29 [11:53:29.403]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YeT9os/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:29 [11:53:29.653]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6EQqSF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:29 [11:53:29.919]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MF6tdg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:30 [11:53:30.177]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Zpauig/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:30 [11:53:30.445]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wNa5O6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:30 [11:53:30.705]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-vkbabi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:53:30
PASS src/public/avm/avm_simulator.test.ts (
9.807 s)
11:53:30 AVM simulator: injected bytecode
11:53:30
✓ Should execute bytecode that performs basic addition (7 ms)
11:53:30
✓ Should halt if runs out of gas (2 ms)
11:53:30
✓ An exceptional halt should consume all allocated gas (2 ms)
11:53:30 AVM simulator: transpiled Noir contracts
11:53:30
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
11:53:30
✓ addition (30 ms)
11:53:30
✓ addition via dispatch (226 ms)
11:53:30
✓ get_args_hash via dispatch (34 ms)
11:53:30
✓ modulo and u1 (22 ms)
11:53:30
✓ Should handle calldata oracle (23 ms)
11:53:30
✓ Should handle return oracle (23 ms)
11:53:30
✓ Should handle revert oracle (24 ms)
11:53:30
✓ ec_add should not revert (18 ms)
11:53:30
✓ elliptic curve operations (23 ms)
11:53:30
✓ pedersen commitment operations (35 ms)
11:53:30
✓ conditional move operations (22 ms)
11:53:30
✓ Logging (17 ms)
11:53:30
✓ Assertion message (36 ms)
11:53:30
✓ conversions (14 ms)
11:53:30
✓ should be able to execute contracts that only have private functions (1 ms)
11:53:30 msm
11:53:30
✓ low scalars (34 ms)
11:53:30
✓ with a zero (23 ms)
11:53:30
✓ high scalars (121 ms)
11:53:30 U128 addition and overflows
11:53:30
✓ U128 addition (17 ms)
11:53:30
✓ Expect failure on U128::add() overflow (36 ms)
11:53:30 SET functions
11:53:30
✓ function 'set_opcode_u8' (14 ms)
11:53:30
✓ function 'set_opcode_u32' (18 ms)
11:53:30
✓ function 'set_opcode_u64' (18 ms)
11:53:30
✓ function 'set_opcode_small_field' (14 ms)
11:53:30
✓ function 'set_opcode_big_field' (13 ms)
11:53:30
✓ function 'set_opcode_really_big_field' (16 ms)
11:53:30 Hashes in noir contracts
11:53:30
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (21 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (20 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (21 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (26 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (26 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (22 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (35 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (31 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (31 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (33 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (55 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (57 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (92 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (91 ms)
11:53:30
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (438 ms)
11:53:30
✓ Should execute contract function that performs keccak_hash on input of length 10 (54 ms)
11:53:30
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms)
11:53:30
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms)
11:53:30
✓ Should execute contract function that performs pedersen_hash on input of length 10 (421 ms)
11:53:30
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (408 ms)
11:53:30 Environment getters
11:53:30
✓ address getter (20 ms)
11:53:30
✓ sender getter (18 ms)
11:53:30
✓ transactionFee getter (24 ms)
11:53:30
✓ chainId getter (18 ms)
11:53:30
✓ version getter (16 ms)
11:53:30
✓ blockNumber getter (20 ms)
11:53:30
✓ timestamp getter (14 ms)
11:53:30
✓ feePerDaGas getter (14 ms)
11:53:30
✓ feePerL2Gas getter (18 ms)
11:53:30 Side effects, world state, nested calls
11:53:30
✓ Should append a new note hash correctly (17 ms)
11:53:30
✓ Should append a new nullifier correctly (17 ms)
11:53:30 Note hash checks
11:53:30
✓ Should return false (and be traced) when noteHash does NOT exist (16 ms)
11:53:30
✓ Should return true (and be traced) when noteHash DOES exist (18 ms)
11:53:30
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
11:53:30 Nullifier checks
11:53:30
✓ Should return false (and be traced) when nullifier does NOT exist (13 ms)
11:53:30
✓ Should return true (and be traced) when nullifier DOES exist (20 ms)
11:53:30 L1ToL2 message checks
11:53:30
✓ Should return false (and be traced) when message does NOT exist (16 ms)
11:53:30
✓ Should return true (and be traced) when message DOES exist (18 ms)
11:53:30
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (14 ms)
11:53:30 Cached nullifiers
11:53:30
✓ Emits a nullifier and checks its existence (13 ms)
11:53:30
✓ Emits same nullifier twice (expect failure) (15 ms)
11:53:30 Public Logs
11:53:30
✓ Emit public logs (should be traced) (37 ms)
11:53:30 Public storage accesses
11:53:30
✓ Should set value in storage (single) (16 ms)
11:53:30
✓ Should read value in storage (single) (20 ms)
11:53:30
✓ Should set and read a value from storage (single) (18 ms)
11:53:30
✓ Should set a value in storage (list) (14 ms)
11:53:30
✓ Should read a value in storage (list) (17 ms)
11:53:30
✓ Should set a value in storage (map) (19 ms)
11:53:30
✓ Should read-add-set a value in storage (map) (26 ms)
11:53:30
✓ Should read value in storage (map) (18 ms)
11:53:30 Contract Instance Retrieval
11:53:30
✓ Can getContractInstance (17 ms)
11:53:30 Nested external calls
11:53:30
✓ Nested call to non-existent contract (20 ms)
11:53:30
✓ Nested call (195 ms)
11:53:30
✓ Nested static call (188 ms)
11:53:30
✓ Nested call with not enough gas (expect failure) (192 ms)
11:53:30
✓ Nested static call which modifies storage (expect failure) (236 ms)
11:53:30
✓ Nested calls rethrow exceptions (222 ms)
11:53:30
✓ Should handle returndatacopy oracle (228 ms)
11:53:30 Side effect trace errors on overflow
11:53:30
✓ Overrun of Public storage writes (12 ms)
11:53:30
✓ Overrun of New note hashes (19 ms)
11:53:30
✓ Overrun of New nullifiers (12 ms)
11:53:30
✓ Overrun of New unencrypted logs (2 ms)
11:53:30
✓ Overrun of New L1 to L2 messages (2 ms)
11:53:30 Side effects including merkle checks
11:53:30 Note hashes
11:53:30
✓ Should append new note hash correctly (289 ms)
11:53:30
✓ Note hash check properly returns exists=false (239 ms)
11:53:30
✓ Note hash check properly returns exists=true (210 ms)
11:53:30 Nullifiers
11:53:30
✓ Should append a new nullifier correctly (247 ms)
11:53:30
✓ Nullifier check properly returns exists=false (247 ms)
11:53:30
✓ Nullifier check properly returns exists=true (266 ms)
11:53:30 Public storage accesses
11:53:30
✓ Should set value in storage (single) (261 ms)
11:53:30
✓ Should read value in storage (single) - never written (265 ms)
11:53:30
✓ Should read value in storage (single) - written before, leaf exists (261 ms)
11:53:30
✓ Should set and read value in storage (single) (227 ms)
11:53:30
11:53:30
Test Suites: 1 passed, 1 total
11:53:30
Tests: 103 passed, 103 total
11:53:30
Snapshots: 0 total
11:53:30
Time: 9.905 s
11:53:30
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
11:53:30
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?