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