OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 the V8 project authors. All rights reserved. | 2 # Copyright 2014 the V8 project authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ | 6 """ |
7 Script to check for new clusterfuzz issues since the last rolled v8 revision. | 7 Script to check for new clusterfuzz issues since the last rolled v8 revision. |
8 | 8 |
9 Returns a json list with test case IDs if any. | 9 Returns a json list with test case IDs if any. |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 }, | 53 }, |
54 { | 54 { |
55 "args": { | 55 "args": { |
56 "job_type": "linux_asan_d8_dbg", | 56 "job_type": "linux_asan_d8_dbg", |
57 "reproducible": "True", | 57 "reproducible": "True", |
58 "open": "True", | 58 "open": "True", |
59 "bug_information": "", | 59 "bug_information": "", |
60 }, | 60 }, |
61 "crash_state": ANY_RE, | 61 "crash_state": ANY_RE, |
62 }, | 62 }, |
| 63 { |
| 64 "args": { |
| 65 "job_type": "linux_asan_d8_v8_arm64_dbg", |
| 66 "reproducible": "True", |
| 67 "open": "True", |
| 68 "bug_information": "", |
| 69 }, |
| 70 "crash_state": ANY_RE, |
| 71 }, |
| 72 { |
| 73 "args": { |
| 74 "job_type": "linux_asan_d8_v8_mipsel_dbg", |
| 75 "reproducible": "True", |
| 76 "open": "True", |
| 77 "bug_information": "", |
| 78 }, |
| 79 "crash_state": ANY_RE, |
| 80 }, |
63 ] | 81 ] |
64 | 82 |
65 | 83 |
66 def GetRequest(url): | 84 def GetRequest(url): |
67 url_fh = urllib2.urlopen(url, None, 60) | 85 url_fh = urllib2.urlopen(url, None, 60) |
68 try: | 86 try: |
69 return url_fh.read() | 87 return url_fh.read() |
70 finally: | 88 finally: |
71 url_fh.close() | 89 url_fh.close() |
72 | 90 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 183 |
166 if options.results_file: | 184 if options.results_file: |
167 with open(options.results_file, "w") as f: | 185 with open(options.results_file, "w") as f: |
168 f.write(json.dumps(results)) | 186 f.write(json.dumps(results)) |
169 else: | 187 else: |
170 print results | 188 print results |
171 | 189 |
172 | 190 |
173 if __name__ == "__main__": | 191 if __name__ == "__main__": |
174 sys.exit(Main()) | 192 sys.exit(Main()) |
OLD | NEW |