1[ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "ensure-directory", 10 "--mode", 11 "0777", 12 "[START_DIR]/tmp" 13 ], 14 "infra_step": true, 15 "name": "makedirs tmp_dir" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "copy", 25 "[HOME]/ssh_machine.json", 26 "/path/to/tmp/" 27 ], 28 "infra_step": true, 29 "name": "read ssh_machine.json" 30 }, 31 { 32 "cmd": [ 33 "ssh", 34 "-oConnectTimeout=15", 35 "-oBatchMode=yes", 36 "-t", 37 "-t", 38 "foo@127.0.0.1", 39 "mkdir", 40 "-p", 41 "/home/chronos/user/resources" 42 ], 43 "env": { 44 "CHROME_HEADLESS": "1", 45 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 46 }, 47 "infra_step": true, 48 "name": "mkdir /home/chronos/user/resources" 49 }, 50 { 51 "cmd": [ 52 "ssh", 53 "-oConnectTimeout=15", 54 "-oBatchMode=yes", 55 "-t", 56 "-t", 57 "foo@127.0.0.1", 58 "rm", 59 "-rf", 60 "/home/chronos/user/bin" 61 ], 62 "env": { 63 "CHROME_HEADLESS": "1", 64 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 65 }, 66 "infra_step": true, 67 "name": "rm /home/chronos/user/bin" 68 }, 69 { 70 "cmd": [ 71 "ssh", 72 "-oConnectTimeout=15", 73 "-oBatchMode=yes", 74 "-t", 75 "-t", 76 "foo@127.0.0.1", 77 "mkdir", 78 "-p", 79 "/home/chronos/user/bin" 80 ], 81 "env": { 82 "CHROME_HEADLESS": "1", 83 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 84 }, 85 "infra_step": true, 86 "name": "mkdir /home/chronos/user/bin" 87 }, 88 { 89 "cmd": [ 90 "ssh", 91 "-oConnectTimeout=15", 92 "-oBatchMode=yes", 93 "-t", 94 "-t", 95 "foo@127.0.0.1", 96 "sudo", 97 "mount", 98 "-i", 99 "-o", 100 "remount,exec", 101 "/home/chronos" 102 ], 103 "env": { 104 "CHROME_HEADLESS": "1", 105 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 106 }, 107 "infra_step": true, 108 "name": "remount /home/chronos/user/ as exec" 109 }, 110 { 111 "cmd": [ 112 "python", 113 "-u", 114 "\nimport subprocess\nimport sys\nsrc = sys.argv[1] + '/*'\ndest = sys.argv[2]\nprint subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)\n", 115 "[START_DIR]/skia/resources", 116 "foo@127.0.0.1:/home/chronos/user/resources" 117 ], 118 "infra_step": true, 119 "name": "scp -r [START_DIR]/skia/resources foo@127.0.0.1:/home/chronos/user/resources", 120 "~followup_annotations": [ 121 "@@@STEP_LOG_LINE@python.inline@@@@", 122 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 123 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 124 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1] + '/*'@@@", 125 "@@@STEP_LOG_LINE@python.inline@dest = sys.argv[2]@@@", 126 "@@@STEP_LOG_LINE@python.inline@print subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)@@@", 127 "@@@STEP_LOG_END@python.inline@@@" 128 ] 129 }, 130 { 131 "cmd": [ 132 "python", 133 "-u", 134 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 135 "--json-output", 136 "/path/to/tmp/json", 137 "copy", 138 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 139 "/path/to/tmp/" 140 ], 141 "infra_step": true, 142 "name": "Get skp VERSION" 143 }, 144 { 145 "cmd": [ 146 "python", 147 "-u", 148 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 149 "--json-output", 150 "/path/to/tmp/json", 151 "copy", 152 "42", 153 "[START_DIR]/tmp/SKP_VERSION" 154 ], 155 "infra_step": true, 156 "name": "write SKP_VERSION", 157 "~followup_annotations": [ 158 "@@@STEP_LOG_LINE@SKP_VERSION@42@@@", 159 "@@@STEP_LOG_END@SKP_VERSION@@@" 160 ] 161 }, 162 { 163 "cmd": [ 164 "ssh", 165 "-oConnectTimeout=15", 166 "-oBatchMode=yes", 167 "-t", 168 "-t", 169 "foo@127.0.0.1", 170 "cat", 171 "/home/chronos/user/SKP_VERSION" 172 ], 173 "env": { 174 "CHROME_HEADLESS": "1", 175 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 176 }, 177 "infra_step": true, 178 "name": "read /home/chronos/user/SKP_VERSION" 179 }, 180 { 181 "cmd": [ 182 "ssh", 183 "-oConnectTimeout=15", 184 "-oBatchMode=yes", 185 "-t", 186 "-t", 187 "foo@127.0.0.1", 188 "rm", 189 "-f", 190 "/home/chronos/user/SKP_VERSION" 191 ], 192 "env": { 193 "CHROME_HEADLESS": "1", 194 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 195 }, 196 "infra_step": true, 197 "name": "rm /home/chronos/user/SKP_VERSION" 198 }, 199 { 200 "cmd": [ 201 "ssh", 202 "-oConnectTimeout=15", 203 "-oBatchMode=yes", 204 "-t", 205 "-t", 206 "foo@127.0.0.1", 207 "rm", 208 "-rf", 209 "/home/chronos/user/skps" 210 ], 211 "env": { 212 "CHROME_HEADLESS": "1", 213 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 214 }, 215 "infra_step": true, 216 "name": "rm /home/chronos/user/skps" 217 }, 218 { 219 "cmd": [ 220 "ssh", 221 "-oConnectTimeout=15", 222 "-oBatchMode=yes", 223 "-t", 224 "-t", 225 "foo@127.0.0.1", 226 "mkdir", 227 "-p", 228 "/home/chronos/user/skps" 229 ], 230 "env": { 231 "CHROME_HEADLESS": "1", 232 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 233 }, 234 "infra_step": true, 235 "name": "mkdir /home/chronos/user/skps" 236 }, 237 { 238 "cmd": [ 239 "python", 240 "-u", 241 "\nimport subprocess\nimport sys\nsrc = sys.argv[1] + '/*'\ndest = sys.argv[2]\nprint subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)\n", 242 "[START_DIR]/skp", 243 "foo@127.0.0.1:/home/chronos/user/skps" 244 ], 245 "infra_step": true, 246 "name": "scp -r [START_DIR]/skp foo@127.0.0.1:/home/chronos/user/skps", 247 "~followup_annotations": [ 248 "@@@STEP_LOG_LINE@python.inline@@@@", 249 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 250 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 251 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1] + '/*'@@@", 252 "@@@STEP_LOG_LINE@python.inline@dest = sys.argv[2]@@@", 253 "@@@STEP_LOG_LINE@python.inline@print subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)@@@", 254 "@@@STEP_LOG_END@python.inline@@@" 255 ] 256 }, 257 { 258 "cmd": [ 259 "scp", 260 "[START_DIR]/tmp/SKP_VERSION", 261 "foo@127.0.0.1:/home/chronos/user/SKP_VERSION" 262 ], 263 "env": { 264 "CHROME_HEADLESS": "1", 265 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 266 }, 267 "infra_step": true, 268 "name": "scp [START_DIR]/tmp/SKP_VERSION foo@127.0.0.1:/home/chronos/user/SKP_VERSION" 269 }, 270 { 271 "cmd": [ 272 "python", 273 "-u", 274 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 275 "--json-output", 276 "/path/to/tmp/json", 277 "copy", 278 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 279 "/path/to/tmp/" 280 ], 281 "infra_step": true, 282 "name": "Get skimage VERSION" 283 }, 284 { 285 "cmd": [ 286 "python", 287 "-u", 288 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 289 "--json-output", 290 "/path/to/tmp/json", 291 "copy", 292 "42", 293 "[START_DIR]/tmp/SK_IMAGE_VERSION" 294 ], 295 "infra_step": true, 296 "name": "write SK_IMAGE_VERSION", 297 "~followup_annotations": [ 298 "@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@", 299 "@@@STEP_LOG_END@SK_IMAGE_VERSION@@@" 300 ] 301 }, 302 { 303 "cmd": [ 304 "ssh", 305 "-oConnectTimeout=15", 306 "-oBatchMode=yes", 307 "-t", 308 "-t", 309 "foo@127.0.0.1", 310 "cat", 311 "/home/chronos/user/SK_IMAGE_VERSION" 312 ], 313 "env": { 314 "CHROME_HEADLESS": "1", 315 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 316 }, 317 "infra_step": true, 318 "name": "read /home/chronos/user/SK_IMAGE_VERSION" 319 }, 320 { 321 "cmd": [ 322 "ssh", 323 "-oConnectTimeout=15", 324 "-oBatchMode=yes", 325 "-t", 326 "-t", 327 "foo@127.0.0.1", 328 "rm", 329 "-f", 330 "/home/chronos/user/SK_IMAGE_VERSION" 331 ], 332 "env": { 333 "CHROME_HEADLESS": "1", 334 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 335 }, 336 "infra_step": true, 337 "name": "rm /home/chronos/user/SK_IMAGE_VERSION" 338 }, 339 { 340 "cmd": [ 341 "ssh", 342 "-oConnectTimeout=15", 343 "-oBatchMode=yes", 344 "-t", 345 "-t", 346 "foo@127.0.0.1", 347 "rm", 348 "-rf", 349 "/home/chronos/user/images" 350 ], 351 "env": { 352 "CHROME_HEADLESS": "1", 353 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 354 }, 355 "infra_step": true, 356 "name": "rm /home/chronos/user/images" 357 }, 358 { 359 "cmd": [ 360 "ssh", 361 "-oConnectTimeout=15", 362 "-oBatchMode=yes", 363 "-t", 364 "-t", 365 "foo@127.0.0.1", 366 "mkdir", 367 "-p", 368 "/home/chronos/user/images" 369 ], 370 "env": { 371 "CHROME_HEADLESS": "1", 372 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 373 }, 374 "infra_step": true, 375 "name": "mkdir /home/chronos/user/images" 376 }, 377 { 378 "cmd": [ 379 "python", 380 "-u", 381 "\nimport subprocess\nimport sys\nsrc = sys.argv[1] + '/*'\ndest = sys.argv[2]\nprint subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)\n", 382 "[START_DIR]/skimage", 383 "foo@127.0.0.1:/home/chronos/user/images" 384 ], 385 "infra_step": true, 386 "name": "scp -r [START_DIR]/skimage foo@127.0.0.1:/home/chronos/user/images", 387 "~followup_annotations": [ 388 "@@@STEP_LOG_LINE@python.inline@@@@", 389 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 390 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 391 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1] + '/*'@@@", 392 "@@@STEP_LOG_LINE@python.inline@dest = sys.argv[2]@@@", 393 "@@@STEP_LOG_LINE@python.inline@print subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)@@@", 394 "@@@STEP_LOG_END@python.inline@@@" 395 ] 396 }, 397 { 398 "cmd": [ 399 "scp", 400 "[START_DIR]/tmp/SK_IMAGE_VERSION", 401 "foo@127.0.0.1:/home/chronos/user/SK_IMAGE_VERSION" 402 ], 403 "env": { 404 "CHROME_HEADLESS": "1", 405 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 406 }, 407 "infra_step": true, 408 "name": "scp [START_DIR]/tmp/SK_IMAGE_VERSION foo@127.0.0.1:/home/chronos/user/SK_IMAGE_VERSION" 409 }, 410 { 411 "cmd": [ 412 "python", 413 "-u", 414 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 415 "--json-output", 416 "/path/to/tmp/json", 417 "copy", 418 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 419 "/path/to/tmp/" 420 ], 421 "infra_step": true, 422 "name": "Get svg VERSION" 423 }, 424 { 425 "cmd": [ 426 "python", 427 "-u", 428 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 429 "--json-output", 430 "/path/to/tmp/json", 431 "copy", 432 "42", 433 "[START_DIR]/tmp/SVG_VERSION" 434 ], 435 "infra_step": true, 436 "name": "write SVG_VERSION", 437 "~followup_annotations": [ 438 "@@@STEP_LOG_LINE@SVG_VERSION@42@@@", 439 "@@@STEP_LOG_END@SVG_VERSION@@@" 440 ] 441 }, 442 { 443 "cmd": [ 444 "ssh", 445 "-oConnectTimeout=15", 446 "-oBatchMode=yes", 447 "-t", 448 "-t", 449 "foo@127.0.0.1", 450 "cat", 451 "/home/chronos/user/SVG_VERSION" 452 ], 453 "env": { 454 "CHROME_HEADLESS": "1", 455 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 456 }, 457 "infra_step": true, 458 "name": "read /home/chronos/user/SVG_VERSION" 459 }, 460 { 461 "cmd": [ 462 "ssh", 463 "-oConnectTimeout=15", 464 "-oBatchMode=yes", 465 "-t", 466 "-t", 467 "foo@127.0.0.1", 468 "rm", 469 "-f", 470 "/home/chronos/user/SVG_VERSION" 471 ], 472 "env": { 473 "CHROME_HEADLESS": "1", 474 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 475 }, 476 "infra_step": true, 477 "name": "rm /home/chronos/user/SVG_VERSION" 478 }, 479 { 480 "cmd": [ 481 "ssh", 482 "-oConnectTimeout=15", 483 "-oBatchMode=yes", 484 "-t", 485 "-t", 486 "foo@127.0.0.1", 487 "rm", 488 "-rf", 489 "/home/chronos/user/svgs" 490 ], 491 "env": { 492 "CHROME_HEADLESS": "1", 493 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 494 }, 495 "infra_step": true, 496 "name": "rm /home/chronos/user/svgs" 497 }, 498 { 499 "cmd": [ 500 "ssh", 501 "-oConnectTimeout=15", 502 "-oBatchMode=yes", 503 "-t", 504 "-t", 505 "foo@127.0.0.1", 506 "mkdir", 507 "-p", 508 "/home/chronos/user/svgs" 509 ], 510 "env": { 511 "CHROME_HEADLESS": "1", 512 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 513 }, 514 "infra_step": true, 515 "name": "mkdir /home/chronos/user/svgs" 516 }, 517 { 518 "cmd": [ 519 "python", 520 "-u", 521 "\nimport subprocess\nimport sys\nsrc = sys.argv[1] + '/*'\ndest = sys.argv[2]\nprint subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)\n", 522 "[START_DIR]/svg", 523 "foo@127.0.0.1:/home/chronos/user/svgs" 524 ], 525 "infra_step": true, 526 "name": "scp -r [START_DIR]/svg foo@127.0.0.1:/home/chronos/user/svgs", 527 "~followup_annotations": [ 528 "@@@STEP_LOG_LINE@python.inline@@@@", 529 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 530 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 531 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1] + '/*'@@@", 532 "@@@STEP_LOG_LINE@python.inline@dest = sys.argv[2]@@@", 533 "@@@STEP_LOG_LINE@python.inline@print subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)@@@", 534 "@@@STEP_LOG_END@python.inline@@@" 535 ] 536 }, 537 { 538 "cmd": [ 539 "scp", 540 "[START_DIR]/tmp/SVG_VERSION", 541 "foo@127.0.0.1:/home/chronos/user/SVG_VERSION" 542 ], 543 "env": { 544 "CHROME_HEADLESS": "1", 545 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 546 }, 547 "infra_step": true, 548 "name": "scp [START_DIR]/tmp/SVG_VERSION foo@127.0.0.1:/home/chronos/user/SVG_VERSION" 549 }, 550 { 551 "cmd": [ 552 "ssh", 553 "-oConnectTimeout=15", 554 "-oBatchMode=yes", 555 "-t", 556 "-t", 557 "foo@127.0.0.1", 558 "rm", 559 "-rf", 560 "/home/chronos/user/perf" 561 ], 562 "env": { 563 "CHROME_HEADLESS": "1", 564 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 565 }, 566 "infra_step": true, 567 "name": "rm /home/chronos/user/perf" 568 }, 569 { 570 "cmd": [ 571 "ssh", 572 "-oConnectTimeout=15", 573 "-oBatchMode=yes", 574 "-t", 575 "-t", 576 "foo@127.0.0.1", 577 "mkdir", 578 "-p", 579 "/home/chronos/user/perf" 580 ], 581 "env": { 582 "CHROME_HEADLESS": "1", 583 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 584 }, 585 "infra_step": true, 586 "name": "mkdir /home/chronos/user/perf" 587 }, 588 { 589 "cmd": [ 590 "python", 591 "-u", 592 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 593 ], 594 "name": "get swarming bot id", 595 "~followup_annotations": [ 596 "@@@STEP_LOG_LINE@python.inline@import os@@@", 597 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 598 "@@@STEP_LOG_END@python.inline@@@" 599 ] 600 }, 601 { 602 "cmd": [ 603 "python", 604 "-u", 605 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 606 ], 607 "name": "get swarming task id", 608 "~followup_annotations": [ 609 "@@@STEP_LOG_LINE@python.inline@import os@@@", 610 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 611 "@@@STEP_LOG_END@python.inline@@@" 612 ] 613 }, 614 { 615 "cmd": [ 616 "scp", 617 "[START_DIR]/build/nanobench", 618 "foo@127.0.0.1:/home/chronos/user/bin/nanobench" 619 ], 620 "env": { 621 "CHROME_HEADLESS": "1", 622 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 623 }, 624 "infra_step": true, 625 "name": "scp [START_DIR]/build/nanobench foo@127.0.0.1:/home/chronos/user/bin/nanobench" 626 }, 627 { 628 "cmd": [ 629 "ssh", 630 "-oConnectTimeout=15", 631 "-oBatchMode=yes", 632 "-t", 633 "-t", 634 "foo@127.0.0.1", 635 "chmod", 636 "+x", 637 "/home/chronos/user/bin/nanobench" 638 ], 639 "env": { 640 "CHROME_HEADLESS": "1", 641 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 642 }, 643 "infra_step": true, 644 "name": "make nanobench executable" 645 }, 646 { 647 "cmd": [ 648 "ssh", 649 "-oConnectTimeout=15", 650 "-oBatchMode=yes", 651 "-t", 652 "-t", 653 "foo@127.0.0.1", 654 "/home/chronos/user/bin/nanobench", 655 "-i", 656 "/home/chronos/user/resources", 657 "--skps", 658 "/home/chronos/user/skps", 659 "--images", 660 "/home/chronos/user/images/nanobench", 661 "--svgs", 662 "/home/chronos/user/svgs", 663 "--pre_log", 664 "--images", 665 "--gpuStatsDump", 666 "true", 667 "--scales", 668 "1.0", 669 "1.1", 670 "--nocpu", 671 "--config", 672 "gles", 673 "--match", 674 "~^shapes_rrect_inner_rrect_50_500x500$", 675 "~inc0.gif", 676 "~inc1.gif", 677 "~incInterlaced.gif", 678 "~inc0.jpg", 679 "~incGray.jpg", 680 "~inc0.wbmp", 681 "~inc1.wbmp", 682 "~inc0.webp", 683 "~inc1.webp", 684 "~inc0.ico", 685 "~inc1.ico", 686 "~inc0.png", 687 "~inc1.png", 688 "~inc2.png", 689 "~inc12.png", 690 "~inc13.png", 691 "~inc14.png", 692 "~inc0.webp", 693 "~inc1.webp", 694 "--outResultsFile", 695 "/home/chronos/user/perf/nanobench_abc123_1337000001.json", 696 "--properties", 697 "gitHash", 698 "abc123", 699 "swarming_bot_id", 700 "skia-bot-123", 701 "swarming_task_id", 702 "123456", 703 "--key", 704 "arch", 705 "arm", 706 "compiler", 707 "Clang", 708 "cpu_or_gpu", 709 "GPU", 710 "cpu_or_gpu_value", 711 "TegraK1", 712 "model", 713 "AcerChromebook13_CB5_311", 714 "os", 715 "ChromeOS" 716 ], 717 "env": { 718 "CHROME_HEADLESS": "1", 719 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 720 }, 721 "infra_step": true, 722 "name": "nanobench" 723 }, 724 { 725 "cmd": [ 726 "python", 727 "-u", 728 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 729 "--json-output", 730 "/path/to/tmp/json", 731 "ensure-directory", 732 "--mode", 733 "0777", 734 "[START_DIR]/[SWARM_OUT_DIR]" 735 ], 736 "infra_step": true, 737 "name": "makedirs perf_dir" 738 }, 739 { 740 "cmd": [ 741 "python", 742 "-u", 743 "\nimport subprocess\nimport sys\nsrc = sys.argv[1] + '/*'\ndest = sys.argv[2]\nprint subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)\n", 744 "foo@127.0.0.1:/home/chronos/user/perf", 745 "[START_DIR]/[SWARM_OUT_DIR]" 746 ], 747 "infra_step": true, 748 "name": "scp -r foo@127.0.0.1:/home/chronos/user/perf [START_DIR]/[SWARM_OUT_DIR]", 749 "~followup_annotations": [ 750 "@@@STEP_LOG_LINE@python.inline@@@@", 751 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 752 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 753 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1] + '/*'@@@", 754 "@@@STEP_LOG_LINE@python.inline@dest = sys.argv[2]@@@", 755 "@@@STEP_LOG_LINE@python.inline@print subprocess.check_output('scp -r %s %s' % (src, dest), shell=True)@@@", 756 "@@@STEP_LOG_END@python.inline@@@" 757 ] 758 }, 759 { 760 "name": "$result" 761 } 762]