Skip to content

Commit e8e81cb

Browse files
drtprod: updates in PUA yaml
This PR updates the phases name in the PUA configuration yaml files. Epic: none Release note: None
1 parent c81390f commit e8e81cb

File tree

2 files changed

+20
-28
lines changed

2 files changed

+20
-28
lines changed

pkg/cmd/drtprod/configs/drt_pua_9.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ targets:
238238
- --
239239
- "sudo systemd-run --unit tpcc_run --same-dir --uid $(id -u) --gid $(id -g) bash ./tpcc_run_cct_tpcc.sh"
240240
wait: 3600
241-
- target_name: "Phase-2: Endogenous Stress"
241+
- target_name: "Phase-2: Internal Operational Stress"
242242
dependent_targets:
243243
- "Phase-1: Baseline TPC-C Performance"
244244
steps:
@@ -265,10 +265,6 @@ targets:
265265
- -e
266266
- "CREATE INDEX add_index_o_w_id ON cct_tpcc.public.order (o_w_id)"
267267
wait: 700
268-
- target_name: "Phase-3: Rolling Upgrade"
269-
dependent_targets:
270-
- "Phase-2: Endogenous Stress"
271-
steps:
272268
- command: deploy # rolling upgrade
273269
args:
274270
- $CLUSTER
@@ -278,19 +274,19 @@ targets:
278274
pause: 5m
279275
grace-period: 500
280276
wait: 300
281-
- target_name: "Phase-4: Flaky Disks"
277+
- target_name: "Phase-3: Disk Stalls"
282278
dependent_targets:
283-
- "Phase-3: Rolling Upgrade"
279+
- "Phase-2: Internal Operational Stress"
284280
steps:
285281
- command: run
286282
args:
287283
- $WORKLOAD_CLUSTER:1
288284
- --
289285
- "./run_ops_disk-stall.sh"
290286
wait: 1200
291-
- target_name: "Phase-5: Network Partition"
287+
- target_name: "Phase-4: Network Failure"
292288
dependent_targets:
293-
- "Phase-4: Flaky Disks"
289+
- "Phase-3: Disk Stalls"
294290
steps:
295291
- command: run
296292
args:
@@ -304,9 +300,9 @@ targets:
304300
- --
305301
- "./run_ops_network-partition-full.sh"
306302
wait: 1500
307-
- target_name: "Phase-6: Node Restarts"
303+
- target_name: "Phase-5: Node Restarts"
308304
dependent_targets:
309-
- "Phase-5: Network Partition"
305+
- "Phase-4: Network Failure"
310306
steps:
311307
- command: stop # ungraceful shutdown of node 2
312308
args:
@@ -338,9 +334,9 @@ targets:
338334
flags:
339335
restart: true
340336
wait: 1500
341-
- target_name: "Phase-7: Zone Outages"
337+
- target_name: "Phase-6: Zone Outages"
342338
dependent_targets:
343-
- "Phase-6: Node Restarts"
339+
- "Phase-5: Node Restarts"
344340
steps:
345341
- command: stop # ungraceful shutdown of nodes 7-9 to simulate zone outage
346342
args:

pkg/cmd/drtprod/configs/drt_pua_mr.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ targets:
242242
- --
243243
- "sudo systemd-run --unit tpcc_run --same-dir --uid $(id -u) --gid $(id -g) bash ./tpcc_run.sh"
244244
wait: 3600
245-
- target_name: "Phase-2: Endogenous Stress"
245+
- target_name: "Phase-2: Internal Operational Stress"
246246
dependent_targets:
247247
- "Phase-1: Baseline TPC-C Performance"
248248
steps:
@@ -271,10 +271,6 @@ targets:
271271
- -e
272272
- "CREATE INDEX add_index_o_w_id ON cct_tpcc.public.order (o_w_id)"
273273
wait: 700
274-
- target_name: "Phase-3: Rolling Upgrade"
275-
dependent_targets:
276-
- "Phase-2: Endogenous Stress"
277-
steps:
278274
- command: deploy # rolling upgrade
279275
args:
280276
- $CLUSTER
@@ -284,19 +280,19 @@ targets:
284280
pause: 5m
285281
grace-period: 500
286282
wait: 300
287-
- target_name: "Phase-4: Flaky Disks"
283+
- target_name: "Phase-3: Disk Stalls"
288284
dependent_targets:
289-
- "Phase-3: Rolling Upgrade"
285+
- "Phase-2: Internal Operational Stress"
290286
steps:
291287
- command: run
292288
args:
293289
- $WORKLOAD_CLUSTER:1
294290
- --
295291
- "./run_ops_disk-stall.sh"
296292
wait: 1200
297-
- target_name: "Phase-5: Network Partition"
293+
- target_name: "Phase-4: Network Failure"
298294
dependent_targets:
299-
- "Phase-4: Flaky Disks"
295+
- "Phase-3: Disk Stalls"
300296
steps:
301297
- command: run
302298
args:
@@ -310,9 +306,9 @@ targets:
310306
- --
311307
- "./run_ops_network-partition-full.sh"
312308
wait: 1500
313-
- target_name: "Phase-6: Node Restarts"
309+
- target_name: "Phase-5: Node Restarts"
314310
dependent_targets:
315-
- "Phase-5: Network Partition"
311+
- "Phase-4: Network Failure"
316312
steps:
317313
- command: stop # ungraceful shutdown of node 4
318314
args:
@@ -344,9 +340,9 @@ targets:
344340
flags:
345341
restart: true
346342
wait: 1500
347-
- target_name: "Phase-7: Zone Outages"
343+
- target_name: "Phase-6: Zone Outages"
348344
dependent_targets:
349-
- "Phase-6: Node Restarts"
345+
- "Phase-5: Node Restarts"
350346
steps:
351347
- command: stop # ungraceful shutdown of nodes 3, 4 to simulate zone outage
352348
args:
@@ -358,9 +354,9 @@ targets:
358354
flags:
359355
restart: true
360356
wait: 3300
361-
- target_name: "Phase-8: Region Outages"
357+
- target_name: "Phase-7: Region Outages"
362358
dependent_targets:
363-
- "Phase-7: Zone Outages"
359+
- "Phase-6: Zone Outages"
364360
steps:
365361
- command: stop # ungraceful shutdown of nodes 11-15 to simulate region outage
366362
args:

0 commit comments

Comments
 (0)