[jbosstools-issues] [JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm

Lukáš Valach (JIRA) issues at jboss.org
Thu Mar 9 06:06:00 EST 2017


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

Lukáš Valach commented on JBIDE-23489:
--------------------------------------

Nick, there is the log you are asking for:  [^FreeMarket_rhscl_enabled.log] 

Log snippet:

{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}

By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest. [^FreeMarket_rhscl_enabled.log] 

{code}
cd path/to/jbosstools-integration-tests

git reset --hard

mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}

> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm 
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-23489
>                 URL: https://issues.jboss.org/browse/JBIDE-23489
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.4.2.AM3
>            Reporter: Pavol Srna
>             Fix For: 4.4.x
>
>         Attachments: FreeMarket_rhscl_enabled.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list