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

Unified Diff: build/android/provision_devices.py

Issue 1334973002: Add date mismatch logging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update logging syntax. Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/provision_devices.py
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
index 0a7f8fd770f8b24a6ca464942a0a9d148229753a..b0899e7235dd4d19e62adfa9b6d1ec9b20123da8 100755
--- a/build/android/provision_devices.py
+++ b/build/android/provision_devices.py
@@ -319,6 +319,8 @@ def FinishProvisioning(device, options):
logging.info('Date/time successfully set on %s', device)
return True
else:
+ logging.error('Date mismatch. Device: %s Correct: %s',
+ device_time.isoformat(), correct_time.isoformat())
return False
# Sometimes the date is not set correctly on the devices. Retry on failure.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698