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 "[CUSTOM_/_B_WORK]" 13 ], 14 "infra_step": true, 15 "name": "makedirs checkout_path" 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 "remove", 25 "[CUSTOM_/_B_WORK]/.gclient_entries" 26 ], 27 "infra_step": true, 28 "name": "remove [CUSTOM_/_B_WORK]/.gclient_entries" 29 }, 30 { 31 "cmd": [ 32 "python", 33 "-u", 34 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 35 "--spec", 36 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]", 37 "--patch_root", 38 "skia", 39 "--revision_mapping_file", 40 "{\"got_revision\": \"skia\"}", 41 "--git-cache-dir", 42 "[CUSTOM_/_B_CACHE]", 43 "--cleanup-dir", 44 "[CLEANUP]/bot_update", 45 "--output_json", 46 "/path/to/tmp/json", 47 "--revision", 48 "skia@abc123", 49 "--revision", 50 "src@origin/lkgr" 51 ], 52 "cwd": "[CUSTOM_/_B_WORK]", 53 "env": { 54 "GIT_HTTP_LOW_SPEED_LIMIT": "1000", 55 "GIT_HTTP_LOW_SPEED_TIME": "300", 56 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 57 }, 58 "infra_step": true, 59 "name": "bot_update", 60 "~followup_annotations": [ 61 "@@@STEP_TEXT@Some step text@@@", 62 "@@@STEP_LOG_LINE@json.output@{@@@", 63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 65 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\", @@@", 66 "@@@STEP_LOG_LINE@json.output@ \"src\": \"origin/lkgr\"@@@", 67 "@@@STEP_LOG_LINE@json.output@ }, @@@", 68 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@", 70 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", 71 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 72 "@@@STEP_LOG_LINE@json.output@ }@@@", 73 "@@@STEP_LOG_LINE@json.output@ }, @@@", 74 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 75 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@", 76 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 77 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", 78 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", 79 "@@@STEP_LOG_LINE@json.output@ }, @@@", 80 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@", 81 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 82 "@@@STEP_LOG_LINE@json.output@}@@@", 83 "@@@STEP_LOG_END@json.output@@@", 84 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 85 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" 86 ] 87 }, 88 { 89 "cmd": [ 90 "python", 91 "-u", 92 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 93 "runhooks" 94 ], 95 "cwd": "[CUSTOM_/_B_WORK]", 96 "env": { 97 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 98 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 99 }, 100 "name": "gclient runhooks" 101 }, 102 { 103 "cmd": [ 104 "python", 105 "-u", 106 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 107 "--json-output", 108 "/path/to/tmp/json", 109 "ensure-directory", 110 "--mode", 111 "0777", 112 "[START_DIR]/tmp" 113 ], 114 "infra_step": true, 115 "name": "makedirs tmp_dir" 116 }, 117 { 118 "cmd": [ 119 "[CUSTOM_/_B_WORK]/src/buildtools/linux64/gn", 120 "gen", 121 "[CUSTOM_/_B_WORK]/src/out/Release" 122 ], 123 "cwd": "[CUSTOM_/_B_WORK]/src", 124 "env": { 125 "BUILDTYPE": "Release", 126 "CHROME_HEADLESS": "1", 127 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 128 "GYP_GENERATORS": "ninja", 129 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 130 "SKIA_OUT": "[START_DIR]/out" 131 }, 132 "name": "GN" 133 }, 134 { 135 "cmd": [ 136 "ninja", 137 "-C", 138 "[CUSTOM_/_B_WORK]/src/out/Release", 139 "chrome" 140 ], 141 "cwd": "[CUSTOM_/_B_WORK]/src", 142 "env": { 143 "BUILDTYPE": "Release", 144 "CHROME_HEADLESS": "1", 145 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 146 "SKIA_OUT": "[START_DIR]/out" 147 }, 148 "name": "Build Chrome" 149 }, 150 { 151 "cmd": [ 152 "python", 153 "-u", 154 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 155 "--json-output", 156 "/path/to/tmp/json", 157 "rmtree", 158 "[START_DIR]/skp_output" 159 ], 160 "infra_step": true, 161 "name": "rmtree skp_output" 162 }, 163 { 164 "cmd": [ 165 "python", 166 "-u", 167 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 168 "--json-output", 169 "/path/to/tmp/json", 170 "ensure-directory", 171 "--mode", 172 "0777", 173 "[START_DIR]/skp_output" 174 ], 175 "infra_step": true, 176 "name": "makedirs skp_output" 177 }, 178 { 179 "cmd": [ 180 "python", 181 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/create.py", 182 "--chrome_src_path", 183 "[CUSTOM_/_B_WORK]/src", 184 "--browser_executable", 185 "[CUSTOM_/_B_WORK]/src/out/Release/chrome", 186 "--target_dir", 187 "[START_DIR]/skp_output" 188 ], 189 "cwd": "[CUSTOM_/_B_WORK]/skia", 190 "env": { 191 "BUILDTYPE": "Release", 192 "CHROME_HEADLESS": "1", 193 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 194 "SKIA_OUT": "[START_DIR]/out" 195 }, 196 "name": "Recreate SKPs" 197 }, 198 { 199 "cmd": [ 200 "[START_DIR]/go/go/bin/go", 201 "version" 202 ], 203 "env": { 204 "BUILDTYPE": "Release", 205 "CHROME_HEADLESS": "1", 206 "GOPATH": "[START_DIR]/gopath", 207 "GOROOT": "[START_DIR]/go/go", 208 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 209 "SKIA_OUT": "[START_DIR]/out" 210 }, 211 "name": "go version" 212 }, 213 { 214 "cmd": [ 215 "go", 216 "version" 217 ], 218 "env": { 219 "BUILDTYPE": "Release", 220 "CHROME_HEADLESS": "1", 221 "GOPATH": "[START_DIR]/gopath", 222 "GOROOT": "[START_DIR]/go/go", 223 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 224 "SKIA_OUT": "[START_DIR]/out" 225 }, 226 "name": "env go version" 227 }, 228 { 229 "cmd": [ 230 "[START_DIR]/go/go/bin/go", 231 "get", 232 "-u", 233 "-t", 234 "go.skia.org/infra/..." 235 ], 236 "env": { 237 "BUILDTYPE": "Release", 238 "CHROME_HEADLESS": "1", 239 "GOPATH": "[START_DIR]/gopath", 240 "GOROOT": "[START_DIR]/go/go", 241 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 242 "SKIA_OUT": "[START_DIR]/out" 243 }, 244 "name": "update go pkgs" 245 }, 246 { 247 "cmd": [ 248 "python", 249 "-u", 250 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 251 "--", 252 "cp", 253 "gs://skia-buildbots/artifacts/server/.gitcookies_update-skps", 254 "[START_DIR]/update_skps.git_cookies" 255 ], 256 "infra_step": true, 257 "name": "gsutil cp" 258 }, 259 { 260 "cmd": [ 261 "python", 262 "[CUSTOM_/_B_WORK]/skia/infra/bots/upload_skps.py", 263 "--target_dir", 264 "[START_DIR]/skp_output", 265 "--gitcookies", 266 "[START_DIR]/update_skps.git_cookies" 267 ], 268 "cwd": "[CUSTOM_/_B_WORK]/skia", 269 "env": { 270 "BUILDTYPE": "Release", 271 "CHROME_HEADLESS": "1", 272 "GOPATH": "[START_DIR]/gopath", 273 "GOROOT": "[START_DIR]/go/go", 274 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 275 "SKIA_OUT": "[START_DIR]/out" 276 }, 277 "name": "Upload SKPs", 278 "~followup_annotations": [ 279 "step returned non-zero exit code: 1", 280 "@@@STEP_FAILURE@@@" 281 ] 282 }, 283 { 284 "name": "$result", 285 "reason": "Step('Upload SKPs') failed with return_code 1", 286 "recipe_result": null, 287 "status_code": 1 288 } 289]