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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_tester.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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
348 ], 348 ],
349 "env": { 349 "env": {
350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
352 }, 352 },
353 "name": "authorize_adb_devices" 353 "name": "authorize_adb_devices"
354 }, 354 },
355 { 355 {
356 "cmd": [ 356 "cmd": [
357 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 357 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
358 "--adb-path",
359 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
358 "--blacklist-file", 360 "--blacklist-file",
359 "[SLAVE_BUILD]/src/out/bad_devices.json", 361 "[SLAVE_BUILD]/src/out/bad_devices.json",
362 "--json-output",
363 "/path/to/tmp/json",
360 "--known-devices-file", 364 "--known-devices-file",
361 "[HOME]/.android/known_devices.json", 365 "[HOME]/.android/known_devices.json"
362 "--adb-path",
363 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
364 "-v"
365 ], 366 ],
366 "env": { 367 "env": {
367 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 368 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 369 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
369 }, 370 },
370 "name": "device_recovery" 371 "name": "device_status_check",
371 },
372 {
373 "cmd": [
374 "python",
375 "-u",
376 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
377 "--adb-path",
378 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
379 "--blacklist-file",
380 "[SLAVE_BUILD]/src/out/bad_devices.json",
381 "--output-device-blacklist",
382 "/path/to/tmp/json",
383 "-t",
384 "Debug"
385 ],
386 "env": {
387 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
388 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
389 },
390 "name": "provision_devices"
391 },
392 {
393 "cmd": [
394 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
395 "--json-output",
396 "/path/to/tmp/json",
397 "--blacklist-file",
398 "[SLAVE_BUILD]/src/out/bad_devices.json",
399 "--known-devices-file",
400 "[HOME]/.android/known_devices.json",
401 "--buildbot-path",
402 "/home/chrome-bot/.adb_device_info",
403 "--adb-path",
404 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
405 "-v",
406 "--overwrite-known-devices-files"
407 ],
408 "env": {
409 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
410 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
411 },
412 "name": "device_status",
413 "~followup_annotations": [ 372 "~followup_annotations": [
414 "@@@STEP_TEXT@Online devices: 1@@@", 373 "@@@STEP_TEXT@Online devices: 1@@@",
415 "@@@STEP_LOG_LINE@json.output@[@@@", 374 "@@@STEP_LOG_LINE@json.output@[@@@",
416 "@@@STEP_LOG_LINE@json.output@ {@@@", 375 "@@@STEP_LOG_LINE@json.output@ {@@@",
417 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 376 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
418 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 377 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
419 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 378 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
420 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 379 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
421 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", 380 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
422 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", 381 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 461 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
503 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 462 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
504 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 463 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
505 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 464 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
506 ] 465 ]
507 }, 466 },
508 { 467 {
509 "cmd": [ 468 "cmd": [
510 "python", 469 "python",
511 "-u", 470 "-u",
471 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
472 "--adb-path",
473 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
474 "--blacklist-file",
475 "[SLAVE_BUILD]/src/out/bad_devices.json",
476 "--output-device-blacklist",
477 "/path/to/tmp/json",
478 "-t",
479 "Debug"
480 ],
481 "env": {
482 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
483 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
484 },
485 "name": "provision_devices"
486 },
487 {
488 "cmd": [
489 "python",
490 "-u",
512 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 491 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
513 "--action", 492 "--action",
514 "restart", 493 "restart",
515 "--pid-file-path", 494 "--pid-file-path",
516 "/tmp/device_monitor.pid", 495 "/tmp/device_monitor.pid",
517 "--", 496 "--",
518 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" , 497 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
519 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 498 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
520 "[\"07a00ca4\"]", 499 "[\"07a00ca4\"]",
521 "--blacklist-file", 500 "--blacklist-file",
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 671 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
693 "@@@STEP_LOG_END@python.inline@@@" 672 "@@@STEP_LOG_END@python.inline@@@"
694 ] 673 ]
695 }, 674 },
696 { 675 {
697 "name": "$result", 676 "name": "$result",
698 "recipe_result": null, 677 "recipe_result": null,
699 "status_code": 0 678 "status_code": 0
700 } 679 }
701 ] 680 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698