[JBoss JIRA] (JBIDE-23816) Cannot run server itest module separately
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23816?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-23816:
------------------------------------
If you are OK running the tests against the latest devstudio CI build, you could use {code}-Pdownload-devstudio{code} to enable this repo for resolving p2 artifacts:
{code}<devstudioRepository>https://devstudio.redhat.com/10.0/snapshots/updates/</devstudioRepository>{code} - https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml... and https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml...
Or, you could use {code}-Pdownload-devstudio -DdevstudioRepository=http://download.jboss.org/jbosstools/neon/snapshots/updates/{code} to use the latest jbosstools repo instead.
If you want to run against locally built stuff, then your suggestion, "The simplest solution is to first build the whole repo and install it in the local maven repo" would work here.
> Cannot run server itest module separately
> -----------------------------------------
>
> Key: JBIDE-23816
> URL: https://issues.jboss.org/browse/JBIDE-23816
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, server
> Affects Versions: 4.4.3.AM2
> Reporter: Martin Malina
> Assignee: Nick Boldt
> Fix For: 4.4.3.Final
>
>
> Now that the server tools bot tests have been moved from jbosstools-integration-tests github repo to jbosstools-server, I would like to find a way to run a specific test in the simplest way possible.
> The test bundle I want to run is this:
> as/itests/org.jboss.tools.as.ui.bot.itests [1]
> This is the kind of command that I would expect to work from the root directory of the git repo:
> {code}$ mvn clean verify -pl as/itests/org.jboss.tools.as.ui.bot.itests -am -Djbosstools.test.jboss-eap-7.x.md5=4973998216a8eb5b2f5a6fc00d84705c -Dswtbot.test.skip=false -Djbosstools.test.jboss-eap-7.x.home='${requirementsDirectory}/jboss-eap-7.1' -DskipRequirements=false -Djbosstools.test.jboss-eap-7.x.url=$EAP_URL -Dtest.profile=eap7x-compatibility -Dusage_reporting_enabled=false -U -DskipTests=false -PITests{code}
> This will fail:
> {code}
> [ERROR] Cannot resolve project dependencies:
> [ERROR] Software being installed: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier
> [ERROR] Missing requirement: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier requires 'bundle org.jboss.ide.eclipse.as.reddeer
> {code}
> I was under the impression that using "-pl -am" with maven will ensure that all the deps from the maven project are added to the build, but it seems this does not work for dependencies defined in Manifest.MF file of the bundle?
> What options do we have here? The simplest solution is to first build the whole repo and install it in the local maven repo, but I'd like to avoid that. Another option would be to add the whole jbosstools repo to the ITests profile in parent pom, but I'm guessing that not everybody would like that.
> Is there some other way?
> [1] https://github.com/jbosstools/jbosstools-server/tree/master/as/itests/org...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBDS-4259) Could not resolve module: org.eclipse.recommenders
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4259?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4259:
----------------------------------
I removed guava because it appeared to not be needed anymore. But it does, so I've added it back.
https://github.com/jbdevstudio/jbdevstudio-product/commit/5f52ee8d03d2d78...
> Could not resolve module: org.eclipse.recommenders
> --------------------------------------------------
>
> Key: JBDS-4259
> URL: https://issues.jboss.org/browse/JBDS-4259
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, rpm
> Affects Versions: 10.3.0.GA
> Environment: RHEL7, RHSCL 2.4 alpha 1.0
> Reporter: Lukáš Valach
> Assignee: Nick Boldt
> Fix For: 10.3.0.GA
>
> Attachments: rh-eclipse46-devstudio10.3.log.20170131-1103.txt
>
>
> I got errors during start of Devstudio 10.3-0.20170131.0115.el7. There are errors like this:
> {code}
> org.osgi.framework.BundleException: Could not resolve module: org.eclipse.recommenders.apidocs.rcp [1085]
> Unresolved requirement: Import-Package: com.google.common.annotations; version="[15.0.0,16.0.0)"
> {code}
> Log: [^rh-eclipse46-devstudio10.3.log.20170131-1103.txt]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBIDE-23816) Cannot run server itest module separately
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23816?page=com.atlassian.jira.plugi... ]
Martin Malina updated JBIDE-23816:
----------------------------------
Fix Version/s: 4.4.3.Final
> Cannot run server itest module separately
> -----------------------------------------
>
> Key: JBIDE-23816
> URL: https://issues.jboss.org/browse/JBIDE-23816
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, server
> Affects Versions: 4.4.3.AM2
> Reporter: Martin Malina
> Assignee: Martin Malina
> Fix For: 4.4.3.Final
>
>
> Now that the server tools bot tests have been moved from jbosstools-integration-tests github repo to jbosstools-server, I would like to find a way to run a specific test in the simplest way possible.
> The test bundle I want to run is this:
> as/itests/org.jboss.tools.as.ui.bot.itests [1]
> This is the kind of command that I would expect to work from the root directory of the git repo:
> {code}$ mvn clean verify -pl as/itests/org.jboss.tools.as.ui.bot.itests -am -Djbosstools.test.jboss-eap-7.x.md5=4973998216a8eb5b2f5a6fc00d84705c -Dswtbot.test.skip=false -Djbosstools.test.jboss-eap-7.x.home='${requirementsDirectory}/jboss-eap-7.1' -DskipRequirements=false -Djbosstools.test.jboss-eap-7.x.url=$EAP_URL -Dtest.profile=eap7x-compatibility -Dusage_reporting_enabled=false -U -DskipTests=false -PITests{code}
> This will fail:
> {code}
> [ERROR] Cannot resolve project dependencies:
> [ERROR] Software being installed: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier
> [ERROR] Missing requirement: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier requires 'bundle org.jboss.ide.eclipse.as.reddeer
> {code}
> I was under the impression that using "-pl -am" with maven will ensure that all the deps from the maven project are added to the build, but it seems this does not work for dependencies defined in Manifest.MF file of the bundle?
> What options do we have here? The simplest solution is to first build the whole repo and install it in the local maven repo, but I'd like to avoid that. Another option would be to add the whole jbosstools repo to the ITests profile in parent pom, but I'm guessing that not everybody would like that.
> Is there some other way?
> [1] https://github.com/jbosstools/jbosstools-server/tree/master/as/itests/org...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBIDE-23816) Cannot run server itest module separately
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23816?page=com.atlassian.jira.plugi... ]
Martin Malina reassigned JBIDE-23816:
-------------------------------------
Assignee: Nick Boldt (was: Martin Malina)
[~nickboldt], any ideas?
> Cannot run server itest module separately
> -----------------------------------------
>
> Key: JBIDE-23816
> URL: https://issues.jboss.org/browse/JBIDE-23816
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, server
> Affects Versions: 4.4.3.AM2
> Reporter: Martin Malina
> Assignee: Nick Boldt
> Fix For: 4.4.3.Final
>
>
> Now that the server tools bot tests have been moved from jbosstools-integration-tests github repo to jbosstools-server, I would like to find a way to run a specific test in the simplest way possible.
> The test bundle I want to run is this:
> as/itests/org.jboss.tools.as.ui.bot.itests [1]
> This is the kind of command that I would expect to work from the root directory of the git repo:
> {code}$ mvn clean verify -pl as/itests/org.jboss.tools.as.ui.bot.itests -am -Djbosstools.test.jboss-eap-7.x.md5=4973998216a8eb5b2f5a6fc00d84705c -Dswtbot.test.skip=false -Djbosstools.test.jboss-eap-7.x.home='${requirementsDirectory}/jboss-eap-7.1' -DskipRequirements=false -Djbosstools.test.jboss-eap-7.x.url=$EAP_URL -Dtest.profile=eap7x-compatibility -Dusage_reporting_enabled=false -U -DskipTests=false -PITests{code}
> This will fail:
> {code}
> [ERROR] Cannot resolve project dependencies:
> [ERROR] Software being installed: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier
> [ERROR] Missing requirement: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier requires 'bundle org.jboss.ide.eclipse.as.reddeer
> {code}
> I was under the impression that using "-pl -am" with maven will ensure that all the deps from the maven project are added to the build, but it seems this does not work for dependencies defined in Manifest.MF file of the bundle?
> What options do we have here? The simplest solution is to first build the whole repo and install it in the local maven repo, but I'd like to avoid that. Another option would be to add the whole jbosstools repo to the ITests profile in parent pom, but I'm guessing that not everybody would like that.
> Is there some other way?
> [1] https://github.com/jbosstools/jbosstools-server/tree/master/as/itests/org...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBIDE-23816) Cannot run server itest module separately
by Martin Malina (JIRA)
Martin Malina created JBIDE-23816:
-------------------------------------
Summary: Cannot run server itest module separately
Key: JBIDE-23816
URL: https://issues.jboss.org/browse/JBIDE-23816
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build, server
Affects Versions: 4.4.3.AM2
Reporter: Martin Malina
Assignee: Martin Malina
Now that the server tools bot tests have been moved from jbosstools-integration-tests github repo to jbosstools-server, I would like to find a way to run a specific test in the simplest way possible.
The test bundle I want to run is this:
as/itests/org.jboss.tools.as.ui.bot.itests [1]
This is the kind of command that I would expect to work from the root directory of the git repo:
{code}$ mvn clean verify -pl as/itests/org.jboss.tools.as.ui.bot.itests -am -Djbosstools.test.jboss-eap-7.x.md5=4973998216a8eb5b2f5a6fc00d84705c -Dswtbot.test.skip=false -Djbosstools.test.jboss-eap-7.x.home='${requirementsDirectory}/jboss-eap-7.1' -DskipRequirements=false -Djbosstools.test.jboss-eap-7.x.url=$EAP_URL -Dtest.profile=eap7x-compatibility -Dusage_reporting_enabled=false -U -DskipTests=false -PITests{code}
This will fail:
{code}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier
[ERROR] Missing requirement: org.jboss.tools.as.ui.bot.itests 3.2.3.qualifier requires 'bundle org.jboss.ide.eclipse.as.reddeer
{code}
I was under the impression that using "-pl -am" with maven will ensure that all the deps from the maven project are added to the build, but it seems this does not work for dependencies defined in Manifest.MF file of the bundle?
What options do we have here? The simplest solution is to first build the whole repo and install it in the local maven repo, but I'd like to avoid that. Another option would be to add the whole jbosstools repo to the ITests profile in parent pom, but I'm guessing that not everybody would like that.
Is there some other way?
[1] https://github.com/jbosstools/jbosstools-server/tree/master/as/itests/org...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBIDE-23733) Merge .smoke and .nightly integration jobs into a single job and run them weekly
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23733?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-23733:
------------------------------------
Two questions re: DEVSTUDIO_VERSION variable.
a) Do you want the x.y.z version, qualified version, or fully-qualified version? 10.3.0, 10.3.0.GA, or 10.3.0.GA-20170221-1419-B79 ?
b) where in a job such as https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud... are you actually USING this variable? Is it to replace the version in the URL in INSTALLER_URL, eg., http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi... ?
c) depending on your answer for (a), can I suggest a different variable name? I've already been using variables for the devstudio version in my staging/promotion scripts/jobs and in other places, and I'd like to be consistent w/ what's used there and in the parent pom, too.
d) Why are you using a 10.2.0 build for these smoke tests? Why not use the 10.3.0 CI builds? here's the latest: http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi...
> Merge .smoke and .nightly integration jobs into a single job and run them weekly
> --------------------------------------------------------------------------------
>
> Key: JBIDE-23733
> URL: https://issues.jboss.org/browse/JBIDE-23733
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, integration-tests
> Affects Versions: 4.4.3.AM1
> Reporter: Nick Boldt
> Assignee: Rastislav Wagner
> Fix For: 4.4.3.Final
>
>
> Purpose:
> a) easier maintenance of jobs / tests
> b) run fewer nightly jobs so that we don't block slaves from being available for other builds / tests
> c) more frequent full integration runs (rather than once per sprint, once per week)
> Tests to merge are in this view:
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (JBIDE-23733) Merge .smoke and .nightly integration jobs into a single job and run them weekly
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23733?page=com.atlassian.jira.plugi... ]
Nick Boldt edited comment on JBIDE-23733 at 1/31/17 10:24 AM:
--------------------------------------------------------------
Four questions re: DEVSTUDIO_VERSION variable.
a) Do you want the x.y.z version, qualified version, or fully-qualified version? 10.3.0, 10.3.0.GA, or 10.3.0.GA-20170221-1419-B79 ?
b) where in a job such as https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud... are you actually USING this variable? Is it to replace the version in the URL in INSTALLER_URL, eg., http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi... ?
c) depending on your answer for (a), can I suggest a different variable name? I've already been using variables for the devstudio version in my staging/promotion scripts/jobs and in other places, and I'd like to be consistent w/ what's used there and in the parent pom, too.
d) Why are you using a 10.2.0 build for these smoke tests? Why not use the 10.3.0 CI builds? here's the latest: http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi...
was (Author: nickboldt):
Two questions re: DEVSTUDIO_VERSION variable.
a) Do you want the x.y.z version, qualified version, or fully-qualified version? 10.3.0, 10.3.0.GA, or 10.3.0.GA-20170221-1419-B79 ?
b) where in a job such as https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud... are you actually USING this variable? Is it to replace the version in the URL in INSTALLER_URL, eg., http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi... ?
c) depending on your answer for (a), can I suggest a different variable name? I've already been using variables for the devstudio version in my staging/promotion scripts/jobs and in other places, and I'd like to be consistent w/ what's used there and in the parent pom, too.
d) Why are you using a 10.2.0 build for these smoke tests? Why not use the 10.3.0 CI builds? here's the latest: http://www.qa.jboss.com/binaries/devstudio/10.0/snapshots/builds/devstudi...
> Merge .smoke and .nightly integration jobs into a single job and run them weekly
> --------------------------------------------------------------------------------
>
> Key: JBIDE-23733
> URL: https://issues.jboss.org/browse/JBIDE-23733
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, integration-tests
> Affects Versions: 4.4.3.AM1
> Reporter: Nick Boldt
> Assignee: Rastislav Wagner
> Fix For: 4.4.3.Final
>
>
> Purpose:
> a) easier maintenance of jobs / tests
> b) run fewer nightly jobs so that we don't block slaves from being available for other builds / tests
> c) more frequent full integration runs (rather than once per sprint, once per week)
> Tests to merge are in this view:
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months