Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho build fails on jenkins

Hi,

To get more insights on this issue you can:
* Run Maven with the "-X" flag for debug output
* have a look at <testPlugin>/target/work/configuration/<timestamp>.log for Eclipse launching configuration error
* have a look at <testPlugin>/target/work/data/.metadata/.log for Eclipse runtime errors
The cause of your problem should appear at least in one of these additional sources.

HTH

On 08/29/2012 03:27 PM, Vanhoutte Mattias wrote:

Hi,

 

I am trying to run my Tycho build on a local Jenkins server.

 

Project structure:

+ parent plugin

++++plugina

++++pluginb

++++testplugina

++++testpluginb (maven.com.axmor.osgiexample.tests2)

If I run “clean integration-test” with Maven (3.0.4) or in Eclipse (with m2e), everything works fine. Now I added the parent pom.xml-file to a Jenkins Job, but it fails with this message:

 

message : Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.15.0:test (default-test) on project maven.com.axmor.osgiexample.tests2: An unexpected error occured (return code 14). See log for details.

cause : An unexpected error occured (return code 14). See log for details.

Stack trace :

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.15.0:test (default-test) on project maven.com.axmor.osgiexample.tests2: An unexpected error occured (return code 14). See log for details.

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

                at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)

                at sun.reflect.NativeMethodAccessompl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:616)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)

                at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)

                at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)

                at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)

                at hudson.remoting.UserRequest.perform(UserRequest.java:118)

                at hudson.remoting.UserRequest.perform(UserRequest.java:48)

                at hudson.remoting.Request$2.run(Request.java:326)

                at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

                at java.util.concurrent.FutureTask.run(FutureTask.java:166)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

                at java.lang.Thread.run(Thread.java:679)

Caused by: org.apache.maven.plugin.MojoFailureException: An unexpected error occured (return code 14). See log for details.

                at org.eclipse.tycho.surefire.TestMojo.runTest(TestMojo.java:610)

                at org.eclipse.tycho.surefire.TestMojo.execute(TestMojo.java:387)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)

                ... 27 more

channel stopped

Finished: FAILURE

 

Does anyone can help me with this problem?

 

kind regards,

Mattias

 



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top