Closed Bug 1941861 Opened 28 days ago Closed 2 days ago

Intermittent [tier 2] org.mozilla.fenix.ui.CreditCardAutofillTest#verifyManageCreditCardsPromptOptionTest | androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header]

Categories

(Fenix :: UI Tests, defect, P5)

All
Android
defect

Tracking

(firefox134 unaffected, firefox135 unaffected, firefox136 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox134 --- unaffected
firefox135 --- unaffected
firefox136 --- wontfix

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


[task 2025-01-15T18:22:30.594Z]   Shard 99: Expected: 0s, Actual: 35s, Diff: 35s
[task 2025-01-15T18:22:30.594Z] 
[task 2025-01-15T18:22:30.594Z] 
[task 2025-01-15T18:22:30.594Z] 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=70821984b16153eeba8fc1994851d77b3fbe00d9 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-01-15T18:22:30.647Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.CreditCardAutofillTest#verifyManageCreditCardsPromptOptionTest | androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header]
[task 2025-01-15T18:22:30.647Z]  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)
[task 2025-01-15T18:22:30.647Z]  at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1477)
[task 2025-01-15T18:22:30.647Z]  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyManageCreditCardsPromptOptionTest$6.invoke(CreditCardAutofillTest.kt:185)
[task 2025-01-15T18:22:30.647Z]  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyManageCreditCardsPromptOptionTest$6.invoke(CreditCardAutofillTest.kt:183)
[task 2025-01-15T18:22:30.647Z]  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)
[task 2025-01-15T18:22:30.647Z]  at org.mozilla.fenix.ui.CreditCardAutofillTest.verifyManageCreditCardsPromptOptionTest(CreditCardAutofillTest.kt:183)
[task 2025-01-15T18:22:30.648Z] 
[task 2025-01-15T18:22:30.648Z]     
[task 2025-01-15T18:22:30.648Z] ╔═════════════════════════════════════════════════════════════════════════════════════╤═════════╤═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2025-01-15T18:22:30.648Z] ║ UI Test                                                                             │ Outcome │ Details                                                                                                                           ║
[task 2025-01-15T18:22:30.648Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.648Z] ║ org.mozilla.fenix.ui.CreditCardAutofillTest#verifyManageCreditCardsPromptOptionTest │ Failure │ androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header] ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1477)                                              ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyManageCreditCardsPromptOptionTest$6.invoke(CreditCardAutofillTest.kt:185)   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyManageCreditCardsPromptOptionTest$6.invoke(CreditCardAutofillTest.kt:183)   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)        ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest.verifyManageCreditCardsPromptOptionTest(CreditCardAutofillTest.kt:183)            ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.648Z] ║ org.mozilla.fenix.ui.CreditCardAutofillTest#verifyCancelCreditCardUpdatePromptTest  │ Flaky   │ androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header] ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1477)                                              ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyCancelCreditCardUpdatePromptTest$6.invoke(CreditCardAutofillTest.kt:483)    ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyCancelCreditCardUpdatePromptTest$6.invoke(CreditCardAutofillTest.kt:481)    ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)        ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest.verifyCancelCreditCardUpdatePromptTest(CreditCardAutofillTest.kt:481)             ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.648Z] ║ org.mozilla.fenix.ui.CollectionTest#createCollectionUsingSelectTabsButtonTest       │ Flaky   │ java.lang.AssertionError: UiSelector[CONTAINS_TEXT=Collection saved!] does not exist                                              ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                         ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)                                            ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)                                     ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.helpers.TestHelper.verifySnackBarText(TestHelper.kt:137)                                                    ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CollectionTest$createCollectionUsingSelectTabsButtonTest$6.invoke(CollectionTest.kt:348)                 ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CollectionTest$createCollectionUsingSelectTabsButtonTest$6.invoke(CollectionTest.kt:343)                 ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.openTabDrawer(BrowserRobot.kt:1179)                                       ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CollectionTest.createCollectionUsingSelectTabsButtonTest(CollectionTest.kt:343)                          ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.648Z] ║ org.mozilla.fenix.ui.CreditCardAutofillTest#verifyMultipleCreditCardsCanBeAddedTest │ Flaky   │ androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header] ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1477)                                              ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyMultipleCreditCardsCanBeAddedTest$6.invoke(CreditCardAutofillTest.kt:393)   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyMultipleCreditCardsCanBeAddedTest$6.invoke(CreditCardAutofillTest.kt:391)   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)        ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest.verifyMultipleCreditCardsCanBeAddedTest(CreditCardAutofillTest.kt:391)            ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.648Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.648Z] ║ org.mozilla.fenix.ui.CreditCardAutofillTest#verifyEditedCardIsSavedTest             │ Flaky   │ androidx.test.uiautomator.UiObjectNotFoundException: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_credit_card_header] ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at androidx.test.uiautomator.UiObject.click(UiObject.java:378)                                                                   ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobotKt.clickPageObject(BrowserRobot.kt:1477)                                              ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyEditedCardIsSavedTest$6.invoke(CreditCardAutofillTest.kt:306)               ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest$verifyEditedCardIsSavedTest$6.invoke(CreditCardAutofillTest.kt:304)               ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)        ║
[task 2025-01-15T18:22:30.648Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.CreditCardAutofillTest.verifyEditedCardIsSavedTest(CreditCardAutofillTest.kt:304)                        ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.654Z] ║ org.mozilla.fenix.ui.AddressAutofillTest#verifyAddressAutofillToggleTest            │ Flaky   │ java.lang.AssertionError: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/select_address_header] does not exist                 ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                         ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists(MatcherHelper.kt:100)                                            ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectExists$default(MatcherHelper.kt:92)                                     ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.BrowserRobot.verifySelectAddressButtonExists(BrowserRobot.kt:568)                                 ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.AddressAutofillTest$verifyAddressAutofillToggleTest$3.invoke(AddressAutofillTest.kt:182)                 ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.AddressAutofillTest$verifyAddressAutofillToggleTest$3.invoke(AddressAutofillTest.kt:180)                 ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:254)        ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.AddressAutofillTest.verifyAddressAutofillToggleTest(AddressAutofillTest.kt:180)                          ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ╟─────────────────────────────────────────────────────────────────────────────────────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-01-15T18:22:30.654Z] ║ org.mozilla.fenix.ui.ModifierTest#verifyModifierOnShownAfterSettled                 │ Flaky   │ java.lang.AssertionError                                                                                                          ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.fail(Assert.java:87)                                                                                         ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.assertFalse(Assert.java:65)                                                                                  ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.junit.Assert.assertFalse(Assert.java:75)                                                                                  ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │  at org.mozilla.fenix.ui.ModifierTest.verifyModifierOnShownAfterSettled(ModifierTest.kt:61)                                       ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ║                                                                                     │         │                                                                                                                                   ║
[task 2025-01-15T18:22:30.654Z] ╚═════════════════════════════════════════════════════════════════════════════════════╧═════════╧═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2025-01-15T18:22:30.654Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2025-01-15 18:22:30.947Z] === Task Finished ===
[taskcluster 2025-01-15 18:22:51.801Z] Unsuccessful task run with exit code: 10 completed in 824.623 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
Keywords: regression
Regressed by: 1936561

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

:dimi, since you are the author of the regressor, bug 1936561, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(dlee)

► Failure on 1/15 mozilla central
Firebase link
Firebase link

► 1/15 autoland
Firebase link

Flags: needinfo?(dlee)
Status: NEW → RESOLVED
Closed: 2 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.