Skip to content

Commit adf0d4e

Browse files
jmaherArchaeopteryx
authored andcommitted
Disable test_runs in intermittent commenter.
1 parent f18cf10 commit adf0d4e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tests/intermittents_commenter/expected_comment.text

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is the #1 most frequent failure this week.
77
## Table
88
| |**no_variant**|**socketprocess_networking**|**spi-nw**|
99
|---|:-:|:-:|:-:|
10-
|**macosx1015-x86_64/debug**| | |1/22|
10+
|**macosx1015-x86_64/debug**| | |1|
1111

1212
## For more details, see:
1313
https://treeherder.mozilla.org/intermittent-failures/bugdetails?bug=1&startday=2022-05-09&endday=2025-05-10&tree=all

tests/intermittents_commenter/expected_comment_with_5_failures.text

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This is the #1 most frequent failure this week.
77
## Table
88
| |**1proc**|**a11y_checks+swgl**|**no_variant**|**socketprocess_networking**|**spi-nw**|**swgl**|**swr**|
99
|---|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
10-
|**linux1804-x86_64/debug**|1| |1| |1/92| | |
11-
|**macosx1015-x86_64/debug**| | | | |1/22| | |
10+
|**linux1804-x86_64/debug**|1| |1| |1| | |
11+
|**macosx1015-x86_64/debug**| | | | |1| | |
1212
|**macosx1470-x86_64/debug**| | | | | | |1|
1313

1414
## For more details, see:

treeherder/intermittents_commenter/commenter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,15 @@ def build_bug_map(self, bugs, option_collection_map, start_day, end_day):
452452
if test_name:
453453
manifest = all_tests[test_name][0]
454454
if manifest:
455+
"""
456+
# Bug 1972307 - disabled due to no comments
455457
tasks_count = self.get_task_labels_and_count(manifest, start_day, end_day)
456458
job_name = bug["job__signature__job_type_name"]
457459
for task_name, count in tasks_count.items():
458460
if task_name == job_name or task_name == job_name.rsplit("-", 1)[0]:
459461
run_count = count
460462
break
463+
"""
461464
testrun_matrix = (
462465
fetch.fetch_testrun_matrix()
463466
if self.testrun_matrix is None

0 commit comments

Comments
 (0)