| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 7 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", | 7 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", |
| 8 "/path/to/tmp/" | 8 "/path/to/tmp/" |
| 9 ], | 9 ], |
| 10 "name": "Get downloaded SKP VERSION" | 10 "name": "Get downloaded SKP VERSION" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 "cmd": [ | 109 "cmd": [ |
| 110 "python", | 110 "python", |
| 111 "-u", | 111 "-u", |
| 112 "\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", | 112 "\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", |
| 113 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | 113 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
| 114 ], | 114 ], |
| 115 "cwd": "[SLAVE_BUILD]/skia", | 115 "cwd": "[SLAVE_BUILD]/skia", |
| 116 "env": { | 116 "env": { |
| 117 "BUILDTYPE": "Debug", | 117 "BUILDTYPE": "Debug", |
| 118 "CHROME_HEADLESS": "1", | 118 "CHROME_HEADLESS": "1", |
| 119 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | |
| 120 "SKIA_OUT": "[SLAVE_BUILD]/out" | 119 "SKIA_OUT": "[SLAVE_BUILD]/out" |
| 121 }, | 120 }, |
| 122 "name": "get uninteresting hashes", | 121 "name": "get uninteresting hashes", |
| 123 "~followup_annotations": [ | 122 "~followup_annotations": [ |
| 124 "@@@STEP_LOG_LINE@python.inline@@@@", | 123 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 125 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | 124 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
| 126 "@@@STEP_LOG_LINE@python.inline@import math@@@", | 125 "@@@STEP_LOG_LINE@python.inline@import math@@@", |
| 127 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | 126 "@@@STEP_LOG_LINE@python.inline@import socket@@@", |
| 128 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 127 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 129 "@@@STEP_LOG_LINE@python.inline@import time@@@", | 128 "@@@STEP_LOG_LINE@python.inline@import time@@@", |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 "_", | 392 "_", |
| 394 "image-cacherator-from-ctable", | 393 "image-cacherator-from-ctable", |
| 395 "serialize-8888", | 394 "serialize-8888", |
| 396 "gm", | 395 "gm", |
| 397 "_", | 396 "_", |
| 398 "image-cacherator-from-ctable" | 397 "image-cacherator-from-ctable" |
| 399 ], | 398 ], |
| 400 "env": { | 399 "env": { |
| 401 "BUILDTYPE": "Debug", | 400 "BUILDTYPE": "Debug", |
| 402 "CHROME_HEADLESS": "1", | 401 "CHROME_HEADLESS": "1", |
| 403 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | |
| 404 "SKIA_OUT": "[SLAVE_BUILD]/out" | 402 "SKIA_OUT": "[SLAVE_BUILD]/out" |
| 405 }, | 403 }, |
| 406 "name": "dm", | 404 "name": "dm", |
| 407 "~followup_annotations": [ | 405 "~followup_annotations": [ |
| 408 "step returned non-zero exit code: 1", | 406 "step returned non-zero exit code: 1", |
| 409 "@@@STEP_FAILURE@@@" | 407 "@@@STEP_FAILURE@@@" |
| 410 ] | 408 ] |
| 411 }, | 409 }, |
| 412 { | 410 { |
| 413 "name": "$result", | 411 "name": "$result", |
| 414 "reason": "Failed build steps: dm", | 412 "reason": "Failed build steps: dm", |
| 415 "recipe_result": null, | 413 "recipe_result": null, |
| 416 "status_code": 1 | 414 "status_code": 1 |
| 417 } | 415 } |
| 418 ] | 416 ] |
| OLD | NEW |