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
|
QA output created by 476
control file parsing ...
Ignoring: TMP.control[16]: non-numeric threshold: bad1 > 12x3456
Ignoring: TMP.control[18]: non-numeric threshold: bad2 != 123 456
Ignoring: TMP.control[20]: illegal operator: bad3 ! = 1 2 3
Ignoring: TMP.control[22]: non-numeric threshold: bad4 > = 1 2 3
Ignoring: TMP.control[24]: illegal operator: bad5 ?
__pmFaultInject(test) not registered
=== Fault Injection Summary Report ===
ok1: guard trip>0, 0 trips, 0 faults
ok2: guard trip>3, 0 trips, 0 faults
ok3: guard trip%10, 0 trips, 0 faults
ok4: guard trip<=100, 0 trips, 0 faults
ok_with_a_long_ident_and_funny_chars,./<>()?[]{}|\:;"'!@#$%^&*+-_=5: guard trip==42, 0 trips, 0 faults
ok6: guard trip%23, 0 trips, 0 faults
ok7: guard trip!=42, 0 trips, 0 faults
basic exercises ...
__pmFaultInject(QA:1) ntrip=1 INJECT
malloc:1[1] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=1 INJECT
malloc:2[1] Cannot allocate memory
__pmFaultInject(QA:3) ntrip=1 SKIP
__pmFaultInject(QA:1) ntrip=2 INJECT
malloc:1[2] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=2 INJECT
malloc:2[2] Cannot allocate memory
__pmFaultInject(QA:3) ntrip=2 SKIP
__pmFaultInject(QA:1) ntrip=3 INJECT
malloc:1[3] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=3 INJECT
malloc:2[3] Cannot allocate memory
__pmFaultInject(QA:3) ntrip=3 SKIP
__pmFaultInject(QA:1) ntrip=4 INJECT
malloc:1[4] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=4 SKIP
__pmFaultInject(QA:3) ntrip=4 SKIP
__pmFaultInject(QA:1) ntrip=5 INJECT
malloc:1[5] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=5 SKIP
__pmFaultInject(QA:3) ntrip=5 INJECT
malloc:3[5] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=6 INJECT
malloc:1[6] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=6 SKIP
__pmFaultInject(QA:3) ntrip=6 INJECT
malloc:3[6] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=7 INJECT
malloc:1[7] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=7 SKIP
__pmFaultInject(QA:3) ntrip=7 INJECT
malloc:3[7] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=8 INJECT
malloc:1[8] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=8 SKIP
__pmFaultInject(QA:3) ntrip=8 INJECT
malloc:3[8] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=9 INJECT
malloc:1[9] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=9 SKIP
__pmFaultInject(QA:3) ntrip=9 INJECT
malloc:3[9] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=10 INJECT
malloc:1[10] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=10 SKIP
__pmFaultInject(QA:3) ntrip=10 INJECT
malloc:3[10] Cannot allocate memory
=== Fault Injection Summary Report ===
QA:1: guard trip>0, 10 trips, 10 faults
QA:2: guard trip<4, 10 trips, 3 faults
QA:3: guard trip>=5, 10 trips, 6 faults
__pmFaultInject(QA:1) ntrip=1 INJECT
malloc:1[1] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=1 SKIP
__pmFaultInject(QA:3) ntrip=1 SKIP
__pmFaultInject(QA:1) ntrip=2 INJECT
malloc:1[2] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=2 SKIP
__pmFaultInject(QA:3) ntrip=2 SKIP
__pmFaultInject(QA:1) ntrip=3 INJECT
malloc:1[3] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=3 SKIP
__pmFaultInject(QA:3) ntrip=3 SKIP
__pmFaultInject(QA:1) ntrip=4 INJECT
malloc:1[4] Cannot allocate memory
__pmFaultInject(QA:2) ntrip=4 SKIP
__pmFaultInject(QA:3) ntrip=4 SKIP
__pmFaultInject(QA:1) ntrip=5 SKIP
__pmFaultInject(QA:2) ntrip=5 INJECT
malloc:2[5] Cannot allocate memory
__pmFaultInject(QA:3) ntrip=5 SKIP
__pmFaultInject(QA:1) ntrip=6 SKIP
__pmFaultInject(QA:2) ntrip=6 SKIP
__pmFaultInject(QA:3) ntrip=6 INJECT
malloc:3[6] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=7 SKIP
__pmFaultInject(QA:2) ntrip=7 SKIP
__pmFaultInject(QA:3) ntrip=7 INJECT
malloc:3[7] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=8 SKIP
__pmFaultInject(QA:2) ntrip=8 SKIP
__pmFaultInject(QA:3) ntrip=8 INJECT
malloc:3[8] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=9 SKIP
__pmFaultInject(QA:2) ntrip=9 SKIP
__pmFaultInject(QA:3) ntrip=9 INJECT
malloc:3[9] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=10 SKIP
__pmFaultInject(QA:2) ntrip=10 SKIP
__pmFaultInject(QA:3) ntrip=10 INJECT
malloc:3[10] Cannot allocate memory
=== Fault Injection Summary Report ===
QA:1: guard trip<=4, 10 trips, 4 faults
QA:2: guard trip==5, 10 trips, 1 faults
QA:3: guard trip>5, 10 trips, 5 faults
__pmFaultInject(QA:1) ntrip=1 INJECT
malloc:1[1] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=1 INJECT
malloc:3[1] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=2 INJECT
malloc:1[2] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=2 SKIP
__pmFaultInject(QA:1) ntrip=3 SKIP
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=3 SKIP
__pmFaultInject(QA:1) ntrip=4 INJECT
malloc:1[4] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=4 INJECT
malloc:3[4] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=5 INJECT
malloc:1[5] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=5 SKIP
__pmFaultInject(QA:1) ntrip=6 INJECT
malloc:1[6] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=6 SKIP
__pmFaultInject(QA:1) ntrip=7 INJECT
malloc:1[7] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=7 INJECT
malloc:3[7] Cannot allocate memory
__pmFaultInject(QA:1) ntrip=8 INJECT
malloc:1[8] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=8 SKIP
__pmFaultInject(QA:1) ntrip=9 INJECT
malloc:1[9] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=9 SKIP
__pmFaultInject(QA:1) ntrip=10 INJECT
malloc:1[10] Cannot allocate memory
__pmFaultInject(QA:2) not registered
__pmFaultInject(QA:3) ntrip=10 INJECT
malloc:3[10] Cannot allocate memory
=== Fault Injection Summary Report ===
QA:1: guard trip!=3, 10 trips, 9 faults
QA:3: guard trip%3, 10 trips, 4 faults
|