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       "cat"
     91     ],
     92     "name": "read test spec",
     93     "stdout": "/path/to/tmp/json",
     94     "~followup_annotations": [
     95       "@@@STEP_LOG_LINE (a] json.output@[@@@",
     96       "@@@STEP_LOG_LINE (a] json.output@  \"test1\", @@@",
     97       "@@@STEP_LOG_LINE (a] json.output@  \"test2\", @@@",
     98       "@@@STEP_LOG_LINE (a] json.output@  \"test_exparchive\"@@@",
     99       "@@@STEP_LOG_LINE (a] json.output@]@@@",
    100       "@@@STEP_LOG_END (a] json.output@@@"
    101     ]
    102   },
    103   {
    104     "cmd": [
    105       "python",
    106       "-u",
    107       "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
    108       "--build-dir",
    109       "RECIPE_PACKAGE_REPO[skia]",
    110       "--output-json",
    111       "/path/to/tmp/json"
    112     ],
    113     "name": "find isolated tests",
    114     "~followup_annotations": [
    115       "@@@STEP_LOG_LINE (a] json.output@{@@@",
    116       "@@@STEP_LOG_LINE (a] json.output@  \"test1\": \"[dummy hash for test1]\", @@@",
    117       "@@@STEP_LOG_LINE (a] json.output@  \"test2\": \"[dummy hash for test2]\"@@@",
    118       "@@@STEP_LOG_LINE (a] json.output@}@@@",
    119       "@@@STEP_LOG_END (a] json.output@@@",
    120       "@@@STEP_LOG_LINE (a] missing.isolates@Failed to find *.isolated files:@@@",
    121       "@@@STEP_LOG_LINE (a] missing.isolates@test_exparchive@@@",
    122       "@@@STEP_LOG_END (a] missing.isolates@@@",
    123       "@@@STEP_FAILURE@@@",
    124       "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\"}@@@"
    125     ]
    126   },
    127   {
    128     "cmd": [
    129       "python",
    130       "-u",
    131       "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
    132       "[START_DIR]/swarming.client",
    133       "exparchive",
    134       "--dump-json",
    135       "/path/to/tmp/json",
    136       "--isolate-server",
    137       "https://isolateserver-dev.appspot.com",
    138       "--eventlog-endpoint",
    139       "prod",
    140       "--isolate",
    141       "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
    142       "--isolated",
    143       "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
    144     ],
    145     "name": "isolate test_exparchive",
    146     "~followup_annotations": [
    147       "@@@STEP_LOG_LINE (a] json.output@{@@@",
    148       "@@@STEP_LOG_LINE (a] json.output@  \"test_exparchive\": null@@@",
    149       "@@@STEP_LOG_LINE (a] json.output@}@@@",
    150       "@@@STEP_LOG_END (a] json.output@@@"
    151     ]
    152   },
    153   {
    154     "cmd": [
    155       "python",
    156       "-u",
    157       "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
    158       "[START_DIR]/swarming.client",
    159       "batcharchive",
    160       "--dump-json",
    161       "/path/to/tmp/json",
    162       "--isolate-server",
    163       "https://isolateserver-dev.appspot.com",
    164       "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
    165       "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
    166     ],
    167     "name": "isolate tests",
    168     "~followup_annotations": [
    169       "@@@STEP_LOG_LINE (a] json.output@{@@@",
    170       "@@@STEP_LOG_LINE (a] json.output@  \"test1\": \"[dummy hash for test1]\", @@@",
    171       "@@@STEP_LOG_LINE (a] json.output@  \"test2\": \"[dummy hash for test2]\"@@@",
    172       "@@@STEP_LOG_LINE (a] json.output@}@@@",
    173       "@@@STEP_LOG_END (a] json.output@@@",
    174       "@@@STEP_LOG_LINE@failed to isolate@Failed to isolate following targets:@@@",
    175       "@@@STEP_LOG_LINE@failed to isolate@test_exparchive@@@",
    176       "@@@STEP_LOG_LINE@failed to isolate@@@@",
    177       "@@@STEP_LOG_LINE@failed to isolate@See logs for more information.@@@",
    178       "@@@STEP_LOG_END@failed to isolate@@@",
    179       "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\"}@@@"
    180     ]
    181   },
    182   {
    183     "name": "$result",
    184     "recipe_result": null,
    185     "status_code": 0
    186   }
    187 ]