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