| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 316 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 317 ], | 317 ], |
| 318 "env": { | 318 "env": { |
| 319 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 319 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 320 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 320 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 321 }, | 321 }, |
| 322 "name": "authorize_adb_devices" | 322 "name": "authorize_adb_devices" |
| 323 }, | 323 }, |
| 324 { | 324 { |
| 325 "cmd": [ | 325 "cmd": [ |
| 326 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 326 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 327 "--blacklist-file", |
| 328 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 329 "--known-devices-file", |
| 330 "[BUILD]/site_config/.known_devices", |
| 327 "--adb-path", | 331 "--adb-path", |
| 328 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 332 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 329 "--blacklist-file", | 333 "-v" |
| 330 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 331 "--json-output", | |
| 332 "/path/to/tmp/json", | |
| 333 "--known-devices-file", | |
| 334 "[BUILD]/site_config/.known_devices" | |
| 335 ], | 334 ], |
| 336 "env": { | 335 "env": { |
| 337 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 336 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 338 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 337 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 339 }, | 338 }, |
| 340 "name": "device_status_check", | 339 "name": "device_recovery" |
| 340 }, |
| 341 { |
| 342 "cmd": [ |
| 343 "python", |
| 344 "-u", |
| 345 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 346 "--adb-path", |
| 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 348 "--blacklist-file", |
| 349 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 350 "--output-device-blacklist", |
| 351 "/path/to/tmp/json", |
| 352 "-t", |
| 353 "Debug" |
| 354 ], |
| 355 "env": { |
| 356 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 357 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 358 }, |
| 359 "name": "provision_devices" |
| 360 }, |
| 361 { |
| 362 "cmd": [ |
| 363 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 364 "--json-output", |
| 365 "/path/to/tmp/json", |
| 366 "--blacklist-file", |
| 367 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 368 "--known-devices-file", |
| 369 "[BUILD]/site_config/.known_devices", |
| 370 "--buildbot-path", |
| 371 "/home/chrome-bot/.adb_device_info", |
| 372 "--adb-path", |
| 373 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 374 "-v", |
| 375 "--overwrite-known-devices-files" |
| 376 ], |
| 377 "env": { |
| 378 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 379 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 380 }, |
| 381 "name": "device_status", |
| 341 "~followup_annotations": [ | 382 "~followup_annotations": [ |
| 342 "@@@STEP_TEXT@Online devices: 1@@@", | 383 "@@@STEP_TEXT@Online devices: 1@@@", |
| 343 "@@@STEP_LOG_LINE@json.output@[@@@", | 384 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 344 "@@@STEP_LOG_LINE@json.output@ {@@@", | 385 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 345 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 386 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 346 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 387 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 347 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 388 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 348 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 389 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 349 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 390 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 350 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 391 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 471 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 431 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 472 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 432 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 473 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 433 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 474 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 434 ] | 475 ] |
| 435 }, | 476 }, |
| 436 { | 477 { |
| 437 "cmd": [ | 478 "cmd": [ |
| 438 "python", | 479 "python", |
| 439 "-u", | 480 "-u", |
| 440 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 441 "--adb-path", | |
| 442 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 443 "--blacklist-file", | |
| 444 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 445 "--output-device-blacklist", | |
| 446 "/path/to/tmp/json", | |
| 447 "-t", | |
| 448 "Debug" | |
| 449 ], | |
| 450 "env": { | |
| 451 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 452 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 453 }, | |
| 454 "name": "provision_devices" | |
| 455 }, | |
| 456 { | |
| 457 "cmd": [ | |
| 458 "python", | |
| 459 "-u", | |
| 460 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 481 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 461 "--action", | 482 "--action", |
| 462 "restart", | 483 "restart", |
| 463 "--pid-file-path", | 484 "--pid-file-path", |
| 464 "/tmp/device_monitor.pid", | 485 "/tmp/device_monitor.pid", |
| 465 "--", | 486 "--", |
| 466 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 487 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 467 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 488 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 468 "[\"07a00ca4\"]", | 489 "[\"07a00ca4\"]", |
| 469 "--blacklist-file", | 490 "--blacklist-file", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 653 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 633 "@@@STEP_LOG_END@python.inline@@@" | 654 "@@@STEP_LOG_END@python.inline@@@" |
| 634 ] | 655 ] |
| 635 }, | 656 }, |
| 636 { | 657 { |
| 637 "name": "$result", | 658 "name": "$result", |
| 638 "recipe_result": null, | 659 "recipe_result": null, |
| 639 "status_code": 0 | 660 "status_code": 0 |
| 640 } | 661 } |
| 641 ] | 662 ] |
| OLD | NEW |