| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
| 7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
| 8 ], | 8 ], |
| 9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 160 "@@@STEP_LOG_END@python.inline@@@" | 160 "@@@STEP_LOG_END@python.inline@@@" |
| 161 ] | 161 ] |
| 162 }, | 162 }, |
| 163 { | 163 { |
| 164 "cmd": [], |
| 165 "name": "ensure_goma" |
| 166 }, |
| 167 { |
| 168 "cmd": [ |
| 169 "python", |
| 170 "-u", |
| 171 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
| 172 "--platform", |
| 173 "linux-amd64", |
| 174 "--dest-directory", |
| 175 "[SLAVE_BUILD]/cipd", |
| 176 "--json-output", |
| 177 "/path/to/tmp/json" |
| 178 ], |
| 179 "name": "ensure_goma.install cipd", |
| 180 "~followup_annotations": [ |
| 181 "@@@STEP_NEST_LEVEL@1@@@", |
| 182 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
| 183 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 184 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
| 185 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
| 186 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 187 "@@@STEP_LOG_END@json.output@@@" |
| 188 ] |
| 189 }, |
| 190 { |
| 191 "cmd": [ |
| 192 "[SLAVE_BUILD]/cipd/cipd", |
| 193 "ensure", |
| 194 "--root", |
| 195 "[CACHE]/cipd/goma", |
| 196 "--list", |
| 197 "infra_internal/goma/client/linux-amd64 release", |
| 198 "--json-output", |
| 199 "/path/to/tmp/json", |
| 200 "--service-account-json", |
| 201 "/creds/service_accounts/service-account-goma-client.json" |
| 202 ], |
| 203 "name": "ensure_goma.ensure_installed", |
| 204 "~followup_annotations": [ |
| 205 "@@@STEP_NEST_LEVEL@1@@@", |
| 206 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 207 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| 208 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 209 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
| 210 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", |
| 211 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 212 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 213 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 214 "@@@STEP_LOG_END@json.output@@@" |
| 215 ] |
| 216 }, |
| 217 { |
| 164 "cmd": [ | 218 "cmd": [ |
| 165 "python", | 219 "python", |
| 166 "-u", | 220 "-u", |
| 167 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 221 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 168 "[SLAVE_BUILD]/src/out/Debug" | 222 "[SLAVE_BUILD]/src/out/Debug" |
| 169 ], | 223 ], |
| 170 "name": "rmtree clobber", | 224 "name": "rmtree clobber", |
| 171 "~followup_annotations": [ | 225 "~followup_annotations": [ |
| 172 "@@@STEP_LOG_LINE@python.inline@@@@", | 226 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 173 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 227 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 184 "python", | 238 "python", |
| 185 "-u", | 239 "-u", |
| 186 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 240 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 187 "runhooks" | 241 "runhooks" |
| 188 ], | 242 ], |
| 189 "cwd": "[SLAVE_BUILD]/src", | 243 "cwd": "[SLAVE_BUILD]/src", |
| 190 "env": { | 244 "env": { |
| 191 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 192 "GYP_CHROMIUM_NO_ACTION": "1", | 246 "GYP_CHROMIUM_NO_ACTION": "1", |
| 193 "GYP_CROSSCOMPILE": "1", | 247 "GYP_CROSSCOMPILE": "1", |
| 194 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_data_reduction_proxy_suppo
rt=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_
goma=1 use_platform_icu_alternatives=1", | 248 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter=
1 disable_file_support=1 disable_ftp_support=1 enable_data_reduction_proxy_suppo
rt=1 enable_websockets=0 fastbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm
use_goma=1 use_platform_icu_alternatives=1", |
| 195 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 249 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 196 }, | 250 }, |
| 197 "name": "gclient runhooks" | 251 "name": "gclient runhooks" |
| 198 }, | 252 }, |
| 199 { | 253 { |
| 200 "cmd": [ | 254 "cmd": [ |
| 201 "python", | 255 "python", |
| 202 "-u", | 256 "-u", |
| 203 "[SLAVE_BUILD]/src/tools/mb/mb.py", | 257 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
| 204 "gen", | 258 "gen", |
| 205 "-m", | 259 "-m", |
| 206 "chromium.testing.master", | 260 "chromium.testing.master", |
| 207 "-b", | 261 "-b", |
| 208 "android_cronet_tester", | 262 "android_cronet_tester", |
| 209 "--config-file", | 263 "--config-file", |
| 210 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", | 264 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
| 211 "--goma-dir", | 265 "--goma-dir", |
| 212 "[BUILD]/goma", | 266 "[CACHE]/cipd/goma", |
| 213 "//out/Debug" | 267 "//out/Debug" |
| 214 ], | 268 ], |
| 215 "env": { | 269 "env": { |
| 216 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 270 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 217 }, | 271 }, |
| 218 "name": "generate_build_files" | 272 "name": "generate_build_files" |
| 219 }, | 273 }, |
| 220 { | 274 { |
| 221 "cmd": [ | 275 "cmd": [ |
| 222 "python", | 276 "python", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 237 "[GOMA_CACHE]", | 291 "[GOMA_CACHE]", |
| 238 "--build-tool", | 292 "--build-tool", |
| 239 "ninja", | 293 "ninja", |
| 240 "--compiler", | 294 "--compiler", |
| 241 "goma", | 295 "goma", |
| 242 "--goma-jsonstatus", | 296 "--goma-jsonstatus", |
| 243 "/path/to/tmp/json", | 297 "/path/to/tmp/json", |
| 244 "--goma-service-account-json-file", | 298 "--goma-service-account-json-file", |
| 245 "/creds/service_accounts/service-account-goma-client.json", | 299 "/creds/service_accounts/service-account-goma-client.json", |
| 246 "--goma-dir", | 300 "--goma-dir", |
| 247 "[BUILD]/goma", | 301 "[CACHE]/cipd/goma", |
| 248 "--goma-fail-fast", | 302 "--goma-fail-fast", |
| 249 "--goma-disable-local-fallback", | 303 "--goma-disable-local-fallback", |
| 250 "--", | 304 "--", |
| 251 "cronet_package", | 305 "cronet_package", |
| 252 "cronet_sample_test_apk", | 306 "cronet_sample_test_apk", |
| 253 "cronet_test_instrumentation_apk", | 307 "cronet_test_instrumentation_apk", |
| 254 "cronet_unittests", | 308 "cronet_unittests", |
| 255 "cronet_unittests_apk", | 309 "cronet_unittests_apk", |
| 256 "net_unittests", | 310 "net_unittests", |
| 257 "net_unittests_apk" | 311 "net_unittests_apk" |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 673 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 620 "@@@STEP_LOG_END@python.inline@@@" | 674 "@@@STEP_LOG_END@python.inline@@@" |
| 621 ] | 675 ] |
| 622 }, | 676 }, |
| 623 { | 677 { |
| 624 "name": "$result", | 678 "name": "$result", |
| 625 "recipe_result": null, | 679 "recipe_result": null, |
| 626 "status_code": 0 | 680 "status_code": 0 |
| 627 } | 681 } |
| 628 ] | 682 ] |
| OLD | NEW |