OLD | NEW |
(Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "git", |
| 5 "rev-parse", |
| 6 "HEAD" |
| 7 ], |
| 8 "cwd": "[ROOT]/skia", |
| 9 "name": "git rev-parse", |
| 10 "stdout": "/path/to/tmp/" |
| 11 }, |
| 12 { |
| 13 "cmd": [ |
| 14 "python", |
| 15 "-c", |
| 16 "\"print 'abc123'\"" |
| 17 ], |
| 18 "name": "got_revision", |
| 19 "~followup_annotations": [ |
| 20 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" |
| 21 ] |
| 22 }, |
| 23 { |
| 24 "cmd": [ |
| 25 "python", |
| 26 "-u", |
| 27 "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files
:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access
(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)
\n" |
| 28 ], |
| 29 "cwd": "[ROOT]/skia", |
| 30 "name": "fix filemodes", |
| 31 "~followup_annotations": [ |
| 32 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 33 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@
@", |
| 34 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", |
| 35 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", |
| 36 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", |
| 37 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", |
| 38 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", |
| 39 "@@@STEP_LOG_LINE@python.inline@ else:@@@", |
| 40 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", |
| 41 "@@@STEP_LOG_END@python.inline@@@" |
| 42 ] |
| 43 }, |
| 44 { |
| 45 "cmd": [ |
| 46 "python", |
| 47 "-u", |
| 48 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 49 "--path", |
| 50 "[SLAVE_BUILD]/swarming.client", |
| 51 "--url", |
| 52 "https://chromium.googlesource.com/external/swarming.client.git" |
| 53 ], |
| 54 "name": "git setup (swarming_client)" |
| 55 }, |
| 56 { |
| 57 "cmd": [ |
| 58 "git", |
| 59 "retry", |
| 60 "fetch", |
| 61 "origin", |
| 62 "master" |
| 63 ], |
| 64 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 65 "name": "git fetch (swarming_client)" |
| 66 }, |
| 67 { |
| 68 "cmd": [ |
| 69 "git", |
| 70 "checkout", |
| 71 "-f", |
| 72 "FETCH_HEAD" |
| 73 ], |
| 74 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 75 "name": "git checkout (swarming_client)" |
| 76 }, |
| 77 { |
| 78 "cmd": [ |
| 79 "git", |
| 80 "rev-parse", |
| 81 "HEAD" |
| 82 ], |
| 83 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 84 "name": "read revision", |
| 85 "stdout": "/path/to/tmp/", |
| 86 "~followup_annotations": [ |
| 87 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| 88 ] |
| 89 }, |
| 90 { |
| 91 "cmd": [ |
| 92 "git", |
| 93 "clean", |
| 94 "-f", |
| 95 "-d", |
| 96 "-x" |
| 97 ], |
| 98 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 99 "name": "git clean (swarming_client)" |
| 100 }, |
| 101 { |
| 102 "cmd": [ |
| 103 "git", |
| 104 "submodule", |
| 105 "sync" |
| 106 ], |
| 107 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 108 "name": "submodule sync (swarming_client)" |
| 109 }, |
| 110 { |
| 111 "cmd": [ |
| 112 "git", |
| 113 "submodule", |
| 114 "update", |
| 115 "--init", |
| 116 "--recursive" |
| 117 ], |
| 118 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 119 "name": "submodule update (swarming_client)" |
| 120 }, |
| 121 { |
| 122 "cmd": [ |
| 123 "python", |
| 124 "-u", |
| 125 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 126 "--version" |
| 127 ], |
| 128 "name": "swarming.py --version", |
| 129 "stdout": "/path/to/tmp/", |
| 130 "~followup_annotations": [ |
| 131 "@@@STEP_TEXT@0.8.6@@@" |
| 132 ] |
| 133 }, |
| 134 { |
| 135 "cmd": [ |
| 136 "download_from_google_storage", |
| 137 "--no_resume", |
| 138 "--platform=linux*", |
| 139 "--no_auth", |
| 140 "--bucket", |
| 141 "chromium-luci", |
| 142 "-d", |
| 143 "[ROOT]/skia/infra/bots/tools/luci-go/linux64" |
| 144 ], |
| 145 "name": "download luci-go linux" |
| 146 }, |
| 147 { |
| 148 "cmd": [ |
| 149 "download_from_google_storage", |
| 150 "--no_resume", |
| 151 "--platform=darwin", |
| 152 "--no_auth", |
| 153 "--bucket", |
| 154 "chromium-luci", |
| 155 "-d", |
| 156 "[ROOT]/skia/infra/bots/tools/luci-go/mac64" |
| 157 ], |
| 158 "name": "download luci-go mac" |
| 159 }, |
| 160 { |
| 161 "cmd": [ |
| 162 "download_from_google_storage", |
| 163 "--no_resume", |
| 164 "--platform=win32", |
| 165 "--no_auth", |
| 166 "--bucket", |
| 167 "chromium-luci", |
| 168 "-d", |
| 169 "[ROOT]/skia/infra/bots/tools/luci-go/win64" |
| 170 ], |
| 171 "name": "download luci-go win" |
| 172 }, |
| 173 { |
| 174 "cmd": [ |
| 175 "python", |
| 176 "-u", |
| 177 "\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", |
| 178 "[SLAVE_BUILD]/luci-go" |
| 179 ], |
| 180 "env": { |
| 181 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" |
| 182 }, |
| 183 "name": "rmtree luci-go", |
| 184 "~followup_annotations": [ |
| 185 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 186 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 187 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 188 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 189 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 190 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 191 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 192 "@@@STEP_LOG_END@python.inline@@@" |
| 193 ] |
| 194 }, |
| 195 { |
| 196 "cmd": [ |
| 197 "python", |
| 198 "-u", |
| 199 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
| 200 "[ROOT]/skia/infra/bots/tools/luci-go", |
| 201 "[SLAVE_BUILD]/luci-go", |
| 202 "0" |
| 203 ], |
| 204 "name": "Copy Go binary" |
| 205 }, |
| 206 { |
| 207 "cmd": [ |
| 208 "python", |
| 209 "-u", |
| 210 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 211 "--", |
| 212 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| 213 "----", |
| 214 "help" |
| 215 ], |
| 216 "name": "gsutil help" |
| 217 }, |
| 218 { |
| 219 "cmd": [ |
| 220 "python", |
| 221 "-u", |
| 222 "[ROOT]/skia/tools/buildbot_spec.py", |
| 223 "/path/to/tmp/json", |
| 224 "Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release" |
| 225 ], |
| 226 "cwd": "[ROOT]/skia", |
| 227 "name": "exec buildbot_spec.py", |
| 228 "~followup_annotations": [ |
| 229 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 230 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 231 "@@@STEP_LOG_LINE@json.output@ \"iOSShell\"@@@", |
| 232 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 233 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 234 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"Arm7\", @@@", |
| 235 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", |
| 236 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 237 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"GPU\", @@@", |
| 238 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"SGX554\", @@@", |
| 239 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", |
| 240 "@@@STEP_LOG_LINE@json.output@ \"model\": \"iPad4\", @@@", |
| 241 "@@@STEP_LOG_LINE@json.output@ \"os\": \"iOS\", @@@", |
| 242 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@", |
| 243 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 244 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 245 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"iPad4,1\", @@@", |
| 246 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
| 247 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 248 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 249 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", |
| 250 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@", |
| 251 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| 252 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang\", @@@", |
| 253 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++\", @@@", |
| 254 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm sk
ia_clang_build=1 skia_os=ios skia_warnings_as_errors=0\"@@@", |
| 255 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 256 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
| 257 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 258 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 259 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
| 260 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
| 261 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 262 "@@@STEP_LOG_END@json.output@@@" |
| 263 ] |
| 264 }, |
| 265 { |
| 266 "cmd": [ |
| 267 "python", |
| 268 "-u", |
| 269 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
| 270 "/path/to/tmp/json", |
| 271 "Build-Mac-Clang-Arm7-Release-iOS" |
| 272 ], |
| 273 "cwd": "[SLAVE_BUILD]/skia", |
| 274 "name": "exec buildbot_spec.py (2)", |
| 275 "~followup_annotations": [ |
| 276 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 277 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 278 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", |
| 279 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 280 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 281 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", |
| 282 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 283 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"iOS\", @@@", |
| 284 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", |
| 285 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Mac\", @@@", |
| 286 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", |
| 287 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"Arm7\"@@@", |
| 288 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 289 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 290 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 293 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", |
| 294 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", |
| 295 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| 296 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang\", @@@", |
| 297 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++\", @@@", |
| 298 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm sk
ia_clang_build=1 skia_os=ios skia_warnings_as_errors=1\"@@@", |
| 299 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 300 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
| 301 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 302 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 303 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
| 304 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
| 305 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 306 "@@@STEP_LOG_END@json.output@@@" |
| 307 ] |
| 308 }, |
| 309 { |
| 310 "cmd": [ |
| 311 "python", |
| 312 "-u", |
| 313 "\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", |
| 314 "[SLAVE_BUILD]/swarming_temp_dir", |
| 315 "511" |
| 316 ], |
| 317 "name": "makedirs swarming tmp dir", |
| 318 "~followup_annotations": [ |
| 319 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 320 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 321 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 322 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 323 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 324 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 325 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 326 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 327 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 328 "@@@STEP_LOG_END@python.inline@@@" |
| 329 ] |
| 330 }, |
| 331 { |
| 332 "cmd": [ |
| 333 "python", |
| 334 "-u", |
| 335 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 336 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/
bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]
/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-varia
ble\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n
\".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist
\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\",
\n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUILD]
\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}", |
| 337 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" |
| 338 ], |
| 339 "name": "Write compile_skia.isolated.gen.json" |
| 340 }, |
| 341 { |
| 342 "cmd": [ |
| 343 "python", |
| 344 "-u", |
| 345 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 346 "[SLAVE_BUILD]/swarming.client", |
| 347 "batcharchive", |
| 348 "--dump-json", |
| 349 "/path/to/tmp/json", |
| 350 "--isolate-server", |
| 351 "https://isolateserver.appspot.com", |
| 352 "--verbose", |
| 353 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" |
| 354 ], |
| 355 "name": "isolate tests", |
| 356 "~followup_annotations": [ |
| 357 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 358 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil
e_skia]\"@@@", |
| 359 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 360 "@@@STEP_LOG_END@json.output@@@", |
| 361 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c
ompile_skia]\"}@@@" |
| 362 ] |
| 363 }, |
| 364 { |
| 365 "cmd": [ |
| 366 "python", |
| 367 "-u", |
| 368 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 369 "trigger", |
| 370 "--swarming", |
| 371 "https://chromium-swarm.appspot.com", |
| 372 "--isolate-server", |
| 373 "https://isolateserver.appspot.com", |
| 374 "--priority", |
| 375 "90", |
| 376 "--shards", |
| 377 "1", |
| 378 "--task-name", |
| 379 "compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/
5", |
| 380 "--dump-json", |
| 381 "/path/to/tmp/json", |
| 382 "--expiration", |
| 383 "72000", |
| 384 "--io-timeout", |
| 385 "2400", |
| 386 "--hard-timeout", |
| 387 "14400", |
| 388 "--dimension", |
| 389 "gpu", |
| 390 "none", |
| 391 "--dimension", |
| 392 "os", |
| 393 "Mac", |
| 394 "--dimension", |
| 395 "pool", |
| 396 "Skia", |
| 397 "--tag", |
| 398 "allow_milo:1", |
| 399 "--tag", |
| 400 "buildername:Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", |
| 401 "--tag", |
| 402 "buildnumber:5", |
| 403 "--tag", |
| 404 "data:[dummy hash for compile_skia]", |
| 405 "--tag", |
| 406 "master:client.skia", |
| 407 "--tag", |
| 408 "name:compile_skia", |
| 409 "--tag", |
| 410 "os:Mac", |
| 411 "--tag", |
| 412 "slavename:skiabot-linux-swarm-000", |
| 413 "--tag", |
| 414 "stepname:compile_skia on Mac", |
| 415 "--idempotent", |
| 416 "[dummy hash for compile_skia]", |
| 417 "--", |
| 418 "--workdir", |
| 419 "../../..", |
| 420 "swarm_compile", |
| 421 "buildername=Build-Mac-Clang-Arm7-Release-iOS", |
| 422 "mastername=client.skia.compile", |
| 423 "buildnumber=1", |
| 424 "slavename=skiabot-dummy-compile-slave", |
| 425 "reason=Triggered by Skia swarm_trigger Recipe", |
| 426 "swarm_out_dir=${ISOLATED_OUTDIR}", |
| 427 "revision=abc123" |
| 428 ], |
| 429 "name": "[trigger] compile_skia on Mac", |
| 430 "~followup_annotations": [ |
| 431 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 432 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[du
mmy has/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", @@@", |
| 433 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| 434 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Test-iOS-C
lang-iPad4-GPU-SGX554-Arm7-Release/5\": {@@@", |
| 435 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| 436 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| 437 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
| 438 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 439 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 440 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 441 "@@@STEP_LOG_END@json.output@@@", |
| 442 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@", |
| 443 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/10000@@@" |
| 444 ] |
| 445 }, |
| 446 { |
| 447 "cmd": [ |
| 448 "python", |
| 449 "-u", |
| 450 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 451 "collect", |
| 452 "--swarming", |
| 453 "https://chromium-swarm.appspot.com", |
| 454 "--decorate", |
| 455 "--print-status-updates", |
| 456 "--json", |
| 457 "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Test-iOS-Clang-iPad4-G
PU-SGX554-Arm7-Release/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Test-iOS-C
lang-iPad4-GPU-SGX554-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"1000
0\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", |
| 458 "--task-summary-json", |
| 459 "/path/to/tmp/json" |
| 460 ], |
| 461 "name": "compile_skia on Mac", |
| 462 "~followup_annotations": [ |
| 463 "@@@STEP_TEXT@swarming pending 71s@@@", |
| 464 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 465 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
| 466 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 467 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
| 468 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
| 469 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
| 470 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
| 471 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", |
| 472 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", |
| 473 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", |
| 474 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 475 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", |
| 476 "@@@STEP_LOG_LINE@json.output@ 0, @@@", |
| 477 "@@@STEP_LOG_LINE@json.output@ 0@@@", |
| 478 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 479 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", |
| 480 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", |
| 481 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", |
| 482 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", |
| 483 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| 484 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", |
| 485 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", |
| 486 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", |
| 487 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 488 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", |
| 489 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", |
| 490 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| 491 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", |
| 492 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", |
| 493 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 494 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", |
| 495 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", |
| 496 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", |
| 497 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", |
| 498 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 499 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 500 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 501 "@@@STEP_LOG_END@json.output@@@", |
| 502 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
| 503 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
| 504 ] |
| 505 }, |
| 506 { |
| 507 "cmd": [ |
| 508 "python", |
| 509 "-u", |
| 510 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 511 "[ROOT]/skia/infra/bots/assets/skp/VERSION", |
| 512 "/path/to/tmp/" |
| 513 ], |
| 514 "name": "read skp VERSION" |
| 515 }, |
| 516 { |
| 517 "cmd": [ |
| 518 "python", |
| 519 "-u", |
| 520 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 521 "[ROOT]/skia/infra/bots/assets/skimage/VERSION", |
| 522 "/path/to/tmp/" |
| 523 ], |
| 524 "name": "read skimage VERSION" |
| 525 }, |
| 526 { |
| 527 "cmd": [ |
| 528 "python", |
| 529 "-u", |
| 530 "\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", |
| 531 "[SLAVE_BUILD]/swarming_temp_dir", |
| 532 "511" |
| 533 ], |
| 534 "name": "makedirs swarming tmp dir (2)", |
| 535 "~followup_annotations": [ |
| 536 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 537 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 538 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 539 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 540 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 541 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 542 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 543 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 544 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 545 "@@@STEP_LOG_END@python.inline@@@" |
| 546 ] |
| 547 }, |
| 548 { |
| 549 "cmd": [ |
| 550 "python", |
| 551 "-u", |
| 552 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 553 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/
bots/test_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]/sw
arming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\",
\n \"OS\", \n \"iOS-9.2\", \n \"--blacklist\", \n \
".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\"
, \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n
\"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUILD]\"
\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}", |
| 554 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
| 555 ], |
| 556 "name": "Write test_skia.isolated.gen.json" |
| 557 }, |
| 558 { |
| 559 "cmd": [ |
| 560 "python", |
| 561 "-u", |
| 562 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 563 "[SLAVE_BUILD]/swarming.client", |
| 564 "batcharchive", |
| 565 "--dump-json", |
| 566 "/path/to/tmp/json", |
| 567 "--isolate-server", |
| 568 "https://isolateserver.appspot.com", |
| 569 "--verbose", |
| 570 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
| 571 ], |
| 572 "name": "isolate tests (2)", |
| 573 "~followup_annotations": [ |
| 574 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 575 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia
]\"@@@", |
| 576 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 577 "@@@STEP_LOG_END@json.output@@@", |
| 578 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test
_skia]\"}@@@" |
| 579 ] |
| 580 }, |
| 581 { |
| 582 "cmd": [ |
| 583 "python", |
| 584 "-u", |
| 585 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h
in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w')
as f:\n json.dump(isolated, f, sort_keys=True)\n", |
| 586 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", |
| 587 "abc123" |
| 588 ], |
| 589 "name": "add_isolated_input", |
| 590 "~followup_annotations": [ |
| 591 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 592 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
| 593 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 594 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", |
| 595 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", |
| 596 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", |
| 597 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", |
| 598 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", |
| 599 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", |
| 600 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", |
| 601 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", |
| 602 "@@@STEP_LOG_END@python.inline@@@" |
| 603 ] |
| 604 }, |
| 605 { |
| 606 "cmd": [ |
| 607 "python", |
| 608 "-u", |
| 609 "[SLAVE_BUILD]/swarming.client/isolateserver.py", |
| 610 "archive", |
| 611 "--isolate-server", |
| 612 "https://isolateserver.appspot.com", |
| 613 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated" |
| 614 ], |
| 615 "name": "upload new .isolated file for test_skia", |
| 616 "stdout": "/path/to/tmp/" |
| 617 }, |
| 618 { |
| 619 "cmd": [ |
| 620 "python", |
| 621 "-u", |
| 622 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 623 "trigger", |
| 624 "--swarming", |
| 625 "https://chromium-swarm.appspot.com", |
| 626 "--isolate-server", |
| 627 "https://isolateserver.appspot.com", |
| 628 "--priority", |
| 629 "90", |
| 630 "--shards", |
| 631 "1", |
| 632 "--task-name", |
| 633 "test_skia/iOS-9.2/def456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5", |
| 634 "--dump-json", |
| 635 "/path/to/tmp/json", |
| 636 "--expiration", |
| 637 "72000", |
| 638 "--io-timeout", |
| 639 "2400", |
| 640 "--hard-timeout", |
| 641 "14400", |
| 642 "--dimension", |
| 643 "device", |
| 644 "iPad4,1", |
| 645 "--dimension", |
| 646 "os", |
| 647 "iOS-9.2", |
| 648 "--dimension", |
| 649 "pool", |
| 650 "Skia", |
| 651 "--tag", |
| 652 "allow_milo:1", |
| 653 "--tag", |
| 654 "buildername:Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", |
| 655 "--tag", |
| 656 "buildnumber:5", |
| 657 "--tag", |
| 658 "data:def456", |
| 659 "--tag", |
| 660 "master:client.skia", |
| 661 "--tag", |
| 662 "name:test_skia", |
| 663 "--tag", |
| 664 "os:iOS-9.2", |
| 665 "--tag", |
| 666 "slavename:skiabot-linux-swarm-000", |
| 667 "--tag", |
| 668 "stepname:test_skia on iOS-9.2", |
| 669 "--cipd-package", |
| 670 "skp:skia/bots/skp:version:0", |
| 671 "--cipd-package", |
| 672 "skimage:skia/bots/skimage:version:0", |
| 673 "def456", |
| 674 "--", |
| 675 "--workdir", |
| 676 "../../..", |
| 677 "swarm_test", |
| 678 "buildername=Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", |
| 679 "mastername=client.skia", |
| 680 "buildnumber=5", |
| 681 "slavename=skiabot-linux-swarm-000", |
| 682 "reason=Triggered by Skia swarm_trigger Recipe", |
| 683 "swarm_out_dir=${ISOLATED_OUTDIR}", |
| 684 "revision=abc123" |
| 685 ], |
| 686 "name": "[trigger] test_skia on iOS-9.2", |
| 687 "~followup_annotations": [ |
| 688 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 689 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/iOS-9.2/de
f456/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release/5\", @@@", |
| 690 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| 691 "@@@STEP_LOG_LINE@json.output@ \"test_skia/iOS-9.2/def456/Test-iOS-Clan
g-iPad4-GPU-SGX554-Arm7-Release/5\": {@@@", |
| 692 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| 693 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| 694 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
| 695 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 696 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 697 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 698 "@@@STEP_LOG_END@json.output@@@", |
| 699 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@", |
| 700 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/10000@@@" |
| 701 ] |
| 702 }, |
| 703 { |
| 704 "cmd": [ |
| 705 "python", |
| 706 "-u", |
| 707 "\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", |
| 708 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
| 709 ], |
| 710 "env": { |
| 711 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" |
| 712 }, |
| 713 "name": "rmtree test_skia", |
| 714 "~followup_annotations": [ |
| 715 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 716 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 717 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 718 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 719 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 720 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 721 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 722 "@@@STEP_LOG_END@python.inline@@@" |
| 723 ] |
| 724 }, |
| 725 { |
| 726 "cmd": [ |
| 727 "python", |
| 728 "-u", |
| 729 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 730 "collect", |
| 731 "--swarming", |
| 732 "https://chromium-swarm.appspot.com", |
| 733 "--decorate", |
| 734 "--print-status-updates", |
| 735 "--json", |
| 736 "{\"base_task_name\": \"test_skia/iOS-9.2/def456/Test-iOS-Clang-iPad4-GPU-
SGX554-Arm7-Release/5\", \"tasks\": {\"test_skia/iOS-9.2/def456/Test-iOS-Clang-i
Pad4-GPU-SGX554-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \
"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", |
| 737 "--task-summary-json", |
| 738 "/path/to/tmp/json", |
| 739 "--task-output-dir", |
| 740 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
| 741 ], |
| 742 "name": "test_skia on iOS-9.2", |
| 743 "~followup_annotations": [ |
| 744 "@@@STEP_TEXT@swarming pending 71s@@@", |
| 745 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 746 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
| 747 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 748 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
| 749 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
| 750 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
| 751 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
| 752 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", |
| 753 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", |
| 754 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", |
| 755 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 756 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", |
| 757 "@@@STEP_LOG_LINE@json.output@ 0, @@@", |
| 758 "@@@STEP_LOG_LINE@json.output@ 0@@@", |
| 759 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 760 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", |
| 761 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", |
| 762 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", |
| 763 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", |
| 764 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| 765 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", |
| 766 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", |
| 767 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", |
| 768 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 769 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", |
| 770 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", |
| 771 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| 772 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", |
| 773 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", |
| 774 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 775 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", |
| 776 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", |
| 777 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", |
| 778 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", |
| 779 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 780 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 781 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 782 "@@@STEP_LOG_END@json.output@@@", |
| 783 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
| 784 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
| 785 ] |
| 786 }, |
| 787 { |
| 788 "cmd": [ |
| 789 "python", |
| 790 "-u", |
| 791 "\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", |
| 792 "[SLAVE_BUILD]/dm" |
| 793 ], |
| 794 "env": { |
| 795 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" |
| 796 }, |
| 797 "name": "rmtree dm", |
| 798 "~followup_annotations": [ |
| 799 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 800 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 801 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 802 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 803 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 804 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 805 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 806 "@@@STEP_LOG_END@python.inline@@@" |
| 807 ] |
| 808 }, |
| 809 { |
| 810 "cmd": [ |
| 811 "python", |
| 812 "-u", |
| 813 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
| 814 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm", |
| 815 "[SLAVE_BUILD]/dm", |
| 816 "0" |
| 817 ], |
| 818 "name": "dm_dir" |
| 819 }, |
| 820 { |
| 821 "cmd": [ |
| 822 "python", |
| 823 "-u", |
| 824 "RECIPE_MODULE[skia::skia]/resources/upload_dm_results.py", |
| 825 "[SLAVE_BUILD]/dm", |
| 826 "abc123", |
| 827 "Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release", |
| 828 "5", |
| 829 "", |
| 830 "[SLAVE_BUILD]/skia/common/py/utils" |
| 831 ], |
| 832 "cwd": "[ROOT]/skia", |
| 833 "env": { |
| 834 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
| 835 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" |
| 836 }, |
| 837 "name": "Upload DM Results" |
| 838 }, |
| 839 { |
| 840 "name": "$result", |
| 841 "recipe_result": null, |
| 842 "status_code": 0 |
| 843 } |
| 844 ] |
OLD | NEW |