| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 294 ], | 294 ], |
| 295 "env": { | 295 "env": { |
| 296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 297 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 297 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 298 }, | 298 }, |
| 299 "name": "authorize_adb_devices" | 299 "name": "authorize_adb_devices" |
| 300 }, | 300 }, |
| 301 { | 301 { |
| 302 "cmd": [ | 302 "cmd": [ |
| 303 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 303 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 304 "--blacklist-file", |
| 305 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 306 "--known-devices-file", |
| 307 "[BUILD]/site_config/.known_devices", |
| 304 "--adb-path", | 308 "--adb-path", |
| 305 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 309 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 306 "--blacklist-file", | 310 "-v" |
| 307 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 308 "--json-output", | |
| 309 "/path/to/tmp/json", | |
| 310 "--known-devices-file", | |
| 311 "[BUILD]/site_config/.known_devices" | |
| 312 ], | 311 ], |
| 313 "env": { | 312 "env": { |
| 314 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 315 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 316 }, | 315 }, |
| 317 "name": "device_status_check", | 316 "name": "device_recovery" |
| 317 }, |
| 318 { |
| 319 "cmd": [ |
| 320 "python", |
| 321 "-u", |
| 322 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 323 "--adb-path", |
| 324 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 325 "--blacklist-file", |
| 326 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 327 "--output-device-blacklist", |
| 328 "/path/to/tmp/json", |
| 329 "-t", |
| 330 "Debug" |
| 331 ], |
| 332 "env": { |
| 333 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 334 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 335 }, |
| 336 "name": "provision_devices" |
| 337 }, |
| 338 { |
| 339 "cmd": [ |
| 340 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 341 "--json-output", |
| 342 "/path/to/tmp/json", |
| 343 "--blacklist-file", |
| 344 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 345 "--known-devices-file", |
| 346 "[BUILD]/site_config/.known_devices", |
| 347 "--buildbot-path", |
| 348 "/home/chrome-bot/.adb_device_info", |
| 349 "--adb-path", |
| 350 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 351 "-v", |
| 352 "--overwrite-known-devices-files" |
| 353 ], |
| 354 "env": { |
| 355 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 356 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 357 }, |
| 358 "name": "device_status", |
| 318 "~followup_annotations": [ | 359 "~followup_annotations": [ |
| 319 "@@@STEP_TEXT@Online devices: 1@@@", | 360 "@@@STEP_TEXT@Online devices: 1@@@", |
| 320 "@@@STEP_LOG_LINE@json.output@[@@@", | 361 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 321 "@@@STEP_LOG_LINE@json.output@ {@@@", | 362 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 322 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 363 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 323 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 364 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 324 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 365 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 325 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 366 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 326 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 367 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 327 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 368 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 448 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 408 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 449 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 409 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 450 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 410 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 451 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 411 ] | 452 ] |
| 412 }, | 453 }, |
| 413 { | 454 { |
| 414 "cmd": [ | 455 "cmd": [ |
| 415 "python", | 456 "python", |
| 416 "-u", | 457 "-u", |
| 417 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 418 "--adb-path", | |
| 419 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 420 "--blacklist-file", | |
| 421 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 422 "--output-device-blacklist", | |
| 423 "/path/to/tmp/json", | |
| 424 "-t", | |
| 425 "Debug" | |
| 426 ], | |
| 427 "env": { | |
| 428 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 429 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 430 }, | |
| 431 "name": "provision_devices" | |
| 432 }, | |
| 433 { | |
| 434 "cmd": [ | |
| 435 "python", | |
| 436 "-u", | |
| 437 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 458 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 438 "--action", | 459 "--action", |
| 439 "restart", | 460 "restart", |
| 440 "--pid-file-path", | 461 "--pid-file-path", |
| 441 "/tmp/device_monitor.pid", | 462 "/tmp/device_monitor.pid", |
| 442 "--", | 463 "--", |
| 443 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 464 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 444 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 465 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 445 "[\"07a00ca4\"]", | 466 "[\"07a00ca4\"]", |
| 446 "--blacklist-file", | 467 "--blacklist-file", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 630 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 610 "@@@STEP_LOG_END@python.inline@@@" | 631 "@@@STEP_LOG_END@python.inline@@@" |
| 611 ] | 632 ] |
| 612 }, | 633 }, |
| 613 { | 634 { |
| 614 "name": "$result", | 635 "name": "$result", |
| 615 "recipe_result": null, | 636 "recipe_result": null, |
| 616 "status_code": 0 | 637 "status_code": 0 |
| 617 } | 638 } |
| 618 ] | 639 ] |
| OLD | NEW |