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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 370 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
371 ], 371 ],
372 "env": { 372 "env": {
373 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 373 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
374 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 374 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
375 }, 375 },
376 "name": "authorize_adb_devices" 376 "name": "authorize_adb_devices"
377 }, 377 },
378 { 378 {
379 "cmd": [ 379 "cmd": [
380 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 380 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
381 "--adb-path",
382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
381 "--blacklist-file", 383 "--blacklist-file",
382 "[SLAVE_BUILD]/src/out/bad_devices.json", 384 "[SLAVE_BUILD]/src/out/bad_devices.json",
385 "--json-output",
386 "/path/to/tmp/json",
383 "--known-devices-file", 387 "--known-devices-file",
384 "[HOME]/.android/known_devices.json", 388 "[HOME]/.android/known_devices.json"
385 "--adb-path",
386 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
387 "-v"
388 ], 389 ],
389 "env": { 390 "env": {
390 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 391 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
391 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 392 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
392 }, 393 },
393 "name": "device_recovery" 394 "name": "device_status_check",
394 },
395 {
396 "cmd": [
397 "python",
398 "-u",
399 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
400 "--adb-path",
401 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
402 "--blacklist-file",
403 "[SLAVE_BUILD]/src/out/bad_devices.json",
404 "--output-device-blacklist",
405 "/path/to/tmp/json",
406 "-t",
407 "Debug"
408 ],
409 "env": {
410 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
411 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
412 },
413 "name": "provision_devices"
414 },
415 {
416 "cmd": [
417 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
418 "--json-output",
419 "/path/to/tmp/json",
420 "--blacklist-file",
421 "[SLAVE_BUILD]/src/out/bad_devices.json",
422 "--known-devices-file",
423 "[HOME]/.android/known_devices.json",
424 "--buildbot-path",
425 "/home/chrome-bot/.adb_device_info",
426 "--adb-path",
427 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
428 "-v",
429 "--overwrite-known-devices-files"
430 ],
431 "env": {
432 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
433 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
434 },
435 "name": "device_status",
436 "~followup_annotations": [ 395 "~followup_annotations": [
437 "@@@STEP_TEXT@Online devices: 1@@@", 396 "@@@STEP_TEXT@Online devices: 1@@@",
438 "@@@STEP_LOG_LINE@json.output@[@@@", 397 "@@@STEP_LOG_LINE@json.output@[@@@",
439 "@@@STEP_LOG_LINE@json.output@ {@@@", 398 "@@@STEP_LOG_LINE@json.output@ {@@@",
440 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 399 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
441 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 400 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
442 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 401 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
443 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 402 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
444 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", 403 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
445 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", 404 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 484 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
526 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 485 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
527 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 486 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
528 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 487 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
529 ] 488 ]
530 }, 489 },
531 { 490 {
532 "cmd": [ 491 "cmd": [
533 "python", 492 "python",
534 "-u", 493 "-u",
494 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
495 "--adb-path",
496 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
497 "--blacklist-file",
498 "[SLAVE_BUILD]/src/out/bad_devices.json",
499 "--output-device-blacklist",
500 "/path/to/tmp/json",
501 "-t",
502 "Debug"
503 ],
504 "env": {
505 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
506 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
507 },
508 "name": "provision_devices"
509 },
510 {
511 "cmd": [
512 "python",
513 "-u",
535 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 514 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
536 "--action", 515 "--action",
537 "restart", 516 "restart",
538 "--pid-file-path", 517 "--pid-file-path",
539 "/tmp/device_monitor.pid", 518 "/tmp/device_monitor.pid",
540 "--", 519 "--",
541 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" , 520 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
542 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 521 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
543 "[\"07a00ca4\"]", 522 "[\"07a00ca4\"]",
544 "--blacklist-file", 523 "--blacklist-file",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 694 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
716 "@@@STEP_LOG_END@python.inline@@@" 695 "@@@STEP_LOG_END@python.inline@@@"
717 ] 696 ]
718 }, 697 },
719 { 698 {
720 "name": "$result", 699 "name": "$result",
721 "recipe_result": null, 700 "recipe_result": null,
722 "status_code": 0 701 "status_code": 0
723 } 702 }
724 ] 703 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698