Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac automated UI test failure: initializationErrors #971

Closed
Tracked by #777
turkeylurkey opened this issue Sep 12, 2024 · 1 comment · Fixed by #1033
Closed
Tracked by #777

Mac automated UI test failure: initializationErrors #971

turkeylurkey opened this issue Sep 12, 2024 · 1 comment · Fixed by #1033
Assignees
Labels
automated tests bug Something isn't working

Comments

@turkeylurkey
Copy link
Member

Two test cases fail during initialization so there is no movie in the build output. These movies are used to debug the test failure so we'll need to debug these failures by adding debug logging.

  • GradleSingleModMPLSTest > initializationError FAILED
  • GradleSingleModMPProjectTest > initializationError FAILED

GradleSingleModMPLSTest > initializationError FAILED
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT10M) for condition function (Failed to find 'ComponentFixture' by '//div[@Class='Tree' and @name='LibertyTree' and contains(@visible_text, 'sampleGradleMPLSApp')]' in 600s)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:37)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:53)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:51)
at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23)
at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:51)
at com.intellij.remoterobot.fixtures.ContainerFixture.find(ContainerFixture.kt:12)
at io.openliberty.tools.intellij.it.fixtures.ProjectFrameFixture.getTree(ProjectFrameFixture.java:215)
at io.openliberty.tools.intellij.it.UIBotTestUtils.validateImportedProjectShowsInLTW(UIBotTestUtils.java:382)
at io.openliberty.tools.intellij.it.SingleModMPLSTestCommon.prepareEnv(SingleModMPLSTestCommon.java:317)
at io.openliberty.tools.intellij.it.GradleSingleModMPLSTest.setup(GradleSingleModMPLSTest.java:45)

GradleSingleModMPProjectTest > initializationError FAILED
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT2M) for condition function (Failed to find 'Welcome Frame' by 'FlatWelcomeFrame type' in 120s)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:37)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:53)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:51)
at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23)
at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:51)
at com.intellij.remoterobot.RemoteRobot.find(RemoteRobot.kt:32)
at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:34)
at com.intellij.remoterobot.RemoteRobot.find(RemoteRobot.kt:32)
at io.openliberty.tools.intellij.it.SingleModMPProjectTestCommon.prepareEnv(SingleModMPProjectTestCommon.java:915)
at io.openliberty.tools.intellij.it.GradleSingleModMPProjectTest.setup(GradleSingleModMPProjectTest.java:83)

@turkeylurkey
Copy link
Member Author

Around 30% of the time this test case fails in the same way.

GradleSingleModJakartaLSTest > initializationError FAILED
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT1M) for condition function (Failed to find 'JTreeFixture' by '//div[@Class='ProjectViewTree' and contains(@visible_text, 'sampleGradleMPLSApp')]' in 60s)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51)
at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:37)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:53)
at com.intellij.remoterobot.SearchContext$find$1.invoke(SearchContext.kt:51)
at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23)
at com.intellij.remoterobot.SearchContext$DefaultImpls.find(SearchContext.kt:51)
at com.intellij.remoterobot.fixtures.ContainerFixture.find(ContainerFixture.kt:12)
at io.openliberty.tools.intellij.it.fixtures.ProjectFrameFixture.getProjectViewJTree(ProjectFrameFixture.java:172)
at io.openliberty.tools.intellij.it.SingleModJakartaLSTestCommon.prepareEnv(SingleModJakartaLSTestCommon.java:189)
at io.openliberty.tools.intellij.it.GradleSingleModJakartaLSTest.setup(GradleSingleModJakartaLSTest.java:43)

@turkeylurkey turkeylurkey self-assigned this Oct 15, 2024
@turkeylurkey turkeylurkey moved this from New Issues to In Progress in Open Liberty Developer Experience Oct 15, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Sprint Closed in Open Liberty Developer Experience Oct 30, 2024
@TrevCraw TrevCraw moved this from Sprint Closed to Closed in Open Liberty Developer Experience Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated tests bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

1 participant