See
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
Changes:
[akazakov] initial usage howto
------------------------------------------
[...truncated 9031 lines...]
at
org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:86)
at
org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:35)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3746)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3394)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:146)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:565)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
at
org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
at
org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:114)
at
org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
at sun.reflect.NativeMethodAccessorImpl.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:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
initializing for detector org.jboss.tools.runtime.handlers.TestHandler1
__ Adding s: Handler1 Folder a
__ Adding s: Handler1 Folder b
__ Adding s: Handler1 Folder c
__ getting inited: [Handler1 Folder a, Handler1 Folder b, Handler1 Folder c]
__ Adding s: Handler1 Folder folderA
__ Adding s: Handler1 Folder folderB
__ getting inited: [Handler1 Folder folderA, Handler1 Folder folderB]
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.635 sec
Results :
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
[INFO] All tests passed!
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building usage.tests 1.2.100-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.4.201312101107:prepare-agent (default) @ tests ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[INFO]
[INFO] --- tycho-source-plugin:0.19.0:plugin-source (plugin-source) @ tests ---
[INFO]
[INFO] --- repository-utils:0.19.0-SNAPSHOT:generate-repository-facade (generate-facade) @
tests ---
[INFO]
[INFO] --- tycho-pack200a-plugin:0.19.0:normalize (pack200-normalize) @ tests ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (jarsign) @ tests ---
[INFO] skipping execute as per configuraion
[INFO]
[INFO] --- tycho-pack200b-plugin:0.19.0:pack (pack200-pack) @ tests ---
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (attached-p2-metadata) @ tests ---
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (p2-metadata) @ tests ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.jboss.tools.usage.test 1.2.100-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:build-qualifier (default-build-qualifier) @
org.jboss.tools.usage.test ---
[INFO] The project's OSGi version is 1.2.100.Alpha2-v20140131-0635-B423
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-id (default-validate-id) @
org.jboss.tools.usage.test ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:validate-version (default-validate-version) @
org.jboss.tools.usage.test ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.4.201312101107:prepare-agent (default) @
org.jboss.tools.usage.test ---
[INFO] tycho.testArgLine set to
-javaagent:<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_master/ws/.repository/org/jacoco/org.jacoco.agent/0.6.4.201312101107/org.jacoco.agent-0.6.4.201312101107-runtime.jar=destfile=/qa/services/hudson/hudson_workspace/workspace/jbosstools-base_master/sources/usage/target/jacoco.exec,append=true,includes=org.jboss.tools.usage*>
[INFO]
[INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @
org.jboss.tools.usage.test ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- tycho-compiler-plugin:0.19.0:compile (default-compile) @
org.jboss.tools.usage.test ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.1:testResources (default-testResources) @
org.jboss.tools.usage.test ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- tycho-source-plugin:0.19.0:plugin-source (plugin-source) @
org.jboss.tools.usage.test ---
[INFO] Building jar:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- tycho-packaging-plugin:0.19.0:package-plugin (default-package-plugin) @
org.jboss.tools.usage.test ---
[INFO] Building jar:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata-default (default-p2-metadata-default) @
org.jboss.tools.usage.test ---
[INFO]
[INFO] --- repository-utils:0.19.0-SNAPSHOT:generate-repository-facade (generate-facade) @
org.jboss.tools.usage.test ---
[INFO]
[INFO] --- tycho-pack200a-plugin:0.19.0:normalize (pack200-normalize) @
org.jboss.tools.usage.test ---
[INFO] Pack200 normalizing jar
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (jarsign) @ org.jboss.tools.usage.test ---
[INFO] skipping execute as per configuraion
[INFO]
[INFO] --- tycho-pack200b-plugin:0.19.0:pack (pack200-pack) @ org.jboss.tools.usage.test
---
[INFO] Pack200 packing jar
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (attached-p2-metadata) @
org.jboss.tools.usage.test ---
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (p2-metadata) @ org.jboss.tools.usage.test
---
[INFO]
[INFO] --- tycho-surefire-plugin:0.19.0:test (default-test) @ org.jboss.tools.usage.test
---
[WARNING] The following locally built units have been used to resolve project
dependencies:
[WARNING] org.jboss.tools.usage/1.2.100.Alpha2-v20140131-0627-B423
[WARNING] org.jboss.tools.foundation.core/1.1.0.Alpha2-v20140131-0627-B423
[WARNING] org.jboss.tools.common.core/3.6.0.Alpha2-v20140131-0627-B423
[INFO] Expected eclipse log file:
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
[INFO] Command line:
/bin/sh -c cd
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
&& /qa/tools/opt/jdk1.7.0_02/jre/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux
-Dosgi.ws=gtk -Dosgi.arch=x86
'-javaagent:<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_master/ws/.repository/org/jacoco/org.jacoco.agent/0.6.4.201312101107/org.jacoco.agent-0.6.4.201312101107-runtime.jar=destfile=/qa/services/hudson/hudson_workspace/workspace/jbosstools-base_master/sources/usage/target/jacoco.exec,append=true,includes=org.jboss.tools.usage*'>
-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m -Dusage_reporting_enabled=false
-Dorg.jboss.tools.tests.skipPrivateRequirements=false
-Dorg.eclipse.ui.testsDisableWorkbenchAutoSave=true -Dosgi.clean=true -jar
/qa/hudson_workspace/workspace/jbosstools-base_master/.repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.0.v20130327-1440/org.eclipse.equinox.launcher-1.3.0.v20130327-1440.jar
-data
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
-install
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
-configuration
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
-application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties
<
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-base_maste...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.tools.usage.test.UsageTestSuite
Usage reporting is globally "false"
Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 sec
Results :
Tests run: 48, Failures: 0, Errors: 0, Skipped: 0
[INFO] All tests passed!
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building all-tests 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.4.201312101107:prepare-agent (default) @ all-tests ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[INFO]
[INFO] --- tycho-source-plugin:0.19.0:plugin-source (plugin-source) @ all-tests ---
[INFO]
[INFO] --- repository-utils:0.19.0-SNAPSHOT:generate-repository-facade (generate-facade) @
all-tests ---
[INFO]
[INFO] --- tycho-pack200a-plugin:0.19.0:normalize (pack200-normalize) @ all-tests ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (jarsign) @ all-tests ---
[INFO] skipping execute as per configuraion
[INFO]
[INFO] --- tycho-pack200b-plugin:0.19.0:pack (pack200-pack) @ all-tests ---
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (attached-p2-metadata) @ all-tests ---
[INFO]
[INFO] --- tycho-p2-plugin:0.19.0:p2-metadata (p2-metadata) @ all-tests ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] tests.tests ....................................... SUCCESS [1.560s]
[INFO] org.jboss.tools.tests.test ........................ SUCCESS [14.647s]
[INFO] foundation.tests .................................. SUCCESS [0.022s]
[INFO] org.jboss.tools.foundation.core.test .............. SUCCESS [24.090s]
[INFO] common.tests ...................................... SUCCESS [0.022s]
[INFO] org.jboss.tools.common.base.test .................. SUCCESS [1.165s]
[INFO] org.jboss.tools.common.test ....................... SUCCESS [14.674s]
[INFO] org.jboss.tools.common.el.core.test ............... SUCCESS [1:05.510s]
[INFO] org.jboss.tools.common.model.test ................. FAILURE [40:04.845s]
[INFO] org.jboss.tools.common.model.ui.test .............. SUCCESS [1:15.522s]
[INFO] org.jboss.tools.common.validation.test ............ SUCCESS [23.127s]
[INFO] org.jboss.tools.common.verification.test .......... SUCCESS [15.573s]
[INFO] org.jboss.tools.common.verification.ui.test ....... SUCCESS [17.357s]
[INFO] org.jboss.tools.common.ui.test .................... SUCCESS [1:02.599s]
[INFO] org.jboss.tools.common.text.ext.test .............. SUCCESS [24.207s]
[INFO] org.jboss.tools.common.mylyn.test ................. SUCCESS [20.038s]
[INFO] stacks.tests ...................................... SUCCESS [0.024s]
[INFO] org.jboss.tools.stacks.core.test .................. SUCCESS [17.469s]
[INFO] runtime.tests ..................................... SUCCESS [0.018s]
[INFO] org.jboss.tools.runtime.test ...................... SUCCESS [24.334s]
[INFO] usage.tests ....................................... SUCCESS [0.018s]
[INFO] org.jboss.tools.usage.test ........................ SUCCESS [12.153s]
[INFO] all-tests ......................................... SUCCESS [0.019s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47:53.564s
[INFO] Finished at: Fri Jan 31 02:21:59 EST 2014
[INFO] Final Memory: 102M/552M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.19.0:test
(default-test) on project org.jboss.tools.common.model.test: Error while executing
platform: org.codehaus.plexus.util.cli.CommandLineTimeOutException: Error while executing
external command, process killed. Process timeout out after 2400 seconds -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.eclipse.tycho:tycho-surefire-plugin:0.19.0:test (default-test) on project
org.jboss.tools.common.model.test: Error while executing platform
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
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:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.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:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error while executing platform
at org.eclipse.tycho.surefire.TestMojo.runTest(TestMojo.java:946)
at org.eclipse.tycho.surefire.TestMojo.execute(TestMojo.java:668)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.eclipse.sisu.equinox.launching.EquinoxLaunchingException:
org.codehaus.plexus.util.cli.CommandLineTimeOutException: Error while executing external
command, process killed.
at
org.eclipse.sisu.equinox.launching.internal.DefaultEquinoxLauncher.execute(DefaultEquinoxLauncher.java:74)
at org.eclipse.tycho.surefire.TestMojo.runTest(TestMojo.java:944)
... 22 more
Caused by: org.codehaus.plexus.util.cli.CommandLineTimeOutException: Error while executing
external command, process killed.
at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:213)
at
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:114)
at
org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:88)
at
org.eclipse.sisu.equinox.launching.internal.DefaultEquinoxLauncher.execute(DefaultEquinoxLauncher.java:72)
... 23 more
Caused by: java.lang.InterruptedException: Process timeout out after 2400 seconds
at org.codehaus.plexus.util.cli.CommandLineUtils$1.call(CommandLineUtils.java:186)
... 26 more
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.jboss.tools.common.model.test
Build step 'Invoke top-level Maven targets' marked build as failure
Terminating xvnc.
$ vncserver -kill :126
Killing Xvnc process ID 5845
Archiving artifacts
Recording test results
Description set: