Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] Java exists on test run

Who was admin rights to edit jenkins jobs? Can somebody please add a post-build action to archive log files so I can at least look at
workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/work/configuration/1449088931139.log


On Wed, Dec 2, 2015 at 4:25 PM, Alena Laskavaia <elaskavaia.cdt@xxxxxxxxx> wrote:
I have a weird issue. I am trying to add more junit test for the plugin I created.
For that I need to use mockito. But now when it runs tests it crashes (or exists with code 13)

The error in the log

[INFO] Command line:
	[/opt/public/common/jdk1.8.0_51.x64/jre/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -javaagent:/home/hudson/genie.linuxtools/.hudson/jobs/linuxtools-gerrit/workspace/.maven/repo/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/../../target/jacoco.exec,append=true,includes=org.eclipse.linuxtools.*, -Dosgi.clean=true, -jar, /jobs/genie.linuxtools/linuxtools-gerrit/workspace/.maven/repo/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.100.v20150511-1540/org.eclipse.equinox.launcher-1.3.100.v20150511-1540.jar, -data, /jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/work/data, -install, /jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/work, -configuration, /jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, /jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/surefire.properties, -product, org.eclipse.platform.ide]

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
gogo: InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at org.apache.felix.gogo.shell.Activator.run(Activator.java:72)
	at java.lang.Thread.run(Thread.java:745)
An error has occurred. See the log file
/jobs/genie.linuxtools/linuxtools-gerrit/workspace/valgrind/org.eclipse.linuxtools.valgrind.core.tests/target/work/configuration/1449088931139.log.
[INFO] ------------------------------------------------------------------------
...
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.24.0:test (default-test) on project org.eclipse.linuxtools.valgrind.core.tests: An unexpected error occured while launching the test runtime (return code 13). See log for details. -> [Help 1]


I cannot see the log because it is not archived and I cannot looked at workspace
on jenkins because I don't have permission. Any ideas why it is exiting?




Back to the top