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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/host_info_failure.json

Issue 2192563004: [Android] Move host_info from test config to recipe step for android perf bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: [Android] Move host_info from test config to recipe step for android perf bots. Created 4 years, 4 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.perf", 8 "chromium.perf",
9 "--builder", 9 "--builder",
10 "Android Nexus5 Perf (1)", 10 "Android Nexus5 Perf (1)",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 "cmd": [ 107 "cmd": [
108 "python", 108 "python",
109 "-u", 109 "-u",
110 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 110 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
111 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json", 111 "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
112 "/path/to/tmp/json" 112 "/path/to/tmp/json"
113 ], 113 ],
114 "name": "read test spec (chromium.perf.json)", 114 "name": "read test spec (chromium.perf.json)",
115 "~followup_annotations": [ 115 "~followup_annotations": [
116 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@ @@", 116 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@ @@",
117 "@@@STEP_LOG_LINE@json.output@{@@@", 117 "@@@STEP_LOG_LINE@json.output@{}@@@",
118 "@@@STEP_LOG_LINE@json.output@ \"Android Nexus5 Perf (1)\": {@@@",
119 "@@@STEP_LOG_LINE@json.output@ \"scripts\": [@@@",
120 "@@@STEP_LOG_LINE@json.output@ {@@@",
121 "@@@STEP_LOG_LINE@json.output@ \"name\": \"host_info\", @@@",
122 "@@@STEP_LOG_LINE@json.output@ \"script\": \"host_info.py\"@@@",
123 "@@@STEP_LOG_LINE@json.output@ }@@@",
124 "@@@STEP_LOG_LINE@json.output@ ]@@@",
125 "@@@STEP_LOG_LINE@json.output@ }@@@",
126 "@@@STEP_LOG_LINE@json.output@}@@@",
127 "@@@STEP_LOG_END@json.output@@@" 118 "@@@STEP_LOG_END@json.output@@@"
128 ] 119 ]
129 }, 120 },
130 { 121 {
131 "cmd": [ 122 "cmd": [
132 "python", 123 "python",
133 "-u", 124 "-u",
134 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 125 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
135 "--output", 126 "--output",
136 "/path/to/tmp/json", 127 "/path/to/tmp/json",
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 "--release" 430 "--release"
440 ], 431 ],
441 "env": { 432 "env": {
442 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 433 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
443 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 434 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
444 }, 435 },
445 "name": "install ChromePublic.apk" 436 "name": "install ChromePublic.apk"
446 }, 437 },
447 { 438 {
448 "cmd": [ 439 "cmd": [
449 "python",
450 "-u",
451 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", 440 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
452 "--build-config-fs", 441 "--build-config-fs",
453 "Release", 442 "Release",
454 "--paths", 443 "--paths",
455 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}", 444 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}",
456 "--properties", 445 "--properties",
457 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat form\": \"android\"}", 446 "{\"buildername\": \"Android Nexus5 Perf (1)\", \"buildnumber\": 571, \"ma stername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_plat form\": \"android\"}",
458 "run", 447 "run",
459 "--output", 448 "--output",
460 "/path/to/tmp/json" 449 "/path/to/tmp/json"
461 ], 450 ],
462 "name": "host_info", 451 "env": {
452 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
453 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
454 },
455 "name": "Host_Info",
463 "~followup_annotations": [ 456 "~followup_annotations": [
464 "step returned non-zero exit code: 1", 457 "step returned non-zero exit code: 87",
465 "@@@STEP_LOG_LINE@json.output@{@@@", 458 "@@@STEP_LOG_LINE@json.output@{@@@",
459 "@@@STEP_LOG_LINE@json.output@ \"_host_info\": {@@@",
460 "@@@STEP_LOG_LINE@json.output@ \"devices\": [@@@",
461 "@@@STEP_LOG_LINE@json.output@ {@@@",
462 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
463 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
464 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
465 "@@@STEP_LOG_LINE@json.output@ \"Max charging current\": \"500000 \", @@@",
466 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
467 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @ @@",
468 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
469 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
470 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
471 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
472 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
473 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
474 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"240\", @@@",
475 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4302\"@@@",
476 "@@@STEP_LOG_LINE@json.output@ }, @@@",
477 "@@@STEP_LOG_LINE@json.output@ \"blacklisted\": null, @@@",
478 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"\", @@@",
479 "@@@STEP_LOG_LINE@json.output@ \"ro.build.fingerprint\": \"fingerpr int\", @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"ro.build.id\": \"MDB08Q\", @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"ro.build.product\": \"bullhead\", @@@",
482 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"00d0d567893340f4\", @@ @",
483 "@@@STEP_LOG_LINE@json.output@ \"usb_status\": true, @@@",
484 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
485 "@@@STEP_LOG_LINE@json.output@ }@@@",
486 "@@@STEP_LOG_LINE@json.output@ ], @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"free_disk_space\": \"free_disk_space\" , @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"num_cpus\": \"num_cpus\", @@@",
489 "@@@STEP_LOG_LINE@json.output@ \"os_release\": \"os_release\", @@@",
490 "@@@STEP_LOG_LINE@json.output@ \"os_system\": \"os_system\", @@@",
491 "@@@STEP_LOG_LINE@json.output@ \"processor\": \"processor\", @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"python_path\": \"python_path\", @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"python_version\": \"python_version\"@@ @",
494 "@@@STEP_LOG_LINE@json.output@ }, @@@",
466 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", 495 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
467 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", 496 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
468 "@@@STEP_LOG_LINE@json.output@}@@@", 497 "@@@STEP_LOG_LINE@json.output@}@@@",
469 "@@@STEP_LOG_END@json.output@@@", 498 "@@@STEP_LOG_END@json.output@@@",
470 "@@@STEP_FAILURE@@@" 499 "@@@STEP_EXCEPTION@@@"
471 ] 500 ]
472 }, 501 },
473 { 502 {
474 "cmd": [ 503 "cmd": [
475 "python", 504 "python",
476 "-u", 505 "-u",
477 "[SLAVE_BUILD]/src/tools/perf/run_benchmark", 506 "[SLAVE_BUILD]/src/tools/perf/run_benchmark",
478 "list", 507 "list",
479 "--browser", 508 "--browser",
480 "android-chromium", 509 "android-chromium",
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 807 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
779 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 808 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
780 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 809 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
781 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 810 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
782 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 811 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
783 "@@@STEP_LOG_END@python.inline@@@" 812 "@@@STEP_LOG_END@python.inline@@@"
784 ] 813 ]
785 }, 814 },
786 { 815 {
787 "name": "$result", 816 "name": "$result",
788 "reason": "src-side perf tests failed [StepFailure(\"1 tests failed: ['host_ info']\",)]",
789 "recipe_result": null, 817 "recipe_result": null,
790 "status_code": 1 818 "status_code": 0
791 } 819 }
792 ] 820 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698