Open Bug 1965075 Opened 8 days ago Updated 3 days ago

Intermittent org.mozilla.fenix.ui.NimbusMessagingSurveyTest#checkSurveyNavigatesCorrectly | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Take Survey] does not exist

Categories

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

All
Android
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=507051994&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VCd69MDUQtK2yAi_HRb_FA/runs/0/artifacts/public/logs/live_backing.log


[task 2025-05-07T17:24:37.250Z]   Shard 99: Expected: 0s, Actual: 95s, Diff: 95s
[task 2025-05-07T17:24:37.250Z] 
[task 2025-05-07T17:24:37.250Z] 
[task 2025-05-07T17:24:37.250Z] 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=autoland,geckoRev=40f9fe959b19627a65c58e3906fe0ed95b1e494b --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-05-07T17:24:37.299Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.NimbusMessagingSurveyTest#checkSurveyNavigatesCorrectly | java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Take Survey] does not exist
[task 2025-05-07T17:24:37.299Z]  at org.junit.Assert.fail(Assert.java:89)
[task 2025-05-07T17:24:37.299Z]  at org.junit.Assert.assertTrue(Assert.java:42)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:110)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:102)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.robots.MicrosurveysRobot.verifySurveyButton(MicrosurveysRobot.kt:29)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.checkSurveyNavigatesCorrectly$lambda$1(NimbusMessagingSurveyTest.kt:98)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.$r8$lambda$HlO1B1kW43zF7AsTXolNNft-QYI(Unknown Source:0)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.robots.MicrosurveysRobotKt.surveyScreen(MicrosurveysRobot.kt:128)
[task 2025-05-07T17:24:37.299Z]  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.checkSurveyNavigatesCorrectly(NimbusMessagingSurveyTest.kt:97)
[task 2025-05-07T17:24:37.299Z] 
[task 2025-05-07T17:24:37.299Z]     
[task 2025-05-07T17:24:37.299Z] ╔══════════════════════════════════════════════════════════════════════════════╤═════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2025-05-07T17:24:37.299Z] ║ UI Test                                                                      │ Outcome │ Details                                                                                                                                                    ║
[task 2025-05-07T17:24:37.299Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-05-07T17:24:37.299Z] ║ org.mozilla.fenix.ui.TopSitesTest#addAWebsiteAsATopSiteTest                  │ Flaky   │ FAILED                                                                                                                                                     ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │                                                                                                                                                            ║
[task 2025-05-07T17:24:37.299Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-05-07T17:24:37.299Z] ║ org.mozilla.fenix.ui.NimbusMessagingSurveyTest#checkSurveyNavigatesCorrectly │ Failure │ java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Take Survey] does not exist                                                                             ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                                                  ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                                            ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:110)                                                                     ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:102)                                                             ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.robots.MicrosurveysRobot.verifySurveyButton(MicrosurveysRobot.kt:29)                                                              ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.checkSurveyNavigatesCorrectly$lambda$1(NimbusMessagingSurveyTest.kt:98)                                 ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.$r8$lambda$HlO1B1kW43zF7AsTXolNNft-QYI(Unknown Source:0)                                                ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)                                                  ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.robots.MicrosurveysRobotKt.surveyScreen(MicrosurveysRobot.kt:128)                                                                 ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │  at org.mozilla.fenix.ui.NimbusMessagingSurveyTest.checkSurveyNavigatesCorrectly(NimbusMessagingSurveyTest.kt:97)                                          ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │                                                                                                                                                            ║
[task 2025-05-07T17:24:37.299Z] ║                                                                              │         │                                                                                                                                                            ║
[task 2025-05-07T17:24:37.299Z] ╟──────────────────────────────────────────────────────────────────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-05-07T17:24:37.306Z] ║ org.mozilla.fenix.ui.DownloadTest#verifyTheDownloadPromptsTest               │ Flaky   │ androidx.test.espresso.NoActivityResumedException: No activities in stage RESUMED. Did you forget to launch the activity. (test.getActivity() or similar)? ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at dalvik.system.VMStack.getThreadStackTrace(Native Method)                                                                                               ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at java.lang.Thread.getStackTrace(Thread.java:1841)                                                                                                       ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:34)                                                    ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:26)                                                    ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)                                           ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)                                                               ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:385)                                                    ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)                                                                                 ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.intent.Intents.intended(Intents.java:186)                                                                                       ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at androidx.test.espresso.intent.Intents.intended(Intents.java:164)                                                                                       ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at org.mozilla.fenix.ui.robots.DownloadRobot$Transition.clickOpen(DownloadRobot.kt:250)                                                                   ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │  at org.mozilla.fenix.ui.DownloadTest.verifyTheDownloadPromptsTest(DownloadTest.kt:68)                                                                     ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │                                                                                                                                                            ║
[task 2025-05-07T17:24:37.306Z] ║                                                                              │         │                                                                                                                                                            ║
[task 2025-05-07T17:24:37.306Z] ╚══════════════════════════════════════════════════════════════════════════════╧═════════╧════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2025-05-07T17:24:37.306Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2025-05-07 17:24:37.653Z] === Task Finished ===
[taskcluster 2025-05-07 17:24:57.031Z] Unsuccessful task run with exit code: 10 completed in 1525.114 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
You need to log in before you can comment on or make changes to this bug.