Open Bug 1957201 Opened 26 days ago Updated 12 days ago

Intermittent [tier 2] org.mozilla.fenix.ui.CollectionTest#createCollectionUsingSelectTabsButtonTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Collection saved!] does not exist

Categories

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

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2025-03-29T03:09:26.939Z]   Shard 99: Expected: 0s, Actual: 110s, Diff: 110s
[task 2025-03-29T03:09:26.939Z] 
[task 2025-03-29T03:09:26.939Z] 
[task 2025-03-29T03:09:26.939Z] Command /usr/bin/java -jar /builds/worker/test-tools/flank.jar android run --config ./automation/taskcluster/androidTest/flank-arm64-v8a.yml --app /builds/worker/checkouts/gecko/mobile/android/fenix/app.apk --local-result-dir /builds/worker/artifacts/results --project moz-fenix --client-details matrixLabel=autoland,geckoRev=72ba338c1f94618488476f7dcd42b0a48c5cac58 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-03-29T03:09:26.996Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.CollectionTest#createCollectionUsingSelectTabsButtonTest | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Collection saved!] does not exist
[task 2025-03-29T03:09:26.996Z]  at org.junit.Assert.fail(Assert.java:89)
[task 2025-03-29T03:09:26.996Z]  at org.junit.Assert.assertTrue(Assert.java:42)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:105)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:97)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.helpers.TestHelper.verifySnackBarText(TestHelper.kt:137)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.ui.CollectionTest.createCollectionUsingSelectTabsButtonTest$lambda$56(CollectionTest.kt:328)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.ui.CollectionTest.$r8$lambda$eU0-rMcuMsjwzopj4eGGlT64J1Y(Unknown Source:0)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.ui.CollectionTest$$ExternalSyntheticLambda31.invoke(D8$$SyntheticClass:0)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openTabDrawer(BrowserRobot.kt:1366)
[task 2025-03-29T03:09:26.996Z]  at org.mozilla.fenix.ui.CollectionTest.createCollectionUsingSelectTabsButtonTest(CollectionTest.kt:323)
[task 2025-03-29T03:09:26.996Z] 
[task 2025-03-29T03:09:26.996Z]     
[task 2025-03-29T03:09:26.996Z] ╔═══════════════════════════════════════════════════════════════════════════════╤═════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2025-03-29T03:09:26.996Z] ║ UI Test                                                                       │ Outcome │ Details                                                                                                                                                            ║
[task 2025-03-29T03:09:26.996Z] ╟───────────────────────────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-03-29T03:09:26.996Z] ║ org.mozilla.fenix.ui.CollectionTest#createCollectionUsingSelectTabsButtonTest │ Failure │ java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Collection saved!] does not exist                                                                               ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                                                          ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                                                    ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:105)                                                                             ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:97)                                                                      ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.helpers.TestHelper.verifySnackBarText(TestHelper.kt:137)                                                                                     ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.ui.CollectionTest.createCollectionUsingSelectTabsButtonTest$lambda$56(CollectionTest.kt:328)                                                 ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.ui.CollectionTest.$r8$lambda$eU0-rMcuMsjwzopj4eGGlT64J1Y(Unknown Source:0)                                                                   ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.ui.CollectionTest$$ExternalSyntheticLambda31.invoke(D8$$SyntheticClass:0)                                                                    ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openTabDrawer(BrowserRobot.kt:1366)                                                                        ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  at org.mozilla.fenix.ui.CollectionTest.createCollectionUsingSelectTabsButtonTest(CollectionTest.kt:323)                                                           ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │                                                                                                                                                                    ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │                                                                                                                                                                    ║
[task 2025-03-29T03:09:26.996Z] ╟───────────────────────────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-03-29T03:09:26.996Z] ║ org.mozilla.fenix.ui.MainMenuTestCompose#verifyPasswordsMenuButtonTest        │ Flaky   │ androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout fo ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │ r 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:                                                  ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │ Root{application-window-token=android.view.ViewRootImpl$W@7ddff13, window-token=android.view.ViewRootImpl$W@7ddff13, has-window-focus=false, layout-params-type=1, ║
[task 2025-03-29T03:09:26.996Z] ║                                                                               │         │  layout-params-string={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION wanim=0x7f140513                                                                   ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   fl=LAYOUT_IN_SCREEN SECURE LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS                                                                  ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND FIT_INSETS_CONTROLLED                                                                                     ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   bhv=DEFAULT                                                                                                                                                      ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   fitSides=}, decor-view-string=DecorView{id=-1, visibility=VISIBLE, width=1080, height=2400, has-focus=false, has-focusable=true, has-window-focus=false, is-clic ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │ kable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params={(0,0)(fillxfill) sim={adjust=resi ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │ ze} ty=BASE_APPLICATION wanim=0x7f140513                                                                                                                           ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   fl=LAYOUT_IN_SCREEN SECURE LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS                                                                  ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND FIT_INSETS_CONTROLLED                                                                                     ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   bhv=DEFAULT                                                                                                                                                      ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │   fitSides=}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}}                                                  ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at dalvik.system.VMStack.getThreadStackTrace(Native Method)                                                                                                       ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at java.lang.Thread.getStackTrace(Thread.java:1841)                                                                                                               ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:34)                                                            ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:26)                                                            ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)                                                   ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)                                                                       ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)                                                            ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)                                                                                         ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.robots.SettingsSubMenuLoginsAndPasswordsSavedLoginsRobot.verifySecurityPromptForLogins(SettingsSubMenuLoginsAndPasswordsSavedLoginsRobot. ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │ kt:48)                                                                                                                                                             ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyPasswordsMenuButtonTest$lambda$45(MainMenuTestCompose.kt:245)                                                   ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.$r8$lambda$N1VGqb8KQbW2eHoCqnxcbwX2qBI(Unknown Source:0)                                                              ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.MainMenuTestCompose$$ExternalSyntheticLambda79.invoke(D8$$SyntheticClass:0)                                                               ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobotCompose$Transition.openPasswords(ThreeDotMenuMainRobotCompose.kt:436)                                         ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyPasswordsMenuButtonTest(MainMenuTestCompose.kt:244)                                                             ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │                                                                                                                                                                    ║
[task 2025-03-29T03:09:27.006Z] ║                                                                               │         │                                                                                                                                                                    ║
[task 2025-03-29T03:09:27.006Z] ╚═══════════════════════════════════════════════════════════════════════════════╧═════════╧════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2025-03-29T03:09:27.006Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2025-03-29 03:09:27.380Z] === Task Finished ===
[taskcluster 2025-03-29 03:09:48.143Z] Unsuccessful task run with exit code: 10 completed in 842.062 seconds

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
Product: Firefox → Firefox for Android
You need to log in before you can comment on or make changes to this bug.