| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "git", | 4 "git", |
| 5 "fetch" | 5 "fetch" |
| 6 ], | 6 ], |
| 7 "cwd": "[SLAVE_BUILD]/skia", | 7 "cwd": "[SLAVE_BUILD]/skia", |
| 8 "name": "git fetch" | 8 "name": "git fetch" |
| 9 }, | 9 }, |
| 10 { | 10 { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 }, | 29 }, |
| 30 { | 30 { |
| 31 "cmd": [ | 31 "cmd": [ |
| 32 "python", | 32 "python", |
| 33 "-u", | 33 "-u", |
| 34 "[DEPOT_TOOLS]/gclient.py", | 34 "[DEPOT_TOOLS]/gclient.py", |
| 35 "config", | 35 "config", |
| 36 "--spec", | 36 "--spec", |
| 37 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['ch
romeos']" | 37 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['ch
romeos']" |
| 38 ], | 38 ], |
| 39 "cwd": "[SLAVE_BUILD]", |
| 39 "name": "gclient setup" | 40 "name": "gclient setup" |
| 40 }, | 41 }, |
| 41 { | 42 { |
| 42 "cmd": [ | 43 "cmd": [ |
| 43 "python", | 44 "python", |
| 44 "-u", | 45 "-u", |
| 45 "[DEPOT_TOOLS]/gclient.py", | 46 "[DEPOT_TOOLS]/gclient.py", |
| 46 "sync", | 47 "sync", |
| 47 "--nohooks", | 48 "--nohooks", |
| 48 "--force", | 49 "--force", |
| 49 "--verbose", | 50 "--verbose", |
| 50 "--delete_unversioned_trees", | 51 "--delete_unversioned_trees", |
| 51 "--revision", | 52 "--revision", |
| 52 "skia@abc123", | 53 "skia@abc123", |
| 53 "--output-json", | 54 "--output-json", |
| 54 "/path/to/tmp/json" | 55 "/path/to/tmp/json" |
| 55 ], | 56 ], |
| 57 "cwd": "[SLAVE_BUILD]", |
| 56 "name": "gclient sync", | 58 "name": "gclient sync", |
| 57 "~followup_annotations": [ | 59 "~followup_annotations": [ |
| 58 "@@@STEP_LOG_LINE@json.output@{@@@", | 60 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 59 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 61 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 60 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 62 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 61 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 63 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
| 62 "@@@STEP_LOG_LINE@json.output@ }@@@", | 64 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 63 "@@@STEP_LOG_LINE@json.output@ }@@@", | 65 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 64 "@@@STEP_LOG_LINE@json.output@}@@@", | 66 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 65 "@@@STEP_LOG_END@json.output@@@", | 67 "@@@STEP_LOG_END@json.output@@@", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 83 { | 85 { |
| 84 "cmd": [ | 86 "cmd": [ |
| 85 "ssh", | 87 "ssh", |
| 86 "-p", | 88 "-p", |
| 87 "22", | 89 "22", |
| 88 "root@192.168.1.134", | 90 "root@192.168.1.134", |
| 89 "rm", | 91 "rm", |
| 90 "-rf", | 92 "-rf", |
| 91 "/usr/local/skiabot/bin" | 93 "/usr/local/skiabot/bin" |
| 92 ], | 94 ], |
| 95 "cwd": "[SLAVE_BUILD]", |
| 93 "name": "rmdir bin" | 96 "name": "rmdir bin" |
| 94 }, | 97 }, |
| 95 { | 98 { |
| 96 "cmd": [ | 99 "cmd": [ |
| 97 "ssh", | 100 "ssh", |
| 98 "-p", | 101 "-p", |
| 99 "22", | 102 "22", |
| 100 "root@192.168.1.134", | 103 "root@192.168.1.134", |
| 101 "mkdir", | 104 "mkdir", |
| 102 "-p", | 105 "-p", |
| 103 "/usr/local/skiabot/bin" | 106 "/usr/local/skiabot/bin" |
| 104 ], | 107 ], |
| 108 "cwd": "[SLAVE_BUILD]", |
| 105 "name": "mkdir bin" | 109 "name": "mkdir bin" |
| 106 }, | 110 }, |
| 107 { | 111 { |
| 108 "cmd": [ | 112 "cmd": [ |
| 109 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", | 113 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", |
| 110 "[SLAVE_BUILD]/skia/resources", | 114 "[SLAVE_BUILD]/skia/resources", |
| 111 "root@192.168.1.134:/usr/local/skiabot/skia_resources" | 115 "root@192.168.1.134:/usr/local/skiabot/skia_resources" |
| 112 ], | 116 ], |
| 117 "cwd": "[SLAVE_BUILD]", |
| 113 "name": "scp resources" | 118 "name": "scp resources" |
| 114 }, | 119 }, |
| 115 { | 120 { |
| 116 "cmd": [ | 121 "cmd": [ |
| 117 "python", | 122 "python", |
| 118 "-u", | 123 "-u", |
| 119 "\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", | 124 "\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", |
| 120 "[SLAVE_BUILD]/tmp", | 125 "[SLAVE_BUILD]/tmp", |
| 121 "511" | 126 "511" |
| 122 ], | 127 ], |
| 128 "cwd": "[SLAVE_BUILD]", |
| 123 "name": "makedirs tmp_dir", | 129 "name": "makedirs tmp_dir", |
| 124 "~followup_annotations": [ | 130 "~followup_annotations": [ |
| 125 "@@@STEP_LOG_LINE@python.inline@@@@", | 131 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 126 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 132 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 127 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 133 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 128 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 134 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 129 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 135 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 130 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 136 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 131 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 137 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 132 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 138 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 133 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 134 "@@@STEP_LOG_END@python.inline@@@" | 140 "@@@STEP_LOG_END@python.inline@@@" |
| 135 ] | 141 ] |
| 136 }, | 142 }, |
| 137 { | 143 { |
| 138 "cmd": [ | 144 "cmd": [ |
| 139 "python", | 145 "python", |
| 140 "-u", | 146 "-u", |
| 141 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 147 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 142 "[SLAVE_BUILD]/skia/SKP_VERSION", | 148 "[SLAVE_BUILD]/skia/SKP_VERSION", |
| 143 "/path/to/tmp/" | 149 "/path/to/tmp/" |
| 144 ], | 150 ], |
| 151 "cwd": "[SLAVE_BUILD]", |
| 145 "name": "Get expected SKP_VERSION" | 152 "name": "Get expected SKP_VERSION" |
| 146 }, | 153 }, |
| 147 { | 154 { |
| 148 "cmd": [ | 155 "cmd": [ |
| 149 "python", | 156 "python", |
| 150 "-u", | 157 "-u", |
| 151 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 158 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 152 "[SLAVE_BUILD]/tmp/SKP_VERSION", | 159 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
| 153 "/path/to/tmp/" | 160 "/path/to/tmp/" |
| 154 ], | 161 ], |
| 162 "cwd": "[SLAVE_BUILD]", |
| 155 "name": "Get downloaded SKP_VERSION" | 163 "name": "Get downloaded SKP_VERSION" |
| 156 }, | 164 }, |
| 157 { | 165 { |
| 158 "cmd": [ | 166 "cmd": [ |
| 159 "ssh", | 167 "ssh", |
| 160 "-p", | 168 "-p", |
| 161 "22", | 169 "22", |
| 162 "root@192.168.1.134", | 170 "root@192.168.1.134", |
| 163 "cat", | 171 "cat", |
| 164 "/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" | 172 "/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" |
| 165 ], | 173 ], |
| 174 "cwd": "[SLAVE_BUILD]", |
| 166 "name": "read SKP_VERSION", | 175 "name": "read SKP_VERSION", |
| 167 "stdout": "/path/to/tmp/" | 176 "stdout": "/path/to/tmp/" |
| 168 }, | 177 }, |
| 169 { | 178 { |
| 170 "cmd": [ | 179 "cmd": [ |
| 171 "ssh", | 180 "ssh", |
| 172 "-p", | 181 "-p", |
| 173 "22", | 182 "22", |
| 174 "root@192.168.1.134", | 183 "root@192.168.1.134", |
| 175 "rm", | 184 "rm", |
| 176 "-f", | 185 "-f", |
| 177 "/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" | 186 "/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" |
| 178 ], | 187 ], |
| 188 "cwd": "[SLAVE_BUILD]", |
| 179 "name": "rm SKP_VERSION" | 189 "name": "rm SKP_VERSION" |
| 180 }, | 190 }, |
| 181 { | 191 { |
| 182 "cmd": [ | 192 "cmd": [ |
| 183 "ssh", | 193 "ssh", |
| 184 "-p", | 194 "-p", |
| 185 "22", | 195 "22", |
| 186 "root@192.168.1.134", | 196 "root@192.168.1.134", |
| 187 "rm", | 197 "rm", |
| 188 "-rf", | 198 "-rf", |
| 189 "/usr/local/skiabot/skia_skp/skps" | 199 "/usr/local/skiabot/skia_skp/skps" |
| 190 ], | 200 ], |
| 201 "cwd": "[SLAVE_BUILD]", |
| 191 "name": "rmdir skps" | 202 "name": "rmdir skps" |
| 192 }, | 203 }, |
| 193 { | 204 { |
| 194 "cmd": [ | 205 "cmd": [ |
| 195 "ssh", | 206 "ssh", |
| 196 "-p", | 207 "-p", |
| 197 "22", | 208 "22", |
| 198 "root@192.168.1.134", | 209 "root@192.168.1.134", |
| 199 "mkdir", | 210 "mkdir", |
| 200 "-p", | 211 "-p", |
| 201 "/usr/local/skiabot/skia_skp/skps" | 212 "/usr/local/skiabot/skia_skp/skps" |
| 202 ], | 213 ], |
| 214 "cwd": "[SLAVE_BUILD]", |
| 203 "name": "mkdir skps" | 215 "name": "mkdir skps" |
| 204 }, | 216 }, |
| 205 { | 217 { |
| 206 "cmd": [ | 218 "cmd": [ |
| 207 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", | 219 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", |
| 208 "[SLAVE_BUILD]/playback/skps", | 220 "[SLAVE_BUILD]/playback/skps", |
| 209 "root@192.168.1.134:/usr/local/skiabot/skia_skp/skps" | 221 "root@192.168.1.134:/usr/local/skiabot/skia_skp/skps" |
| 210 ], | 222 ], |
| 223 "cwd": "[SLAVE_BUILD]", |
| 211 "name": "scp skps" | 224 "name": "scp skps" |
| 212 }, | 225 }, |
| 213 { | 226 { |
| 214 "cmd": [ | 227 "cmd": [ |
| 215 "scp", | 228 "scp", |
| 216 "-P", | 229 "-P", |
| 217 "22", | 230 "22", |
| 218 "[SLAVE_BUILD]/tmp/SKP_VERSION", | 231 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
| 219 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" | 232 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/SKP_VERSION" |
| 220 ], | 233 ], |
| 234 "cwd": "[SLAVE_BUILD]", |
| 221 "name": "scp SKP_VERSION" | 235 "name": "scp SKP_VERSION" |
| 222 }, | 236 }, |
| 223 { | 237 { |
| 224 "cmd": [ | 238 "cmd": [ |
| 225 "python", | 239 "python", |
| 226 "-u", | 240 "-u", |
| 227 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 241 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
| 228 "--", | 242 "--", |
| 229 "[DEPOT_TOOLS]/gsutil.py", | 243 "[DEPOT_TOOLS]/gsutil.py", |
| 230 "--force-version", | 244 "--force-version", |
| 231 "3.25", | 245 "3.25", |
| 232 "--", | 246 "--", |
| 233 "cat", | 247 "cat", |
| 234 "gs://chromium-skia-gm/skimage/input/TIMESTAMP_LAST_UPLOAD_COMPLETED" | 248 "gs://chromium-skia-gm/skimage/input/TIMESTAMP_LAST_UPLOAD_COMPLETED" |
| 235 ], | 249 ], |
| 250 "cwd": "[SLAVE_BUILD]", |
| 236 "name": "gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED", | 251 "name": "gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED", |
| 237 "stdout": "/path/to/tmp/" | 252 "stdout": "/path/to/tmp/" |
| 238 }, | 253 }, |
| 239 { | 254 { |
| 240 "cmd": [ | 255 "cmd": [ |
| 241 "python", | 256 "python", |
| 242 "-u", | 257 "-u", |
| 243 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 258 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 244 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", | 259 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", |
| 245 "/path/to/tmp/" | 260 "/path/to/tmp/" |
| 246 ], | 261 ], |
| 262 "cwd": "[SLAVE_BUILD]", |
| 247 "name": "Get downloaded SKIMAGE_VERSION" | 263 "name": "Get downloaded SKIMAGE_VERSION" |
| 248 }, | 264 }, |
| 249 { | 265 { |
| 250 "cmd": [ | 266 "cmd": [ |
| 251 "ssh", | 267 "ssh", |
| 252 "-p", | 268 "-p", |
| 253 "22", | 269 "22", |
| 254 "root@192.168.1.134", | 270 "root@192.168.1.134", |
| 255 "cat", | 271 "cat", |
| 256 "/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" | 272 "/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" |
| 257 ], | 273 ], |
| 274 "cwd": "[SLAVE_BUILD]", |
| 258 "name": "read SKIMAGE_VERSION", | 275 "name": "read SKIMAGE_VERSION", |
| 259 "stdout": "/path/to/tmp/" | 276 "stdout": "/path/to/tmp/" |
| 260 }, | 277 }, |
| 261 { | 278 { |
| 262 "cmd": [ | 279 "cmd": [ |
| 263 "ssh", | 280 "ssh", |
| 264 "-p", | 281 "-p", |
| 265 "22", | 282 "22", |
| 266 "root@192.168.1.134", | 283 "root@192.168.1.134", |
| 267 "rm", | 284 "rm", |
| 268 "-f", | 285 "-f", |
| 269 "/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" | 286 "/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" |
| 270 ], | 287 ], |
| 288 "cwd": "[SLAVE_BUILD]", |
| 271 "name": "rm SKIMAGE_VERSION" | 289 "name": "rm SKIMAGE_VERSION" |
| 272 }, | 290 }, |
| 273 { | 291 { |
| 274 "cmd": [ | 292 "cmd": [ |
| 275 "ssh", | 293 "ssh", |
| 276 "-p", | 294 "-p", |
| 277 "22", | 295 "22", |
| 278 "root@192.168.1.134", | 296 "root@192.168.1.134", |
| 279 "rm", | 297 "rm", |
| 280 "-rf", | 298 "-rf", |
| 281 "/usr/local/skiabot/skia_images" | 299 "/usr/local/skiabot/skia_images" |
| 282 ], | 300 ], |
| 301 "cwd": "[SLAVE_BUILD]", |
| 283 "name": "rmdir skia_images" | 302 "name": "rmdir skia_images" |
| 284 }, | 303 }, |
| 285 { | 304 { |
| 286 "cmd": [ | 305 "cmd": [ |
| 287 "ssh", | 306 "ssh", |
| 288 "-p", | 307 "-p", |
| 289 "22", | 308 "22", |
| 290 "root@192.168.1.134", | 309 "root@192.168.1.134", |
| 291 "mkdir", | 310 "mkdir", |
| 292 "-p", | 311 "-p", |
| 293 "/usr/local/skiabot/skia_images" | 312 "/usr/local/skiabot/skia_images" |
| 294 ], | 313 ], |
| 314 "cwd": "[SLAVE_BUILD]", |
| 295 "name": "mkdir skia_images" | 315 "name": "mkdir skia_images" |
| 296 }, | 316 }, |
| 297 { | 317 { |
| 298 "cmd": [ | 318 "cmd": [ |
| 299 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", | 319 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", |
| 300 "[SLAVE_BUILD]/images", | 320 "[SLAVE_BUILD]/images", |
| 301 "root@192.168.1.134:/usr/local/skiabot/skia_images" | 321 "root@192.168.1.134:/usr/local/skiabot/skia_images" |
| 302 ], | 322 ], |
| 323 "cwd": "[SLAVE_BUILD]", |
| 303 "name": "scp images" | 324 "name": "scp images" |
| 304 }, | 325 }, |
| 305 { | 326 { |
| 306 "cmd": [ | 327 "cmd": [ |
| 307 "scp", | 328 "scp", |
| 308 "-P", | 329 "-P", |
| 309 "22", | 330 "22", |
| 310 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", | 331 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", |
| 311 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" | 332 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/SKIMAGE_VERSION" |
| 312 ], | 333 ], |
| 334 "cwd": "[SLAVE_BUILD]", |
| 313 "name": "scp SKIMAGE_VERSION" | 335 "name": "scp SKIMAGE_VERSION" |
| 314 }, | 336 }, |
| 315 { | 337 { |
| 316 "cmd": [ | 338 "cmd": [ |
| 317 "python", | 339 "python", |
| 318 "-u", | 340 "-u", |
| 319 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", | 341 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| 320 "[SLAVE_BUILD]/dm" | 342 "[SLAVE_BUILD]/dm" |
| 321 ], | 343 ], |
| 344 "cwd": "[SLAVE_BUILD]", |
| 322 "name": "rmtree dm", | 345 "name": "rmtree dm", |
| 323 "~followup_annotations": [ | 346 "~followup_annotations": [ |
| 324 "@@@STEP_LOG_LINE@python.inline@@@@", | 347 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 325 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 348 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 326 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", | 349 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
| 327 "@@@STEP_LOG_LINE@python.inline@@@@", | 350 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 328 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 351 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 329 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 352 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 330 "@@@STEP_LOG_END@python.inline@@@" | 353 "@@@STEP_LOG_END@python.inline@@@" |
| 331 ] | 354 ] |
| 332 }, | 355 }, |
| 333 { | 356 { |
| 334 "cmd": [ | 357 "cmd": [ |
| 335 "python", | 358 "python", |
| 336 "-u", | 359 "-u", |
| 337 "\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", | 360 "\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", |
| 338 "[SLAVE_BUILD]/dm", | 361 "[SLAVE_BUILD]/dm", |
| 339 "511" | 362 "511" |
| 340 ], | 363 ], |
| 364 "cwd": "[SLAVE_BUILD]", |
| 341 "name": "makedirs dm", | 365 "name": "makedirs dm", |
| 342 "~followup_annotations": [ | 366 "~followup_annotations": [ |
| 343 "@@@STEP_LOG_LINE@python.inline@@@@", | 367 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 344 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 368 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 345 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 369 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 346 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 370 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 347 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 371 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 348 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 372 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 349 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 373 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 374 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 375 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 352 "@@@STEP_LOG_END@python.inline@@@" | 376 "@@@STEP_LOG_END@python.inline@@@" |
| 353 ] | 377 ] |
| 354 }, | 378 }, |
| 355 { | 379 { |
| 356 "cmd": [ | 380 "cmd": [ |
| 357 "ssh", | 381 "ssh", |
| 358 "-p", | 382 "-p", |
| 359 "22", | 383 "22", |
| 360 "root@192.168.1.134", | 384 "root@192.168.1.134", |
| 361 "rm", | 385 "rm", |
| 362 "-rf", | 386 "-rf", |
| 363 "/usr/local/skiabot/skia_dm_out" | 387 "/usr/local/skiabot/skia_dm_out" |
| 364 ], | 388 ], |
| 389 "cwd": "[SLAVE_BUILD]", |
| 365 "name": "rmdir skia_dm_out" | 390 "name": "rmdir skia_dm_out" |
| 366 }, | 391 }, |
| 367 { | 392 { |
| 368 "cmd": [ | 393 "cmd": [ |
| 369 "ssh", | 394 "ssh", |
| 370 "-p", | 395 "-p", |
| 371 "22", | 396 "22", |
| 372 "root@192.168.1.134", | 397 "root@192.168.1.134", |
| 373 "mkdir", | 398 "mkdir", |
| 374 "-p", | 399 "-p", |
| 375 "/usr/local/skiabot/skia_dm_out" | 400 "/usr/local/skiabot/skia_dm_out" |
| 376 ], | 401 ], |
| 402 "cwd": "[SLAVE_BUILD]", |
| 377 "name": "mkdir skia_dm_out" | 403 "name": "mkdir skia_dm_out" |
| 378 }, | 404 }, |
| 379 { | 405 { |
| 380 "cmd": [ | 406 "cmd": [ |
| 381 "python", | 407 "python", |
| 382 "-u", | 408 "-u", |
| 383 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/2/_/hashes'\nRETRIES = 5\
nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in
range(RETRIES):\n try:\n with open(sys.argv[1], 'w') as f:\n with cont
extlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n
f.write(w.read())\n break\n except:\n print 'Failed to get un
interesting hashes from %s' % HASHES_URL\n if retry == RETRIES:\n raise\
n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.'
% waittime\n time.sleep(waittime)\n", | 409 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/2/_/hashes'\nRETRIES = 5\
nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in
range(RETRIES):\n try:\n with open(sys.argv[1], 'w') as f:\n with cont
extlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n
f.write(w.read())\n break\n except:\n print 'Failed to get un
interesting hashes from %s' % HASHES_URL\n if retry == RETRIES:\n raise\
n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.'
% waittime\n time.sleep(waittime)\n", |
| 384 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | 410 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
| 385 ], | 411 ], |
| 386 "cwd": "[SLAVE_BUILD]/skia", | 412 "cwd": "[SLAVE_BUILD]/skia", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 ] | 444 ] |
| 419 }, | 445 }, |
| 420 { | 446 { |
| 421 "cmd": [ | 447 "cmd": [ |
| 422 "scp", | 448 "scp", |
| 423 "-P", | 449 "-P", |
| 424 "22", | 450 "22", |
| 425 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | 451 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
| 426 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/uninteresting_hashes.t
xt" | 452 "root@192.168.1.134:/usr/local/skiabot/skia_tmp_dir/uninteresting_hashes.t
xt" |
| 427 ], | 453 ], |
| 454 "cwd": "[SLAVE_BUILD]", |
| 428 "name": "scp uninteresting_hashes.txt" | 455 "name": "scp uninteresting_hashes.txt" |
| 429 }, | 456 }, |
| 430 { | 457 { |
| 431 "cmd": [ | 458 "cmd": [ |
| 432 "python", | 459 "python", |
| 433 "-u", | 460 "-u", |
| 434 "[SLAVE_BUILD]/skia/tools/dm_flags.py", | 461 "[SLAVE_BUILD]/skia/tools/dm_flags.py", |
| 435 "/path/to/tmp/json", | 462 "/path/to/tmp/json", |
| 436 "Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Release" | 463 "Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Release" |
| 437 ], | 464 ], |
| 438 "cwd": "[SLAVE_BUILD]/skia", | 465 "cwd": "[SLAVE_BUILD]/skia", |
| 439 "name": "exec dm_flags.py", | 466 "name": "exec dm_flags.py", |
| 440 "~followup_annotations": [ | 467 "~followup_annotations": [ |
| 441 "@@@STEP_LOG_LINE@json.output@[@@@", | 468 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 442 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 469 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 443 "@@@STEP_LOG_LINE@json.output@]@@@", | 470 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 444 "@@@STEP_LOG_END@json.output@@@" | 471 "@@@STEP_LOG_END@json.output@@@" |
| 445 ] | 472 ] |
| 446 }, | 473 }, |
| 447 { | 474 { |
| 448 "cmd": [ | 475 "cmd": [ |
| 449 "scp", | 476 "scp", |
| 450 "-P", | 477 "-P", |
| 451 "22", | 478 "22", |
| 452 "[SLAVE_BUILD]/skia/out/config/chromeos-daisy/Release/dm", | 479 "[SLAVE_BUILD]/skia/out/config/chromeos-daisy/Release/dm", |
| 453 "root@192.168.1.134:/usr/local/skiabot/bin/dm" | 480 "root@192.168.1.134:/usr/local/skiabot/bin/dm" |
| 454 ], | 481 ], |
| 482 "cwd": "[SLAVE_BUILD]", |
| 455 "name": "scp dm" | 483 "name": "scp dm" |
| 456 }, | 484 }, |
| 457 { | 485 { |
| 458 "cmd": [ | 486 "cmd": [ |
| 459 "ssh", | 487 "ssh", |
| 460 "-p", | 488 "-p", |
| 461 "22", | 489 "22", |
| 462 "root@192.168.1.134", | 490 "root@192.168.1.134", |
| 463 "/usr/local/skiabot/bin/dm", | 491 "/usr/local/skiabot/bin/dm", |
| 464 "--undefok", | 492 "--undefok", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 490 "NEON", | 518 "NEON", |
| 491 "model", | 519 "model", |
| 492 "Daisy", | 520 "Daisy", |
| 493 "os", | 521 "os", |
| 494 "ChromeOS", | 522 "ChromeOS", |
| 495 "--uninterestingHashesFile", | 523 "--uninterestingHashesFile", |
| 496 "/usr/local/skiabot/skia_tmp_dir/uninteresting_hashes.txt", | 524 "/usr/local/skiabot/skia_tmp_dir/uninteresting_hashes.txt", |
| 497 "--nogpu", | 525 "--nogpu", |
| 498 "--dummy-flags" | 526 "--dummy-flags" |
| 499 ], | 527 ], |
| 528 "cwd": "[SLAVE_BUILD]", |
| 500 "name": "dm" | 529 "name": "dm" |
| 501 }, | 530 }, |
| 502 { | 531 { |
| 503 "cmd": [ | 532 "cmd": [ |
| 504 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", | 533 "RECIPE_MODULE[skia]/resources/scp_dir_contents.sh", |
| 505 "root@192.168.1.134:/usr/local/skiabot/skia_dm_out", | 534 "root@192.168.1.134:/usr/local/skiabot/skia_dm_out", |
| 506 "[SLAVE_BUILD]/dm" | 535 "[SLAVE_BUILD]/dm" |
| 507 ], | 536 ], |
| 537 "cwd": "[SLAVE_BUILD]", |
| 508 "name": "scp skia_dm_out" | 538 "name": "scp skia_dm_out" |
| 509 }, | 539 }, |
| 510 { | 540 { |
| 511 "cmd": [ | 541 "cmd": [ |
| 512 "python", | 542 "python", |
| 513 "-u", | 543 "-u", |
| 514 "RECIPE_MODULE[skia]/resources/upload_dm_results.py", | 544 "RECIPE_MODULE[skia]/resources/upload_dm_results.py", |
| 515 "[SLAVE_BUILD]/dm", | 545 "[SLAVE_BUILD]/dm", |
| 516 "164710", | 546 "164710", |
| 517 "Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Release", | 547 "Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Release", |
| 518 "5", | 548 "5", |
| 519 "", | 549 "", |
| 520 "[SLAVE_BUILD]/skia/common/py/utils" | 550 "[SLAVE_BUILD]/skia/common/py/utils" |
| 521 ], | 551 ], |
| 522 "cwd": "[SLAVE_BUILD]/skia", | 552 "cwd": "[SLAVE_BUILD]/skia", |
| 523 "name": "Upload DM Results" | 553 "name": "Upload DM Results" |
| 524 } | 554 } |
| 525 ] | 555 ] |
| OLD | NEW |