| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 "--adb-path", | 262 "--adb-path", |
| 263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 264 ], | 264 ], |
| 265 "env": { | 265 "env": { |
| 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 268 }, | 268 }, |
| 269 "name": "authorize_adb_devices" | 269 "name": "authorize_adb_devices" |
| 270 }, | 270 }, |
| 271 { | 271 { |
| 272 "cmd": [], | |
| 273 "name": "fix_device_file_format" | |
| 274 }, | |
| 275 { | |
| 276 "cmd": [ | |
| 277 "python", | |
| 278 "-u", | |
| 279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 280 "[BUILD]/site_config/.known_devices", | |
| 281 "/path/to/tmp/" | |
| 282 ], | |
| 283 "name": "fix_device_file_format.read_device_file", | |
| 284 "~followup_annotations": [ | |
| 285 "@@@STEP_NEST_LEVEL@1@@@", | |
| 286 "@@@STEP_TEXT@file format is compatible@@@" | |
| 287 ] | |
| 288 }, | |
| 289 { | |
| 290 "cmd": [ | 272 "cmd": [ |
| 291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 292 "--adb-path", | 274 "--adb-path", |
| 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 294 "--blacklist-file", | 276 "--blacklist-file", |
| 295 "[SLAVE_BUILD]/src/out/bad_devices.json", | 277 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 296 "--json-output", | 278 "--json-output", |
| 297 "/path/to/tmp/json", | 279 "/path/to/tmp/json", |
| 298 "--known-devices-file", | 280 "--known-devices-file", |
| 299 "[BUILD]/site_config/.known_devices" | 281 "[BUILD]/site_config/.known_devices" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 330 "-t", | 312 "-t", |
| 331 "Release" | 313 "Release" |
| 332 ], | 314 ], |
| 333 "env": { | 315 "env": { |
| 334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 316 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 335 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 317 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 336 }, | 318 }, |
| 337 "name": "provision_devices" | 319 "name": "provision_devices" |
| 338 }, | 320 }, |
| 339 { | 321 { |
| 340 "cmd": [], | |
| 341 "name": "fix_device_file_format (2)" | |
| 342 }, | |
| 343 { | |
| 344 "cmd": [ | |
| 345 "python", | |
| 346 "-u", | |
| 347 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 348 "[BUILD]/site_config/.known_devices", | |
| 349 "/path/to/tmp/" | |
| 350 ], | |
| 351 "name": "fix_device_file_format.read_device_file (2)", | |
| 352 "~followup_annotations": [ | |
| 353 "@@@STEP_NEST_LEVEL@1@@@", | |
| 354 "@@@STEP_TEXT@file format is compatible@@@" | |
| 355 ] | |
| 356 }, | |
| 357 { | |
| 358 "cmd": [ | 322 "cmd": [ |
| 359 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 323 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 360 "--adb-path", | 324 "--adb-path", |
| 361 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 325 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 362 "--blacklist-file", | 326 "--blacklist-file", |
| 363 "[SLAVE_BUILD]/src/out/bad_devices.json", | 327 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 364 "--json-output", | 328 "--json-output", |
| 365 "/path/to/tmp/json", | 329 "/path/to/tmp/json", |
| 366 "--known-devices-file", | 330 "--known-devices-file", |
| 367 "[BUILD]/site_config/.known_devices" | 331 "[BUILD]/site_config/.known_devices" |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 608 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 645 }, | 609 }, |
| 646 "name": "stack_tool_for_asan" | 610 "name": "stack_tool_for_asan" |
| 647 }, | 611 }, |
| 648 { | 612 { |
| 649 "name": "$result", | 613 "name": "$result", |
| 650 "recipe_result": null, | 614 "recipe_result": null, |
| 651 "status_code": 0 | 615 "status_code": 0 |
| 652 } | 616 } |
| 653 ] | 617 ] |
| OLD | NEW |