[jbosstools-issues] [JBoss JIRA] (JBIDE-25738) arquillian build with tycho 1.1.0 fails on test package

Josef Kopriva (JIRA) issues at jboss.org
Tue Feb 20 01:20:00 EST 2018


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

Josef Kopriva updated JBIDE-25738:
----------------------------------
    Summary: arquillian build with tycho 1.1.0 fails on test package  (was: arquillian build with tycho 1.1.0 fails)


> arquillian build with tycho 1.1.0 fails on test package
> -------------------------------------------------------
>
>                 Key: JBIDE-25738
>                 URL: https://issues.jboss.org/browse/JBIDE-25738
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: arquillian, build
>    Affects Versions: 4.5.3.AM1
>            Reporter: Josef Kopriva
>            Assignee: Nick Boldt
>
> Running command "mvn clean install -DtychoVersion=1.1.0" on master branch of repository jbosstools-arquillian fails:
> {code:java}
> [INFO] --- tycho-surefire-plugin:1.1.0:test (default-test) @ org.jboss.tools.arquillian.test ---
> [INFO] Expected eclipse log file: /home/jkopriva/git/jbosstools-arquillian/tests/org.jboss.tools.arquillian.test/target/work/data/.metadata/.log
> [INFO] Command line:
>         [/usr/lib/jvm/java-9-openjdk-9.0.4.11-4.fc27.x86_64/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -javaagent:/home/jkopriva/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/jkopriva/git/jbosstools-arquillian/target/jacoco.exec,append=true,includes=org.jboss.tools.*, -Xms512m, -Xmx1024m, -XX:MetaspaceSize=256m, -Dusage_reporting_enabled=false, -Dorg.jboss.tools.tests.skipPrivateRequirements=true, -Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true, -Dosgi.clean=true, -jar, /home/jkopriva/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.4.0.v20161219-1356/org.eclipse.equinox.launcher-1.4.0.v20161219-1356.jar, -data, /home/jkopriva/git/jbosstools-arquillian/tests/org.jboss.tools.arquillian.test/target/work/data, -install, /home/jkopriva/git/jbosstools-arquillian/tests/org.jboss.tools.arquillian.test/target/work, -configuration, /home/jkopriva/git/jbosstools-arquillian/tests/org.jboss.tools.arquillian.test/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.uitest, -testproperties, /home/jkopriva/git/jbosstools-arquillian/tests/org.jboss.tools.arquillian.test/target/surefire.properties]
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>         at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:500)
>         at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:512)
> Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
>         at org.jacoco.agent.rt.internal_932a715.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:139)
>         at org.jacoco.agent.rt.internal_932a715.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:100)
>         at org.jacoco.agent.rt.internal_932a715.PreMain.createRuntime(PreMain.java:55)
>         at org.jacoco.agent.rt.internal_932a715.PreMain.premain(PreMain.java:47)
>         ... 6 more
> Caused by: java.lang.NoSuchFieldException: $jacocoAccess
>         at java.base/java.lang.Class.getField(Class.java:1956)
>         at org.jacoco.agent.rt.internal_932a715.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:137)
>         ... 9 more
> FATAL ERROR in native method: processing of -javaagent failed
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] jbosstools-arquillian .............................. SUCCESS [  6.441 s]
> [INFO] arquillian.features ................................ SUCCESS [  0.034 s]
> [INFO] arquillian.plugins ................................. SUCCESS [  0.023 s]
> [INFO] org.jboss.tools.arquillian.core .................... SUCCESS [ 29.414 s]
> [INFO] org.jboss.tools.arquillian.ui ...................... SUCCESS [  6.807 s]
> [INFO] org.jboss.tools.arquillian.maven.configurator ...... SUCCESS [  3.055 s]
> [INFO] org.jboss.tools.arquillian.feature ................. SUCCESS [  2.116 s]
> [INFO] arquillian.tests ................................... SUCCESS [  0.024 s]
> [INFO] org.jboss.tools.arquillian.test .................... FAILURE [  3.627 s]
> [INFO] org.jboss.tools.arquillian.test.feature ............ SKIPPED
> [INFO] arquillian.site .................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:26 min
> [INFO] Finished at: 2018-02-20T07:13:56+01:00
> [INFO] Final Memory: 112M/374M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.1.0:test (default-test) on project org.jboss.tools.arquillian.test: An unexpected error occured while launching the test runtime (return code 134). See log for details. -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :org.jboss.tools.arquillian.test
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list