FailedConsole Output

Started by user Yuriy Movchan
Running as SYSTEM
Building on master in workspace /home/jenkins/.jenkins/jobs/shib-oxauth-authn3/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/GluuFederation/shib-oxauth-authn3 # timeout=10
Fetching upstream changes from https://github.com/GluuFederation/shib-oxauth-authn3
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress https://github.com/GluuFederation/shib-oxauth-authn3 +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/version_4.2.3.sp2^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/version_4.2.3.sp2^{commit} # timeout=10
Checking out Revision dd7f8405f5fdd751944be7faabf88e39e841ba1b (refs/remotes/origin/version_4.2.3.sp2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dd7f8405f5fdd751944be7faabf88e39e841ba1b # timeout=10
Commit message: "fix: send new AuthZ request on ACR change #94"
First time build. Skipping changelog.
[Gradle] - Launching build.
[workspace] $ /home/jenkins/.jenkins/tools/hudson.plugins.gradle.GradleInstallation/gradle_4.10.1/bin/gradle clean build install publishToMavenLocal
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :clean

> Task :compileJava
/home/jenkins/.jenkins/jobs/shib-oxauth-authn3/workspace/src/main/java/org/gluu/idp/externalauth/ShibOxAuthAuthServlet.java:213: error: cannot find symbol
                	String usedAcr = userProfile.getUsedAcr();
                	                            ^
  symbol:   method getUsedAcr()
  location: variable userProfile of type UserProfile
/home/jenkins/.jenkins/jobs/shib-oxauth-authn3/workspace/src/main/java/org/gluu/idp/externalauth/ShibOxAuthAuthServlet.java:254: warning: [removal] getAuthnContextClassRef() in AuthnContextClassRef has been deprecated and marked for removal
                            .map(AuthnContextClassRef::getAuthnContextClassRef).collect(Collectors.joining(" "));
                                 ^
Note: /home/jenkins/.jenkins/jobs/shib-oxauth-authn3/workspace/src/main/java/org/gluu/idp/externalauth/ShibOxAuthAuthServlet.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/jenkins/.jenkins/jobs/shib-oxauth-authn3/workspace/src/main/java/org/gluu/idp/storage/GluuStorageService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
1 warning

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 25s
2 actionable tasks: 2 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Sending e-mails to: support@gluu.org
ERROR: Couldn't connect to host, port: webmail.gluu.org, 465; timeout 60000
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: webmail.gluu.org, 465; timeout 60000;
  nested exception is:
	java.net.SocketTimeoutException: connect timed out
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2210)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)
	at javax.mail.Service.connect(Service.java:310)
	at javax.mail.Service.connect(Service.java:169)
	at javax.mail.Service.connect(Service.java:118)
	at javax.mail.Transport.send0(Transport.java:188)
	at javax.mail.Transport.send(Transport.java:118)
	at hudson.tasks.MailSender.run(MailSender.java:130)
	at hudson.tasks.Mailer.perform(Mailer.java:176)
	at hudson.tasks.Mailer.perform(Mailer.java:139)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1905)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:428)
Caused by: java.net.SocketTimeoutException: connect timed out
	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:333)
	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:193)
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2160)
	... 18 more
Finished: FAILURE