Build failed in Jenkins: say-my-texts-sonar #7
See <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/7/changes> Changes: [Kevin Morin] - remove appcompat (more problems than it solves) [Kevin Morin] upgrade chorempom [Kevin Morin] fixes #1103 Change the style of the app [Kevin Morin] Move the app info into an about dialog. [Kevin Morin] translation ------------------------------------------ Started by an SCM change Building in workspace <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/>
git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url http://git.chorem.org/say-my-texts.git # timeout=10 Fetching upstream changes from http://git.chorem.org/say-my-texts.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress http://git.chorem.org/say-my-texts.git +refs/heads/*:refs/remotes/origin/* git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision d2ec7b1ef967aaee0965c2c659a4c4a502b237ec (refs/remotes/origin/develop) git config core.sparsecheckout # timeout=10 git checkout -f d2ec7b1ef967aaee0965c2c659a4c4a502b237ec git rev-list aa8eab3bcd7d2548bb25c95223178411f93ca127 # timeout=10 Parsing POMs Modules changed, recalculating dependency graph [say-my-texts-sonar] $ /opt/jdk7/bin/java -Dsettings.security=/var/local/forge/data/chorem.org/maven/settings-security.xml -XX:MaxPermSize=256m -Xmx1024m -Djava.awt.headless=true -cp /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.6.jar:/opt/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/maven3/conf/logging jenkins.maven3.agent.Maven32Main /opt/maven3 /var/local/forge/exec/tomcat-chorem.org/webapps/jenkins/WEB-INF/lib/remoting-2.51.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.6.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar 35501 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -Padd-nexus-repository [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] The following dependencies may conflict with the internal versions provided by the Android platform: [org.khronos:opengl-api:jar:gl1.1-android-2.1_r1:provided, org.json:json:jar:20080701:compile, xerces:xmlParserAPIs:jar:2.6.2:provided, xpp3:xpp3:jar:1.1.4c:provided, org.apache.httpcomponents:httpclient:jar:4.0.1:provided, commons-logging:commons-logging:jar:1.1.1:provided] It is recommended to shade these artifacts. You can read more about this here: http://simpligility.github.io/android-maven-plugin/shaded-commons-codec.html. Alternatively, you can disable this warning with the'disableConflictingDependenciesWarning' parameter. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Say My Texts 3.O-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ saymytexts --- [INFO] Deleting <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:generate-sources (default-generate-sources) @ saymytexts --- [INFO] Manifest copied from <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/AndroidManifest.xml> to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/AndroidManifest.xml> [INFO] Extracting libs [INFO] Generating R file for org.chorem.android:saymytexts:apk:3.O-SNAPSHOT [INFO] Adding R gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/r> [INFO] Adding AIDL gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/aidl> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ saymytexts --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 41 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ saymytexts --- [INFO] Compiling 15 source files to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/classes> [WARNING] <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/src/main/java/org/chorem/android/saymytexts/SayMyTextService.java>:[744,48] getNotification() in android.app.Notification.Builder has been deprecated [INFO] [INFO] --- android-maven-plugin:4.3.0:emma (default-emma) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:proguard (default-proguard) @ saymytexts --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ saymytexts --- [INFO] Skipping Antrun execution [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ saymytexts --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ saymytexts --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ saymytexts --- [INFO] Tests are skipped. [INFO] [INFO] --- android-maven-plugin:4.3.0:dex (default-dex) @ saymytexts --- [INFO] Convert classes to Dex : <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/classes.dex> [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ saymytexts --- [INFO] Building jar: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/saymytexts-3.O-SNAPSHOT.jar> [INFO] [INFO] --- android-maven-plugin:4.3.0:apk (default-apk) @ saymytexts --- [INFO] Generating debug apk. [INFO] Adding native libraries : [] [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:internal-pre-integration-test (default-internal-pre-integration-test) @ saymytexts --- [INFO] maven.test.skip set - skipping tests [INFO] [INFO] --- android-maven-plugin:4.3.0:internal-integration-test (default-internal-integration-test) @ saymytexts --- [INFO] maven.test.skip set - skipping tests [JENKINS] Archiving disabled 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 2 second [JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:07 min [INFO] Finished at: 2015-08-01T01:36:58+02:00
[INFO] Final Memory: 34M/248M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [say-my-texts-sonar] $ /opt/maven3/bin/mvn -f <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -B sonar:sonar -Padd-nexus-repository -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-chorem.org ******** ******** -Dsonar.host.url=http://qa.chorem.org ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] The following dependencies may conflict with the internal versions provided by the Android platform: [org.khronos:opengl-api:jar:gl1.1-android-2.1_r1:provided, org.json:json:jar:20080701:compile, xerces:xmlParserAPIs:jar:2.6.2:provided, xpp3:xpp3:jar:1.1.4c:provided, org.apache.httpcomponents:httpclient:jar:4.0.1:provided, commons-logging:commons-logging:jar:1.1.1:provided] It is recommended to shade these artifacts. You can read more about this here: http://simpligility.github.io/android-maven-plugin/shaded-commons-codec.html. Alternatively, you can disable this warning with the'disableConflictingDependenciesWarning' parameter. [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly... (17 KB at 13.3 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly... (233 KB at 1955.8 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ear-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ear-plug... (10 KB at 312.7 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ear-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ear-plug... (90 KB at 2024.6 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ejb-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ejb-plug... (6 KB at 178.7 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ejb-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-ejb-plug... (25 KB at 713.0 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-invoker-... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-invoker-... (11 KB at 346.9 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-invoker-... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-invoker-... (106 KB at 2245.6 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plug... (12 KB at 333.9 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plug... [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plug... (96 KB at 1871.3 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Say My Texts 3.O-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ saymytexts --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 48.523 s [INFO] Finished at: 2015-08-01T01:37:56+02:00 [INFO] Final Memory: 22M/248M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project saymytexts: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.chorem.org. Please check the parameter 'sonar.host.url'. connect timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project saymytexts: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.chorem.org. Please check the parameter 'sonar.host.url'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) 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:606) 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.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.chorem.org. Please check the parameter 'sonar.host.url'. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: SonarQube server can not be reached at http://qa.chorem.org. Please check the parameter 'sonar.host.url'. at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:70) at org.codehaus.mojo.sonar.ServerMetadata.logSettings(ServerMetadata.java:84) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 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/PluginExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 1 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds
See <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/8/> ------------------------------------------ Started by user CI Chorem Admin Building in workspace <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/> No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found
git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url http://git.chorem.org/say-my-texts.git # timeout=10 Fetching upstream changes from http://git.chorem.org/say-my-texts.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress http://git.chorem.org/say-my-texts.git +refs/heads/*:refs/remotes/origin/* git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision d2ec7b1ef967aaee0965c2c659a4c4a502b237ec (refs/remotes/origin/develop) No JDK named ‘jdk1.7’ found git config core.sparsecheckout # timeout=10 git checkout -f d2ec7b1ef967aaee0965c2c659a4c4a502b237ec git rev-list d2ec7b1ef967aaee0965c2c659a4c4a502b237ec # timeout=10 No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found Parsing POMs No JDK named ‘jdk1.7’ found Established TCP socket on 38976 [say-my-texts-sonar] $ java -Dsettings.security=/var/local/forge/data/chorem.org/maven/settings-security.xml -XX:MaxPermSize=256m -Xmx1024m -Djava.awt.headless=true -cp /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.7.jar:/opt/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/maven3/conf/logging jenkins.maven3.agent.Maven32Main /opt/maven3 /var/local/forge/exec/tomcat-chorem.org/webapps/jenkins/WEB-INF/lib/remoting-2.53.2.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 38976 <===[JENKINS REMOTING CAPACITY]===> channel started No JDK named ‘jdk1.7’ found Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -Padd-nexus-repository [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] The following dependencies may conflict with the internal versions provided by the Android platform: [org.khronos:opengl-api:jar:gl1.1-android-2.1_r1:provided, org.json:json:jar:20080701:compile, xerces:xmlParserAPIs:jar:2.6.2:provided, xpp3:xpp3:jar:1.1.4c:provided, org.apache.httpcomponents:httpclient:jar:4.0.1:provided, commons-logging:commons-logging:jar:1.1.1:provided] It is recommended to shade these artifacts. You can read more about this here: http://simpligility.github.io/android-maven-plugin/shaded-commons-codec.html. Alternatively, you can disable this warning with the'disableConflictingDependenciesWarning' parameter. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Say My Texts 3.O-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ saymytexts --- [INFO] Deleting <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:generate-sources (default-generate-sources) @ saymytexts --- [INFO] Manifest copied from <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/AndroidManifest.xml> to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/AndroidManifest.xml> [INFO] Extracting libs [INFO] Generating R file for org.chorem.android:saymytexts:apk:3.O-SNAPSHOT [INFO] Adding R gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/r> [INFO] Adding AIDL gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/aidl> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ saymytexts --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 41 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ saymytexts --- [INFO] Compiling 15 source files to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled 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 [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.201 s [INFO] Finished at: 2016-02-25T10:31:13+01:00 [INFO] Final Memory: 22M/314M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project saymytexts: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project saymytexts: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) 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:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) 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:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:120) 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:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:911) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 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/MojoFailureException Sending e-mails to: say-my-texts-build@list.chorem.org channel stopped Skipping sonar analysis due to bad build status FAILURE 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
See <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/9/> ------------------------------------------ Started by user CI Chorem Admin Building in workspace <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/> No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found
git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url http://git.chorem.org/say-my-texts.git # timeout=10 Fetching upstream changes from http://git.chorem.org/say-my-texts.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress http://git.chorem.org/say-my-texts.git +refs/heads/*:refs/remotes/origin/* git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision d2ec7b1ef967aaee0965c2c659a4c4a502b237ec (refs/remotes/origin/develop) No JDK named ‘jdk1.7’ found git config core.sparsecheckout # timeout=10 git checkout -f d2ec7b1ef967aaee0965c2c659a4c4a502b237ec git rev-list d2ec7b1ef967aaee0965c2c659a4c4a502b237ec # timeout=10 No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found Parsing POMs No JDK named ‘jdk1.7’ found Established TCP socket on 51524 [say-my-texts-sonar] $ java -Dsettings.security=/var/local/forge/data/chorem.org/maven/settings-security.xml -XX:MaxPermSize=256m -Xmx1024m -Djava.awt.headless=true -cp /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.7.jar:/opt/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/maven3/conf/logging jenkins.maven3.agent.Maven32Main /opt/maven3 /var/local/forge/exec/tomcat-chorem.org/webapps/jenkins/WEB-INF/lib/remoting-2.53.2.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 51524 <===[JENKINS REMOTING CAPACITY]===> channel started No JDK named ‘jdk1.7’ found Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -Padd-nexus-repository [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] The following dependencies may conflict with the internal versions provided by the Android platform: [org.khronos:opengl-api:jar:gl1.1-android-2.1_r1:provided, org.json:json:jar:20080701:compile, xerces:xmlParserAPIs:jar:2.6.2:provided, xpp3:xpp3:jar:1.1.4c:provided, org.apache.httpcomponents:httpclient:jar:4.0.1:provided, commons-logging:commons-logging:jar:1.1.1:provided] It is recommended to shade these artifacts. You can read more about this here: http://simpligility.github.io/android-maven-plugin/shaded-commons-codec.html. Alternatively, you can disable this warning with the'disableConflictingDependenciesWarning' parameter. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Say My Texts 3.O-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ saymytexts --- [INFO] Deleting <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:generate-sources (default-generate-sources) @ saymytexts --- [INFO] Manifest copied from <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/AndroidManifest.xml> to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/AndroidManifest.xml> [INFO] Extracting libs [INFO] Generating R file for org.chorem.android:saymytexts:apk:3.O-SNAPSHOT [INFO] Adding R gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/r> [INFO] Adding AIDL gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/aidl> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ saymytexts --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 41 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ saymytexts --- [INFO] Compiling 15 source files to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled 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 [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.255 s [INFO] Finished at: 2016-02-25T10:32:51+01:00 [INFO] Final Memory: 26M/438M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project saymytexts: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project saymytexts: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) 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:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) 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:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:120) 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:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:911) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 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/MojoFailureException Sending e-mails to: say-my-texts-build@list.chorem.org Skipping sonar analysis due to bad build status FAILURE channel stopped 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
participants (1)
-
admin+ci-chorem.org@codelutin.com