-
Notifications
You must be signed in to change notification settings - Fork 599
Expand file tree
/
Copy path.test_patterns.yml
More file actions
345 lines (310 loc) · 11.3 KB
/
.test_patterns.yml
File metadata and controls
345 lines (310 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
# Describes tests that we either:
# - Outright skip.
# - Run and alert owners on failure.
# To outright skip a test add a "skip: true" property.
# Only do this for tests that are currently expected to fail constantly and the noise is unbearable!
# Otherwise, tests must have owner(s). Owners are identified by their Slack id, (profile, three dots, copy member id).
# If there is no owner for failed test the build will fail, regardless of if it matches in this file.
# When a failing test matches one or more of the "regex" properties below,
# a message is sent to slack channel #aztec3-ci tagging the owners.
# If an optional error_regex is provided, the output file must match for the test to be considered a flake.
names:
- adam: &adam "U04BM8H25NJ"
- akosh: &akosh "U07PQ3Y4GHJ"
- alex: &alex "U05QWV669JB"
- charlie: &charlie "UKUMA5J7K"
- david: &david "U03T2QRT1NW"
- grego: &grego "U0689QRCE9L"
- lasse: &lasse "U03E5SYLY3Z"
- leila: &leila "UBLTU1NJ3"
- luke: &luke "U03JYU7AQET"
- mitch: &mitch "U06AY5G1NRK"
- palla: &palla "U04TPBU26E8"
- phil: &phil "U02G4KAD57Y"
- sean: &sean "U04DT239VQU"
- tom: &tom "U04LLT331NK"
- sergei: &sergei "U05RR81391B"
- spyros: &spyros "U03FCET0DQE"
- jan: &jan "U03FGA0BWNR"
- esau: &esau "U067FJ9A4Q1"
- saleel: &saleel "U07KJ0AV20J"
- martin: &martin "U09MZMSNZ96"
- nico: &nico "U06D2QSLY10"
- lucas: &lucas "U05MW7WQ8LQ"
- suyash: &suyash "U08QFSL6LPM"
flake_groups:
# flake_error_threshold: Only use during times of expected instability (eg. pre-release crunch).
# Threshold of 5 = tolerate at most 4 flakes before failing the build.
# DO NOT expand use of this feature without buy-in from the team. It's a last resort, not a standard practice.
- id: e2e-p2p-epoch-flakes
name: "E2E P2P and Epoch Tests"
flake_error_threshold: 5
tests:
# barretenberg
#
# Rare. But I saw it happen twice in 10 CI runs. Then twice in 10000 mainframe runs. Today I can't reproduce.
# Grind with: seq 1 10000 | parallel --bar "barretenberg/cpp/scripts/run_test.sh join_split_example_tests join_split_tests.test_defi_deposit_second_bridge_output_in_use_and_same_virtual_bridge_output_asset_ids >/dev/null"
# Logic failed: field_t::range_constraint
# /home/aztec-dev/aztec-packages/barretenberg/cpp/src/barretenberg/examples/join_split/join_split.test.cpp:1735: Failure
# Value of: result.valid
# Actual: false
# Expected: true
- regex: "join_split_example_tests"
error_regex: "field_t::range_constraint"
owners:
- *luke
- regex: "barretenberg/cpp/scripts/run_bench.sh wasm bb-micro-bench/wasm/ultra_honk"
error_regex: "Aborted.*core dumped"
owners:
- *adam
- regex: "barretenberg/cpp/scripts/run_bench.sh wasm bb-micro-bench/wasm/chonk build-wasm-threads/bin/chonk_bench"
owners:
- *luke
# noir
# Something to do with how I run the tests now. Think these are fine in nextest.
- regex: "noir_lsp-.* notifications::notification_tests::test_caches_open_files"
skip: true
owners:
- *charlie
- regex: "noir_lsp-.* requests::"
skip: true
owners:
- *charlie
# Sometimes see this on ARM. But not when run on it's own...
- regex: "tests::debug_ram_blowup_regression"
skip: true
owners:
- *charlie
# AD: hit this flake
# 18:04:38 thread 'arb_program_freqs_in_expected_range' panicked at tooling/ast_fuzzer/tests/calibration.rs:75:5:
# 18:04:38 Brillig loops: 11
# 18:04:38 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
- regex: "noir/scripts/run_test.sh calibration.* arb_program_freqs_in_expected_range"
error_regex: "panicked at tooling/ast_fuzzer/tests/calibration.rs"
owners:
- *tom
- regex: "aztec-nr noir_aztec test::helpers::test_environment::test::events::"
error_regex: "Failed to solve brillig function"
owners:
- *nico
# e2e tests skipped
- regex: "testbench/port_change.test.ts"
skip: true
owners:
- *sean
# bricked in new version of anvil added to build image (foundry 1.4.1).
- regex: "src/composed/uniswap_trade_on_l1_from_l2.test.ts"
skip: true
owners:
- *alex
- regex: "src/e2e_fees/private_payments"
owners:
- *phil
- regex: "src/e2e_token_contract/access_control"
error_regex: "HttpRequestError: HTTP request failed."
owners:
- *charlie
- regex: "src/e2e_lending_contract"
error_regex: "✕ Depositing"
owners:
- *lasse
- regex: "src/e2e_lending_contract"
error_regex: "✕ Repay"
owners:
- *lasse
# http://ci.aztec-labs.com/e85ff6c5da65a1e7
- regex: "src/e2e_cross_chain_messaging/l1_to_l2.test.ts"
error_regex: "Failed to advance block"
owners:
- *palla
- regex: "src/e2e_cross_chain_messaging/token_bridge_private"
error_regex: "✕ Claim secret is enough to consume the message"
owners:
- *lasse
- regex: "src/e2e_cross_chain_messaging/token_bridge_public"
error_regex: "✕ Someone else can mint funds to me on my behalf"
owners:
- *lasse
- regex: "src/e2e_cross_chain_messaging/token_bridge_public"
error_regex: "✕ Publicly deposit funds"
owners:
- *lasse
- regex: "src/e2e_cross_chain_messaging/token_bridge_failure_cases"
error_regex: "✕ Can't claim funds"
owners:
- *lasse
- regex: "src/e2e_l1_publisher/e2e_l1_publisher.test.ts"
error_regex: "Anvil failed to stop in time|Cannot read properties of undefined"
owners:
- *palla
# yarn-project tests
- regex: "yarn-project/kv-store"
error_regex: "Could not import your test module"
owners:
- *grego
- regex: "yarn-project/kv-store"
error_regex: "timeout: sending signal TERM to command"
owners:
- *alex
- regex: "yarn-project/kv-store"
error_regex: "Failed to fetch dynamically imported module"
owners:
- *grego
- regex: "yarn-project/kv-store"
error_regex: "Error: Timeout of 2000ms exceeded"
owners:
- *martin
- regex: "ethereum/src/test/tx_delayer.test.ts"
error_regex: "delays a transaction until a given L1 timestamp"
owners:
- *esau
- regex: "slasher/src/slasher_client.test.ts"
error_regex: "ContractFunctionExecutionError: The contract function"
owners:
- *mitch
- regex: "archiver/src/archiver/archiver.test.ts"
error_regex: "Received number of calls: 1"
owners:
- *palla
- regex: "archiver/src/archiver/archiver.test.ts"
error_regex: "Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block"
owners:
- *palla
- regex: "p2p/src/services/discv5/discv5_service.test.ts"
owners:
- *phil
- *palla
# Nightly GKE tests
- regex: "spartan/bootstrap.sh"
owners:
- *alex
# aztec-up
- regex: "aztec-up/scripts/run_test.sh"
error_regex: "Is the docker daemon running"
owners:
- *charlie
- regex: "aztec-up/scripts/run_test.sh amm_flow"
error_regex: "code: 124"
owners:
- *esau
- regex: "aztec-up/scripts/run_test.sh amm_flow"
error_regex: "Sumcheck failed"
owners:
- *luke
- regex: "aztec-up/scripts/run_test.sh bridge_and_claim"
error_regex: "Cannot satisfy constraint"
owners:
- *adam
- regex: "yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_bot.test.ts"
error_regex: "Nonce provided for the transaction is lower than the current nonce of the account"
owners:
- *adam
# boxes
- regex: "vanilla-all-browsers box boxes"
error_regex: "Error: Timed out [0-9]+ms waiting for expect\\(locator\\)"
owners:
- *saleel
- regex: "run_compose_test vite-[a-z]* box boxes"
error_regex: "Test timeout of [0-9]+ms exceeded."
owners:
- *saleel
- regex: "run_compose_test react-[a-z]* box boxes"
error_regex: "Test timeout of [0-9]+ms exceeded."
owners:
- *saleel
- regex: "tests/browser.spec.ts"
error_regex: "Error: locator\\.click: Test timeout of"
owners:
- *saleel
- regex: "run_compose_test vanilla-all-browsers box boxes"
error_regex: "Tag mismatch at offset 0|app_logic_reverted|public bytecode has not been transpiled"
owners:
- *david
- regex: "amm_flow.sh"
owners:
- *grego
# Slack testing.
- regex: "nonsense to match"
error_regex: "something else"
owners:
- *charlie
- *adam
- regex: "src/e2e_epochs/epochs_l1_reorgs.parallel.test.ts"
skip: true
owners:
- *phil
# Blanket flake patterns for unstable p2p, epoch, and l1 tx utils tests
# This is a temporary measure while team bandwidth is constrained
# Replaced many specific patterns - see https://github.com/AztecProtocol/aztec-packages/pull/17962 for historical context
- regex: "src/e2e_p2p/.*\\.test\\.ts"
flake_group_id: e2e-p2p-epoch-flakes
owners:
- *phil
- regex: "src/e2e_epochs/.*\\.test\\.ts"
flake_group_id: e2e-p2p-epoch-flakes
owners:
- *palla
- regex: "p2p/src/client/test/.*\\.test\\.ts"
flake_group_id: e2e-p2p-epoch-flakes
owners:
- *palla
- *phil
- regex: "ethereum/src/l1_tx_utils/.*\\.test\\.ts"
flake_group_id: e2e-p2p-epoch-flakes
owners:
- *palla
- regex: "bb-micro-bench/wasm/chonk build-wasm-threads/bin/chonk_bench"
error_regex: "core dumped"
owners:
- *adam
- regex: "src/e2e_token_bridge_tutorial.test.ts"
error_regex: "Error: Unable to find low leaf for block"
owners:
- *leila
# http://ci.aztec-labs.com/61d96be1402847b1
- regex: "src/composed/e2e_token_bridge_tutorial_test.test.ts"
error_regex: "Exceeded timeout of [0-9]+ ms for a test"
owners:
- *palla
- regex: "e2e_block_building"
error_regex: "✕ processes txs until hitting timetable"
owners:
- *palla
# http://ci.aztec-labs.com/e8228a36afda93b8
# Test passed but there was an error on stopping
- regex: "playground/scripts/run_test.sh"
error_regex: "playground-1\\s+\\|\\s+1 passed \\("
owners:
- *adam
# http://ci.aztec-labs.com/21afdb4a42f3474d
# Test passed but there was an error on stopping
- regex: "yarn-project/end-to-end/scripts/run_test.sh compose"
error_regex: "tried to kill container, but did not receive an exit event"
owners:
- *adam
- regex: "cd l1-contracts && forge test"
error_regex: "Encountered 1 failing test in test/staking_asset_handler/claim.t.sol:ClaimTest"
owners:
- *lasse
- regex: "yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_fees/gas_estimation.test.ts"
error_regex: "timeout: sending signal TERM to command 'bash'"
owners:
- *alex
- regex: "yarn-project/end-to-end/scripts/run_test.sh compose src/composed/docs_examples.test.ts"
error_regex: "maxFeesPerGas.feePerL2Gas must be greater than or equal to gasFees.feePerL2Gas,"
owners:
- *esau
- regex: "yarn-project/end-to-end/scripts/run_test.sh ha src/composed/ha/e2e_ha_full.test.ts"
error_regex: "✕ should coordinate governance voting across HA nodes"
owners:
- *spyros
# http://ci.aztec-labs.com/98d59d04f85223f8
# Build-cache flake: module not found during Jest startup
- regex: "src/e2e_sequencer/gov_proposal.parallel.test.ts"
error_regex: "Cannot find module '@aztec/sequencer-client/config'"
owners:
- *palla
- regex: "yarn-project/scripts/run_test.sh bb-prover/src/avm_proving_tests/avm_"
error_regex: "timeout: sending signal"
owners:
- *charlie