Closed Bug 1890570 Opened 1 year ago Closed 1 year ago

Adjust regex in crash signature detection for parsing Robo Test crash artifacts

Categories

(Firefox for Android :: General, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: aaronmt, Assigned: gbrown)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

bug 1889364 added Robo Test crash artifact processing for displaying in live.log in a Treeherder friendly format. I noticed a run on mozilla-central skipped the processing https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=ui-&selectedTaskRun=Xc33eowVTnSKGWWBubms0A.0 with the crash artifact:

2024-04-09 03:36:14 data_app_crash (text, 1710 bytes)
Process: org.mozilla.fenix.debug
PID: 19281
UID: 10233
Flags: 0x38e83e46
Package: org.mozilla.fenix.debug v1 (1.0.2415)
Foreground: Yes
Process-Runtime: 22263
Build: google/oriole/oriole:12/SQ1D.220205.004/8151327:user/release-keys
Loading-Progress: 1.0

java.lang.IllegalArgumentException: No handler given, and current thread has no looper!
	at android.hardware.camera2.impl.CameraDeviceImpl.checkHandler(CameraDeviceImpl.java:2380)
	at android.hardware.camera2.impl.CameraDeviceImpl.checkHandler(CameraDeviceImpl.java:2395)
	at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:306)
	at mozilla.components.feature.qr.QrFragment$createCameraPreviewSession$1$1$stateCallback$1$onConfigured$1.invoke(QrFragment.kt:554)
	at mozilla.components.feature.qr.QrFragment$createCameraPreviewSession$1$1$stateCallback$1$onConfigured$1.invoke(QrFragment.kt:553)
	at mozilla.components.feature.qr.QrFragment.handleCaptureException(QrFragment.kt:601)
	at mozilla.components.feature.qr.QrFragment.access$handleCaptureException(QrFragment.kt:89)
	at mozilla.components.feature.qr.QrFragment$createCameraPreviewSession$1$1$stateCallback$1.onConfigured(QrFragment.kt:553)
	at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.lambda$onConfigured$0$CallbackProxies$SessionStateCallbackProxy(CallbackProxies.java:53)
	at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy$$ExternalSyntheticLambda4.run(Unknown Source:4)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:920)

Possibly the presence of the comma/exclamation mark in java.lang.IllegalArgumentException: No handler given, and current thread has no looper! is non-matching.

Assignee: nobody → gbrown

Oddly another task

https://firefox-ci-tc.services.mozilla.com/tasks/eQSt5A4pSguhwG48hCr09A

With the live.log, it looks like the processing didn't run similarly above

java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 8 free bytes and 8B until OOM, max allowed footprint 50331648, growth limit 50331648
	at java.lang.reflect.Array.createObjectArray(Native Method)
	at java.lang.reflect.Array.newArray(Array.java:742)
	at java.lang.reflect.Array.newInstance(Array.java:77)
	at java.util.Arrays.copyOf(Arrays.java:3140)
	at java.util.Arrays.copyOf(Arrays.java:3109)
	at java.lang.ThreadGroup.activeCount(ThreadGroup.java:360)
	at leakcanary.AndroidLeakFixes$Companion.findAllHandlerThreads(AndroidLeakFixes.kt:767)
	at leakcanary.AndroidLeakFixes$Companion.access$findAllHandlerThreads(AndroidLeakFixes.kt:718)
	at leakcanary.AndroidLeakFixes$FLUSH_HANDLER_THREADS$apply$flushNewHandlerThread$1.run(AndroidLeakFixes.kt:159)
	at android.os.Handler.handleCallback(Handler.java:790)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:164)
	at android.os.HandlerThread.run(HandlerThread.java:65)
Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e21f6f5c4e95 Accept more punctuation in crash signatures for robo ui-tests r=aaronmt
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: