Closed Bug 1948448 Opened 1 month ago Closed 11 days ago

Intermittent [tier 2] org.mozilla.fenix.ui.EnhancedTrackingProtectionTest#disablingETPOnAWebsiteAddsItToExceptionListTest | single tracking bug

Categories

(Fenix :: UI Tests, defect, P5)

All
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2025-02-15T05:55:52.130Z] 
[task 2025-02-15T05:55:52.130Z] 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=189f5762e702a47143dd24c465ca132fc590ad09 --test /builds/worker/checkouts/gecko/mobile/android/fenix/android-test.apk failed with exit code 10
[task 2025-02-15T05:55:52.190Z] TEST-UNEXPECTED-FAIL | org.mozilla.fenix.ui.EnhancedTrackingProtectionTest#disablingETPOnAWebsiteAddsItToExceptionListTest | java.lang.AssertionError
[task 2025-02-15T05:55:52.190Z]  at org.junit.Assert.fail(Assert.java:87)
[task 2025-02-15T05:55:52.190Z]  at org.junit.Assert.assertTrue(Assert.java:42)
[task 2025-02-15T05:55:52.190Z]  at org.junit.Assert.assertTrue(Assert.java:53)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:196)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:195)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:440)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.robots.BrowserRobot.verifyPageContent(BrowserRobot.kt:195)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$disablingETPOnAWebsiteAddsItToExceptionListTest$8.invoke(EnhancedTrackingProtectionTest.kt:140)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$disablingETPOnAWebsiteAddsItToExceptionListTest$8.invoke(EnhancedTrackingProtectionTest.kt:139)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:339)
[task 2025-02-15T05:55:52.190Z]  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.disablingETPOnAWebsiteAddsItToExceptionListTest(EnhancedTrackingProtectionTest.kt:139)
[task 2025-02-15T05:55:52.190Z] 
[task 2025-02-15T05:55:52.190Z]     
[task 2025-02-15T05:55:52.190Z] ╔═════════════════════════════════════════════╤═════════╤══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
[task 2025-02-15T05:55:52.190Z] ║ UI Test                                     │ Outcome │ Details                                                                                                                                                                                              ║
[task 2025-02-15T05:55:52.190Z] ╟─────────────────────────────────────────────┼─────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-02-15T05:55:52.190Z] ║ org.mozilla.fenix.ui.HTTPSFirstModeTest#htt │ Flaky   │ java.lang.AssertionError                                                                                                                                                                             ║
[task 2025-02-15T05:55:52.190Z] ║ psFirstModeExplicitSchemeTest               │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.junit.Assert.fail(Assert.java:87)                                                                                                                                                            ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.junit.Assert.assertTrue(Assert.java:53)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:196)                                                                                                         ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:195)                                                                                                         ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:440)                                                                                        ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot.verifyPageContent(BrowserRobot.kt:195)                                                                                                                  ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.HTTPSFirstModeTest$httpsFirstModeExplicitSchemeTest$2.invoke(HTTPSFirstModeTest.kt:35)                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.HTTPSFirstModeTest$httpsFirstModeExplicitSchemeTest$2.invoke(HTTPSFirstModeTest.kt:34)                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:339)                                                                           ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at org.mozilla.fenix.ui.HTTPSFirstModeTest.httpsFirstModeExplicitSchemeTest(HTTPSFirstModeTest.kt:34)                                                                                               ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ╟─────────────────────────────────────────────┼─────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-02-15T05:55:52.190Z] ║ org.mozilla.fenix.ui.MainMenuTestCompose#ve │ Flaky   │ androidx.test.espresso.base.AssertionErrorHandler$AssertionFailedWithCauseError: '(view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView  ║
[task 2025-02-15T05:55:52.190Z] ║ rifyTheAddToShortcutsSubMenuOptionTest      │         │ and view.getText() with or without transformation to match: is "Test_Page_1")' doesn't match the selected view.                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │ Expected: (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Pag ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │ e_1")                                                                                                                                                                                                ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │      Got: no descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Page_1" was found                                       ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │ View Details: RecyclerView{id=2131297775, res-name=top_sites_list, visibility=VISIBLE, width=996, height=556, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-ena ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │ bled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=fals ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │ e, has-input-connection=false, x=0.0, y=0.0, child-count=6}                                                                                                                                          ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at dalvik.system.VMStack.getThreadStackTrace(Native Method)                                                                                                                                         ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at java.lang.Thread.getStackTrace(Thread.java:1841)                                                                                                                                                 ║
[task 2025-02-15T05:55:52.190Z] ║                                             │         │  at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:35)                                                                                                    ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.base.AssertionErrorHandler.handleSafely(AssertionErrorHandler.java:26)                                                                                                    ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:158)                                                                                     ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:120)                                                                                                         ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:387)                                                                                              ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:366)                                                                                                                           ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.HomeScreenRobot.verifyExistingTopSitesTabs(HomeScreenRobot.kt:380)                                                                                                   ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.MainMenuTestCompose$verifyTheAddToShortcutsSubMenuOptionTest$5.invoke(MainMenuTestCompose.kt:452)                                                                           ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.MainMenuTestCompose$verifyTheAddToShortcutsSubMenuOptionTest$5.invoke(MainMenuTestCompose.kt:451)                                                                           ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$Transition.goToHomescreenWithRedesignedToolbar(BrowserRobot.kt:1260)                                                                                    ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.MainMenuTestCompose.verifyTheAddToShortcutsSubMenuOptionTest(MainMenuTestCompose.kt:451)                                                                                    ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  ... 56 trimmed                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ Caused by: junit.framework.AssertionFailedError: '(view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or witho ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ ut transformation to match: is "Test_Page_1")' doesn't match the selected view.                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ Expected: (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Pag ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ e_1")                                                                                                                                                                                                ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │      Got: no descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: is "Test_Page_1" was found                                       ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ View Details: RecyclerView{id=2131297775, res-name=top_sites_list, visibility=VISIBLE, width=996, height=556, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-ena ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ bled=true, is-focused=false, is-focusable=true, is-layout-requested=false, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@YYYYYY, tag=null, root-is-layout-requested=fals ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │ e, has-input-connection=false, x=0.0, y=0.0, child-count=6}                                                                                                                                          ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.matcher.ViewMatchers.assertThat(ViewMatchers.java:620)                                                                                                                    ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.assertion.ViewAssertions$MatchesViewAssertion.check(ViewAssertions.java:97)                                                                                               ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:488)                                                                                              ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:346)                                                                                                                          ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:319)                                                                                                                          ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at java.util.concurrent.FutureTask.run(FutureTask.java:264)                                                                                                                                         ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at android.os.Handler.handleCallback(Handler.java:958)                                                                                                                                              ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at android.os.Handler.dispatchMessage(Handler.java:99)                                                                                                                                              ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at android.os.Looper.loopOnce(Looper.java:205)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at android.os.Looper.loop(Looper.java:294)                                                                                                                                                          ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at android.app.ActivityThread.main(ActivityThread.java:8177)                                                                                                                                        ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at java.lang.reflect.Method.invoke(Native Method)                                                                                                                                                   ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)                                                                                                                ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)                                                                                                                                     ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ╟─────────────────────────────────────────────┼─────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-02-15T05:55:52.191Z] ║ org.mozilla.fenix.ui.EnhancedTrackingProtec │ Failure │ java.lang.AssertionError                                                                                                                                                                             ║
[task 2025-02-15T05:55:52.191Z] ║ tionTest#disablingETPOnAWebsiteAddsItToExce │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║ ptionListTest                               │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.junit.Assert.fail(Assert.java:87)                                                                                                                                                            ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.junit.Assert.assertTrue(Assert.java:53)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:196)                                                                                                         ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot$verifyPageContent$1.invoke(BrowserRobot.kt:195)                                                                                                         ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.helpers.AppAndSystemHelper.registerAndCleanupIdlingResources(AppAndSystemHelper.kt:440)                                                                                        ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot.verifyPageContent(BrowserRobot.kt:195)                                                                                                                  ║
[task 2025-02-15T05:55:52.191Z] ║                                             │         │  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$disablingETPOnAWebsiteAddsItToExceptionListTest$8.invoke(EnhancedTrackingProtectionTest.kt:140)                                              ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest$disablingETPOnAWebsiteAddsItToExceptionListTest$8.invoke(EnhancedTrackingProtectionTest.kt:139)                                              ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:339)                                                                           ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.EnhancedTrackingProtectionTest.disablingETPOnAWebsiteAddsItToExceptionListTest(EnhancedTrackingProtectionTest.kt:139)                                                       ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ╟─────────────────────────────────────────────┼─────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
[task 2025-02-15T05:55:52.197Z] ║ org.mozilla.fenix.ui.LoginsTest#verifyEdite │ Flaky   │ java.lang.AssertionError: UiSelector[RESOURCE_ID=org.mozilla.fenix.debug:id/mozac_browser_toolbar_progress] is not gone                                                                              ║
[task 2025-02-15T05:55:52.197Z] ║ dLoginsAreSavedTest                         │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.junit.Assert.fail(Assert.java:89)                                                                                                                                                            ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.junit.Assert.assertTrue(Assert.java:42)                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.helpers.MatcherHelper.assertUIObjectIsGone(MatcherHelper.kt:113)                                                                                                               ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.BrowserRobot.waitForPageToLoad(BrowserRobot.kt:81)                                                                                                                   ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.LoginsTest$verifyEditedLoginsAreSavedTest$2.invoke(LoginsTest.kt:320)                                                                                                       ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.LoginsTest$verifyEditedLoginsAreSavedTest$2.invoke(LoginsTest.kt:319)                                                                                                       ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.robots.NavigationToolbarRobot$Transition.enterURLAndEnterToBrowser(NavigationToolbarRobot.kt:339)                                                                           ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │  at org.mozilla.fenix.ui.LoginsTest.verifyEditedLoginsAreSavedTest(LoginsTest.kt:319)                                                                                                                ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ║                                             │         │                                                                                                                                                                                                      ║
[task 2025-02-15T05:55:52.197Z] ╚═════════════════════════════════════════════╧═════════╧══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
[task 2025-02-15T05:55:52.197Z] Command ./automation/taskcluster/androidTest/parse-ui-test-fromfile.py --results /builds/worker/artifacts/results failed with exit code 1
[taskcluster 2025-02-15 05:55:52.455Z] === Task Finished ===
[taskcluster 2025-02-15 05:56:13.154Z] Unsuccessful task run with exit code: 10 completed in 794.175 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
Status: NEW → RESOLVED
Closed: 11 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.