FailedConsole Output

Started by user frederic.gurr@eclipse-foundation.org
Building on master in workspace /home/hudson/genie.cbi/.jenkins/jobs/hipp2jipp_sonar-test/workspace
 > /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/local/bin/git config remote.origin.url https://github.com/eclipse/hipp2jipp # timeout=10
Fetching upstream changes from https://github.com/eclipse/hipp2jipp
 > /usr/local/bin/git --version # timeout=10
 > /usr/local/bin/git fetch --tags --progress https://github.com/eclipse/hipp2jipp +refs/heads/*:refs/remotes/origin/*
 > /usr/local/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/local/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 53aec1c2fe4a71024e124b30fb0d26f68d8a6ffb (refs/remotes/origin/master)
Commit message: "Add Jenkinsfile"
 > /usr/local/bin/git config core.sparsecheckout # timeout=10
 > /usr/local/bin/git checkout -f 53aec1c2fe4a71024e124b30fb0d26f68d8a6ffb
 > /usr/local/bin/git rev-list 53aec1c2fe4a71024e124b30fb0d26f68d8a6ffb # timeout=10
Injecting SonarQube environment variables using the configuration: Eclipse Sonar
[workspace] $ /shared/common/apache-maven-latest/bin/mvn clean verify
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building hipp2jipp 0.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hipp2jipp ---
[INFO] Deleting /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hipp2jipp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hipp2jipp ---
[INFO] Compiling 2 source files to /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hipp2jipp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ hipp2jipp ---
[INFO] Compiling 1 source file to /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ hipp2jipp ---
[INFO] Surefire report directory: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.cbi.hipp2jipp.XslTransformerTest
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/original/timestamp/2016-11-30_14-56-00/build.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-package-drone.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/build.hudson-kapua.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/build.hudson-query.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-cbi1.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-cbi2.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-cbi3.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-cbi4.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-app4mc.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-omr.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-transaction.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-jgit1.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-jgit2.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-jgit3.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-kapua.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-kura1.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-kura2.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-query.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-simrel1.transformed.xml
Done. File written: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/xml/transformed/config.job.hudson-simrel2.transformed.xml
 2017-02-16_12-35-13 -> epoch date: 1487266513000Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.554 sec

Results :

Tests run: 23, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ hipp2jipp ---
[INFO] Building jar: /jobs/genie.cbi/hipp2jipp_sonar-test/workspace/target/hipp2jipp-0.0.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.173 s
[INFO] Finished at: 2017-09-08T14:22:36-04:00
[INFO] Final Memory: 33M/1545M
[INFO] ------------------------------------------------------------------------
Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/3.0.3.778/sonar-scanner-cli-3.0.3.778.zip to /home/hudson/genie.cbi/.jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on Jenkins
[workspace] $ /home/hudson/genie.cbi/.jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -e -Dsonar.jdbc.url=jdbc:mysql://dbmaster:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8 ******** ******** -Dsonar.host.url=http://sonar.eclipse.org -Dsonar.projectBaseDir=/home/hudson/genie.cbi/.jenkins/jobs/hipp2jipp_sonar-test/workspace
INFO: Option -e/--errors is no longer supported and will be ignored
INFO: Scanner configuration file: /home/hudson/genie.cbi/.jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner 3.0.3.778
INFO: Java 1.8.0_131 Oracle Corporation (64-bit)
INFO: Linux 3.12.62-60.64.8-default amd64
INFO: User cache: /opt/public/hipp/homes/genie.cbi/.sonar/cache
INFO: SonarQube server 4.5.7
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
14:22:38.948 INFO  - Load global referentials...
14:22:39.013 INFO  - Load global referentials done: 67 ms
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.014s
INFO: Final Memory: 19M/1932M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
	at com.google.gson.Gson.fromJson(Gson.java:803)
	at com.google.gson.Gson.fromJson(Gson.java:768)
	at com.google.gson.Gson.fromJson(Gson.java:717)
	at com.google.gson.Gson.fromJson(Gson.java:689)
	at org.sonar.batch.protocol.input.GlobalReferentials.fromJson(GlobalReferentials.java:70)
	at org.sonar.batch.referential.DefaultGlobalReferentialsLoader.load(DefaultGlobalReferentialsLoader.java:37)
	at org.sonar.batch.referential.GlobalReferentialsProvider.provide(GlobalReferentialsProvider.java:38)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
	at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.SingleMemberInjector.getMemberArguments(SingleMemberInjector.java:61)
	at org.picocontainer.injectors.MethodInjector.getMemberArguments(MethodInjector.java:100)
	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:112)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1033)
	at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1025)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.batch.bootstrapper.Batch.start(Batch.java:81)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.executeOldVersion(BatchIsolatedLauncher.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.executeOldVersion(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:238)
	at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
	at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:123)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:77)
	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
	... 91 more
ERROR: 
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
ERROR: SonarQube scanner exited with non-zero code: 1
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE