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