[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Unable to launch test runtime with tycho-surefire 2.1
|
If it is an UI test and only fails on ci you should probably make sure
that a suitable Xvnc or other X11 emulation is in place.
Am 22.10.20 um 17:01 schrieb Nitin Dahyabhai:
No, I can not, which is really strange. It starts and appears to stop
with a return code 127, as there is a .log created that basically only
has the startup entry and keybinding messages that I want to address
once the builds are green. The work space of the build is not visible
unless you can log in, but this is the remainder of the build output for
this message:
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-surefire-plugin:2.1.0-SNAPSHOT:test
(default-test) on project org.eclipse.wst.jsdt.debug.core.tests: An
unexpected error occurred while launching the test runtime (process
returned error code 127). The process logfile
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data/.metadata/.log
might contain further details. Command-line used to launch the
sub-process was /shared/common/java/oracle/jdk-11_x64-latest/bin/java
-Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64
-Dorg.osgi.framework.bundle.parent=ext -Dosgi.clean=true -jar
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.0.v20200915-1508/org.eclipse.equinox.launcher-1.6.0.v20200915-1508.jar
-debug -consolelog -data
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data
-install
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work
-configuration
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/configuration
-application org.eclipse.tycho.surefire.osgibooter.uitest
-testproperties
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/surefire.properties
in working directory
/jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests
-> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.1.0-SNAPSHOT:test (default-test) on project org.eclipse.wst.jsdt.debug.core.tests: An unexpected error occurred while launching the test runtime (process returned error code 127). The process logfile /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data/.metadata/.log might contain further details. Command-line used to launch the sub-process was /shared/common/java/oracle/jdk-11_x64-latest/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -Dorg.osgi.framework.bundle.parent=ext -Dosgi.clean=true -jar /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.0.v20200915-1508/org.eclipse.equinox.launcher-1.6.0.v20200915-1508.jar -debug -consolelog -data /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data -install /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work -configuration /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/surefire.properties in working directory /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: An unexpected error occurred while launching the test runtime (process returned error code 127). The process logfile /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data/.metadata/.log might contain further details. Command-line used to launch the sub-process was /shared/common/java/oracle/jdk-11_x64-latest/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -Dorg.osgi.framework.bundle.parent=ext -Dosgi.clean=true -jar /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.0.v20200915-1508/org.eclipse.equinox.launcher-1.6.0.v20200915-1508.jar -debug -consolelog -data /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/data -install /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work -configuration /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests/target/surefire.properties in working directory /jobs/genie.webtools/webtools-jsdt-gerrit_master/workspace/tests/org.eclipse.wst.jsdt.debug.core.tests
at org.eclipse.tycho.surefire.TestMojo.runTest (TestMojo.java:1093)
at org.eclipse.tycho.surefire.TestMojo.execute (TestMojo.java:711)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
On Thu, Oct 22, 2020 at 8:14 AM Mickael Istria <mistria@xxxxxxxxxx
<mailto:mistria@xxxxxxxxxx>> wrote:
Hi,
Can you reproduce this failure running the same build command from
the same commit locally?
Does the test runtime start then stop with error 127 or does it
plainly fail to start? Are there some more log generated in the
target folder?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user
<https://www.eclipse.org/mailman/listinfo/tycho-user>
--
Regards,
Nitin Dahyabhai
Eclipse WTP PMC
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user