aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-10-04 13:02:43 -0400
committerGitHub <noreply@github.com>2019-10-04 13:02:43 -0400
commit86efbe30ca2f228fcfcd7798ef2c7d2ce0150509 (patch)
tree860a700977b5308a945b14e458801f2aa406d09f /python/servo
parentdc65d825e8a27d6e5604155de7dcb01fcd871123 (diff)
parent050fcc989daffa966d9cdc3f254789cfcbd5b5d7 (diff)
downloadservo-86efbe30ca2f228fcfcd7798ef2c7d2ce0150509.tar.gz
servo-86efbe30ca2f228fcfcd7798ef2c7d2ce0150509.zip
Auto merge of #24359 - servo:jdm-patch-31, r=jdm
Remove intermittent failure reporting. The frequency with which we hit https://github.com/servo/intermittent-failure-tracker/issues/5 means that this is hurting us more than it helps. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24359) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/testing_commands.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index afd8ffcda6d..2863c314426 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -14,13 +14,11 @@ import re
import sys
import os
import os.path as path
-import platform
import copy
from collections import OrderedDict
import time
import json
import urllib2
-import urllib
import base64
import shutil
import subprocess
@@ -534,39 +532,6 @@ class MachCommands(CommandBase):
else:
intermittents += [failure]
- if reporter_api:
- if reporter_api == 'default':
- reporter_api = "https://build.servo.org/intermittent-failure-tracker"
- if reporter_api.endswith('/'):
- reporter_api = reporter_api[0:-1]
- reported = set()
-
- proc = subprocess.Popen(
- ["git", "log", "--oneline", "-1"],
- stdout=subprocess.PIPE)
- (last_merge, _) = proc.communicate()
-
- # Extract the issue reference from "abcdef Auto merge of #NNN"
- pull_request = int(last_merge.split(' ')[4][1:])
-
- for intermittent in intermittents:
- if intermittent['test'] in reported:
- continue
- reported.add(intermittent['test'])
-
- data = {
- 'test_file': intermittent['test'],
- 'platform': platform.system(),
- 'builder': os.environ.get('BUILDER_NAME', 'BUILDER NAME MISSING'),
- 'number': pull_request,
- }
- request = urllib2.Request("%s/record.py" % reporter_api, urllib.urlencode(data))
- request.add_header('Accept', 'application/json')
- response = urllib2.urlopen(request)
- data = json.load(response)
- if data['status'] != "success":
- print('Error reporting test failure: ' + data['error'])
-
if log_intermittents:
with open(log_intermittents, "w") as intermittents_file:
for intermittent in intermittents: