@@ -143,12 +143,17 @@ def main():
143
143
real_regressions = [r for r in regressions if r not in ignore_list ]
144
144
intermittent_regressions = [r for r in regressions if r in ignore_list ]
145
145
146
+ # Filter out intermittent issues from fixes
147
+ real_fixes = [f for f in fixes if f not in ignore_list ]
148
+ intermittent_fixes = [f for f in fixes if f in ignore_list ]
149
+
146
150
# Print summary stats
147
151
print (f"Total tests in current run: { len (current_flat )} " )
148
152
print (f"Total tests in reference: { len (reference_flat )} " )
149
153
print (f"New regressions: { len (real_regressions )} " )
150
154
print (f"Intermittent regressions: { len (intermittent_regressions )} " )
151
- print (f"Fixed tests: { len (fixes )} " )
155
+ print (f"Fixed tests: { len (real_fixes )} " )
156
+ print (f"Intermittent fixes: { len (intermittent_fixes )} " )
152
157
print (f"Newly skipped tests: { len (newly_skipped )} " )
153
158
print (f"Newly passing tests (previously skipped): { len (newly_passing )} " )
154
159
@@ -162,18 +167,26 @@ def main():
162
167
print (f"::error ::{ msg } " , file = sys .stderr )
163
168
output_lines .append (msg )
164
169
165
- # Report intermittent issues
170
+ # Report intermittent issues (regressions)
166
171
if intermittent_regressions :
167
- print ("\n INTERMITTENT ISSUES (ignored):" , file = sys .stderr )
172
+ print ("\n INTERMITTENT ISSUES (ignored regressions ):" , file = sys .stderr )
168
173
for test in sorted (intermittent_regressions ):
169
174
msg = f"Skip an intermittent issue { test } (fails in this run but passes in the 'main' branch)"
170
175
print (f"::notice ::{ msg } " , file = sys .stderr )
171
176
output_lines .append (msg )
172
177
178
+ # Report intermittent issues (fixes)
179
+ if intermittent_fixes :
180
+ print ("\n INTERMITTENT ISSUES (ignored fixes):" , file = sys .stderr )
181
+ for test in sorted (intermittent_fixes ):
182
+ msg = f"Skipping an intermittent issue { test } (passes in this run but fails in the 'main' branch)"
183
+ print (f"::notice ::{ msg } " , file = sys .stderr )
184
+ output_lines .append (msg )
185
+
173
186
# Report fixes
174
- if fixes :
187
+ if real_fixes :
175
188
print ("\n FIXED TESTS:" , file = sys .stderr )
176
- for test in sorted (fixes ):
189
+ for test in sorted (real_fixes ):
177
190
msg = f"Congrats! The gnu test { test } is no longer failing!"
178
191
print (f"::notice ::{ msg } " , file = sys .stderr )
179
192
output_lines .append (msg )
0 commit comments