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-Android-GCC-Nexus7v2-GPU-Tegra3-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@ \"dm\"@@@", |
| 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\": \"GCC\", @@@", |
| 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\": \"Tegra3\", @@@", |
| 239 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", |
| 240 "@@@STEP_LOG_LINE@json.output@ \"model\": \"Nexus7v2\", @@@", |
| 241 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Android\", @@@", |
| 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\": \"arm_v7_neon\", @@@", |
| 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@ \"GYP_DEFINES\": \"skia_arch_type=arm sk
ia_warnings_as_errors=0\"@@@", |
| 253 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 254 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
| 255 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 256 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 257 "@@@STEP_LOG_LINE@json.output@ \"product.board\": \"flo\", @@@", |
| 258 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
| 259 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
| 260 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 261 "@@@STEP_LOG_END@json.output@@@" |
| 262 ] |
| 263 }, |
| 264 { |
| 265 "cmd": [ |
| 266 "python", |
| 267 "-u", |
| 268 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 269 "[ROOT]/skia/infra/bots/assets/android_sdk/VERSION", |
| 270 "/path/to/tmp/" |
| 271 ], |
| 272 "name": "read android_sdk VERSION" |
| 273 }, |
| 274 { |
| 275 "cmd": [ |
| 276 "python", |
| 277 "-u", |
| 278 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
| 279 "/path/to/tmp/json", |
| 280 "Build-Ubuntu-GCC-Arm7-Release-Android" |
| 281 ], |
| 282 "cwd": "[SLAVE_BUILD]/skia", |
| 283 "name": "exec buildbot_spec.py (2)", |
| 284 "~followup_annotations": [ |
| 285 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 286 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 287 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", |
| 288 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 289 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
| 290 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", |
| 291 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Android\", @@@", |
| 293 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", |
| 294 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", |
| 295 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", |
| 296 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"Arm7\"@@@", |
| 297 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 298 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
| 299 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"arm_v7_neon\", @@@", |
| 300 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
| 301 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 302 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 303 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", |
| 304 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", |
| 305 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
| 306 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm sk
ia_warnings_as_errors=1\"@@@", |
| 307 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 308 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
| 309 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
| 310 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 311 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", |
| 312 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
| 313 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 314 "@@@STEP_LOG_END@json.output@@@" |
| 315 ] |
| 316 }, |
| 317 { |
| 318 "cmd": [ |
| 319 "python", |
| 320 "-u", |
| 321 "\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", |
| 322 "[SLAVE_BUILD]/swarming_temp_dir", |
| 323 "511" |
| 324 ], |
| 325 "name": "makedirs swarming tmp dir", |
| 326 "~followup_annotations": [ |
| 327 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 328 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 329 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 330 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 331 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 332 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 333 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 334 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 335 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 336 "@@@STEP_LOG_END@python.inline@@@" |
| 337 ] |
| 338 }, |
| 339 { |
| 340 "cmd": [ |
| 341 "python", |
| 342 "-u", |
| 343 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 344 "{\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 \"Ubuntu\", \n \"--blacklist\", \n
\".git\", \n \"--blacklist\", \n \"out\", \n \"--blackl
ist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\
", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUI
LD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}", |
| 345 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" |
| 346 ], |
| 347 "name": "Write compile_skia.isolated.gen.json" |
| 348 }, |
| 349 { |
| 350 "cmd": [ |
| 351 "python", |
| 352 "-u", |
| 353 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 354 "[SLAVE_BUILD]/swarming.client", |
| 355 "batcharchive", |
| 356 "--dump-json", |
| 357 "/path/to/tmp/json", |
| 358 "--isolate-server", |
| 359 "https://isolateserver.appspot.com", |
| 360 "--verbose", |
| 361 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" |
| 362 ], |
| 363 "name": "isolate tests", |
| 364 "~followup_annotations": [ |
| 365 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 366 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil
e_skia]\"@@@", |
| 367 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 368 "@@@STEP_LOG_END@json.output@@@", |
| 369 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c
ompile_skia]\"}@@@" |
| 370 ] |
| 371 }, |
| 372 { |
| 373 "cmd": [ |
| 374 "python", |
| 375 "-u", |
| 376 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 377 "trigger", |
| 378 "--swarming", |
| 379 "https://chromium-swarm.appspot.com", |
| 380 "--isolate-server", |
| 381 "https://isolateserver.appspot.com", |
| 382 "--priority", |
| 383 "90", |
| 384 "--shards", |
| 385 "1", |
| 386 "--task-name", |
| 387 "compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-
Release/5", |
| 388 "--dump-json", |
| 389 "/path/to/tmp/json", |
| 390 "--expiration", |
| 391 "72000", |
| 392 "--io-timeout", |
| 393 "2400", |
| 394 "--hard-timeout", |
| 395 "14400", |
| 396 "--dimension", |
| 397 "gpu", |
| 398 "none", |
| 399 "--dimension", |
| 400 "os", |
| 401 "Ubuntu", |
| 402 "--dimension", |
| 403 "pool", |
| 404 "Skia", |
| 405 "--tag", |
| 406 "allow_milo:1", |
| 407 "--tag", |
| 408 "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", |
| 409 "--tag", |
| 410 "buildnumber:5", |
| 411 "--tag", |
| 412 "data:[dummy hash for compile_skia]", |
| 413 "--tag", |
| 414 "master:client.skia", |
| 415 "--tag", |
| 416 "name:compile_skia", |
| 417 "--tag", |
| 418 "os:Ubuntu", |
| 419 "--tag", |
| 420 "slavename:skiabot-linux-swarm-000", |
| 421 "--tag", |
| 422 "stepname:compile_skia on Ubuntu", |
| 423 "--idempotent", |
| 424 "--cipd-package", |
| 425 "android_sdk:skia/bots/android_sdk:version:0", |
| 426 "[dummy hash for compile_skia]", |
| 427 "--", |
| 428 "--workdir", |
| 429 "../../..", |
| 430 "swarm_compile", |
| 431 "buildername=Build-Ubuntu-GCC-Arm7-Release-Android", |
| 432 "mastername=client.skia.compile", |
| 433 "buildnumber=1", |
| 434 "slavename=skiabot-dummy-compile-slave", |
| 435 "reason=Triggered by Skia swarm_trigger Recipe", |
| 436 "swarm_out_dir=${ISOLATED_OUTDIR}", |
| 437 "revision=abc123" |
| 438 ], |
| 439 "name": "[trigger] compile_skia on Ubuntu", |
| 440 "~followup_annotations": [ |
| 441 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 442 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/
[dummy has/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@", |
| 443 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| 444 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-An
droid-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@", |
| 445 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| 446 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| 447 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
| 448 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 449 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 450 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 451 "@@@STEP_LOG_END@json.output@@@", |
| 452 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@", |
| 453 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/10000@@@" |
| 454 ] |
| 455 }, |
| 456 { |
| 457 "cmd": [ |
| 458 "python", |
| 459 "-u", |
| 460 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 461 "collect", |
| 462 "--swarming", |
| 463 "https://chromium-swarm.appspot.com", |
| 464 "--decorate", |
| 465 "--print-status-updates", |
| 466 "--json", |
| 467 "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-Ne
xus7v2-GPU-Tegra3-Arm7-Release/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has
/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {\"shard_index\": 0, \"t
ask_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/tas
k/10000\"}}}", |
| 468 "--task-summary-json", |
| 469 "/path/to/tmp/json" |
| 470 ], |
| 471 "name": "compile_skia on Ubuntu", |
| 472 "~followup_annotations": [ |
| 473 "@@@STEP_TEXT@swarming pending 71s@@@", |
| 474 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 475 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
| 476 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 477 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
| 478 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
| 479 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
| 480 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
| 481 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", |
| 482 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", |
| 483 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", |
| 484 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 485 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", |
| 486 "@@@STEP_LOG_LINE@json.output@ 0, @@@", |
| 487 "@@@STEP_LOG_LINE@json.output@ 0@@@", |
| 488 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 489 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", |
| 490 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", |
| 491 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", |
| 492 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", |
| 493 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| 494 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", |
| 495 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", |
| 496 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", |
| 497 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 498 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", |
| 499 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", |
| 500 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| 501 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", |
| 502 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", |
| 503 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 504 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", |
| 505 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", |
| 506 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", |
| 507 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", |
| 508 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 509 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 510 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 511 "@@@STEP_LOG_END@json.output@@@", |
| 512 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
| 513 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
| 514 ] |
| 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/skp/VERSION", |
| 522 "/path/to/tmp/" |
| 523 ], |
| 524 "name": "read skp VERSION" |
| 525 }, |
| 526 { |
| 527 "cmd": [ |
| 528 "python", |
| 529 "-u", |
| 530 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 531 "[ROOT]/skia/infra/bots/assets/skimage/VERSION", |
| 532 "/path/to/tmp/" |
| 533 ], |
| 534 "name": "read skimage VERSION" |
| 535 }, |
| 536 { |
| 537 "cmd": [ |
| 538 "python", |
| 539 "-u", |
| 540 "\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", |
| 541 "[SLAVE_BUILD]/swarming_temp_dir", |
| 542 "511" |
| 543 ], |
| 544 "name": "makedirs swarming tmp dir (2)", |
| 545 "~followup_annotations": [ |
| 546 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 547 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 548 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 549 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 550 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 551 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 552 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 553 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 554 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 555 "@@@STEP_LOG_END@python.inline@@@" |
| 556 ] |
| 557 }, |
| 558 { |
| 559 "cmd": [ |
| 560 "python", |
| 561 "-u", |
| 562 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 563 "{\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 \"Android\", \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}", |
| 564 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
| 565 ], |
| 566 "name": "Write test_skia.isolated.gen.json" |
| 567 }, |
| 568 { |
| 569 "cmd": [ |
| 570 "python", |
| 571 "-u", |
| 572 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
| 573 "[SLAVE_BUILD]/swarming.client", |
| 574 "batcharchive", |
| 575 "--dump-json", |
| 576 "/path/to/tmp/json", |
| 577 "--isolate-server", |
| 578 "https://isolateserver.appspot.com", |
| 579 "--verbose", |
| 580 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
| 581 ], |
| 582 "name": "isolate tests (2)", |
| 583 "~followup_annotations": [ |
| 584 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 585 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia
]\"@@@", |
| 586 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 587 "@@@STEP_LOG_END@json.output@@@", |
| 588 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test
_skia]\"}@@@" |
| 589 ] |
| 590 }, |
| 591 { |
| 592 "cmd": [ |
| 593 "python", |
| 594 "-u", |
| 595 "\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", |
| 596 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", |
| 597 "abc123" |
| 598 ], |
| 599 "name": "add_isolated_input", |
| 600 "~followup_annotations": [ |
| 601 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 602 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
| 603 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 604 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", |
| 605 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", |
| 606 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", |
| 607 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", |
| 608 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", |
| 609 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", |
| 610 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", |
| 611 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", |
| 612 "@@@STEP_LOG_END@python.inline@@@" |
| 613 ] |
| 614 }, |
| 615 { |
| 616 "cmd": [ |
| 617 "python", |
| 618 "-u", |
| 619 "[SLAVE_BUILD]/swarming.client/isolateserver.py", |
| 620 "archive", |
| 621 "--isolate-server", |
| 622 "https://isolateserver.appspot.com", |
| 623 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated" |
| 624 ], |
| 625 "name": "upload new .isolated file for test_skia", |
| 626 "stdout": "/path/to/tmp/" |
| 627 }, |
| 628 { |
| 629 "cmd": [ |
| 630 "python", |
| 631 "-u", |
| 632 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 633 "trigger", |
| 634 "--swarming", |
| 635 "https://chromium-swarm.appspot.com", |
| 636 "--isolate-server", |
| 637 "https://isolateserver.appspot.com", |
| 638 "--priority", |
| 639 "90", |
| 640 "--shards", |
| 641 "1", |
| 642 "--task-name", |
| 643 "test_skia/Android/def456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Releas
e/5", |
| 644 "--dump-json", |
| 645 "/path/to/tmp/json", |
| 646 "--expiration", |
| 647 "72000", |
| 648 "--io-timeout", |
| 649 "2400", |
| 650 "--hard-timeout", |
| 651 "14400", |
| 652 "--dimension", |
| 653 "device_type", |
| 654 "flo", |
| 655 "--dimension", |
| 656 "os", |
| 657 "Android", |
| 658 "--dimension", |
| 659 "pool", |
| 660 "Skia", |
| 661 "--tag", |
| 662 "allow_milo:1", |
| 663 "--tag", |
| 664 "buildername:Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", |
| 665 "--tag", |
| 666 "buildnumber:5", |
| 667 "--tag", |
| 668 "data:def456", |
| 669 "--tag", |
| 670 "master:client.skia", |
| 671 "--tag", |
| 672 "name:test_skia", |
| 673 "--tag", |
| 674 "os:Android", |
| 675 "--tag", |
| 676 "slavename:skiabot-linux-swarm-000", |
| 677 "--tag", |
| 678 "stepname:test_skia on Android", |
| 679 "--cipd-package", |
| 680 "skp:skia/bots/skp:version:0", |
| 681 "--cipd-package", |
| 682 "skimage:skia/bots/skimage:version:0", |
| 683 "def456", |
| 684 "--", |
| 685 "--workdir", |
| 686 "../../..", |
| 687 "swarm_test", |
| 688 "buildername=Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", |
| 689 "mastername=client.skia", |
| 690 "buildnumber=5", |
| 691 "slavename=skiabot-linux-swarm-000", |
| 692 "reason=Triggered by Skia swarm_trigger Recipe", |
| 693 "swarm_out_dir=${ISOLATED_OUTDIR}", |
| 694 "revision=abc123" |
| 695 ], |
| 696 "name": "[trigger] test_skia on Android", |
| 697 "~followup_annotations": [ |
| 698 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 699 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Android/de
f456/Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\", @@@", |
| 700 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
| 701 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Android/def456/Test-Android-
GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {@@@", |
| 702 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
| 703 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
| 704 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
| 705 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 706 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 707 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 708 "@@@STEP_LOG_END@json.output@@@", |
| 709 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@", |
| 710 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/10000@@@" |
| 711 ] |
| 712 }, |
| 713 { |
| 714 "cmd": [ |
| 715 "python", |
| 716 "-u", |
| 717 "\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", |
| 718 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
| 719 ], |
| 720 "env": { |
| 721 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" |
| 722 }, |
| 723 "name": "rmtree test_skia", |
| 724 "~followup_annotations": [ |
| 725 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 726 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 727 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 728 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 729 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 730 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 731 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 732 "@@@STEP_LOG_END@python.inline@@@" |
| 733 ] |
| 734 }, |
| 735 { |
| 736 "cmd": [ |
| 737 "python", |
| 738 "-u", |
| 739 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 740 "collect", |
| 741 "--swarming", |
| 742 "https://chromium-swarm.appspot.com", |
| 743 "--decorate", |
| 744 "--print-status-updates", |
| 745 "--json", |
| 746 "{\"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-Nexus7v2
-GPU-Tegra3-Arm7-Release/5\", \"tasks\": {\"test_skia/Android/def456/Test-Androi
d-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release/5\": {\"shard_index\": 0, \"task_id\": \"
10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}
", |
| 747 "--task-summary-json", |
| 748 "/path/to/tmp/json", |
| 749 "--task-output-dir", |
| 750 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
| 751 ], |
| 752 "name": "test_skia on Android", |
| 753 "~followup_annotations": [ |
| 754 "@@@STEP_TEXT@swarming pending 71s@@@", |
| 755 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 756 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
| 757 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 758 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
| 759 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
| 760 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
| 761 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
| 762 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", |
| 763 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", |
| 764 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", |
| 765 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 766 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", |
| 767 "@@@STEP_LOG_LINE@json.output@ 0, @@@", |
| 768 "@@@STEP_LOG_LINE@json.output@ 0@@@", |
| 769 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 770 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", |
| 771 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", |
| 772 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", |
| 773 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", |
| 774 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| 775 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", |
| 776 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", |
| 777 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", |
| 778 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 779 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", |
| 780 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", |
| 781 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", |
| 782 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", |
| 783 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", |
| 784 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 785 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", |
| 786 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", |
| 787 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", |
| 788 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", |
| 789 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 790 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 791 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 792 "@@@STEP_LOG_END@json.output@@@", |
| 793 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
| 794 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
| 795 ] |
| 796 }, |
| 797 { |
| 798 "cmd": [ |
| 799 "python", |
| 800 "-u", |
| 801 "\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", |
| 802 "[SLAVE_BUILD]/dm" |
| 803 ], |
| 804 "env": { |
| 805 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" |
| 806 }, |
| 807 "name": "rmtree dm", |
| 808 "~followup_annotations": [ |
| 809 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 810 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 811 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 812 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 813 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 814 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 815 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 816 "@@@STEP_LOG_END@python.inline@@@" |
| 817 ] |
| 818 }, |
| 819 { |
| 820 "cmd": [ |
| 821 "python", |
| 822 "-u", |
| 823 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
| 824 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm", |
| 825 "[SLAVE_BUILD]/dm", |
| 826 "0" |
| 827 ], |
| 828 "name": "dm_dir" |
| 829 }, |
| 830 { |
| 831 "cmd": [ |
| 832 "python", |
| 833 "-u", |
| 834 "RECIPE_MODULE[skia::skia]/resources/upload_dm_results.py", |
| 835 "[SLAVE_BUILD]/dm", |
| 836 "abc123", |
| 837 "Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release", |
| 838 "5", |
| 839 "", |
| 840 "[SLAVE_BUILD]/skia/common/py/utils" |
| 841 ], |
| 842 "cwd": "[ROOT]/skia", |
| 843 "env": { |
| 844 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
| 845 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" |
| 846 }, |
| 847 "name": "Upload DM Results" |
| 848 }, |
| 849 { |
| 850 "name": "$result", |
| 851 "recipe_result": null, |
| 852 "status_code": 0 |
| 853 } |
| 854 ] |
OLD | NEW |