| 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": "Release_x64", | 117 "BUILDTYPE": "Release_x64", |
| 118 "CHROME_HEADLESS": "1", | 118 "CHROME_HEADLESS": "1", |
| 119 "GYP_DEFINES": "qt_sdk=C:/Qt/Qt5.1.0/5.1.0/msvc2012_64/ skia_arch_type=x86
_64 skia_gpu=0 skia_warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHelp", | |
| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 "image-cacherator-from-ctable", | 452 "image-cacherator-from-ctable", |
| 454 "serialize-8888", | 453 "serialize-8888", |
| 455 "gm", | 454 "gm", |
| 456 "_", | 455 "_", |
| 457 "image-cacherator-from-ctable", | 456 "image-cacherator-from-ctable", |
| 458 "--noRAW_threading" | 457 "--noRAW_threading" |
| 459 ], | 458 ], |
| 460 "env": { | 459 "env": { |
| 461 "BUILDTYPE": "Release_x64", | 460 "BUILDTYPE": "Release_x64", |
| 462 "CHROME_HEADLESS": "1", | 461 "CHROME_HEADLESS": "1", |
| 463 "GYP_DEFINES": "qt_sdk=C:/Qt/Qt5.1.0/5.1.0/msvc2012_64/ skia_arch_type=x86
_64 skia_gpu=0 skia_warnings_as_errors=0 skia_win_debuggers_path=c:/DbgHelp", | |
| 464 "SKIA_OUT": "[SLAVE_BUILD]\\out" | 462 "SKIA_OUT": "[SLAVE_BUILD]\\out" |
| 465 }, | 463 }, |
| 466 "name": "dm" | 464 "name": "dm" |
| 467 }, | 465 }, |
| 468 { | 466 { |
| 469 "name": "$result", | 467 "name": "$result", |
| 470 "recipe_result": null, | 468 "recipe_result": null, |
| 471 "status_code": 0 | 469 "status_code": 0 |
| 472 } | 470 } |
| 473 ] | 471 ] |
| OLD | NEW |