| 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 "cwd": "[SLAVE_BUILD]", | |
| 10 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 11 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", | 11 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@@@@", | 13 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", | 41 "{\"src\": \"got_src_revision\", \"src/native_client\": \"got_nacl_revisio
n\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc
\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_clien
t_revision\", \"src/v8\": \"got_v8_revision\"}", |
| 43 "--git-cache-dir", | 42 "--git-cache-dir", |
| 44 "[GIT_CACHE]", | 43 "[GIT_CACHE]", |
| 45 "--output_json", | 44 "--output_json", |
| 46 "/path/to/tmp/json", | 45 "/path/to/tmp/json", |
| 47 "--revision", | 46 "--revision", |
| 48 "src@204787", | 47 "src@204787", |
| 49 "--force", | 48 "--force", |
| 50 "--output_manifest" | 49 "--output_manifest" |
| 51 ], | 50 ], |
| 52 "cwd": "[SLAVE_BUILD]", | |
| 53 "env": { | 51 "env": { |
| 54 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 55 }, | 53 }, |
| 56 "name": "bot_update", | 54 "name": "bot_update", |
| 57 "~followup_annotations": [ | 55 "~followup_annotations": [ |
| 58 "@@@STEP_TEXT@Some step text@@@", | 56 "@@@STEP_TEXT@Some step text@@@", |
| 59 "@@@STEP_LOG_LINE@json.output@{@@@", | 57 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 60 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 58 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 61 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 59 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 62 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", | 60 "@@@STEP_LOG_LINE@json.output@ \"src\": \"204787\"@@@", |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 { | 122 { |
| 125 "cmd": [ | 123 "cmd": [ |
| 126 "python", | 124 "python", |
| 127 "-u", | 125 "-u", |
| 128 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 126 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
| 129 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 127 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
| 130 "[SLAVE_BUILD]/src/out/Release/test_logs", | 128 "[SLAVE_BUILD]/src/out/Release/test_logs", |
| 131 "[SLAVE_BUILD]/src/out/build_product.zip", | 129 "[SLAVE_BUILD]/src/out/build_product.zip", |
| 132 "[SLAVE_BUILD]/src" | 130 "[SLAVE_BUILD]/src" |
| 133 ], | 131 ], |
| 134 "cwd": "[SLAVE_BUILD]", | |
| 135 "name": "clean local files", | 132 "name": "clean local files", |
| 136 "~followup_annotations": [ | 133 "~followup_annotations": [ |
| 137 "@@@STEP_LOG_LINE@python.inline@@@@", | 134 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 135 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 137 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 138 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 140 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 141 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 142 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 145 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 149 "@@@STEP_LOG_END@python.inline@@@" | 146 "@@@STEP_LOG_END@python.inline@@@" |
| 150 ] | 147 ] |
| 151 }, | 148 }, |
| 152 { | 149 { |
| 153 "cmd": [ | 150 "cmd": [ |
| 154 "python", | 151 "python", |
| 155 "-u", | 152 "-u", |
| 156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 153 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 157 "runhooks" | 154 "runhooks" |
| 158 ], | 155 ], |
| 159 "cwd": "[SLAVE_BUILD]", | |
| 160 "env": { | 156 "env": { |
| 161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 157 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 162 "GYP_CROSSCOMPILE": "1", | 158 "GYP_CROSSCOMPILE": "1", |
| 163 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", | 159 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
| 164 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 160 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 165 }, | 161 }, |
| 166 "name": "gclient runhooks" | 162 "name": "gclient runhooks" |
| 167 }, | 163 }, |
| 168 { | 164 { |
| 169 "cmd": [ | 165 "cmd": [ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 190 "--goma-jsonstatus", | 186 "--goma-jsonstatus", |
| 191 "/path/to/tmp/json", | 187 "/path/to/tmp/json", |
| 192 "--goma-service-account-json-file", | 188 "--goma-service-account-json-file", |
| 193 "/creds/service_accounts/service-account-goma-client.json", | 189 "/creds/service_accounts/service-account-goma-client.json", |
| 194 "--goma-dir", | 190 "--goma-dir", |
| 195 "[BUILD]/goma", | 191 "[BUILD]/goma", |
| 196 "--clobber", | 192 "--clobber", |
| 197 "--", | 193 "--", |
| 198 "all" | 194 "all" |
| 199 ], | 195 ], |
| 200 "cwd": "[SLAVE_BUILD]", | |
| 201 "env": { | 196 "env": { |
| 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 197 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 203 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 198 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 204 }, | 199 }, |
| 205 "name": "First build", | 200 "name": "First build", |
| 206 "~followup_annotations": [ | 201 "~followup_annotations": [ |
| 207 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 202 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 208 "@@@STEP_LOG_END@json.output (invalid)@@@" | 203 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 209 ] | 204 ] |
| 210 }, | 205 }, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 226 ] | 221 ] |
| 227 }, | 222 }, |
| 228 { | 223 { |
| 229 "cmd": [ | 224 "cmd": [ |
| 230 "python", | 225 "python", |
| 231 "-u", | 226 "-u", |
| 232 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | 227 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
| 233 "[SLAVE_BUILD]/src/out/Release", | 228 "[SLAVE_BUILD]/src/out/Release", |
| 234 "[SLAVE_BUILD]/src/out/Release.1" | 229 "[SLAVE_BUILD]/src/out/Release.1" |
| 235 ], | 230 ], |
| 236 "cwd": "[SLAVE_BUILD]", | |
| 237 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", | 231 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", |
| 238 "~followup_annotations": [ | 232 "~followup_annotations": [ |
| 239 "@@@STEP_LOG_LINE@python.inline@@@@", | 233 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 240 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 234 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 241 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 235 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 242 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 236 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 243 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 237 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
| 244 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 238 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
| 245 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 239 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
| 246 "@@@STEP_LOG_END@python.inline@@@" | 240 "@@@STEP_LOG_END@python.inline@@@" |
| 247 ] | 241 ] |
| 248 }, | 242 }, |
| 249 { | 243 { |
| 250 "cmd": [ | 244 "cmd": [ |
| 251 "python", | 245 "python", |
| 252 "-u", | 246 "-u", |
| 253 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 247 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 254 "runhooks" | 248 "runhooks" |
| 255 ], | 249 ], |
| 256 "cwd": "[SLAVE_BUILD]", | |
| 257 "env": { | 250 "env": { |
| 258 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 251 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 259 "GYP_CROSSCOMPILE": "1", | 252 "GYP_CROSSCOMPILE": "1", |
| 260 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", | 253 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
| 261 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 254 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 262 }, | 255 }, |
| 263 "name": "gclient runhooks (2)" | 256 "name": "gclient runhooks (2)" |
| 264 }, | 257 }, |
| 265 { | 258 { |
| 266 "cmd": [ | 259 "cmd": [ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 287 "--goma-jsonstatus", | 280 "--goma-jsonstatus", |
| 288 "/path/to/tmp/json", | 281 "/path/to/tmp/json", |
| 289 "--goma-service-account-json-file", | 282 "--goma-service-account-json-file", |
| 290 "/creds/service_accounts/service-account-goma-client.json", | 283 "/creds/service_accounts/service-account-goma-client.json", |
| 291 "--goma-dir", | 284 "--goma-dir", |
| 292 "[BUILD]/goma", | 285 "[BUILD]/goma", |
| 293 "--clobber", | 286 "--clobber", |
| 294 "--", | 287 "--", |
| 295 "all" | 288 "all" |
| 296 ], | 289 ], |
| 297 "cwd": "[SLAVE_BUILD]", | |
| 298 "env": { | 290 "env": { |
| 299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 291 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 300 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 292 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 301 }, | 293 }, |
| 302 "name": "Second build", | 294 "name": "Second build", |
| 303 "~followup_annotations": [ | 295 "~followup_annotations": [ |
| 304 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 296 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 305 "@@@STEP_LOG_END@json.output (invalid)@@@" | 297 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 306 ] | 298 ] |
| 307 }, | 299 }, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 319 "name": "remove_build_metadata (2)" | 311 "name": "remove_build_metadata (2)" |
| 320 }, | 312 }, |
| 321 { | 313 { |
| 322 "cmd": [ | 314 "cmd": [ |
| 323 "python", | 315 "python", |
| 324 "-u", | 316 "-u", |
| 325 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | 317 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
| 326 "[SLAVE_BUILD]/src/out/Release", | 318 "[SLAVE_BUILD]/src/out/Release", |
| 327 "[SLAVE_BUILD]/src/out/Release.2" | 319 "[SLAVE_BUILD]/src/out/Release.2" |
| 328 ], | 320 ], |
| 329 "cwd": "[SLAVE_BUILD]", | |
| 330 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", | 321 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", |
| 331 "~followup_annotations": [ | 322 "~followup_annotations": [ |
| 332 "@@@STEP_LOG_LINE@python.inline@@@@", | 323 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 333 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 324 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 334 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 325 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 335 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 326 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 336 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 327 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
| 337 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 328 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
| 338 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 329 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
| 339 "@@@STEP_LOG_END@python.inline@@@" | 330 "@@@STEP_LOG_END@python.inline@@@" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 353 ], | 344 ], |
| 354 "cwd": "[SLAVE_BUILD]", | 345 "cwd": "[SLAVE_BUILD]", |
| 355 "name": "compare_build_artifacts" | 346 "name": "compare_build_artifacts" |
| 356 }, | 347 }, |
| 357 { | 348 { |
| 358 "name": "$result", | 349 "name": "$result", |
| 359 "recipe_result": null, | 350 "recipe_result": null, |
| 360 "status_code": 0 | 351 "status_code": 0 |
| 361 } | 352 } |
| 362 ] | 353 ] |
| OLD | NEW |