[jbosstools-issues] [JBoss JIRA] (JBDS-4077) Cannot run integration tests against Devstudio with latest target platform

Rastislav Wagner (JIRA) issues at jboss.org
Tue Nov 1 09:00:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13314844#comment-13314844 ] 

Rastislav Wagner commented on JBDS-4077:
----------------------------------------

[~nickboldt] We dont install on top of some eclipse - we use devstudio jar installer



I tried running mvn build with -X switch and this is org.eclipse.osgi reference from output

{code}
06:08:29 [DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:0.26.0:
06:08:29 [DEBUG]    org.eclipse.tycho:tycho-core:jar:0.26.0:compile
06:08:29 [DEBUG]       org.apache.maven:maven-core:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-model:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-settings:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-settings-builder:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-artifact:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-model-builder:jar:3.0:compile
06:08:29 [DEBUG]          org.apache.maven:maven-aether-provider:jar:3.0:runtime
06:08:29 [DEBUG]          org.sonatype.aether:aether-impl:jar:1.7:compile
06:08:29 [DEBUG]             org.sonatype.aether:aether-spi:jar:1.7:compile
06:08:29 [DEBUG]          org.sonatype.aether:aether-api:jar:1.7:compile
06:08:29 [DEBUG]          org.sonatype.aether:aether-util:jar:1.7:compile
06:08:29 [DEBUG]          org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
06:08:29 [DEBUG]             org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
06:08:29 [DEBUG]                org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
06:08:29 [DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
06:08:29 [DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
06:08:29 [DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
06:08:29 [DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.7:compile
06:08:29 [DEBUG]       org.apache.maven:maven-plugin-api:jar:3.0:compile
06:08:29 [DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.0.7:compile
06:08:29 [DEBUG]       org.codehaus.plexus:plexus-archiver:jar:2.9.1:compile
06:08:29 [DEBUG]          org.codehaus.plexus:plexus-io:jar:2.4.1:compile
06:08:29 [DEBUG]             commons-io:commons-io:jar:2.2:compile
06:08:29 [DEBUG]          org.apache.commons:commons-compress:jar:1.9:compile
06:08:29 [DEBUG]       org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.0.200.v20160504-1419:compile
06:08:29 [DEBUG]       org.eclipse.tycho:sisu-equinox-embedder:jar:0.26.0:compile
06:08:29 [DEBUG]          org.eclipse.tycho:org.eclipse.osgi:jar:3.11.0.v20160603-1336:compile
06:08:29 [DEBUG]          org.eclipse.tycho:sisu-equinox-api:jar:0.26.0:compile
06:08:29 [DEBUG]       org.eclipse.tycho:tycho-metadata-model:jar:0.26.0:compile
06:08:29 [DEBUG]          de.pdark:decentxml:jar:1.3:compile
06:08:29 [DEBUG]       org.eclipse.tycho:tycho-embedder-api:jar:0.26.0:compile
06:08:29 [DEBUG]          org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:0.26.0:compile
06:08:29 [DEBUG]       org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:0.26.0:compile
06:08:29 [DEBUG]    org.eclipse.tycho:tycho-p2-facade:jar:0.26.0:compile
06:08:29 [DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
06:08:29 [DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:0.26.0:compile
06:08:29 [DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:0.26.0:compile
06:08:29 [DEBUG] Created new class realm maven.api
{code}

Its referencing org.eclipse.tycho:org.eclipse.osgi:jar:3.11.0.v20160603-1336:compile - the old version. You can also check it here https://github.com/eclipse/tycho/blob/master/pom.xml#L91

And i saw that it is downloaded from http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.60.2.AM2-SNAPSHOT/REPO/plugins/  which is defined in parent pom.xml as TARGET_PLATFORM_VERSION_MIN https://github.com/jbosstools/jbosstools-build/blob/master/parent/pom.xml#L132

The next thing I tired was to run maven build with -Dtpc.version=${TARGET_PLATFORM_VERSION_MAX} and it worked! I get the correct devstudio and tests are working. 
Im not sure if this is tycho's fault or default  target platform version should be set MAX or is it something else ? 

> Cannot run integration tests against Devstudio with latest target platform
> --------------------------------------------------------------------------
>
>                 Key: JBDS-4077
>                 URL: https://issues.jboss.org/browse/JBDS-4077
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, target-platform
>    Affects Versions: 10.2.0.AM1
>            Reporter: Jan Richter
>            Assignee: Rastislav Wagner
>            Priority: Blocker
>             Fix For: 10.2.0.AM3
>
>         Attachments: .log, jbosstools-integration-tests.log.txt.zip, no_devstudio.jpg, no_devstudio.png, org.jboss.tools.deltaspike.ui.bot.test.DeltaspikeAllBotTests.txt, org.jboss.tools.deltaspike.ui.bot.test.log.txt, org.jboss.tools.deltaspike.ui.bot.test.log_0.txt, Screenshot_2016-10-05_10-00-03.png, Screenshot_2016-10-05_10-00-21.png, Screenshot_2016-10-05_10-00-28.png, Screenshot_2016-10-05_10-00-57.png, Screenshot_2016-10-05_10-01-14.png, Screenshot_2016-10-05_10-01-32.png, shell.png, TEST-org.jboss.tools.deltaspike.ui.bot.test.DeltaspikeAllBotTests.xml, tpfail.png
>
>
> Integration tests run from maven against Devstudio, which was built using the latest target platform (4.61.0.AM1-SNAPSHOT), cannot properly launch all the plugins and fail afterwards.
> A full devstudio should open when the tests are run. Instead it looks like this:
> !tpfail.png|thumbnail!



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jbosstools-issues mailing list