OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
7 "/path/to/tmp/json", | 7 "/path/to/tmp/json", |
8 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 8 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
9 ], | 9 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "python", | 135 "python", |
136 "-u", | 136 "-u", |
137 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nT
IMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in r
ange(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HA
SHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.
argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception
as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n
print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math
.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(wait
time)\n", | 137 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nT
IMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in r
ange(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HA
SHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.
argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception
as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n
print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math
.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(wait
time)\n", |
138 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | 138 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
139 ], | 139 ], |
140 "cwd": "[SLAVE_BUILD]/skia", | 140 "cwd": "[SLAVE_BUILD]/skia", |
141 "env": { | 141 "env": { |
142 "BUILDTYPE": "Debug", | 142 "BUILDTYPE": "Debug", |
143 "CHROME_HEADLESS": "1", | 143 "CHROME_HEADLESS": "1", |
144 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 144 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
145 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", | 145 "PATH": "[DEPOT_TOOLS]:%(PATH)s", |
| 146 "PYTHONPATH": "[BUILD]/scripts", |
146 "SKIA_OUT": "[SLAVE_BUILD]/out" | 147 "SKIA_OUT": "[SLAVE_BUILD]/out" |
147 }, | 148 }, |
148 "name": "get uninteresting hashes", | 149 "name": "get uninteresting hashes", |
149 "~followup_annotations": [ | 150 "~followup_annotations": [ |
150 "@@@STEP_LOG_LINE@python.inline@@@@", | 151 "@@@STEP_LOG_LINE@python.inline@@@@", |
151 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | 152 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
152 "@@@STEP_LOG_LINE@python.inline@import math@@@", | 153 "@@@STEP_LOG_LINE@python.inline@import math@@@", |
153 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | 154 "@@@STEP_LOG_LINE@python.inline@import socket@@@", |
154 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 155 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
155 "@@@STEP_LOG_LINE@python.inline@import time@@@", | 156 "@@@STEP_LOG_LINE@python.inline@import time@@@", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | 221 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
221 "--writePath", | 222 "--writePath", |
222 "[SWARM_OUT_DIR]/dm", | 223 "[SWARM_OUT_DIR]/dm", |
223 "--nogpu", | 224 "--nogpu", |
224 "--dummy-flags" | 225 "--dummy-flags" |
225 ], | 226 ], |
226 "env": { | 227 "env": { |
227 "BUILDTYPE": "Debug", | 228 "BUILDTYPE": "Debug", |
228 "CHROME_HEADLESS": "1", | 229 "CHROME_HEADLESS": "1", |
229 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 230 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
230 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", | 231 "PATH": "[DEPOT_TOOLS]:%(PATH)s", |
| 232 "PYTHONPATH": "[BUILD]/scripts", |
231 "SKIA_OUT": "[SLAVE_BUILD]/out" | 233 "SKIA_OUT": "[SLAVE_BUILD]/out" |
232 }, | 234 }, |
233 "name": "dm" | 235 "name": "dm" |
234 }, | 236 }, |
235 { | 237 { |
236 "name": "$result", | 238 "name": "$result", |
237 "recipe_result": null, | 239 "recipe_result": null, |
238 "status_code": 0 | 240 "status_code": 0 |
239 } | 241 } |
240 ] | 242 ] |
OLD | NEW |