Bug 1480546 - Enhance logging for Android automation app wait; r=bc
authorGeoff Brown <gbrown@mozilla.com>
Tue, 07 Aug 2018 10:05:37 -0600
changeset 430366 658f019ace0e7b91c52c491a1a8363d1264573e5
parent 430365 1b16aaf7efe0e9393a4b0f4eb8c10c4c557246d4
child 430367 43fea7881cff86fb7ed63db47291bd3a362f0275
push id106134
push usergbrown@mozilla.com
push dateTue, 07 Aug 2018 16:05:57 +0000
treeherdermozilla-inbound@4af8de99d321 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbc
bugs1480546
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1480546 - Enhance logging for Android automation app wait; r=bc
build/mobile/remoteautomation.py
--- a/build/mobile/remoteautomation.py
+++ b/build/mobile/remoteautomation.py
@@ -398,16 +398,17 @@ class RemoteAutomation(Automation):
                     break
                 if not hasOutput:
                     top = self.device.get_top_activity(timeout=60)
                     if top is None:
                         print("Failed to get top activity, retrying, once...")
                         top = self.device.get_top_activity(timeout=60)
             # Flush anything added to stdout during the sleep
             self.read_stdout()
+            print("wait for %s complete; top activity=%s" % (self.procName, top))
             return status
 
         def kill(self, stagedShutdown=False):
             if self.utilityPath:
                 # Take a screenshot to capture the screen state just before
                 # the application is killed. There are on-device screenshot
                 # options but they rarely work well with Firefox on the
                 # Android emulator. dump_screen provides an effective