DescriptionAdd a src-side script to display a summary of host info.
The idea being that this make it easier to diagnose and fix issues like http://crbug.com/439598.
Sample run: http://simonhatch0.mon.corp.google.com:8013/builders/Android%20Nexus7v2%20Perf/builds/337/steps/host_info/logs/json.output
The output from this run on the Nexus 7v2 bots looks like:
{
"failures": [
"build_versions"
],
"host_info": {
"devices": {
"build_types": "userdebug/dev-keys",
"build_versions": "MISMATCH",
"build_versions_list": [
"4.4.2/KOT49H/937116",
"5.0/LRX21P/1570855"
],
"device_names": "google/razor/flo",
"devices": [
"09275b25",
"09e0cda5",
"09e19954",
"09e19f78",
"09e28a6c",
"0a38ca3e",
"0a9f170a",
"0a9f1772"
]
},
"free_disk_space": 543.9997482299805,
"num_cpus": 40,
"os_release": "3.13.0-44-generic",
"os_system": "Linux",
"processor": "x86_64",
"python_path": "/usr/bin/python",
"python_version": "2.7.6"
},
"valid": false
}
This can be enabled by adding this to testing/buildbot/chromium.perf.json:
{
"Android Nexus7v2 Perf": {
"scripts": [
{
"name": "host_info",
"script": "host_info.py"
}
]
}
}
Needs to land before enabling (that CL enables src-side tests for perf bots): https://codereview.chromium.org/873403002/
BUG=443708, 454934
Committed: https://crrev.com/1730cecbc05928e93e2dec826a67139bf6765cc6
Cr-Commit-Position: refs/heads/master@{#316651}
Patch Set 1 #Patch Set 2 : Misc. #
Total comments: 11
Patch Set 3 : Changes from review. #
Total comments: 2
Patch Set 4 : Changed valid to true. #Messages
Total messages: 19 (6 generated)
|