Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Intermittent UI test failure - SmokeTest.addPredefinedSearchEngineTest #21628

Closed
sv-ohorvath opened this issue Oct 1, 2021 · 1 comment · Fixed by #22128
Closed

Intermittent UI test failure - SmokeTest.addPredefinedSearchEngineTest #21628

sv-ohorvath opened this issue Oct 1, 2021 · 1 comment · Fixed by #22128
Assignees
Labels
eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests

Comments

@sv-ohorvath
Copy link
Contributor

sv-ohorvath commented Oct 1, 2021

Firebase Test Run:

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/8774589772551172664/executions/bs.5b1eff07bb588015/testcases/1/test-cases

Stacktrace:

`androidx.compose.ui.test.junit4.android.ComposeNotIdleException: Idling resource timed out: possibly due to compose being busy.
IdlingResourceRegistry has the following idling resources registered:

  • [busy] androidx.compose.ui.test.junit4.android.ComposeIdlingResource@7439adb
    All registered idling resources: Compose-Espresso link
    at androidx.compose.ui.test.junit4.android.EspressoLink_androidKt.rethrowWithMoreInfo(EspressoLink.android.kt:135)
    at androidx.compose.ui.test.junit4.android.EspressoLink_androidKt.runEspressoOnIdle(EspressoLink.android.kt:109)
    at androidx.compose.ui.test.junit4.android.EspressoLink.runUntilIdle(EspressoLink.android.kt:78)
    at androidx.compose.ui.test.junit4.AndroidComposeTestRule.waitForIdle(AndroidComposeTestRule.android.kt:293)
    at androidx.compose.ui.test.junit4.AndroidComposeTestRule.waitForIdle(AndroidComposeTestRule.android.kt:286)
    at org.mozilla.fenix.ui.SmokeTest$addPredefinedSearchEngineTest$7.invoke(SmokeTest.kt:544)
    at org.mozilla.fenix.ui.SmokeTest$addPredefinedSearchEngineTest$7.invoke(SmokeTest.kt:540)
    at org.mozilla.fenix.ui.robots.HomeScreenRobot$Transition.openSearch(HomeScreenRobot.kt:194)
    at org.mozilla.fenix.ui.SmokeTest.addPredefinedSearchEngineTest(SmokeTest.kt:540)`

Build:

main 10/1 #21606

┆Issue is synchronized with this Jira Task

@sv-ohorvath sv-ohorvath added eng:ui-test UI Tests eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer labels Oct 1, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Oct 1, 2021
@sv-ohorvath sv-ohorvath removed the needs:triage Issue needs triage label Oct 4, 2021
@sv-ohorvath sv-ohorvath self-assigned this Oct 13, 2021
@sv-ohorvath
Copy link
Contributor Author

sv-ohorvath commented Oct 13, 2021

Flaky on 10/13, same error: logs

`androidx.compose.ui.test.junit4.android.ComposeNotIdleException: Idling resource timed out: possibly due to compose being busy.
IdlingResourceRegistry has the following idling resources registered:

  • [busy] androidx.compose.ui.test.junit4.android.ComposeIdlingResource@cbf19da
    All registered idling resources: Compose-Espresso link
    at androidx.compose.ui.test.junit4.android.EspressoLink_androidKt.rethrowWithMoreInfo(EspressoLink.android.kt:135)
    at androidx.compose.ui.test.junit4.android.EspressoLink_androidKt.runEspressoOnIdle(EspressoLink.android.kt:109)
    at androidx.compose.ui.test.junit4.android.EspressoLink.runUntilIdle(EspressoLink.android.kt:78)
    at androidx.compose.ui.test.junit4.AndroidComposeTestRule.waitForIdle(AndroidComposeTestRule.android.kt:293)
    at androidx.compose.ui.test.junit4.AndroidComposeTestRule.waitForIdle(AndroidComposeTestRule.android.kt:286)
    at org.mozilla.fenix.ui.SmokeTest$addPredefinedSearchEngineTest$7.invoke(SmokeTest.kt:542)
    at org.mozilla.fenix.ui.SmokeTest$addPredefinedSearchEngineTest$7.invoke(SmokeTest.kt:538)
    at org.mozilla.fenix.ui.robots.HomeScreenRobot$Transition.openSearch(HomeScreenRobot.kt:194)
    at org.mozilla.fenix.ui.SmokeTest.addPredefinedSearchEngineTest(SmokeTest.kt:538)`

@sv-ohorvath sv-ohorvath linked a pull request Oct 25, 2021 that will close this issue
3 tasks
@mergify mergify bot closed this as completed in #22128 Oct 25, 2021
mergify bot pushed a commit that referenced this issue Oct 25, 2021
pkirakosyan pushed a commit to gexsi/user-agent-android that referenced this issue Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:intermittent-test Evil test failures that only happen now-and-then and are a productivity killer eng:ui-test UI Tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant