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

Unified Diff: testing/scripts/host_info.py

Issue 2062773004: [Android] Use devil for status and recovery in bb_device_status_check. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix host_info. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/buildbot/bb_device_status_check.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/scripts/host_info.py
diff --git a/testing/scripts/host_info.py b/testing/scripts/host_info.py
index b7da5ab2292fe8641c671d971aad543055cd7e7a..c4948fc1d7fa7045d3d13387893b864e61056422 100755
--- a/testing/scripts/host_info.py
+++ b/testing/scripts/host_info.py
@@ -61,16 +61,19 @@ def get_device_info(args, failures):
rc = common.run_command([
sys.executable,
os.path.join(args.paths['checkout'],
- 'build',
+ 'third_party',
+ 'catapult',
+ 'devil',
+ 'devil',
'android',
- 'buildbot',
- 'bb_device_status_check.py'),
+ 'tools',
+ 'device_status.py'),
'--json-output', tempfile_path,
'--blacklist-file', os.path.join(
args.paths['checkout'], 'out', 'bad_devices.json')])
if rc:
- failures.append('bb_device_status_check')
+ failures.append('device_status')
return {}
with open(tempfile_path, 'r') as src:
@@ -79,7 +82,8 @@ def get_device_info(args, failures):
results = {}
results['devices'] = sorted(v['serial'] for v in device_info)
- details = [v['build_detail'] for v in device_info if not v['blacklisted']]
+ details = [v['ro.build.fingerprint']
+ for v in device_info if not v['blacklisted']]
def unique_build_details(index):
return sorted(list(set([v.split(':')[index] for v in details])))
« no previous file with comments | « build/android/buildbot/bb_device_status_check.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698