Bug 872507 - Tweak logcat java-exception regex to strip more whitespace; r=jmaher
authorEd Morley <emorley@mozilla.com>
Fri, 17 May 2013 12:42:02 +0100
changeset 132228 a7bd66bbb68b7da84a71cd3c8dacf30573b718ac
parent 132227 4f60fe3eefc58a9eda9071a66d8800cec7a59aba
child 132233 32191193cbb220fa548723633375f61deb61c3f9
push id28176
push useremorley@mozilla.com
push dateFri, 17 May 2013 11:42:37 +0000
treeherdermozilla-inbound@a7bd66bbb68b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs872507
milestone24.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 872507 - Tweak logcat java-exception regex to strip more whitespace; r=jmaher
build/mobile/remoteautomation.py
--- a/build/mobile/remoteautomation.py
+++ b/build/mobile/remoteautomation.py
@@ -100,17 +100,17 @@ class RemoteAutomation(Automation):
                 # 01-30 20:15:41.937 E/GeckoAppShell( 1703): 	at org.mozilla.gecko.GeckoApp$21.run(GeckoApp.java:1833)
                 # 01-30 20:15:41.937 E/GeckoAppShell( 1703): 	at android.os.Handler.handleCallback(Handler.java:587)
                 # 01-30 20:15:41.937 E/GeckoAppShell( 1703): 	at android.os.Handler.dispatchMessage(Handler.java:92)
                 # 01-30 20:15:41.937 E/GeckoAppShell( 1703): 	at android.os.Looper.loop(Looper.java:123)
                 # 01-30 20:15:41.937 E/GeckoAppShell( 1703): 	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31)
                 #
                 #   -> java.lang.NullPointerException at org.mozilla.gecko.GeckoApp$21.run(GeckoApp.java:1833)
                 found_exception = True
-                logre = re.compile(r".*\):\s(.*)")
+                logre = re.compile(r".*\): \t?(.*)")
                 m = logre.search(logcat[i+1])
                 if m and m.group(1):
                     top_frame = m.group(1)
                 m = logre.search(logcat[i+2])
                 if m and m.group(1):
                     top_frame = top_frame + m.group(1)
                 print "PROCESS-CRASH | java-exception | %s" % top_frame
                 break