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

Hi Mattias,

If you look at the workspace, do you see a log file? Does that log file contain any more information than that stack trace? Usually the error messages on the console give the full path to the log file.

Also, have you tried running it with the -X option to get more debug output?

Thanks,
-Dave

On Wed, Aug 29, 2012 at 9:27 AM, Vanhoutte Mattias <M.Vanhoutte@xxxxxxxxxxx> 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