Started by remote host 104.192.143.193 Building in workspace /var/lib/jenkins/jobs/raspoid/workspace > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@bitbucket.org:julien0305/tfe_dev.git # timeout=10 Fetching upstream changes from git@bitbucket.org:julien0305/tfe_dev.git > git --version # timeout=10 using GIT_SSH to set credentials > git -c core.askpass=true fetch --tags --progress git@bitbucket.org:julien0305/tfe_dev.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 6ce48ce0ed8209cf3d50d520ec50e57da25f9e04 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ce48ce0ed8209cf3d50d520ec50e57da25f9e04 > git rev-list 3df6247e91691f159ed18c7fd1008524c60c0c68 # timeout=10 [Gradle] - Launching build. [brickpi_java_api] $ /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/gradlew -s clean build :clean :compileJavaNote: /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/examples/mpu6050/DrawGraphs.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :processResources UP-TO-DATE :classes :jar :assemble :compileTestJava :processTestResources UP-TO-DATE :testClasses :test :check :build BUILD SUCCESSFUL Total time: 20.682 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.11/userguide/gradle_daemon.html Build step 'Invoke Gradle script' changed build result to SUCCESS [Gradle] - Launching build. [brickpi_java_api] $ /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/gradlew -Dsonar.host.url=http://raspoid.com:9000 -Dsonar.jdbc.username=sonar -Dsonar.jdbc.password=zeN209dcXeTL sonarqube :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :sonarqube Property 'sonar.jdbc.username' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database. Property 'sonar.jdbc.password' is not supported any more. It will be ignored. There is no longer any DB connection to the SQ database. SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project. 12:35:31.350 [main] INFO o.s.p.findbugs.FindbugsExecutor - Findbugs output report: /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/build/sonar/findbugs-result.xml Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f4995a30000, 65536, 1) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory. # An error report file with more information is saved as: # /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/hs_err_pid4625.log # # Compiler replay data is saved as: # /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/replay_pid4625.log Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Recording test results Sending e-mails to: julien@louette.net ERROR: Could not connect to SMTP host: localhost, port: 25 javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at javax.mail.Transport.send0(Transport.java:194) at javax.mail.Transport.send(Transport.java:124) at hudson.tasks.MailSender.run(MailSender.java:128) at hudson.tasks.Mailer.perform(Mailer.java:145) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:286) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900) ... 18 more Finished: FAILURE