| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "git", | 4 "git", |
| 5 "remote", | 5 "remote", |
| 6 "set-url", | 6 "set-url", |
| 7 "origin", | 7 "origin", |
| 8 "https://skia.googlesource.com/skia.git" | 8 "https://skia.googlesource.com/skia.git" |
| 9 ], | 9 ], |
| 10 "cwd": "[CWD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
| 11 "name": "git remote set-url" | 11 "name": "git remote set-url" |
| 12 }, | 12 }, |
| 13 { | 13 { |
| 14 "cmd": [ | 14 "cmd": [ |
| 15 "git", | 15 "git", |
| 16 "fetch" | 16 "fetch" |
| 17 ], | 17 ], |
| 18 "cwd": "[CWD]/skia", | 18 "cwd": "[SLAVE_BUILD]/skia", |
| 19 "name": "git fetch" | 19 "name": "git fetch" |
| 20 }, | 20 }, |
| 21 { | 21 { |
| 22 "cmd": [ | 22 "cmd": [ |
| 23 "git", | 23 "git", |
| 24 "reset", | 24 "reset", |
| 25 "--hard", | 25 "--hard", |
| 26 "abc123" | 26 "abc123" |
| 27 ], | 27 ], |
| 28 "cwd": "[CWD]/skia", | 28 "cwd": "[SLAVE_BUILD]/skia", |
| 29 "name": "git reset" | 29 "name": "git reset" |
| 30 }, | 30 }, |
| 31 { | 31 { |
| 32 "cmd": [ | 32 "cmd": [ |
| 33 "git", | 33 "git", |
| 34 "clean", | 34 "clean", |
| 35 "-d", | 35 "-d", |
| 36 "-f" | 36 "-f" |
| 37 ], | 37 ], |
| 38 "cwd": "[CWD]/skia", | 38 "cwd": "[SLAVE_BUILD]/skia", |
| 39 "name": "git clean" | 39 "name": "git clean" |
| 40 }, | 40 }, |
| 41 { | 41 { |
| 42 "cmd": [ | 42 "cmd": [ |
| 43 "python", | 43 "python", |
| 44 "-u", | 44 "-u", |
| 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 46 "config", | 46 "config", |
| 47 "--spec", | 47 "--spec", |
| 48 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/
skia.git'}]\ntarget_os = ['llvm']" | 48 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget
_os = ['llvm']" |
| 49 ], | 49 ], |
| 50 "cwd": "[SLAVE_BUILD]", |
| 50 "env": { | 51 "env": { |
| 51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 52 }, | 53 }, |
| 53 "name": "gclient setup" | 54 "name": "gclient setup" |
| 54 }, | 55 }, |
| 55 { | 56 { |
| 56 "cmd": [ | 57 "cmd": [ |
| 57 "python", | 58 "python", |
| 58 "-u", | 59 "-u", |
| 59 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 60 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 60 "sync", | 61 "sync", |
| 61 "--nohooks", | 62 "--nohooks", |
| 62 "--force", | 63 "--force", |
| 63 "--verbose", | 64 "--verbose", |
| 64 "--delete_unversioned_trees", | 65 "--delete_unversioned_trees", |
| 65 "--revision", | 66 "--revision", |
| 66 "skia@abc123", | 67 "skia@abc123", |
| 67 "--output-json", | 68 "--output-json", |
| 68 "/path/to/tmp/json" | 69 "/path/to/tmp/json" |
| 69 ], | 70 ], |
| 71 "cwd": "[SLAVE_BUILD]", |
| 70 "env": { | 72 "env": { |
| 71 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 73 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 72 }, | 74 }, |
| 73 "name": "gclient sync", | 75 "name": "gclient sync", |
| 74 "~followup_annotations": [ | 76 "~followup_annotations": [ |
| 75 "@@@STEP_LOG_LINE@json.output@{@@@", | 77 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 76 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 78 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 77 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 79 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 78 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 80 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
| 79 "@@@STEP_LOG_LINE@json.output@ }@@@", | 81 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 80 "@@@STEP_LOG_LINE@json.output@ }@@@", | 82 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 81 "@@@STEP_LOG_LINE@json.output@}@@@", | 83 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 82 "@@@STEP_LOG_END@json.output@@@", | 84 "@@@STEP_LOG_END@json.output@@@", |
| 83 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 85 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
| 84 ] | 86 ] |
| 85 }, | 87 }, |
| 86 { | 88 { |
| 87 "cmd": [ | 89 "cmd": [ |
| 88 "python", | 90 "python", |
| 89 "-u", | 91 "-u", |
| 90 "[CWD]/skia/tools/buildbot_spec.py", | 92 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
| 91 "/path/to/tmp/json", | 93 "/path/to/tmp/json", |
| 92 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 94 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
| 93 ], | 95 ], |
| 94 "cwd": "[CWD]/skia", | 96 "cwd": "[SLAVE_BUILD]/skia", |
| 95 "name": "exec buildbot_spec.py", | 97 "name": "exec buildbot_spec.py", |
| 96 "~followup_annotations": [ | 98 "~followup_annotations": [ |
| 97 "@@@STEP_LOG_LINE@json.output@{@@@", | 99 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 98 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 100 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 99 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@", | 101 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@", |
| 100 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", | 102 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", |
| 101 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 103 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 102 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 104 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 103 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", | 105 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
| 104 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | 106 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 126 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 128 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
| 127 "@@@STEP_LOG_LINE@json.output@}@@@", | 129 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 128 "@@@STEP_LOG_END@json.output@@@" | 130 "@@@STEP_LOG_END@json.output@@@" |
| 129 ] | 131 ] |
| 130 }, | 132 }, |
| 131 { | 133 { |
| 132 "cmd": [ | 134 "cmd": [ |
| 133 "make", | 135 "make", |
| 134 "dm" | 136 "dm" |
| 135 ], | 137 ], |
| 136 "cwd": "[CWD]/skia", | 138 "cwd": "[SLAVE_BUILD]/skia", |
| 137 "env": { | 139 "env": { |
| 138 "BUILDTYPE": "Debug", | 140 "BUILDTYPE": "Debug", |
| 139 "CHROME_PATH": "[HOME]/src", | 141 "CHROME_PATH": "[HOME]/src", |
| 140 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 142 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 141 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 143 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 142 }, | 144 }, |
| 143 "name": "build dm" | 145 "name": "build dm" |
| 144 }, | 146 }, |
| 145 { | 147 { |
| 146 "cmd": [ | 148 "cmd": [ |
| 147 "make", | 149 "make", |
| 148 "nanobench" | 150 "nanobench" |
| 149 ], | 151 ], |
| 150 "cwd": "[CWD]/skia", | 152 "cwd": "[SLAVE_BUILD]/skia", |
| 151 "env": { | 153 "env": { |
| 152 "BUILDTYPE": "Debug", | 154 "BUILDTYPE": "Debug", |
| 153 "CHROME_PATH": "[HOME]/src", | 155 "CHROME_PATH": "[HOME]/src", |
| 154 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 155 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 157 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 156 }, | 158 }, |
| 157 "name": "build nanobench" | 159 "name": "build nanobench" |
| 158 }, | 160 }, |
| 159 { | 161 { |
| 160 "cmd": [ | 162 "cmd": [ |
| 161 "python", | 163 "python", |
| 162 "-u", | 164 "-u", |
| 163 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 165 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 164 "[CWD]/tmp", | 166 "[SLAVE_BUILD]/tmp", |
| 165 "511" | 167 "511" |
| 166 ], | 168 ], |
| 169 "cwd": "[SLAVE_BUILD]", |
| 167 "name": "makedirs tmp_dir", | 170 "name": "makedirs tmp_dir", |
| 168 "~followup_annotations": [ | 171 "~followup_annotations": [ |
| 169 "@@@STEP_LOG_LINE@python.inline@@@@", | 172 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 170 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 173 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 171 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 174 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 172 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 175 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 173 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 176 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 174 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 177 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 175 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 178 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 176 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 179 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 180 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 178 "@@@STEP_LOG_END@python.inline@@@" | 181 "@@@STEP_LOG_END@python.inline@@@" |
| 179 ] | 182 ] |
| 180 }, | 183 }, |
| 181 { | 184 { |
| 182 "cmd": [ | 185 "cmd": [ |
| 183 "python", | 186 "python", |
| 184 "-u", | 187 "-u", |
| 185 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 188 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 186 "[CWD]/tmp/SKP_VERSION", | 189 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
| 187 "/path/to/tmp/" | 190 "/path/to/tmp/" |
| 188 ], | 191 ], |
| 192 "cwd": "[SLAVE_BUILD]", |
| 189 "name": "Get downloaded SKP_VERSION" | 193 "name": "Get downloaded SKP_VERSION" |
| 190 }, | 194 }, |
| 191 { | 195 { |
| 192 "cmd": [ | 196 "cmd": [ |
| 193 "python", | 197 "python", |
| 194 "-u", | 198 "-u", |
| 195 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 199 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 196 "[CWD]/skia/SKP_VERSION", | 200 "[SLAVE_BUILD]/skia/SKP_VERSION", |
| 197 "/path/to/tmp/" | 201 "/path/to/tmp/" |
| 198 ], | 202 ], |
| 203 "cwd": "[SLAVE_BUILD]", |
| 199 "name": "Get expected SKP_VERSION" | 204 "name": "Get expected SKP_VERSION" |
| 200 }, | 205 }, |
| 201 { | 206 { |
| 202 "cmd": [ | 207 "cmd": [ |
| 203 "python", | 208 "python", |
| 204 "-u", | 209 "-u", |
| 205 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 210 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 206 "[CWD]/tmp/SK_IMAGE_VERSION", | 211 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
| 207 "/path/to/tmp/" | 212 "/path/to/tmp/" |
| 208 ], | 213 ], |
| 214 "cwd": "[SLAVE_BUILD]", |
| 209 "name": "Get downloaded SK_IMAGE_VERSION" | 215 "name": "Get downloaded SK_IMAGE_VERSION" |
| 210 }, | 216 }, |
| 211 { | 217 { |
| 212 "cmd": [ | 218 "cmd": [ |
| 213 "python", | 219 "python", |
| 214 "-u", | 220 "-u", |
| 215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 221 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 216 "[CWD]/skia/SK_IMAGE_VERSION", | 222 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", |
| 217 "/path/to/tmp/" | 223 "/path/to/tmp/" |
| 218 ], | 224 ], |
| 225 "cwd": "[SLAVE_BUILD]", |
| 219 "name": "Get expected SK_IMAGE_VERSION" | 226 "name": "Get expected SK_IMAGE_VERSION" |
| 220 }, | 227 }, |
| 221 { | 228 { |
| 222 "cmd": [ | 229 "cmd": [ |
| 223 "python", | 230 "python", |
| 224 "-u", | 231 "-u", |
| 225 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 232 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 226 "[CWD]/dm" | 233 "[SLAVE_BUILD]/dm" |
| 227 ], | 234 ], |
| 235 "cwd": "[SLAVE_BUILD]", |
| 228 "name": "rmtree dm", | 236 "name": "rmtree dm", |
| 229 "~followup_annotations": [ | 237 "~followup_annotations": [ |
| 230 "@@@STEP_LOG_LINE@python.inline@@@@", | 238 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 231 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 239 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 232 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 240 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 233 "@@@STEP_LOG_LINE@python.inline@@@@", | 241 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 234 "@@@STEP_LOG_LINE@python.inline@@@@", | 242 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 235 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 243 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 236 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 244 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 237 "@@@STEP_LOG_END@python.inline@@@" | 245 "@@@STEP_LOG_END@python.inline@@@" |
| 238 ] | 246 ] |
| 239 }, | 247 }, |
| 240 { | 248 { |
| 241 "cmd": [ | 249 "cmd": [ |
| 242 "python", | 250 "python", |
| 243 "-u", | 251 "-u", |
| 244 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 252 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 245 "[CWD]/dm", | 253 "[SLAVE_BUILD]/dm", |
| 246 "511" | 254 "511" |
| 247 ], | 255 ], |
| 256 "cwd": "[SLAVE_BUILD]", |
| 248 "name": "makedirs dm", | 257 "name": "makedirs dm", |
| 249 "~followup_annotations": [ | 258 "~followup_annotations": [ |
| 250 "@@@STEP_LOG_LINE@python.inline@@@@", | 259 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 251 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 260 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 252 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 261 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 253 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 262 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 254 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 263 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 255 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 264 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 256 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 265 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 257 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 266 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 258 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 267 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 259 "@@@STEP_LOG_END@python.inline@@@" | 268 "@@@STEP_LOG_END@python.inline@@@" |
| 260 ] | 269 ] |
| 261 }, | 270 }, |
| 262 { | 271 { |
| 263 "cmd": [ | 272 "cmd": [ |
| 264 "python", | 273 "python", |
| 265 "-u", | 274 "-u", |
| 266 "\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", | 275 "\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", |
| 267 "[CWD]/tmp/uninteresting_hashes.txt" | 276 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
| 268 ], | 277 ], |
| 269 "cwd": "[CWD]/skia", | 278 "cwd": "[SLAVE_BUILD]/skia", |
| 270 "env": { | 279 "env": { |
| 271 "BUILDTYPE": "Debug", | 280 "BUILDTYPE": "Debug", |
| 272 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 281 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 273 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 282 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 274 }, | 283 }, |
| 275 "name": "get uninteresting hashes", | 284 "name": "get uninteresting hashes", |
| 276 "~followup_annotations": [ | 285 "~followup_annotations": [ |
| 277 "@@@STEP_LOG_LINE@python.inline@@@@", | 286 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 278 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | 287 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
| 279 "@@@STEP_LOG_LINE@python.inline@import math@@@", | 288 "@@@STEP_LOG_LINE@python.inline@import math@@@", |
| 280 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | 289 "@@@STEP_LOG_LINE@python.inline@import socket@@@", |
| 281 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 290 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 282 "@@@STEP_LOG_LINE@python.inline@import time@@@", | 291 "@@@STEP_LOG_LINE@python.inline@import time@@@", |
| 283 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", | 292 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 303 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 312 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
| 304 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | 313 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", |
| 305 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | 314 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", |
| 306 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | 315 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", |
| 307 "@@@STEP_LOG_END@python.inline@@@" | 316 "@@@STEP_LOG_END@python.inline@@@" |
| 308 ] | 317 ] |
| 309 }, | 318 }, |
| 310 { | 319 { |
| 311 "cmd": [ | 320 "cmd": [ |
| 312 "catchsegv", | 321 "catchsegv", |
| 313 "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm", | 322 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm
", |
| 314 "--undefok", | 323 "--undefok", |
| 315 "--resourcePath", | 324 "--resourcePath", |
| 316 "[CWD]/skia/resources", | 325 "[SLAVE_BUILD]/skia/resources", |
| 317 "--skps", | 326 "--skps", |
| 318 "[CWD]/playback/skps", | 327 "[SLAVE_BUILD]/playback/skps", |
| 319 "--images", | 328 "--images", |
| 320 "[CWD]/images/dm", | 329 "[SLAVE_BUILD]/images/dm", |
| 321 "--nameByHash", | 330 "--nameByHash", |
| 322 "--properties", | 331 "--properties", |
| 323 "gitHash", | 332 "gitHash", |
| 324 "164710", | 333 "164710", |
| 325 "master", | 334 "master", |
| 326 "client.skia", | 335 "client.skia", |
| 327 "builder", | 336 "builder", |
| 328 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | 337 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", |
| 329 "build_number", | 338 "build_number", |
| 330 "5", | 339 "5", |
| 331 "--key", | 340 "--key", |
| 332 "arch", | 341 "arch", |
| 333 "x86_64", | 342 "x86_64", |
| 334 "compiler", | 343 "compiler", |
| 335 "GCC", | 344 "GCC", |
| 336 "configuration", | 345 "configuration", |
| 337 "Debug", | 346 "Debug", |
| 338 "cpu_or_gpu", | 347 "cpu_or_gpu", |
| 339 "CPU", | 348 "CPU", |
| 340 "cpu_or_gpu_value", | 349 "cpu_or_gpu_value", |
| 341 "AVX2", | 350 "AVX2", |
| 342 "model", | 351 "model", |
| 343 "GCE", | 352 "GCE", |
| 344 "os", | 353 "os", |
| 345 "Ubuntu", | 354 "Ubuntu", |
| 346 "--uninterestingHashesFile", | 355 "--uninterestingHashesFile", |
| 347 "[CWD]/tmp/uninteresting_hashes.txt", | 356 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
| 348 "--writePath", | 357 "--writePath", |
| 349 "[CWD]/dm", | 358 "[SLAVE_BUILD]/dm", |
| 350 "--nogpu", | 359 "--nogpu", |
| 351 "--dummy-flags" | 360 "--dummy-flags" |
| 352 ], | 361 ], |
| 362 "cwd": "[SLAVE_BUILD]", |
| 353 "env": { | 363 "env": { |
| 354 "BUILDTYPE": "Debug", | 364 "BUILDTYPE": "Debug", |
| 355 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 365 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 356 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 366 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 357 }, | 367 }, |
| 358 "name": "dm" | 368 "name": "dm" |
| 359 }, | 369 }, |
| 360 { | 370 { |
| 361 "cmd": [ | 371 "cmd": [ |
| 362 "python", | 372 "python", |
| 363 "-u", | 373 "-u", |
| 364 "RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", | 374 "RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", |
| 365 "[CWD]/dm", | 375 "[SLAVE_BUILD]/dm", |
| 366 "164710", | 376 "164710", |
| 367 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | 377 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", |
| 368 "5", | 378 "5", |
| 369 "", | 379 "", |
| 370 "[CWD]/skia/common/py/utils" | 380 "[SLAVE_BUILD]/skia/common/py/utils" |
| 371 ], | 381 ], |
| 372 "cwd": "[CWD]/skia", | 382 "cwd": "[SLAVE_BUILD]/skia", |
| 373 "env": { | 383 "env": { |
| 374 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 384 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
| 375 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", | 385 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", |
| 376 "BUILDTYPE": "Debug", | 386 "BUILDTYPE": "Debug", |
| 377 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 387 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 378 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 388 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 379 }, | 389 }, |
| 380 "name": "Upload DM Results" | 390 "name": "Upload DM Results" |
| 381 }, | 391 }, |
| 382 { | 392 { |
| 383 "cmd": [ | 393 "cmd": [ |
| 384 "catchsegv", | 394 "catchsegv", |
| 385 "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/nanobench"
, | 395 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/na
nobench", |
| 386 "--undefok", | 396 "--undefok", |
| 387 "-i", | 397 "-i", |
| 388 "[CWD]/skia/resources", | 398 "[SLAVE_BUILD]/skia/resources", |
| 389 "--skps", | 399 "--skps", |
| 390 "[CWD]/playback/skps", | 400 "[SLAVE_BUILD]/playback/skps", |
| 391 "--images", | 401 "--images", |
| 392 "[CWD]/images/dm", | 402 "[SLAVE_BUILD]/images/dm", |
| 393 "--nogpu", | 403 "--nogpu", |
| 394 "--dummy-flags" | 404 "--dummy-flags" |
| 395 ], | 405 ], |
| 406 "cwd": "[SLAVE_BUILD]", |
| 396 "env": { | 407 "env": { |
| 397 "BUILDTYPE": "Debug", | 408 "BUILDTYPE": "Debug", |
| 398 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 409 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
| 399 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 410 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" |
| 400 }, | 411 }, |
| 401 "name": "nanobench" | 412 "name": "nanobench" |
| 402 }, | 413 }, |
| 403 { | 414 { |
| 404 "name": "$result", | 415 "name": "$result", |
| 405 "recipe_result": null, | 416 "recipe_result": null, |
| 406 "status_code": 0 | 417 "status_code": 0 |
| 407 } | 418 } |
| 408 ] | 419 ] |
| OLD | NEW |