[jbosstools-issues] [JBoss JIRA] (JBIDE-27006) Several maven.itests tests fail sporadically due to timeouts (missing wait statement or short time period)

Zbyněk Červinka (Jira) issues at jboss.org
Tue Feb 4 11:23:13 EST 2020


     [ https://issues.redhat.com/browse/JBIDE-27006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zbyněk Červinka closed JBIDE-27006.
-----------------------------------


Issue is resolved, I am closing this issue.

> Several maven.itests tests fail sporadically due to timeouts (missing wait statement or short time period)
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-27006
>                 URL: https://issues.redhat.com/browse/JBIDE-27006
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 4.14.0.AM1
>            Reporter: Zbyněk Červinka
>            Assignee: Zbyněk Červinka
>            Priority: Minor
>             Fix For: 4.14.0.Final
>
>         Attachments: org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testCompilerArguments.png, org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testProcessorCustomOutput.png, org.jboss.tools.maven.ui.bot.test.configurator.CDIConfiguratorTest.testCDIConfiguratorEjbSeamInternational.png, org.jboss.tools.maven.ui.bot.test.configurator.JSFConfiguratorTest.testJSFConfigurator.png, org.jboss.tools.maven.ui.bot.test.conversion.MavenConversionTest.changeIdentifiedDependency.png
>
>
> h2. List and description of found and fixed issues:
> * *The hasNature() issue* - tests are calling the *hasNature()* method in *AbstractMavenSWTBotTest* abstract class, where a wait condition is missing. While working with the Project facets a popup window with progress bar sometimes show up. During testing it has shown up, that 10 seconds is not enought -> I am putting there 60 seconds
> !org.jboss.tools.maven.ui.bot.test.configurator.JSFConfiguratorTest.testJSFConfigurator.png|thumbnail! 
> * *The createEJBProject() issue* -  wait statement with too short period of time :
> !org.jboss.tools.maven.ui.bot.test.configurator.CDIConfiguratorTest.testCDIConfiguratorEjbSeamInternational.png|thumbnail! 
> * *The createWebProject() issue* -  wait statement with too short period of time :
> !org.jboss.tools.maven.ui.bot.test.conversion.MavenConversionTest.changeIdentifiedDependency.png|thumbnail! 
> * *The createBasicMavenProject() issue* - wait statement with too short period of time 
>  !org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testCompilerArguments.png|thumbnail! 
> * *The prepareProject() issue* - wait statement with too short period of time
> !org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testProcessorCustomOutput.png|thumbnail! 
> *  *The testAddRepositoryLinkInConversionWizard() issue* - wait statement with too short period of time 
> *  *The convertToMavenProject() issue* - wait statement with too short period of time 
> *  *The testMaterializeLibrary() issue* - wait statement with too short period of time 
> *  *The createJSFProject() issue* - wait statement with too short period of time 
> h2. See the hasNature() issue stacktrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 10 s.: window is available
> 	at org.eclipse.reddeer.jface.preference.PreferenceDialog.ok(PreferenceDialog.java:119)
> 	at org.jboss.tools.maven.ui.bot.test.AbstractMavenSWTBotTest.hasNature(AbstractMavenSWTBotTest.java:117)
> 	at org.jboss.tools.maven.ui.bot.test.configurator.AbstractConfiguratorsTest.checkProjectWithRuntime(AbstractConfiguratorsTest.java:94)
> 	at org.jboss.tools.maven.ui.bot.test.configurator.JSFConfiguratorTest.testJSFConfigurator(JSFConfiguratorTest.java:82)
> {code}
> h2. See the createEJBProject() issue stacktrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 60 s.: The following jobs are still running:
> 	Validating testEJB_CDI
> 	at org.jboss.tools.maven.ui.bot.test.configurator.AbstractConfiguratorsTest.createEJBProject(AbstractConfiguratorsTest.java:109)
> 	at org.jboss.tools.maven.ui.bot.test.configurator.CDIConfiguratorTest.testCDIConfiguratorEjbSeamInternational(CDIConfiguratorTest.java:123)
> {code}
> h2. See the createWebProject() issue stacktrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 60 s.: The following jobs are still running:
> 	loading https://maven.apache.org/xsd/maven-4.0.0.xsd
> org.jboss.tools.maven.ui.bot.test.AbstractMavenSWTBotTest.createWebProject(AbstractMavenSWTBotTest.java:280)
> 	at org.jboss.tools.maven.ui.bot.test.conversion.MavenConversionTest.createWithRuntime(MavenConversionTest.java:204)
> 	at org.jboss.tools.maven.ui.bot.test.conversion.MavenConversionTest.changeIdentifiedDependency(MavenConversionTest.java:123)
> {code}
> h2. See the createBasicMavenProject() issue stackstrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 10 s.: The following jobs are still running:
> 	Validating test
> 	at org.eclipse.reddeer.eclipse.core.resources.AbstractResource.open(AbstractResource.java:78)
> 	at org.jboss.tools.maven.ui.bot.test.AbstractMavenSWTBotTest.openPom(AbstractMavenSWTBotTest.java:331)
> 	at org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.setCompilerArguments(APTPropertiesPageTest.java:298)
> 	at org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testCompilerArguments(APTPropertiesPageTest.java:128)
> {code}
> h2. See the prepareProject() issue stackstrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 10 s.: The following jobs are still running:
> 	Validating test
> 	at org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.prepareProject(APTPropertiesPageTest.java:410)
> 	at org.jboss.tools.maven.ui.bot.test.apt.APTPropertiesPageTest.testProcessorCustomOutput(APTPropertiesPageTest.java:192)
> {code}
> h2. See the testAddRepositoryLinkInConversionWizard() issue stackstrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 60 s.: The following jobs are still running:
> 	Validating WebProject
> 	at org.jboss.tools.maven.ui.bot.test.conversion.MavenConversionTest.testAddRepositoryLinkInConversionWizard(MavenConversionTest.java:172)
> {code}
> h2. See the convertToMavenProject() issue stackstrace:
> {code:java}
> at org.eclipse.reddeer.common.wait.WaitWhile.throwWaitTimeOutException(WaitWhile.java:116)
> 	at org.jboss.tools.maven.ui.bot.test.AbstractMavenSWTBotTest.convertToMavenProject(AbstractMavenSWTBotTest.java:241)
> 	at org.jboss.tools.maven.ui.bot.test.configurator.JSFConfiguratorTest.testJSFConfigurator(JSFConfiguratorTest.java:81)
> {code}
> h2. See the testMaterializeLibrary() issue stackstrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 60 s.: The following jobs are still running:
> 	Validating example
> 	at org.jboss.tools.maven.ui.bot.test.conversion.MaterializeLibraryTest.testMaterializeLibrary(MaterializeLibraryTest.java:86)
> {code}
> h2. See the createJSFProject() issue stackstrace:
> {code:java}
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: 
> Timeout after: 60 s.: The following jobs are still running:
> 	Launching JSFProject7_1.2
> 	Validating JSFProject7_1.2
> 	at org.jboss.tools.maven.ui.bot.test.project.JSFProjectTest.createJSFProject(JSFProjectTest.java:72)
> 	at org.jboss.tools.maven.ui.bot.test.project.JSFProjectTest.createJSFProjectTest_AS7_JSFv2(JSFProjectTest.java:46)
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list