[JBoss JIRA] (JBDS-4719) Eclipse will not change to alternate JDK with Spring Boot project.
by Paul Leacu (JIRA)
[ https://issues.jboss.org/browse/JBDS-4719?page=com.atlassian.jira.plugin.... ]
Paul Leacu updated JBDS-4719:
-----------------------------
Project: Red Hat JBoss Developer Studio (devstudio) (was: JBoss Tools Integration Stack)
Key: JBDS-4719 (was: JBTIS-1218)
Docs QE Status: NEW
> Eclipse will not change to alternate JDK with Spring Boot project.
> ------------------------------------------------------------------
>
> Key: JBDS-4719
> URL: https://issues.jboss.org/browse/JBDS-4719
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Reporter: Hiram Chirino
>
> Feed back from [~egetchel] in a recent Fuse enablement session:
> This seems specific to JBDS 11.x as it is not a problem in 10. Typical scenario - I start a new project in Eclipse and it defaults to a JRE enviornment. This gets picked up at runtime. I add the JDK to Eclipse. Normally, I can go into the project configuration and change the compile and runtime to use the new JDK. In Eclipse 11, we could not find any option to do this, and no matter what we did, running the Spring Boot project still defaulted back to the JRE. The only way to force Eclipse to use the JDK was to go into Eclipse and delete the reference to the JRE, so that only a single JDK existed.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBTIS-1233) Resync IS TP
by Paul Leacu (JIRA)
[ https://issues.jboss.org/browse/JBTIS-1233?page=com.atlassian.jira.plugin... ]
Paul Leacu closed JBTIS-1233.
-----------------------------
Resolution: Done
done - IS TP 4.6.0.Final
> Resync IS TP
> ------------
>
> Key: JBTIS-1233
> URL: https://issues.jboss.org/browse/JBTIS-1233
> Project: JBoss Tools Integration Stack
> Issue Type: Task
> Components: target-platform
> Affects Versions: 12.0.0.AM1-TP
> Reporter: Paul Leacu
> Assignee: Paul Leacu
>
> Reason: Update to latest 4.6.0 JBT TP
> Project page/sources:
> Version: 12.0.0.CR1
> License and owner: EPL
> Original p2 repo:
> JBoss mirror:
> Include Sources: Yes
> Affected JBoss Tools components: Integration Stack
> Include in JBDS: Yes (DevtsudioIS)
> Type of dependency: distribution
> List of bundles added/removed:
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26227) EAP compatibility test sometimes fails on runtime search dialog
by Daniel Čihák (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26227?page=com.atlassian.jira.plugi... ]
Daniel Čihák commented on JBIDE-26227:
--------------------------------------
Job executed with the fix from https://github.com/mmalina/jbosstools-server/tree/JBIDE-26227-maint and everything is OK now.
> EAP compatibility test sometimes fails on runtime search dialog
> ---------------------------------------------------------------
>
> Key: JBIDE-26227
> URL: https://issues.jboss.org/browse/JBIDE-26227
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: integration-tests, server
> Affects Versions: 4.9.0.AM1
> Reporter: Martin Malina
> Assignee: Josef Kopriva
> Fix For: 4.9.0.AM1
>
> Attachments: RuntimeTest.png
>
>
> dcihak of the EAP QE team has reported that the compatibility test they've been using started failing sometimes:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> Build 18 failed on openjdk and build 19 failed on oracle jdk. So it only happens sometimes.
> Here's an example of the failure:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> {code}
> Error Message
> No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> Stacktrace
> org.eclipse.reddeer.core.exception.CoreLayerException: No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> at org.eclipse.reddeer.common.wait.WaitUntil.throwWaitTimeOutException(WaitUntil.java:122)
> at org.eclipse.reddeer.common.wait.AbstractWait.timeoutExceeded(AbstractWait.java:207)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:151)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:109)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:87)
> at org.eclipse.reddeer.swt.widgets.AbstractWidget.<init>(AbstractWidget.java:76)
> at org.eclipse.reddeer.swt.widgets.AbstractControl.<init>(AbstractControl.java:38)
> at org.eclipse.reddeer.swt.impl.label.AbstractLabel.<init>(AbstractLabel.java:24)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:102)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:62)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:52)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage$RuntimeSearchedFinished.test(RuntimeDetectionPreferencePage.java:70)
> at org.eclipse.reddeer.common.wait.WaitUntil.stopWaiting(WaitUntil.java:103)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:147)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage.search(RuntimeDetectionPreferencePage.java:61)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.RuntimeDetectionUtility.addPath(RuntimeDetectionUtility.java:37)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.DetectRuntimeTemplate.detectRuntime(DetectRuntimeTemplate.java:37)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.checkCountAndGetServerName(SingleServerRuntimeTest.java:60)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.detect(SingleServerRuntimeTest.java:56)
> {code}
> And a screenshot:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> !RuntimeTest.png!
> One possible explanation is that sometimes it takes longer for the runtime to be found and that makes the test fail. If that's true, then some added wait may fix the problem.
> Keep in mind that we'll need this fix also for the photon stream (JBT 4.6.0), so I guess we'll need to bug Rob to create a maintenance branch from the 4.6.0.Final tag for this.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26227) EAP compatibility test sometimes fails on runtime search dialog
by Daniel Čihák (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26227?page=com.atlassian.jira.plugi... ]
Daniel Čihák edited comment on JBIDE-26227 at 7/25/18 8:47 AM:
---------------------------------------------------------------
Job executed with the fix from https://github.com/mmalina/jbosstools-server/tree/JBIDE-26227-maint and everything is OK now. Thanks!
was (Author: dcihak):
Job executed with the fix from https://github.com/mmalina/jbosstools-server/tree/JBIDE-26227-maint and everything is OK now.
> EAP compatibility test sometimes fails on runtime search dialog
> ---------------------------------------------------------------
>
> Key: JBIDE-26227
> URL: https://issues.jboss.org/browse/JBIDE-26227
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: integration-tests, server
> Affects Versions: 4.9.0.AM1
> Reporter: Martin Malina
> Assignee: Josef Kopriva
> Fix For: 4.9.0.AM1
>
> Attachments: RuntimeTest.png
>
>
> dcihak of the EAP QE team has reported that the compatibility test they've been using started failing sometimes:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> Build 18 failed on openjdk and build 19 failed on oracle jdk. So it only happens sometimes.
> Here's an example of the failure:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> {code}
> Error Message
> No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> Stacktrace
> org.eclipse.reddeer.core.exception.CoreLayerException: No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> at org.eclipse.reddeer.common.wait.WaitUntil.throwWaitTimeOutException(WaitUntil.java:122)
> at org.eclipse.reddeer.common.wait.AbstractWait.timeoutExceeded(AbstractWait.java:207)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:151)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:109)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:87)
> at org.eclipse.reddeer.swt.widgets.AbstractWidget.<init>(AbstractWidget.java:76)
> at org.eclipse.reddeer.swt.widgets.AbstractControl.<init>(AbstractControl.java:38)
> at org.eclipse.reddeer.swt.impl.label.AbstractLabel.<init>(AbstractLabel.java:24)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:102)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:62)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:52)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage$RuntimeSearchedFinished.test(RuntimeDetectionPreferencePage.java:70)
> at org.eclipse.reddeer.common.wait.WaitUntil.stopWaiting(WaitUntil.java:103)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:147)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage.search(RuntimeDetectionPreferencePage.java:61)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.RuntimeDetectionUtility.addPath(RuntimeDetectionUtility.java:37)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.DetectRuntimeTemplate.detectRuntime(DetectRuntimeTemplate.java:37)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.checkCountAndGetServerName(SingleServerRuntimeTest.java:60)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.detect(SingleServerRuntimeTest.java:56)
> {code}
> And a screenshot:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> !RuntimeTest.png!
> One possible explanation is that sometimes it takes longer for the runtime to be found and that makes the test fail. If that's true, then some added wait may fix the problem.
> Keep in mind that we'll need this fix also for the photon stream (JBT 4.6.0), so I guess we'll need to bug Rob to create a maintenance branch from the 4.6.0.Final tag for this.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months
[JBoss JIRA] (JBIDE-26227) EAP compatibility test sometimes fails on runtime search dialog
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26227?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-26227:
---------------------------------------
[~jkopriva] created a PR with the proposed fix here: https://github.com/jbosstools/jbosstools-server/pull/583
Thanks!
I cherry-picked the commit on top of the 4.6.0.Final tag. [~dcihak], could you please change the jenkins job to use that and try it out?
https://github.com/mmalina/jbosstools-server/tree/JBIDE-26227-maint
The only difference compared to the PR which is on top of master is one commit that moved the repo to new parent pom.
> EAP compatibility test sometimes fails on runtime search dialog
> ---------------------------------------------------------------
>
> Key: JBIDE-26227
> URL: https://issues.jboss.org/browse/JBIDE-26227
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: integration-tests, server
> Affects Versions: 4.9.0.AM1
> Reporter: Martin Malina
> Assignee: Josef Kopriva
> Fix For: 4.9.0.AM1
>
> Attachments: RuntimeTest.png
>
>
> dcihak of the EAP QE team has reported that the compatibility test they've been using started failing sometimes:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> Build 18 failed on openjdk and build 19 failed on oracle jdk. So it only happens sometimes.
> Here's an example of the failure:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> {code}
> Error Message
> No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> Stacktrace
> org.eclipse.reddeer.core.exception.CoreLayerException: No matching widget found with Matcher matching when all matchers match: [Matcher matching widget with the same type as or type extending class org.eclipse.swt.widgets.Label, Matcher matching widget which text matches: "Searching runtimes is finished."]
> class org.eclipse.swt.widgets.Shell[shell: 'Searching for runtimes...'] with text 'Searching for runtimes...'
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with text ''
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Tree[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1'
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label 'Searching /home/hudson/hudson_workspace/works...bot.itests/target/requirements/jboss-eap-7.1' with text ''
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Hide already created runtimes'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Add runtime path to list of paths searchable on startup'
> class org.eclipse.jface.dialogs.ProgressIndicator[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.ProgressBar[shell: 'Searching for runtimes...']
> class org.eclipse.swt.widgets.Label[shell: 'Searching for runtimes...'] with label '' with text ''
> class org.eclipse.swt.widgets.Composite[shell: 'Searching for runtimes...'] with label ''
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'OK'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Select All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Deselect All'
> class org.eclipse.swt.widgets.Button[shell: 'Searching for runtimes...'] with label '' with text 'Cancel'
> at org.eclipse.reddeer.common.wait.WaitUntil.throwWaitTimeOutException(WaitUntil.java:122)
> at org.eclipse.reddeer.common.wait.AbstractWait.timeoutExceeded(AbstractWait.java:207)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:151)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:109)
> at org.eclipse.reddeer.core.lookup.WidgetLookup.activeWidget(WidgetLookup.java:87)
> at org.eclipse.reddeer.swt.widgets.AbstractWidget.<init>(AbstractWidget.java:76)
> at org.eclipse.reddeer.swt.widgets.AbstractControl.<init>(AbstractControl.java:38)
> at org.eclipse.reddeer.swt.impl.label.AbstractLabel.<init>(AbstractLabel.java:24)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:102)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:62)
> at org.eclipse.reddeer.swt.impl.label.DefaultLabel.<init>(DefaultLabel.java:52)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage$RuntimeSearchedFinished.test(RuntimeDetectionPreferencePage.java:70)
> at org.eclipse.reddeer.common.wait.WaitUntil.stopWaiting(WaitUntil.java:103)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:147)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:132)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:97)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:64)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:50)
> at org.jboss.tools.as.ui.bot.itests.reddeer.ui.RuntimeDetectionPreferencePage.search(RuntimeDetectionPreferencePage.java:61)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.RuntimeDetectionUtility.addPath(RuntimeDetectionUtility.java:37)
> at org.jboss.tools.as.ui.bot.itests.reddeer.util.DetectRuntimeTemplate.detectRuntime(DetectRuntimeTemplate.java:37)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.checkCountAndGetServerName(SingleServerRuntimeTest.java:60)
> at org.jboss.tools.as.ui.bot.itests.server.SingleServerRuntimeTest.detect(SingleServerRuntimeTest.java:56)
> {code}
> And a screenshot:
> https://eap-cp-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/EAP7/view/...
> !RuntimeTest.png!
> One possible explanation is that sometimes it takes longer for the runtime to be found and that makes the test fail. If that's true, then some added wait may fix the problem.
> Keep in mind that we'll need this fix also for the photon stream (JBT 4.6.0), so I guess we'll need to bug Rob to create a maintenance branch from the 4.6.0.Final tag for this.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 8 months