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