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

Side by Side Diff: scripts/slave/recipes/chromium.expected/amp_split_recipe_collect_failure.json

Issue 2059993002: [Android] Move to new device status and recovery scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase and retrain 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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "Android Tests (amp split)", 10 "Android Tests (amp split)",
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 382 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
383 ], 383 ],
384 "env": { 384 "env": {
385 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 385 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
386 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 386 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
387 }, 387 },
388 "name": "authorize_adb_devices" 388 "name": "authorize_adb_devices"
389 }, 389 },
390 { 390 {
391 "cmd": [ 391 "cmd": [
392 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 392 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
393 "--blacklist-file",
394 "[SLAVE_BUILD]/src/out/bad_devices.json",
395 "--known-devices-file",
396 "[CACHE]/known_android_devices",
393 "--adb-path", 397 "--adb-path",
394 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 398 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
395 "--blacklist-file", 399 "-v"
396 "[SLAVE_BUILD]/src/out/bad_devices.json",
397 "--json-output",
398 "/path/to/tmp/json",
399 "--known-devices-file",
400 "[CACHE]/known_android_devices"
401 ], 400 ],
402 "env": { 401 "env": {
403 "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",
404 "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"
405 }, 404 },
406 "name": "device_status_check", 405 "name": "device_recovery"
406 },
407 {
408 "cmd": [
409 "python",
410 "-u",
411 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
412 "--adb-path",
413 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
414 "--blacklist-file",
415 "[SLAVE_BUILD]/src/out/bad_devices.json",
416 "--output-device-blacklist",
417 "/path/to/tmp/json",
418 "-t",
419 "Release"
420 ],
421 "env": {
422 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
423 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
424 },
425 "name": "provision_devices"
426 },
427 {
428 "cmd": [
429 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s tatus.py",
430 "--json-output",
431 "/path/to/tmp/json",
432 "--blacklist-file",
433 "[SLAVE_BUILD]/src/out/bad_devices.json",
434 "--known-devices-file",
435 "[CACHE]/known_android_devices",
436 "--buildbot-path",
437 "/home/chrome-bot/.adb_device_info",
438 "--adb-path",
439 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
440 "-v",
441 "--overwrite-known-devices-files"
442 ],
443 "env": {
444 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
445 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
446 },
447 "name": "device_status",
407 "~followup_annotations": [ 448 "~followup_annotations": [
408 "@@@STEP_TEXT@Online devices: 1@@@", 449 "@@@STEP_TEXT@Online devices: 1@@@",
409 "@@@STEP_LOG_LINE@json.output@[@@@", 450 "@@@STEP_LOG_LINE@json.output@[@@@",
410 "@@@STEP_LOG_LINE@json.output@ {@@@", 451 "@@@STEP_LOG_LINE@json.output@ {@@@",
411 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 452 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
412 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 453 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
413 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 454 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
414 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 455 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
415 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", 456 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
416 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", 457 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 537 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 538 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
498 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 539 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
499 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 540 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
500 ] 541 ]
501 }, 542 },
502 { 543 {
503 "cmd": [ 544 "cmd": [
504 "python", 545 "python",
505 "-u", 546 "-u",
506 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
507 "--adb-path",
508 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
509 "--blacklist-file",
510 "[SLAVE_BUILD]/src/out/bad_devices.json",
511 "--output-device-blacklist",
512 "/path/to/tmp/json",
513 "-t",
514 "Release"
515 ],
516 "env": {
517 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
518 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
519 },
520 "name": "provision_devices"
521 },
522 {
523 "cmd": [
524 "python",
525 "-u",
526 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 547 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
527 "--action", 548 "--action",
528 "restart", 549 "restart",
529 "--pid-file-path", 550 "--pid-file-path",
530 "/tmp/device_monitor.pid", 551 "/tmp/device_monitor.pid",
531 "--", 552 "--",
532 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" , 553 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py" ,
533 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 554 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
534 "[\"07a00ca4\"]", 555 "[\"07a00ca4\"]",
535 "--blacklist-file", 556 "--blacklist-file",
(...skipping 2192 matching lines...) Expand 10 before | Expand all | Expand 10 after
2728 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 2749 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
2729 "@@@STEP_LOG_END@python.inline@@@" 2750 "@@@STEP_LOG_END@python.inline@@@"
2730 ] 2751 ]
2731 }, 2752 },
2732 { 2753 {
2733 "name": "$result", 2754 "name": "$result",
2734 "reason": "8 tests failed: ['AndroidWebViewTest', 'ContentShellTest', 'Chrom ePublicTest', 'ChromeSyncShellTest', 'junit_unit_tests', 'chrome_junit_tests', ' content_junit_tests', 'base_unittests']", 2755 "reason": "8 tests failed: ['AndroidWebViewTest', 'ContentShellTest', 'Chrom ePublicTest', 'ChromeSyncShellTest', 'junit_unit_tests', 'chrome_junit_tests', ' content_junit_tests', 'base_unittests']",
2735 "status_code": 1 2756 "status_code": 1
2736 } 2757 }
2737 ] 2758 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698