Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/gn_test.json

Issue 2143013002: Revert "[Android] Reland splitting of device recovery and device status." (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 381 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
382 ], 382 ],
383 "env": { 383 "env": {
384 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 384 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
385 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 385 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
386 }, 386 },
387 "name": "authorize_adb_devices" 387 "name": "authorize_adb_devices"
388 }, 388 },
389 { 389 {
390 "cmd": [ 390 "cmd": [
391 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 391 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
392 "--adb-path",
393 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
392 "--blacklist-file", 394 "--blacklist-file",
393 "[SLAVE_BUILD]/src/out/bad_devices.json", 395 "[SLAVE_BUILD]/src/out/bad_devices.json",
396 "--json-output",
397 "/path/to/tmp/json",
394 "--known-devices-file", 398 "--known-devices-file",
395 "[HOME]/.android/known_devices.json", 399 "[HOME]/.android/known_devices.json"
396 "--adb-path",
397 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
398 "-v"
399 ], 400 ],
400 "env": { 401 "env": {
401 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 402 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
402 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 403 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
403 }, 404 },
404 "name": "device_recovery" 405 "name": "device_status_check",
405 },
406 {
407 "cmd": [
408 "python",
409 "-u",
410 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
411 "--adb-path",
412 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
413 "--blacklist-file",
414 "[SLAVE_BUILD]/src/out/bad_devices.json",
415 "--output-device-blacklist",
416 "/path/to/tmp/json",
417 "-t",
418 "Debug"
419 ],
420 "env": {
421 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
422 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
423 },
424 "name": "provision_devices"
425 },
426 {
427 "cmd": [
428 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
429 "--json-output",
430 "/path/to/tmp/json",
431 "--blacklist-file",
432 "[SLAVE_BUILD]/src/out/bad_devices.json",
433 "--known-devices-file",
434 "[HOME]/.android/known_devices.json",
435 "--buildbot-path",
436 "/home/chrome-bot/.adb_device_info",
437 "--adb-path",
438 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
439 "-v",
440 "--overwrite-known-devices-files"
441 ],
442 "env": {
443 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
444 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
445 },
446 "name": "device_status",
447 "~followup_annotations": [ 406 "~followup_annotations": [
448 "@@@STEP_TEXT@Online devices: 1@@@", 407 "@@@STEP_TEXT@Online devices: 1@@@",
449 "@@@STEP_LOG_LINE@json.output@[@@@", 408 "@@@STEP_LOG_LINE@json.output@[@@@",
450 "@@@STEP_LOG_LINE@json.output@ {@@@", 409 "@@@STEP_LOG_LINE@json.output@ {@@@",
451 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 410 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
452 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 411 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
453 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 412 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
454 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 413 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
455 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", 414 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
456 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", 415 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 495 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
537 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 496 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
538 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
539 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 498 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
540 ] 499 ]
541 }, 500 },
542 { 501 {
543 "cmd": [ 502 "cmd": [
544 "python", 503 "python",
545 "-u", 504 "-u",
505 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
506 "--adb-path",
507 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
508 "--blacklist-file",
509 "[SLAVE_BUILD]/src/out/bad_devices.json",
510 "--output-device-blacklist",
511 "/path/to/tmp/json",
512 "-t",
513 "Debug"
514 ],
515 "env": {
516 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
517 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
518 },
519 "name": "provision_devices"
520 },
521 {
522 "cmd": [
523 "python",
524 "-u",
546 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 525 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
547 "--action", 526 "--action",
548 "restart", 527 "restart",
549 "--pid-file-path", 528 "--pid-file-path",
550 "/tmp/device_monitor.pid", 529 "/tmp/device_monitor.pid",
551 "--", 530 "--",
552 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" , 531 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
553 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 532 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
554 "[\"07a00ca4\"]", 533 "[\"07a00ca4\"]",
555 "--blacklist-file", 534 "--blacklist-file",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 705 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
727 "@@@STEP_LOG_END@python.inline@@@" 706 "@@@STEP_LOG_END@python.inline@@@"
728 ] 707 ]
729 }, 708 },
730 { 709 {
731 "name": "$result", 710 "name": "$result",
732 "recipe_result": null, 711 "recipe_result": null,
733 "status_code": 0 712 "status_code": 0
734 } 713 }
735 ] 714 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698