Parent Log:
http://ci.aztec-labs.com/83a09fc9caed2b26
Command: 72b59a67627043b2 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/433ba6218aed45169029991a493e4232b30b8ec6
Env: REF_NAME=gh-readonly-queue/next/pr-15114-23ff13c6b16a0c1333bf26aa5c213054c92403c3 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 17:53:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15114_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
17:53:36 [17:53:36.777]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
17:53:41 [17:53:41.177]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
17:53:42 [17:53:42.051]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WjrmNU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:42 [17:53:42.306]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gjl2BW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:42 [17:53:42.541]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-q1HEsO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:42 [17:53:42.811]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-DbRBjB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:43 [17:53:43.056]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JkwM9O/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:43 [17:53:43.296]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-dVZPxN/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:43 [17:53:43.533]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-aEQUx3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:43 [17:53:43.786]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-RKAaD1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:44 [17:53:44.039]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-SgrnJn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:44 [17:53:44.345]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-FGN2YP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:53:44
PASS src/public/avm/avm_simulator.test.ts (
10.624 s)
17:53:44 AVM simulator: injected bytecode
17:53:44
✓ Should execute bytecode that performs basic addition (6 ms)
17:53:44
✓ Should halt if runs out of gas (2 ms)
17:53:44
✓ An exceptional halt should consume all allocated gas (1 ms)
17:53:44 AVM simulator: transpiled Noir contracts
17:53:44
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
17:53:44
✓ addition (26 ms)
17:53:44
✓ addition via dispatch (230 ms)
17:53:44
✓ get_args_hash via dispatch (47 ms)
17:53:44
✓ modulo and u1 (25 ms)
17:53:44
✓ Should handle calldata oracle (31 ms)
17:53:44
✓ Should handle return oracle (23 ms)
17:53:44
✓ Should handle revert oracle (25 ms)
17:53:44
✓ ec_add should not revert (24 ms)
17:53:44
✓ elliptic curve operations (34 ms)
17:53:44
✓ pedersen commitment operations (42 ms)
17:53:44
✓ conditional move operations (28 ms)
17:53:44
✓ Logging (34 ms)
17:53:44
✓ Assertion message (38 ms)
17:53:44
✓ conversions (16 ms)
17:53:44
✓ should be able to execute contracts that only have private functions (1 ms)
17:53:44 msm
17:53:44
✓ low scalars (44 ms)
17:53:44
✓ with a zero (30 ms)
17:53:44
✓ high scalars (148 ms)
17:53:44 U128 addition and overflows
17:53:44
✓ U128 addition (29 ms)
17:53:44
✓ Expect failure on U128::add() overflow (56 ms)
17:53:44 SET functions
17:53:44
✓ function 'set_opcode_u8' (22 ms)
17:53:44
✓ function 'set_opcode_u32' (24 ms)
17:53:44
✓ function 'set_opcode_u64' (24 ms)
17:53:44
✓ function 'set_opcode_small_field' (19 ms)
17:53:44
✓ function 'set_opcode_big_field' (21 ms)
17:53:44
✓ function 'set_opcode_really_big_field' (22 ms)
17:53:44 Hashes in noir contracts
17:53:44
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (27 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (35 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (42 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (31 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (32 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (45 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (33 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (39 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (40 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (78 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (64 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (123 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (105 ms)
17:53:44
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (579 ms)
17:53:44
✓ Should execute contract function that performs keccak_hash on input of length 10 (46 ms)
17:53:44
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms)
17:53:44
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms)
17:53:44
✓ Should execute contract function that performs pedersen_hash on input of length 10 (584 ms)
17:53:44
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (540 ms)
17:53:44 Environment getters
17:53:44
✓ address getter (28 ms)
17:53:44
✓ sender getter (20 ms)
17:53:44
✓ transactionFee getter (19 ms)
17:53:44
✓ chainId getter (20 ms)
17:53:44
✓ version getter (24 ms)
17:53:44
✓ blockNumber getter (21 ms)
17:53:44
✓ timestamp getter (28 ms)
17:53:44
✓ feePerDaGas getter (33 ms)
17:53:44
✓ feePerL2Gas getter (21 ms)
17:53:44 Side effects, world state, nested calls
17:53:44
✓ Should append a new note hash correctly (24 ms)
17:53:44
✓ Should append a new nullifier correctly (28 ms)
17:53:44 Note hash checks
17:53:44
✓ Should return false (and be traced) when noteHash does NOT exist (21 ms)
17:53:44
✓ Should return true (and be traced) when noteHash DOES exist (17 ms)
17:53:44
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
17:53:44 Nullifier checks
17:53:44
✓ Should return false (and be traced) when nullifier does NOT exist (18 ms)
17:53:44
✓ Should return true (and be traced) when nullifier DOES exist (23 ms)
17:53:44 L1ToL2 message checks
17:53:44
✓ Should return false (and be traced) when message does NOT exist (18 ms)
17:53:44
✓ Should return true (and be traced) when message DOES exist (31 ms)
17:53:44
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
17:53:44 Cached nullifiers
17:53:44
✓ Emits a nullifier and checks its existence (28 ms)
17:53:44
✓ Emits same nullifier twice (expect failure) (20 ms)
17:53:44 Public Logs
17:53:44
✓ Emit public logs (should be traced) (38 ms)
17:53:44 Public storage accesses
17:53:44
✓ Should set value in storage (single) (35 ms)
17:53:44
✓ Should read value in storage (single) (29 ms)
17:53:44
✓ Should set and read a value from storage (single) (30 ms)
17:53:44
✓ Should set a value in storage (list) (34 ms)
17:53:44
✓ Should read a value in storage (list) (27 ms)
17:53:44
✓ Should set a value in storage (map) (24 ms)
17:53:44
✓ Should read-add-set a value in storage (map) (28 ms)
17:53:44
✓ Should read value in storage (map) (27 ms)
17:53:44 Contract Instance Retrieval
17:53:44
✓ Can getContractInstance (25 ms)
17:53:44 Nested external calls
17:53:44
✓ Nested call to non-existent contract (22 ms)
17:53:44
✓ Nested call (146 ms)
17:53:44
✓ Nested static call (139 ms)
17:53:44
✓ Nested call with not enough gas (expect failure) (119 ms)
17:53:44
✓ Nested static call which modifies storage (expect failure) (136 ms)
17:53:44
✓ Nested calls rethrow exceptions (150 ms)
17:53:44
✓ Should handle returndatacopy oracle (109 ms)
17:53:44 Side effect trace errors on overflow
17:53:44
✓ Overrun of Public storage writes (11 ms)
17:53:44
✓ Overrun of New note hashes (18 ms)
17:53:44
✓ Overrun of New nullifiers (13 ms)
17:53:44
✓ Overrun of New unencrypted logs (2 ms)
17:53:44
✓ Overrun of New L1 to L2 messages (2 ms)
17:53:44 Side effects including merkle checks
17:53:44 Note hashes
17:53:44
✓ Should append new note hash correctly (270 ms)
17:53:44
✓ Note hash check properly returns exists=false (236 ms)
17:53:44
✓ Note hash check properly returns exists=true (272 ms)
17:53:44 Nullifiers
17:53:44
✓ Should append a new nullifier correctly (245 ms)
17:53:44
✓ Nullifier check properly returns exists=false (239 ms)
17:53:44
✓ Nullifier check properly returns exists=true (238 ms)
17:53:44 Public storage accesses
17:53:44
✓ Should set value in storage (single) (249 ms)
17:53:44
✓ Should read value in storage (single) - never written (250 ms)
17:53:44
✓ Should read value in storage (single) - written before, leaf exists (311 ms)
17:53:44
✓ Should set and read value in storage (single) (263 ms)
17:53:44
17:53:44
Test Suites: 1 passed, 1 total
17:53:44
Tests: 103 passed, 103 total
17:53:44
Snapshots: 0 total
17:53:44
Time: 10.756 s
17:53:44
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
17:53:44
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?