-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesting.txt
468 lines (433 loc) · 24.6 KB
/
testing.txt
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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
1. Failure Free case: No failure in scenario
Replicas: 3
Clients: 3
Config file: 1_failure_free.txt
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da 1_failure_free.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da 1_failure_free.txt
Log file: 1_failure_free.log
Validation: Valid, as result sequence of Replica is matching with operation performed at Client
Outcome: Pass
2. Stress test case: Very high number of requests from one Client
Replicas: 5
Clients: 3 (includes 1 pseudorandom client with 1000 requests)
Config file: 2_stress_test.txt
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da 2_stress_test.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da 2_stress_test.txt
Log file: 2_stress_test.log
Validation: Valid, as result sequence of Replica is matching with operation performed at Client
Outcome: Pass
3.a Shuttle Fault test case: Fault Trigger: Shuttle of client 0 on 7th message
Replicas: 3
Clients: 0
Config file: 3_a_failure_shuttle_change_operation.txt
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n 3_a_failure_shuttle_change_operation.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
3_a_failure_shuttle_change_operation.txt
Log file: 3_a_failure_shuttle_change_operation.log
Validation: Replication becomes immutable as the order proof will not be verified by next replica.
Outcome: Pass as we were expecting immutable
3.b Shuttle Fault test case: Fault Trigger: Shuttle of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 3_b_failure_shuttle_change_result.txt
fault : change_result()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da 3_b_failure_shuttle_change_result.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
3_b_failure_shuttle_change_result.txt
Log file: 3_b_failure_shuttle_change_result.txt.log
Validation: Tail replica will get immutable as the result will not be verified
Outcome: Pass as we were expecting immutable
3.c) Shuttle Fault test case: Fault Trigger: Shuttle of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 3_b_failure_shuttle_change_result.txt
fault : drop_result_stmt()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da 3_c_failure_shuttle_drop_result_stmt.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
3_c_failure_shuttle_drop_result_stmt.txt
Log file: 3_c_failure_shuttle_drop_result_stmt.log
Validation: Tail will get immutable as the result proof will not be verified at tail node
Outcome: Pass as we were expecting immutable
4.a) Shuttle Fault test case: Fault Trigger: client_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 4_a_failure_client_request_change_operation.txt
fault : change_operation()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
4_a_failure_client_request_change_operation.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
4_a_failure_client_request_change_operation.txt
Log file: 4_a_failure_client_request_change_operation.log
Validation: Valid, as the client is never timed out
Outcome: Pass
4.b) Shuttle Fault test case: Fault Trigger: client_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 4_b_failure_client_request_change_result.txt
fault : change_result()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
4_b_failure_client_request_change_result.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
4_b_failure_client_request_change_result.txt
Log file: 4_b_failure_client_request_change_result.log
Validation: Valid, as the client is never timed out
Outcome: Pass
4.c) Shuttle Fault test case: Fault Trigger: client_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 4_c_failure_client_request_drop_result_stmt.txt
fault : drop_result_stmt()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
4_c_failure_client_request_drop_result_stmt.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
4_c_failure_client_request_drop_result_stmt.txt
Log file: 4_b_failure_client_request_change_result.log
Validation: Valid, as the client is never timed out
Outcome: Pass
5.a) Shuttle Fault test case: Fault Trigger: forward_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 5_a_failure_forwarded_request_change_operation.txt
fault : change_operation()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
5_a_failure_forwarded_request_change_operation.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
5_a_failure_forwarded_request_change_operation.txt
Log file: 5_a_failure_forwarded_request_change_operation.log
Validation: Valid, as the client is never timed out
Outcome: Pass
5.b) Shuttle Fault test case: Fault Trigger: forward_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 5_b_failure_forwarded_request_change_result.txt
fault : change_result()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
5_b_failure_forwarded_request_change_result.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
5_b_failure_forwarded_request_change_result.txt
Log file: 5_b_failure_forwarded_request_change_result.log
Validation: Valid, as the client is never timed out
Outcome: Pass
5.c) Shuttle Fault test case: Fault Trigger: forward_request of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 5_c_failure_forwarded_request_drop_result_stmt.txt
fault : drop_result_stmt()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
5_c_failure_forwarded_request_drop_result_stmt.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
5_c_failure_forwarded_request_drop_result_stmt.txt
Log file: 5_b_failure_forwarded_request_change_result.log
Validation: Valid, as the client is never timed out
Outcome: Pass
6.a) Shuttle Fault test case: Fault Trigger: result_shuttle of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 6_a_failure_result_shuttle_change_operation.txt
fault : change_operation()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
6_a_failure_result_shuttle_change_operation.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
6_a_failure_result_shuttle_change_operation.txt
Log file: 6_a_failure_result_shuttle_change_operation.log
Validation: Valid, as the client is never timed out
Outcome: Pass
6.b) Shuttle Fault test case: Fault Trigger: result_shuttle of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 6_b_failure_result_shuttle_change_result.txt
fault : change_result()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
6_b_failure_result_shuttle_change_result.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
6_b_failure_result_shuttle_change_result.txt
Log file: 6_b_failure_result_shuttle_change_result.log
Validation: Node went immutable after validating the result proof in result shuttle
Outcome: Node went immutable as expected
6.c) Shuttle Fault test case: Fault Trigger: result_shuttle of client 0 on 7th message
Replicas: 5
Clients: 3
Config file: 6_c_failure_result_shuttle_drop_result_stmt.txt
fault : change_operation()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
6_c_failure_result_shuttle_drop_result_stmt.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
6_c_failure_result_shuttle_drop_result_stmt.txt
Log file: 6_a_failure_result_shuttle_change_operation.log
Validation: Node went immutable after validating the result proof in result shuttle
Outcome: Node went immutable as expected
6.d) Stress test case: Very high number of requests from one Client
Replicas: 5
Clients: 10 (all pseudorandom clients with sane seed and 100 requests)
Config file: 7_stress_test.txt
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da 7_stress_test.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da 7_stress_test.txt
Log file: 7_stress_test.log
Validation: InValid, as clients have conflicting keys and values
Outcome: Pass, as clients have conflicting keys and values
python -m da -F info -f -n ClientNode --cookie COOKIE --hostname 192.168.43.136 --message-buffer-size 30000 --master src/Main.da config/2_stress_test.txt 192.168.43.66
7.a) wedge_request Fault test case: Fault Trigger: wedge_request on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 7_a_wedge_request_crash.txt
fault : crash()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation(); wedge_request(1), crash()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
7_a_wedge_request_crash.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
7_a_wedge_request_crash.txt
Log file: 7_a_shuttle_change_operation_wedge_request_crash.txt.log
Validation: Tail node became immutable and on first wedge request, replica 1 crashed.
Outcome: Replica crashed on wedge request as expected.
7.b) wedge_request Fault test case: Fault Trigger: wedge_request on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 7_b_wedge_request_truncate_history.txt
fault : truncate_history(2)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation(); wedge_request(1), truncate_history(2)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
7_b_wedge_request_truncate_history.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
7_b_wedge_request_truncate_history.txt
Log file: 7_b_shuttle_change_operation_wedge_request_truncate_history.log
Validation: Tail node became immutable and on first wedge request, replica 1 truncated last 2 entries of its history before sending to olympus.
Outcome: Replica truncated 2 entries from history on wedge request as expected.
7.c) wedge_request Fault test case: Fault Trigger: wedge_request on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 7_c_wedge_request_sleep.txt
fault : sleep(10)
Fault Scenario : failures[0,1] = shuttle(0,2), change_operation(); wedge_request(1), sleep(10)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
7_c_wedge_request_sleep.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
7_c_wedge_request_sleep.txt
Log file: 7_c_shuttle_change_operation_wedge_request_sleep.log
Validation: Tail node became immutable and on first wedge request, replica 1 went to sleep mode for 10 seconds.
Outcome: Replica went to sleep mode on wedge request as expected.
8.a) new_configuration Fault test case: Fault Trigger: new_configuration on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 8_a_new_config_crash.txt
fault : crash()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), crash()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
8_a_new_config_crash.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
8_a_new_config_crash.txt
Log file: 8_a_shuttle_change_operation_new_config_crash.log
Validation: Tail node became immutable and when olympus node made new configuration, replica 1 crashed.
Outcome: Replica crashed on new configuration request and olympus selected differente quoram as expected.
8.b) new_configuration Fault test case: Fault Trigger: new_configuration on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 8_b_new_config_truncate_history.txt
fault : truncate_history(2)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = shuttle(0,2), change_operation();new_configuration(0), truncate_history(2)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
8_b_new_config_truncate_history.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
8_b_new_config_truncate_history.txt
Log file: 8_b_shuttle_change_operation_new_config_truncate_history.log
Validation: Tail node became immutable and when olympus node made new configuration, replica 1 changed the operation and on wedge request after new configuration, replica truncated the last 2 entries in history.
Outcome: Replica truncated history on wedge request after new configuration request and olympus selected different quoram as expected.
8.c) new_configuration Fault test case: Fault Trigger: new_configuration on 1st message on replica 1
Replicas: 3
Clients: 1
Config file: 8_c_new_config_sleep.txt
fault : sleep(20)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), sleep(20)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
8_c_new_config_sleep.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
8_c_new_config_sleep.txt
Log file: 8_c_shuttle_change_operation_new_config_sleep.log
Validation: Tail node became immutable and when olympus node made new configuration, replica 1 went to a sleep mode.
Outcome: Replica went to a sleep mode for 20 seconds on new configuration request as expected.
9.a) client_request Fault test case: Fault Trigger: client_request on 1st request from client on head node
Replicas: 3
Clients: 1
Config file: 9_a_client_request_invalid_order_sign_new_config_truncate_history.txt
fault : truncate_history(1)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,0] = client_request(0,2), invalid_order_sig()
failures[1,1] = new_configuration(0), truncate_history(1)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
9_a_client_request_invalid_order_sign_new_config_truncate_history.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
9_a_client_request_invalid_order_sign_new_config_truncate_history.txt
Log file: 9_a_shuttle_change_operation_client_reqiest_invalid_order_sign_new_config_truncate_history.log
Validation: Tail node became immutable and when olympus node made new configuration, on first request from client, head node changed the order signature of the order proof and then on new configuration, replica 1 truncated last entry from its history.
Outcome: Replica truncated history on new configuration request as expected.
9.b) client_request Fault test case: Fault Trigger: new_configuration on 1st request from client on head node
Replicas: 3
Clients: 1
Config file: 9_b_new_config_drop.txt
fault : drop()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), drop()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
9_b_new_config_drop.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
9_b_new_config_drop.txt
Log file: 9_b_shuttle_change_operation_client_request_new_config_drop.log
Validation: Tail node became immutable and when olympus node made new configuration, on first request from client replica 1 ignored the message from the client which created holes in the history and replica 2 asked for a new configuration.
Outcome: Holes created and replica 2 asked for a new configuration as expected.
9.c) new_configuration Fault test case: Fault Trigger: new_configuration
Replicas: 3
Clients: 1
Config file: 9_c_new_config_extra_op.txt
fault : extra_op()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), extra_op()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
9_c_new_config_extra_op.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
9_c_new_config_extra_op.txt
Log file: 9_c_shuttle_change_operation_client_request_new_config_extra_op.log
Validation: Tail node became immutable and when olympus node made new configuration, on first request from client replica 1 put an extra operation in its running state which created holes in the running state and replica 2 asked for a new configuration.
Outcome: Holes created and replica 2 asked for a new configuration as expected.
9.d) new_configuration Fault test case: Fault Trigger: new_configuration
Replicas: 3
Clients: 1
Config file: 9_d_new_config_invalid_result_sig.txt
fault : invalid_result_sig()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), invalid_result_sig()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
9_d_new_config_invalid_result_sig.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
9_d_new_config_invalid_result_sig.txt
Log file: 9_d_shuttle_change_operation_client_request_new_config_invalid_result_sig.log
Validation: Tail node became immutable and when olympus node made new configuration, on first request from client replica 1 on first cleint request, put a invalid result signature which made replica immutable
Outcome: Tail node went into immutable mode because it was not able to validate the result signature while sending result shuttle back in the chain as expected.
10.a) checkpoint Fault test case: Fault Trigger: checkpoint
Replicas: 3
Clients: 1
Config file: 10_a_checkpoint_crash.txt
fault : crash()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = checkpoint(1), crash()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
10_a_checkpoint_crash.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
10_a_checkpoint_crash.txt
Log file: 10_a_checkpoint_crash.log
Validation: Tail node became immutable and when olympus node made new configuration, on receiving checkpoing shuttle, replica 1 crashed.
Outcome: Replica 1 crashed as expected on receiving checkpoint shuttle
10.b) checkpoint Fault test case: Fault Trigger: checkpoint
Replicas: 3
Clients: 1
Config file: 10_b_checkpoint_sleep.txt
fault : sleep(5)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = checkpoint(1), sleep(5)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
10_b_checkpoint_sleep.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
10_b_checkpoint_sleep.txt
Log file: 10_b_checkpoint_sleep.log
Validation: Tail node became immutable and when olympus node made new configuration, on receiving checkpoing shuttle, replica 1 went to sleep mode for 5 seconds.
Outcome: Replica 1 slept for 5 second as expected on receiving checkpoint shuttle
11.a) completed_checkpoint Fault test case: Fault Trigger: completed_checkpoint
Replicas: 3
Clients: 1
Config file: 11_a_completed_checkpoint_drop_check_point_stmt.txt
fault : drop_checkpt_stmts()
Fault Scenario : failures[0,1] = completed_checkpoint(1), drop_checkpt_stmts()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
11_a_completed_checkpoint_drop_check_point_stmt.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
11_a_completed_checkpoint_drop_check_point_stmt.txt
Log file: 11_a_completed_checkpoint_drop_check_point_stmt.log
Validation: On receiving completed check point shuttle, replca 1 removed first t + 1 entries from checkpoint shuttle and when replica 0 will receive it, it wont be able to validate checkpoint shuttle and goes into the immutable state
Outcome: Replica 0 went to immutable state.
11.b) completed_checkpoint Fault test case: Fault Trigger: completed_checkpoint
Replicas: 3
Clients: 1
Config file: 11_b_completed_checkpoint_invalid_order_sig.txt
fault : invalid_order_sig()
Fault Scenario : failures[0,0] = completed_checkpoint(1), invalid_order_sig()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
11_b_completed_checkpoint_invalid_order_sig.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
11_b_completed_checkpoint_invalid_order_sig.txt
Log file: 11_b_completed_checkpoint_invalid_order_sig.log
Validation: On receiving completed check point shuttle, replca 0 will put an invalid order signature as a result of which replica 1 wont be able to validate order proof and goes into immutable state and ask reconfiguration.
Outcome: Replica 1 went to immutable state and asked for reconfiguration.
11.c) completed_checkpoint Fault test case: Fault Trigger: completed_checkpoint
Replicas: 3
Clients: 1
Config file: 11_c_completed_checkpoint_extra_op.txt
fault : extra_op()
Fault Scenario : failures[0,0] = completed_checkpoint(1), extra_op()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
11_c_completed_checkpoint_extra_op.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
11_c_completed_checkpoint_extra_op.txt
Log file: 11_c_completed_checkpoint_extra_op.log
Validation: On receiving completed checkpoint shuttle, replica 0 put an extra operation in its running state which created holes in the running statet and replica 1 asked for a new configuration.
Outcome: Holes created and replica 1 asked for a new configuration as expected.
12.a) catch_up Fault test case: Fault Trigger: catch_up
Replicas: 3
Clients: 1
Config file: 12_a_catch_up_crash.txt
fault : crash()
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), invalid_order_sig(); catch_up(1), crash()
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
12_a_catch_up_crash.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
12_a_catch_up_crash.txt
Log file: 12_a_catch_up_crash.log
Validation: Replica 1 crashed on getting catch_up message from olympus and dint send its history.
Outcome: Replica 1 crashed on getting catch_up message as expected
12.b) catch_up Fault test case: Fault Trigger: catch_up
Replicas: 3
Clients: 1
Config file: 12_b_catch_up_sleep.txt
fault : sleep(9)
Fault Scenario : failures[0,1] = shuttle(0,1), change_operation()
failures[1,1] = new_configuration(0), invalid_order_sig(); catch_up(1), sleep(9)
Command:
ClientNode: python3 -m da -F info -f --message-buffer-size 20000 -n ClientNode Main.da
12_b_catch_up_sleep.txt
OlympusNode: python3 -m da -F info -f --message-buffer-size 20000 -n OlympusNode -D Main.da
12_b_catch_up_sleep.txt
Log file: 12_b_catch_up_sleep.log
Validation: Replica 1 slept for 9 seconds on getting catch_up message from olympus and dint send its history.
Outcome: Replica 1 slept on getting catch_up message as expected