Home | History | Annotate | Download | only in full.expected
      1 [
      2   {
      3     "cmd": [
      4       "python",
      5       "-u",
      6       "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
      7       "--path",
      8       "[START_DIR]/swarming.client",
      9       "--url",
     10       "https://chromium.googlesource.com/external/swarming.client.git"
     11     ],
     12     "name": "git setup (swarming_client)"
     13   },
     14   {
     15     "cmd": [
     16       "git",
     17       "retry",
     18       "fetch",
     19       "origin",
     20       "master",
     21       "--progress"
     22     ],
     23     "cwd": "[START_DIR]/swarming.client",
     24     "env": {
     25       "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
     26     },
     27     "infra_step": true,
     28     "name": "git fetch (swarming_client)"
     29   },
     30   {
     31     "cmd": [
     32       "git",
     33       "checkout",
     34       "-f",
     35       "FETCH_HEAD"
     36     ],
     37     "cwd": "[START_DIR]/swarming.client",
     38     "infra_step": true,
     39     "name": "git checkout (swarming_client)"
     40   },
     41   {
     42     "cmd": [
     43       "git",
     44       "rev-parse",
     45       "HEAD"
     46     ],
     47     "cwd": "[START_DIR]/swarming.client",
     48     "infra_step": true,
     49     "name": "read revision",
     50     "stdout": "/path/to/tmp/",
     51     "~followup_annotations": [
     52       "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
     53     ]
     54   },
     55   {
     56     "cmd": [
     57       "git",
     58       "clean",
     59       "-f",
     60       "-d",
     61       "-x"
     62     ],
     63     "cwd": "[START_DIR]/swarming.client",
     64     "infra_step": true,
     65     "name": "git clean (swarming_client)"
     66   },
     67   {
     68     "cmd": [
     69       "git",
     70       "submodule",
     71       "sync"
     72     ],
     73     "cwd": "[START_DIR]/swarming.client",
     74     "infra_step": true,
     75     "name": "submodule sync (swarming_client)"
     76   },
     77   {
     78     "cmd": [
     79       "git",
     80       "submodule",
     81       "update",
     82       "--init",
     83       "--recursive"
     84     ],
     85     "cwd": "[START_DIR]/swarming.client",
     86     "infra_step": true,
     87     "name": "submodule update (swarming_client)"
     88   },
     89   {
     90     "cmd": [
     91       "python",
     92       "-u",
     93       "[START_DIR]/swarming.client/swarming.py",
     94       "--version"
     95     ],
     96     "name": "swarming.py --version",
     97     "stdout": "/path/to/tmp/",
     98     "~followup_annotations": [
     99       "@@@STEP_TEXT (a] 0.8.6@@@"
    100     ]
    101   },
    102   {
    103     "cmd": [
    104       "python",
    105       "-u",
    106       "[START_DIR]/swarming.client/isolate.py",
    107       "archive",
    108       "--isolate",
    109       "[START_DIR]/swarming.client/example/payload/hello_world.isolate",
    110       "--isolated",
    111       "[TMP_BASE]/hello_isolated_world_tmp_1/hello_world.isolated",
    112       "--isolate-server",
    113       "https://isolateserver-dev.appspot.com",
    114       "--config-variable",
    115       "OS",
    116       "win",
    117       "--verbose"
    118     ],
    119     "name": "archive for win",
    120     "stdout": "/path/to/tmp/"
    121   },
    122   {
    123     "cmd": [
    124       "python",
    125       "-u",
    126       "[START_DIR]/swarming.client/swarming.py",
    127       "trigger",
    128       "--swarming",
    129       "https://chromium-swarm-dev.appspot.com",
    130       "--isolate-server",
    131       "https://isolateserver-dev.appspot.com",
    132       "--priority",
    133       "30",
    134       "--shards",
    135       "1",
    136       "--task-name",
    137       "hello_world/Windows-7-SP1/hash_for_w",
    138       "--dump-json",
    139       "/path/to/tmp/json",
    140       "--expiration",
    141       "3600",
    142       "--io-timeout",
    143       "1200",
    144       "--hard-timeout",
    145       "3600",
    146       "--dimension",
    147       "cpu",
    148       "x86-64",
    149       "--dimension",
    150       "gpu",
    151       "none",
    152       "--dimension",
    153       "os",
    154       "Windows-7-SP1",
    155       "--env",
    156       "TESTING",
    157       "1",
    158       "--tag",
    159       "data:hash_for_win",
    160       "--tag",
    161       "master:tryserver",
    162       "--tag",
    163       "name:hello_world",
    164       "--tag",
    165       "os:Windows-7-SP1",
    166       "--tag",
    167       "os:win",
    168       "--tag",
    169       "rietveld:https://codereview.chromium.org/123/#ps1001",
    170       "--tag",
    171       "stepname:hello_world on Windows-7-SP1",
    172       "--verbose",
    173       "--idempotent",
    174       "--user",
    175       "joe",
    176       "--cipd-package",
    177       "bin:super/awesome/pkg:git_revision:deadbeef",
    178       "--isolated",
    179       "hash_for_win"
    180     ],
    181     "infra_step": true,
    182     "name": "[trigger] hello_world on Windows-7-SP1",
    183     "~followup_annotations": [
    184       "@@@STEP_TEXT@Run on OS: 'Windows-7-SP1'@@@",
    185       "@@@STEP_LOG_LINE (a] json.output@{@@@",
    186       "@@@STEP_LOG_LINE (a] json.output@  \"base_task_name\": \"hello_world/Windows-7-SP1/hash_for_w\", @@@",
    187       "@@@STEP_LOG_LINE (a] json.output@  \"tasks\": {@@@",
    188       "@@@STEP_LOG_LINE (a] json.output@    \"hello_world/Windows-7-SP1/hash_for_w\": {@@@",
    189       "@@@STEP_LOG_LINE (a] json.output@      \"shard_index\": 0, @@@",
    190       "@@@STEP_LOG_LINE (a] json.output@      \"task_id\": \"10000\", @@@",
    191       "@@@STEP_LOG_LINE (a] json.output@      \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"@@@",
    192       "@@@STEP_LOG_LINE (a] json.output@    }@@@",
    193       "@@@STEP_LOG_LINE (a] json.output@  }@@@",
    194       "@@@STEP_LOG_LINE (a] json.output@}@@@",
    195       "@@@STEP_LOG_END (a] json.output@@@",
    196       "@@@STEP_LINK@shard #0@https://chromium-swarm-dev.appspot.com/user/task/10000@@@"
    197     ]
    198   },
    199   {
    200     "cmd": [
    201       "echo",
    202       "running something locally"
    203     ],
    204     "name": "local step"
    205   },
    206   {
    207     "cmd": [
    208       "python",
    209       "-u",
    210       "RECIPE_MODULE[skia::swarming]/resources/collect_task.py",
    211       "-o",
    212       "/path/to/tmp/json",
    213       "--task-output-dir",
    214       "[TMP_BASE]/hello_isolated_world_tmp_1/task_output_dir",
    215       "--merge-script",
    216       "RECIPE_MODULE[skia::swarming]/resources/noop_merge.py",
    217       "--merge-additional-args",
    218       "[]",
    219       "--",
    220       "python",
    221       "-u",
    222       "[START_DIR]/swarming.client/swarming.py",
    223       "collect",
    224       "--swarming",
    225       "https://chromium-swarm-dev.appspot.com",
    226       "--decorate",
    227       "--print-status-updates",
    228       "--verbose",
    229       "--json",
    230       "{\"base_task_name\": \"hello_world/Windows-7-SP1/hash_for_w\", \"tasks\": {\"hello_world/Windows-7-SP1/hash_for_w\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm-dev.appspot.com/user/task/10000\"}}}",
    231       "--task-summary-json",
    232       "/path/to/tmp/json"
    233     ],
    234     "name": "hello_world on Windows-7-SP1",
    235     "~followup_annotations": [
    236       "@@@STEP_TEXT@Run on OS: 'Windows-7-SP1'<br>swarming pending 71s@@@",
    237       "@@@STEP_LOG_LINE (a] json.output@{}@@@",
    238       "@@@STEP_LOG_END (a] json.output@@@",
    239       "@@@STEP_LOG_LINE (a] swarming.summary@{@@@",
    240       "@@@STEP_LOG_LINE (a] swarming.summary@  \"shards\": [@@@",
    241       "@@@STEP_LOG_LINE (a] swarming.summary@    {@@@",
    242       "@@@STEP_LOG_LINE (a] swarming.summary@      \"abandoned_ts\": null, @@@",
    243       "@@@STEP_LOG_LINE (a] swarming.summary@      \"bot_id\": \"vm30\", @@@",
    244       "@@@STEP_LOG_LINE (a] swarming.summary@      \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
    245       "@@@STEP_LOG_LINE (a] swarming.summary@      \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
    246       "@@@STEP_LOG_LINE (a] swarming.summary@      \"durations\": [@@@",
    247       "@@@STEP_LOG_LINE (a] swarming.summary@        5.7, @@@",
    248       "@@@STEP_LOG_LINE (a] swarming.summary@        31.5@@@",
    249       "@@@STEP_LOG_LINE (a] swarming.summary@      ], @@@",
    250       "@@@STEP_LOG_LINE (a] swarming.summary@      \"exit_codes\": [@@@",
    251       "@@@STEP_LOG_LINE (a] swarming.summary@        0, @@@",
    252       "@@@STEP_LOG_LINE (a] swarming.summary@        0@@@",
    253       "@@@STEP_LOG_LINE (a] swarming.summary@      ], @@@",
    254       "@@@STEP_LOG_LINE (a] swarming.summary@      \"failure\": false, @@@",
    255       "@@@STEP_LOG_LINE (a] swarming.summary@      \"id\": \"148aa78d7aa0000\", @@@",
    256       "@@@STEP_LOG_LINE (a] swarming.summary@      \"internal_failure\": false, @@@",
    257       "@@@STEP_LOG_LINE (a] swarming.summary@      \"isolated_out\": {@@@",
    258       "@@@STEP_LOG_LINE (a] swarming.summary@        \"isolated\": \"abc123\", @@@",
    259       "@@@STEP_LOG_LINE (a] swarming.summary@        \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
    260       "@@@STEP_LOG_LINE (a] swarming.summary@        \"namespace\": \"default-gzip\", @@@",
    261       "@@@STEP_LOG_LINE (a] swarming.summary@        \"view_url\": \"blah\"@@@",
    262       "@@@STEP_LOG_LINE (a] swarming.summary@      }, @@@",
    263       "@@@STEP_LOG_LINE (a] swarming.summary@      \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
    264       "@@@STEP_LOG_LINE (a] swarming.summary@      \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
    265       "@@@STEP_LOG_LINE (a] swarming.summary@      \"outputs\": [@@@",
    266       "@@@STEP_LOG_LINE (a] swarming.summary@        \"Heart beat succeeded on win32.\\n\", @@@",
    267       "@@@STEP_LOG_LINE (a] swarming.summary@        \"Foo\"@@@",
    268       "@@@STEP_LOG_LINE (a] swarming.summary@      ], @@@",
    269       "@@@STEP_LOG_LINE (a] swarming.summary@      \"outputs_ref\": {@@@",
    270       "@@@STEP_LOG_LINE (a] swarming.summary@        \"view_url\": \"blah\"@@@",
    271       "@@@STEP_LOG_LINE (a] swarming.summary@      }, @@@",
    272       "@@@STEP_LOG_LINE (a] swarming.summary@      \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
    273       "@@@STEP_LOG_LINE (a] swarming.summary@      \"state\": 112, @@@",
    274       "@@@STEP_LOG_LINE (a] swarming.summary@      \"try_number\": 1, @@@",
    275       "@@@STEP_LOG_LINE (a] swarming.summary@      \"user\": \"unknown\"@@@",
    276       "@@@STEP_LOG_LINE (a] swarming.summary@    }@@@",
    277       "@@@STEP_LOG_LINE (a] swarming.summary@  ]@@@",
    278       "@@@STEP_LOG_LINE (a] swarming.summary@}@@@",
    279       "@@@STEP_LOG_END (a] swarming.summary@@@",
    280       "@@@STEP_LINK@shard #0 isolated out@blah@@@"
    281     ]
    282   },
    283   {
    284     "cmd": [
    285       "python",
    286       "-u",
    287       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
    288       "--json-output",
    289       "/path/to/tmp/json",
    290       "rmtree",
    291       "[TMP_BASE]/hello_isolated_world_tmp_1"
    292     ],
    293     "infra_step": true,
    294     "name": "remove temp dir"
    295   },
    296   {
    297     "name": "$result",
    298     "recipe_result": null,
    299     "status_code": 0
    300   }
    301 ]