Closed Bug 1944599 Opened 1 year ago Closed 1 year ago

Perma [tier 2] ui-test-arm org.mozilla.fenix.ui.MainMenuTestCompose#verifyTheTranslatePageButtonsStatesTest | java.lang.AssertionError: Assert failed: The component is not displayed!

Categories

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

All
Android
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox134 --- unaffected
firefox135 --- unaffected
firefox136 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2025-01-29T15:06:23.299Z] 
[task 2025-01-29T15:06:23.299Z] 
[task 2025-01-29T15:06:23.299Z] 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=mozilla-central,geckoRev=db9c7a769093ebcfa9fcc4c0b1728132666565d7 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-01-29T15:06:23.351Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.MainMenuTestCompose#verifyTheTranslatePageButtonsStatesTest | java.lang.AssertionError: Assert failed: The component is not displayed!
[task 2025-01-29T15:06:23.351Z]  at androidx.compose.ui.test.AssertionsKt.assertIsDisplayed(Assertions.kt:34)
[task 2025-01-29T15:06:23.351Z]  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobotCompose$Transition.clickTranslatedToButton(ThreeDotMenuMainRobotCompose.kt:558)
[task 2025-01-29T15:06:23.351Z]  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyTheTranslatePageButtonsStatesTest(MainMenuTestCompose.kt:624)
[task 2025-01-29T15:06:23.351Z] 
[task 2025-01-29T15:06:23.351Z]     
[task 2025-01-29T15:06:23.351Z] ╔══════════════════════════════════════════════════════════════════════════════════╤═════════╤═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2025-01-29T15:06:23.351Z] ║ UI Test                                                                          │ Outcome │ Details                                                                                                                                                         ║
[task 2025-01-29T15:06:23.351Z] ╟──────────────────────────────────────────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-29T15:06:23.351Z] ║ org.mozilla.fenix.ui.MainMenuTestCompose#verifyTheTranslatePageButtonsStatesTest │ Failure │ java.lang.AssertionError: Assert failed: The component is not displayed!                                                                                        ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │  at androidx.compose.ui.test.AssertionsKt.assertIsDisplayed(Assertions.kt:34)                                                                                   ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobotCompose$Transition.clickTranslatedToButton(ThreeDotMenuMainRobotCompose.kt:558)                            ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyTheTranslatePageButtonsStatesTest(MainMenuTestCompose.kt:624)                                                ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │                                                                                                                                                                 ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │                                                                                                                                                                 ║
[task 2025-01-29T15:06:23.351Z] ╟──────────────────────────────────────────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-29T15:06:23.351Z] ║ 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 ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │  for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:                                            ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │ Root{application-window-token=android.view.ViewRootImpl$W@5b58717, window-token=android.view.ViewRootImpl$W@5b58717, has-window-focus=false, layout-params-type ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │ =1, layout-params-string={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION wanim=0x7f140513                                                             ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   fl=LAYOUT_IN_SCREEN SECURE LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS                                                               ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND FIT_INSETS_CONTROLLED                                                                                  ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   bhv=DEFAULT                                                                                                                                                   ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   fitSides=}, decor-view-string=DecorView{id=-1, visibility=VISIBLE, width=1080, height=2400, has-focus=false, has-focusable=true, has-window-focus=false, is-c ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │ lickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params={(0,0)(fillxfill) sim={adjus ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │ t=resize} ty=BASE_APPLICATION wanim=0x7f140513                                                                                                                  ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   fl=LAYOUT_IN_SCREEN SECURE LAYOUT_INSET_DECOR HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS                                                               ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   pfl=NO_MOVE_ANIMATION FORCE_DRAW_STATUS_BAR_BACKGROUND FIT_INSETS_CONTROLLED                                                                                  ║
[task 2025-01-29T15:06:23.351Z] ║                                                                                  │         │   bhv=DEFAULT                                                                                                                                                   ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │   fitSides=}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}}                                               ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at dalvik.system.VMStack.getThreadStackTrace(Native Method)                                                                                                    ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at java.lang.Thread.getStackTrace(Thread.java:1841)                                                                                                            ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:34)                                                         ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:26)                                                         ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)                                                ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)                                                                    ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)                                                         ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)                                                                                      ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.robots.SettingsSubMenuLoginsAndPasswordsSavedLoginsRobot.verifySecurityPromptForLogins(SettingsSubMenuLoginsAndPasswordsSavedLoginsRob ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │ ot.kt:48)                                                                                                                                                       ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.MainMenuTestCompose$verifyPasswordsMenuButtonTest$4.invoke(MainMenuTestCompose.kt:235)                                                 ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.MainMenuTestCompose$verifyPasswordsMenuButtonTest$4.invoke(MainMenuTestCompose.kt:234)                                                 ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.robots.ThreeDotMenuMainRobotCompose$Transition.openPasswords(ThreeDotMenuMainRobotCompose.kt:414)                                      ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyPasswordsMenuButtonTest(MainMenuTestCompose.kt:234)                                                          ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │                                                                                                                                                                 ║
[task 2025-01-29T15:06:23.359Z] ║                                                                                  │         │                                                                                                                                                                 ║
[task 2025-01-29T15:06:23.359Z] ╚══════════════════════════════════════════════════════════════════════════════════╧═════════╧═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2025-01-29T15:06:23.359Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2025-01-29 15:06:23.858Z] === Task Finished ===
[taskcluster 2025-01-29 15:06:46.133Z] Unsuccessful task run with exit code: 10 completed in 820.191 seconds

The Bugbug bot thinks this bug should belong to the 'Fenix::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
See Also: → 1944597
See Also: → 1944521
Flags: needinfo?(gtatum)
Keywords: regression
Regressed by: 1942349

Set release status flags based on info from the regressing bug 1942349

Fixe by Bug 1944597

Status: NEW → RESOLVED
Closed: 1 year ago
Depends on: 1944597
Flags: needinfo?(gtatum)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.