Parent Log:
http://ci.aztec-labs.com/e11ece80e16ce810
Command: 6978e0e5f3e9e568 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/db5c19349590089393771b38c3a27e7e65f736a6
Env: REF_NAME=release-please--branches--next CURRENT_VERSION=0.88.0 CI_FULL=0
Date: Mon Jun 23 17:23:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=release-please--branches--next_amd64
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
17:23:13 [17:23:13.222]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
17:23:17 [17:23:17.225]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
17:23:18 [17:23:18.132]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-861UI2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:18 [17:23:18.403]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9w2eZY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:18 [17:23:18.667]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-che2N5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:18 [17:23:18.917]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-TdsQrF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:19 [17:23:19.182]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-MjUgxc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:19 [17:23:19.412]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-hXMRhG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:19 [17:23:19.690]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7vlCaQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:19 [17:23:19.972]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-llvU2c/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:20 [17:23:20.232]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YrwVzy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:20 [17:23:20.484]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4Hxg2o/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:23:20
PASS src/public/avm/avm_simulator.test.ts (
10.086 s)
17:23:20 AVM simulator: injected bytecode
17:23:20
✓ Should execute bytecode that performs basic addition (7 ms)
17:23:20
✓ Should halt if runs out of gas (3 ms)
17:23:20
✓ An exceptional halt should consume all allocated gas (2 ms)
17:23:20 AVM simulator: transpiled Noir contracts
17:23:20
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
17:23:20
✓ addition (29 ms)
17:23:20
✓ addition via dispatch (231 ms)
17:23:20
✓ get_args_hash via dispatch (44 ms)
17:23:20
✓ modulo and u1 (20 ms)
17:23:20
✓ Should handle calldata oracle (26 ms)
17:23:20
✓ Should handle return oracle (20 ms)
17:23:20
✓ Should handle revert oracle (23 ms)
17:23:20
✓ ec_add should not revert (26 ms)
17:23:20
✓ elliptic curve operations (22 ms)
17:23:20
✓ pedersen commitment operations (34 ms)
17:23:20
✓ conditional move operations (22 ms)
17:23:20
✓ Logging (22 ms)
17:23:20
✓ Assertion message (44 ms)
17:23:20
✓ conversions (36 ms)
17:23:20
✓ should be able to execute contracts that only have private functions (2 ms)
17:23:20 msm
17:23:20
✓ low scalars (45 ms)
17:23:20
✓ with a zero (27 ms)
17:23:20
✓ high scalars (145 ms)
17:23:20 U128 addition and overflows
17:23:20
✓ U128 addition (19 ms)
17:23:20
✓ Expect failure on U128::add() overflow (48 ms)
17:23:20 SET functions
17:23:20
✓ function 'set_opcode_u8' (23 ms)
17:23:20
✓ function 'set_opcode_u32' (20 ms)
17:23:20
✓ function 'set_opcode_u64' (20 ms)
17:23:20
✓ function 'set_opcode_small_field' (30 ms)
17:23:20
✓ function 'set_opcode_big_field' (24 ms)
17:23:20
✓ function 'set_opcode_really_big_field' (21 ms)
17:23:20 Hashes in noir contracts
17:23:20
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (32 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (29 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (30 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (32 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (34 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (35 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (34 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (42 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (90 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (133 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (139 ms)
17:23:20
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (384 ms)
17:23:20
✓ Should execute contract function that performs keccak_hash on input of length 10 (46 ms)
17:23:20
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms)
17:23:20
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (15 ms)
17:23:20
✓ Should execute contract function that performs pedersen_hash on input of length 10 (499 ms)
17:23:20
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (417 ms)
17:23:20 Environment getters
17:23:20
✓ address getter (18 ms)
17:23:20
✓ sender getter (22 ms)
17:23:20
✓ transactionFee getter (20 ms)
17:23:20
✓ chainId getter (19 ms)
17:23:20
✓ version getter (21 ms)
17:23:20
✓ blockNumber getter (19 ms)
17:23:20
✓ timestamp getter (28 ms)
17:23:20
✓ feePerDaGas getter (30 ms)
17:23:20
✓ feePerL2Gas getter (28 ms)
17:23:20 Side effects, world state, nested calls
17:23:20
✓ Should append a new note hash correctly (20 ms)
17:23:20
✓ Should append a new nullifier correctly (30 ms)
17:23:20 Note hash checks
17:23:20
✓ Should return false (and be traced) when noteHash does NOT exist (33 ms)
17:23:20
✓ Should return true (and be traced) when noteHash DOES exist (30 ms)
17:23:20
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms)
17:23:20 Nullifier checks
17:23:20
✓ Should return false (and be traced) when nullifier does NOT exist (24 ms)
17:23:20
✓ Should return true (and be traced) when nullifier DOES exist (18 ms)
17:23:20 L1ToL2 message checks
17:23:20
✓ Should return false (and be traced) when message does NOT exist (19 ms)
17:23:20
✓ Should return true (and be traced) when message DOES exist (21 ms)
17:23:20
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
17:23:20 Cached nullifiers
17:23:20
✓ Emits a nullifier and checks its existence (30 ms)
17:23:20
✓ Emits same nullifier twice (expect failure) (33 ms)
17:23:20 Public Logs
17:23:20
✓ Emit public logs (should be traced) (45 ms)
17:23:20 Public storage accesses
17:23:20
✓ Should set value in storage (single) (24 ms)
17:23:20
✓ Should read value in storage (single) (18 ms)
17:23:20
✓ Should set and read a value from storage (single) (20 ms)
17:23:20
✓ Should set a value in storage (list) (22 ms)
17:23:20
✓ Should read a value in storage (list) (19 ms)
17:23:20
✓ Should set a value in storage (map) (25 ms)
17:23:20
✓ Should read-add-set a value in storage (map) (39 ms)
17:23:20
✓ Should read value in storage (map) (24 ms)
17:23:20 Contract Instance Retrieval
17:23:20
✓ Can getContractInstance (35 ms)
17:23:20 Nested external calls
17:23:20
✓ Nested call to non-existent contract (26 ms)
17:23:20
✓ Nested call (153 ms)
17:23:20
✓ Nested static call (114 ms)
17:23:20
✓ Nested call with not enough gas (expect failure) (98 ms)
17:23:20
✓ Nested static call which modifies storage (expect failure) (103 ms)
17:23:20
✓ Nested calls rethrow exceptions (188 ms)
17:23:20
✓ Should handle returndatacopy oracle (177 ms)
17:23:20 Side effect trace errors on overflow
17:23:20
✓ Overrun of Public storage writes (14 ms)
17:23:20
✓ Overrun of New note hashes (25 ms)
17:23:20
✓ Overrun of New nullifiers (14 ms)
17:23:20
✓ Overrun of New unencrypted logs (2 ms)
17:23:20
✓ Overrun of New L1 to L2 messages (2 ms)
17:23:20 Side effects including merkle checks
17:23:20 Note hashes
17:23:20
✓ Should append new note hash correctly (276 ms)
17:23:20
✓ Note hash check properly returns exists=false (265 ms)
17:23:20
✓ Note hash check properly returns exists=true (252 ms)
17:23:20 Nullifiers
17:23:20
✓ Should append a new nullifier correctly (265 ms)
17:23:20
✓ Nullifier check properly returns exists=false (228 ms)
17:23:20
✓ Nullifier check properly returns exists=true (277 ms)
17:23:20 Public storage accesses
17:23:20
✓ Should set value in storage (single) (285 ms)
17:23:20
✓ Should read value in storage (single) - never written (258 ms)
17:23:20
✓ Should read value in storage (single) - written before, leaf exists (251 ms)
17:23:20
✓ Should set and read value in storage (single) (246 ms)
17:23:20
17:23:20
Test Suites: 1 passed, 1 total
17:23:20
Tests: 103 passed, 103 total
17:23:20
Snapshots: 0 total
17:23:20
Time: 10.182 s
17:23:20
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
17:23:20
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?