Open Bug 1961781 Opened 21 days ago Updated 14 days ago

Intermittent [tier 2] org.mozilla.fenix.ui.NavigationToolbarComposeTest#verifyTabCounterClickFromNavbarInPrivateModeTest | leakcanary.NoLeakAssertionFailedError: Application memory leaks were detected:

Categories

(Firefox for Android :: UI Tests, defect, P5)

All
Android
defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=504959339&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/F7EnjKI0QjiwGoQdoR5eLA/runs/0/artifacts/public/logs/live_backing.log


[task 2025-04-22T10:56:34.533Z] 
[task 2025-04-22T10:56:34.533Z] 
[task 2025-04-22T10:56:34.533Z] Command /usr/bin/java -jar /builds/worker/test-tools/flank.jar android run --config ./automation/taskcluster/androidTest/flank-arm64-v8a-detect-leaks.yml --app /builds/worker/checkouts/gecko/mobile/android/fenix/app.apk --local-result-dir /builds/worker/artifacts/results --project moz-fenix --client-details matrixLabel=mozilla-central,geckoRev=5830bfa9f0f894e3e23bd393763521711112bdd2 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-04-22T10:56:34.578Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.NavigationToolbarComposeTest#verifyTabCounterClickFromNavbarInPrivateModeTest | leakcanary.NoLeakAssertionFailedError: Application memory leaks were detected:
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z] HEAP ANALYSIS RESULT
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z] 1 APPLICATION LEAKS
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] References underlined with "~~~" are likely causes.
[task 2025-04-22T10:56:34.578Z] Learn more at https://squ.re/leaks.
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] 216674 bytes retained by leaking objects
[task 2025-04-22T10:56:34.578Z] Signature: 0e210f2d6b43ec5cb09a92c1b9e5b3bea84f44a1
[task 2025-04-22T10:56:34.578Z] ┬───
[task 2025-04-22T10:56:34.578Z] │ GC Root: Thread object
[task 2025-04-22T10:56:34.578Z] │
[task 2025-04-22T10:56:34.578Z] ├─ kotlinx.coroutines.scheduling.CoroutineScheduler$Worker instance
[task 2025-04-22T10:56:34.578Z] │    Leaking: UNKNOWN
[task 2025-04-22T10:56:34.578Z] │    Retaining 218.4 kB in 3774 objects
[task 2025-04-22T10:56:34.578Z] │    Thread name: 'DefaultDispatcher-worker-1'
[task 2025-04-22T10:56:34.578Z] │    ↓ CoroutineScheduler$Worker<Java Local>
[task 2025-04-22T10:56:34.578Z] │                               ~~~~~~~~~~~~
[task 2025-04-22T10:56:34.578Z] ├─ org.mozilla.fenix.HomeActivity$onResume$1 instance
[task 2025-04-22T10:56:34.578Z] │    Leaking: UNKNOWN
[task 2025-04-22T10:56:34.578Z] │    Retaining 216.7 kB in 3728 objects
[task 2025-04-22T10:56:34.578Z] │    Anonymous subclass of kotlin.coroutines.jvm.internal.SuspendLambda
[task 2025-04-22T10:56:34.578Z] │    this$0 instance of org.mozilla.fenix.HomeActivity with mDestroyed = true
[task 2025-04-22T10:56:34.578Z] │    ↓ HomeActivity$onResume$1.this$0
[task 2025-04-22T10:56:34.578Z] │                              ~~~~~~
[task 2025-04-22T10:56:34.578Z] ╰→ org.mozilla.fenix.HomeActivity instance
[task 2025-04-22T10:56:34.578Z] ​     Leaking: YES (ObjectWatcher was watching this because org.mozilla.fenix.HomeActivity received Activity#onDestroy() callback and Activity#mDestroyed is true)
[task 2025-04-22T10:56:34.578Z] ​     Retaining 216.7 kB in 3727 objects
[task 2025-04-22T10:56:34.578Z] ​     key = a40e0ebe-9f70-43e3-a66b-411f3b885464
[task 2025-04-22T10:56:34.578Z] ​     watchDurationMillis = 7083
[task 2025-04-22T10:56:34.578Z] ​     retainedDurationMillis = 2077
[task 2025-04-22T10:56:34.578Z] ​     mApplication instance of org.mozilla.fenix.DebugFenixApplication
[task 2025-04-22T10:56:34.578Z] ​     mBase instance of androidx.appcompat.view.ContextThemeWrapper
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z] 0 LIBRARY LEAKS
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] A Library Leak is a leak caused by a known bug in 3rd party code that you do not have control over.
[task 2025-04-22T10:56:34.578Z] See https://square.github.io/leakcanary/fundamentals-how-leakcanary-works/#4-categorizing-leaks
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z] 0 UNREACHABLE OBJECTS
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] An unreachable object is still in memory but LeakCanary could not find a strong reference path
[task 2025-04-22T10:56:34.578Z] from GC roots.
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z] METADATA
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] Please include this in bug reports and Stack Overflow questions.
[task 2025-04-22T10:56:34.578Z] 
[task 2025-04-22T10:56:34.578Z] Build.VERSION.SDK_INT: 34
[task 2025-04-22T10:56:34.578Z] Build.MANUFACTURER: Google
[task 2025-04-22T10:56:34.578Z] LeakCanary version: 2.14
[task 2025-04-22T10:56:34.578Z] App process name: org.mozilla.fenix.debug
[task 2025-04-22T10:56:34.578Z] Class count: 43254
[task 2025-04-22T10:56:34.578Z] Instance count: 275314
[task 2025-04-22T10:56:34.578Z] Primitive array count: 187790
[task 2025-04-22T10:56:34.578Z] Object array count: 44726
[task 2025-04-22T10:56:34.578Z] Thread count: 79
[task 2025-04-22T10:56:34.578Z] Heap total bytes: 38845001
[task 2025-04-22T10:56:34.578Z] Bitmap count: 30
[task 2025-04-22T10:56:34.578Z] Bitmap total bytes: 651478
[task 2025-04-22T10:56:34.578Z] Large bitmap count: 0
[task 2025-04-22T10:56:34.578Z] Large bitmap total bytes: 0
[task 2025-04-22T10:56:34.578Z] Db 1: open /data/user/0/org.mozilla.fenix.debug/databases/manifests
[task 2025-04-22T10:56:34.578Z] Db 2: open /data/user/0/org.mozilla.fenix.debug/databases/top_sites
[task 2025-04-22T10:56:34.578Z] Db 3: open /data/user/0/org.mozilla.fenix.debug/databases/tab_collections
[task 2025-04-22T10:56:34.578Z] Db 4: open /data/user/0/org.mozilla.fenix.debug/databases/recently_closed_tabs
[task 2025-04-22T10:56:34.578Z] Db 5: open /data/user/0/org.mozilla.fenix.debug/databases/site_permissions_database
[task 2025-04-22T10:56:34.578Z] Db 6: open /data/user/0/org.mozilla.fenix.debug/databases/mozac_downloads_database
[task 2025-04-22T10:56:34.578Z] Db 7: open /data/user/0/org.mozilla.fenix.debug/databases/crashes
[task 2025-04-22T10:56:34.578Z] Db 8: open /data/user/0/org.mozilla.fenix.debug/databases/pocket_recommendations
[task 2025-04-22T10:56:34.578Z] Db 9: open /data/user/0/org.mozilla.fenix.debug/no_backup/androidx.work.workdb
[task 2025-04-22T10:56:34.578Z] Stats: LruCache[maxSize=3000,hits=127043,misses=268278,hitRate=32%] RandomAccess[bytes=13057271,reads=268278,travel=129171807680,range=46733393,size=57437969]
[task 2025-04-22T10:56:34.578Z] assertionTag: DetectMemoryLeaksRule
[task 2025-04-22T10:56:34.578Z] waitForRetainedDurationMillis: 5120
[task 2025-04-22T10:56:34.578Z] totalDurationMillis: 19338
[task 2025-04-22T10:56:34.578Z] Analysis duration: 9203 ms
[task 2025-04-22T10:56:34.578Z] Heap dump file path: /data/user/0/org.mozilla.fenix.debug/files/instrumentation_tests_2025-04-22_03-37-50_977.hprof
[task 2025-04-22T10:56:34.578Z] Heap dump timestamp: 1745318285191
[task 2025-04-22T10:56:34.578Z] Heap dump duration: 1176 ms
[task 2025-04-22T10:56:34.578Z] ====================================
[task 2025-04-22T10:56:34.578Z]  at leakcanary.NoLeakAssertionFailedError$Companion$throwOnApplicationLeaks$1.reportHeapAnalysis(NoLeakAssertionFailedError.kt:25)
[task 2025-04-22T10:56:34.578Z]  at leakcanary.AndroidDetectLeaksAssert.runLeakChecks(AndroidDetectLeaksAssert.kt:95)
[task 2025-04-22T10:56:34.578Z]  at leakcanary.AndroidDetectLeaksAssert.assertNoLeaks(AndroidDetectLeaksAssert.kt:34)
[task 2025-04-22T10:56:34.578Z]  at leakcanary.LeakAssertions.assertNoLeaks(LeakAssertions.kt:21)
[task 2025-04-22T10:56:34.578Z]  at org.mozilla.fenix.helpers.perf.DetectMemoryLeaksRule$apply$1.evaluate(DetectMemoryLeaksRule.kt:72)
[task 2025-04-22T10:56:34.578Z]  at leakcanary.TestDescriptionHolder$wrap$1.evaluate(TestDescriptionHolder.kt:43)
[task 2025-04-22T10:56:34.578Z]  at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:522)
[task 2025-04-22T10:56:34.579Z]  at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:522)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:272)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:271)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$AndroidComposeUiTestImpl.withDisposableContent(ComposeUiTest.android.kt:505)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1$1.invoke(ComposeUiTest.android.kt:333)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withComposeIdlingResource(ComposeUiTest.android.kt:385)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withComposeIdlingResource(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1.invoke(ComposeUiTest.android.kt:332)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withWindowRecomposer(ComposeUiTest.android.kt:359)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withWindowRecomposer(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1.invoke(ComposeUiTest.android.kt:331)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:372)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:330)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.EspressoLink.withStrategy(EspressoLink.android.kt:66)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:329)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:155)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:328)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:327)
[task 2025-04-22T10:56:34.579Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1.evaluate(AndroidComposeTestRule.android.kt:271)
[task 2025-04-22T10:56:34.579Z]  at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:150)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.Suite.runChild(Suite.java:128)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.Suite.runChild(Suite.java:27)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[task 2025-04-22T10:56:34.579Z]  at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[task 2025-04-22T10:56:34.579Z]  at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:68)
[task 2025-04-22T10:56:34.579Z]  at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
[task 2025-04-22T10:56:34.579Z]  at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:463)
[task 2025-04-22T10:56:34.579Z]  at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2402)
[task 2025-04-22T10:56:34.579Z] 
[task 2025-04-22T10:56:34.579Z]     
[task 2025-04-22T10:56:34.579Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.NavigationToolbarComposeTest#verifyTabCounterClickFromNavbarInPrivateModeTest | leakcanary.NoLeakAssertionFailedError: Application memory leaks were detected:
[task 2025-04-22T10:56:34.579Z] ====================================
[task 2025-04-22T10:56:34.579Z] HEAP ANALYSIS RESULT
[task 2025-04-22T10:56:34.579Z] ====================================
[task 2025-04-22T10:56:34.579Z] 1 APPLICATION LEAKS
[task 2025-04-22T10:56:34.579Z] 
[task 2025-04-22T10:56:34.579Z] References underlined with "~~~" are likely causes.
[task 2025-04-22T10:56:34.579Z] Learn more at https://squ.re/leaks.
[task 2025-04-22T10:56:34.579Z] 
[task 2025-04-22T10:56:34.579Z] 216674 bytes retained by leaking objects
[task 2025-04-22T10:56:34.579Z] Signature: 0e210f2d6b43ec5cb09a92c1b9e5b3bea84f44a1
[task 2025-04-22T10:56:34.579Z] ┬───
[task 2025-04-22T10:56:34.579Z] │ GC Root: Thread object
[task 2025-04-22T10:56:34.579Z] │
[task 2025-04-22T10:56:34.579Z] ├─ kotlinx.coroutines.scheduling.CoroutineScheduler$Worker instance
[task 2025-04-22T10:56:34.579Z] │    Leaking: UNKNOWN
[task 2025-04-22T10:56:34.579Z] │    Retaining 218.3 kB in 3770 objects
[task 2025-04-22T10:56:34.579Z] │    Thread name: 'DefaultDispatcher-worker-21'
[task 2025-04-22T10:56:34.579Z] │    ↓ CoroutineScheduler$Worker<Java Local>
[task 2025-04-22T10:56:34.579Z] │                               ~~~~~~~~~~~~
[task 2025-04-22T10:56:34.579Z] ├─ org.mozilla.fenix.HomeActivity$onResume$1 instance
[task 2025-04-22T10:56:34.579Z] │    Leaking: UNKNOWN
[task 2025-04-22T10:56:34.579Z] │    Retaining 216.7 kB in 3728 objects
[task 2025-04-22T10:56:34.579Z] │    Anonymous subclass of kotlin.coroutines.jvm.internal.SuspendLambda
[task 2025-04-22T10:56:34.579Z] │    this$0 instance of org.mozilla.fenix.HomeActivity with mDestroyed = true
[task 2025-04-22T10:56:34.579Z] │    ↓ HomeActivity$onResume$1.this$0
[task 2025-04-22T10:56:34.579Z] │                              ~~~~~~
[task 2025-04-22T10:56:34.579Z] ╰→ org.mozilla.fenix.HomeActivity instance
[task 2025-04-22T10:56:34.579Z] ​     Leaking: YES (ObjectWatcher was watching this because org.mozilla.fenix.HomeActivity received Activity#onDestroy() callback and Activity#mDestroyed is true)
[task 2025-04-22T10:56:34.579Z] ​     Retaining 216.7 kB in 3727 objects
[task 2025-04-22T10:56:34.579Z] ​     key = 2d06eb76-ac0b-4dba-8a46-ad26f91a5b03
[task 2025-04-22T10:56:34.579Z] ​     watchDurationMillis = 7251
[task 2025-04-22T10:56:34.579Z] ​     retainedDurationMillis = 2239
[task 2025-04-22T10:56:34.580Z] ​     mApplication instance of org.mozilla.fenix.DebugFenixApplication
[task 2025-04-22T10:56:34.580Z] ​     mBase instance of androidx.appcompat.view.ContextThemeWrapper
[task 2025-04-22T10:56:34.580Z] ====================================
[task 2025-04-22T10:56:34.580Z] 0 LIBRARY LEAKS
[task 2025-04-22T10:56:34.580Z] 
[task 2025-04-22T10:56:34.580Z] A Library Leak is a leak caused by a known bug in 3rd party code that you do not have control over.
[task 2025-04-22T10:56:34.580Z] See https://square.github.io/leakcanary/fundamentals-how-leakcanary-works/#4-categorizing-leaks
[task 2025-04-22T10:56:34.580Z] ====================================
[task 2025-04-22T10:56:34.580Z] 0 UNREACHABLE OBJECTS
[task 2025-04-22T10:56:34.580Z] 
[task 2025-04-22T10:56:34.580Z] An unreachable object is still in memory but LeakCanary could not find a strong reference path
[task 2025-04-22T10:56:34.580Z] from GC roots.
[task 2025-04-22T10:56:34.580Z] ====================================
[task 2025-04-22T10:56:34.580Z] METADATA
[task 2025-04-22T10:56:34.580Z] 
[task 2025-04-22T10:56:34.580Z] Please include this in bug reports and Stack Overflow questions.
[task 2025-04-22T10:56:34.580Z] 
[task 2025-04-22T10:56:34.580Z] Build.VERSION.SDK_INT: 34
[task 2025-04-22T10:56:34.580Z] Build.MANUFACTURER: Google
[task 2025-04-22T10:56:34.580Z] LeakCanary version: 2.14
[task 2025-04-22T10:56:34.580Z] App process name: org.mozilla.fenix.debug
[task 2025-04-22T10:56:34.580Z] Class count: 43254
[task 2025-04-22T10:56:34.580Z] Instance count: 275233
[task 2025-04-22T10:56:34.580Z] Primitive array count: 187801
[task 2025-04-22T10:56:34.580Z] Object array count: 44724
[task 2025-04-22T10:56:34.580Z] Thread count: 87
[task 2025-04-22T10:56:34.580Z] Heap total bytes: 38865219
[task 2025-04-22T10:56:34.580Z] Bitmap count: 30
[task 2025-04-22T10:56:34.580Z] Bitmap total bytes: 651478
[task 2025-04-22T10:56:34.580Z] Large bitmap count: 0
[task 2025-04-22T10:56:34.580Z] Large bitmap total bytes: 0
[task 2025-04-22T10:56:34.580Z] Db 1: open /data/user/0/org.mozilla.fenix.debug/databases/manifests
[task 2025-04-22T10:56:34.580Z] Db 2: open /data/user/0/org.mozilla.fenix.debug/databases/top_sites
[task 2025-04-22T10:56:34.580Z] Db 3: open /data/user/0/org.mozilla.fenix.debug/databases/mozac_downloads_database
[task 2025-04-22T10:56:34.580Z] Db 4: open /data/user/0/org.mozilla.fenix.debug/databases/recently_closed_tabs
[task 2025-04-22T10:56:34.580Z] Db 5: open /data/user/0/org.mozilla.fenix.debug/databases/tab_collections
[task 2025-04-22T10:56:34.580Z] Db 6: open /data/user/0/org.mozilla.fenix.debug/databases/site_permissions_database
[task 2025-04-22T10:56:34.580Z] Db 7: open /data/user/0/org.mozilla.fenix.debug/databases/crashes
[task 2025-04-22T10:56:34.580Z] Db 8: open /data/user/0/org.mozilla.fenix.debug/databases/pocket_recommendations
[task 2025-04-22T10:56:34.580Z] Db 9: open /data/user/0/org.mozilla.fenix.debug/no_backup/androidx.work.workdb
[task 2025-04-22T10:56:34.580Z] Stats: LruCache[maxSize=3000,hits=127050,misses=268193,hitRate=32%] RandomAccess[bytes=13057957,reads=268193,travel=129051778744,range=46748784,size=57457961]
[task 2025-04-22T10:56:34.580Z] assertionTag: DetectMemoryLeaksRule
[task 2025-04-22T10:56:34.580Z] waitForRetainedDurationMillis: 5141
[task 2025-04-22T10:56:34.580Z] totalDurationMillis: 19421
[task 2025-04-22T10:56:34.580Z] Analysis duration: 9234 ms
[task 2025-04-22T10:56:34.580Z] Heap dump file path: /data/user/0/org.mozilla.fenix.debug/files/instrumentation_tests_2025-04-22_03-41-18_963.hprof
[task 2025-04-22T10:56:34.580Z] Heap dump timestamp: 1745318493239
[task 2025-04-22T10:56:34.580Z] Heap dump duration: 1154 ms
[task 2025-04-22T10:56:34.580Z] ====================================
[task 2025-04-22T10:56:34.580Z]  at leakcanary.NoLeakAssertionFailedError$Companion$throwOnApplicationLeaks$1.reportHeapAnalysis(NoLeakAssertionFailedError.kt:25)
[task 2025-04-22T10:56:34.580Z]  at leakcanary.AndroidDetectLeaksAssert.runLeakChecks(AndroidDetectLeaksAssert.kt:95)
[task 2025-04-22T10:56:34.580Z]  at leakcanary.AndroidDetectLeaksAssert.assertNoLeaks(AndroidDetectLeaksAssert.kt:34)
[task 2025-04-22T10:56:34.580Z]  at leakcanary.LeakAssertions.assertNoLeaks(LeakAssertions.kt:21)
[task 2025-04-22T10:56:34.580Z]  at org.mozilla.fenix.helpers.perf.DetectMemoryLeaksRule$apply$1.evaluate(DetectMemoryLeaksRule.kt:72)
[task 2025-04-22T10:56:34.580Z]  at leakcanary.TestDescriptionHolder$wrap$1.evaluate(TestDescriptionHolder.kt:43)
[task 2025-04-22T10:56:34.580Z]  at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:522)
[task 2025-04-22T10:56:34.580Z]  at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:522)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:272)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1$evaluate$1.invoke(AndroidComposeTestRule.android.kt:271)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$AndroidComposeUiTestImpl.withDisposableContent(ComposeUiTest.android.kt:505)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1$1.invoke(ComposeUiTest.android.kt:333)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withComposeIdlingResource(ComposeUiTest.android.kt:385)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withComposeIdlingResource(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1$1.invoke(ComposeUiTest.android.kt:332)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withWindowRecomposer(ComposeUiTest.android.kt:359)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withWindowRecomposer(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1$1.invoke(ComposeUiTest.android.kt:331)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:372)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:219)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:330)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.EspressoLink.withStrategy(EspressoLink.android.kt:66)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:329)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:155)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:328)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:327)
[task 2025-04-22T10:56:34.580Z]  at androidx.compose.ui.test.junit4.AndroidComposeTestRule$apply$1.evaluate(AndroidComposeTestRule.android.kt:271)
[task 2025-04-22T10:56:34.580Z]  at androidx.test.rule.GrantPermissionRule$RequestPermissionStatement.evaluate(GrantPermissionRule.java:150)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2025-04-22T10:56:34.580Z]  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.Suite.runChild(Suite.java:128)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.Suite.runChild(Suite.java:27)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[task 2025-04-22T10:56:34.683Z]  at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[task 2025-04-22T10:56:34.683Z]  at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:68)
[task 2025-04-22T10:56:34.683Z]  at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
[task 2025-04-22T10:56:34.683Z]  at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:463)
[task 2025-04-22T10:56:34.683Z]  at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2402)
[task 2025-04-22T10:56:34.683Z] 
[task 2025-04-22T10:56:34.683Z]     
[task 2025-04-22T10:56:34.683Z] 

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::UI Tests' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → UI Tests
Depends on: 1959107
Whiteboard: [collect_confirm_failure]
You need to log in before you can comment on or make changes to this bug.