FailedConsole Output

Started by user Yuriy Movchan
Running as SYSTEM
Building on master in workspace /home/jenkins/.jenkins/jobs/uma-rs/workspace
No JDK named ‘jdk_1.8.0_121’ found
The recommended git tool is: NONE
No credentials specified
No JDK named ‘jdk_1.8.0_121’ found
 > 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/uma-rs # timeout=10
Fetching upstream changes from https://github.com/GluuFederation/uma-rs
 > git --version # timeout=10
 > git --version # 'git version 1.8.3.1'
 > git fetch --tags --progress https://github.com/GluuFederation/uma-rs +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
No JDK named ‘jdk_1.8.0_121’ found
Checking out Revision 210c83bce7e655a1fc3baf22103d1dadcd8669e3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 210c83bce7e655a1fc3baf22103d1dadcd8669e3 # timeout=10
Commit message: "feat: version 4.3.1-SNAPSHOT"
 > git rev-list --no-walk 210c83bce7e655a1fc3baf22103d1dadcd8669e3 # timeout=10
No JDK named ‘jdk_1.8.0_121’ found
[workspace] $ /home/jenkins/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven_3.3.9/bin/mvn -DVERSION_NAME=master -DMAVEN_SKIP_TESTS=true -Dmaven.test.skip=true clean compile install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:uma-rs-core:jar:4.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-source-plugin @ line 89, column 21
[WARNING] 'repositories.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories will corrupt your repository metadata. @ org.gluu:uma-rs:4.3.1-SNAPSHOT, /home/jenkins/.jenkins/jobs/uma-rs/workspace/pom.xml, line 167, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:uma-rs-resteasy:jar:4.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-source-plugin @ line 64, column 21
[WARNING] 'repositories.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories will corrupt your repository metadata. @ org.gluu:uma-rs:4.3.1-SNAPSHOT, /home/jenkins/.jenkins/jobs/uma-rs/workspace/pom.xml, line 167, column 17
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:uma-rs:pom:4.3.1-SNAPSHOT
[WARNING] 'repositories.repository.id' must not be 'local', this identifier is reserved for the local repository, using it for other repositories will corrupt your repository metadata. @ line 167, column 17
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] UMA RS
[INFO] UMA RS Core
[INFO] UMA RS Resteasy
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building UMA RS 4.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uma-rs ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ uma-rs ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ uma-rs ---
[INFO] Installing /home/jenkins/.jenkins/jobs/uma-rs/workspace/pom.xml to /var/www/html/maven/org/gluu/uma-rs/4.3.1-SNAPSHOT/uma-rs-4.3.1-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building UMA RS Core 4.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://ox.gluu.org/maven/org/gluu/gluu-core-bom/4.3.1-SNAPSHOT/maven-metadata.xml

[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uma-rs-core ---
[INFO] Deleting /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/target
[INFO] 
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ uma-rs-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ uma-rs-core ---
[INFO] Compiling 7 source files to /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ uma-rs-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ uma-rs-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ uma-rs-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ uma-rs-core ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ uma-rs-core ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ uma-rs-core ---
[INFO] Building jar: /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/target/uma-rs-core-4.3.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ uma-rs-core ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ uma-rs-core ---
[INFO] Installing /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/target/uma-rs-core-4.3.1-SNAPSHOT.jar to /var/www/html/maven/org/gluu/uma-rs-core/4.3.1-SNAPSHOT/uma-rs-core-4.3.1-SNAPSHOT.jar
[INFO] Installing /home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/pom.xml to /var/www/html/maven/org/gluu/uma-rs-core/4.3.1-SNAPSHOT/uma-rs-core-4.3.1-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building UMA RS Resteasy 4.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://ox.gluu.org/maven/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml
Downloading: https://repo1.maven.org/maven2/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml


Downloading: file:///home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-resteasy/../oxd-repo/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml



[WARNING] Could not transfer metadata org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from/to repository.jboss.org (https://repository.jboss.org/nexus/content/groups/public-jboss/): Failed to transfer file: https://repository.jboss.org/nexus/content/groups/public-jboss/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable.
[WARNING] Could not transfer metadata org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known
[WARNING] Failure to transfer org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from https://repository.jboss.org/nexus/content/groups/public-jboss/ was cached in the local repository, resolution will not be reattempted until the update interval of repository.jboss.org has elapsed or updates are forced. Original error: Could not transfer metadata org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from/to repository.jboss.org (https://repository.jboss.org/nexus/content/groups/public-jboss/): Failed to transfer file: https://repository.jboss.org/nexus/content/groups/public-jboss/org/gluu/oxauth-client/4.3.1-SNAPSHOT/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable.
[WARNING] Failure to transfer org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata org.gluu:oxauth-client:4.3.1-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known
Downloading: https://ox.gluu.org/maven/org/gluu/oxauth-client/4.3.1-SNAPSHOT/oxauth-client-4.3.1-SNAPSHOT.pom

Downloading: https://repo1.maven.org/maven2/org/gluu/oxauth-client/4.3.1-SNAPSHOT/oxauth-client-4.3.1-SNAPSHOT.pom

Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/gluu/oxauth-client/4.3.1-SNAPSHOT/oxauth-client-4.3.1-SNAPSHOT.pom

Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxauth-client/4.3.1-SNAPSHOT/oxauth-client-4.3.1-SNAPSHOT.pom

Downloading: file:///home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-resteasy/../oxd-repo/org/gluu/oxauth-client/4.3.1-SNAPSHOT/oxauth-client-4.3.1-SNAPSHOT.pom

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] UMA RS ............................................. SUCCESS [  0.712 s]
[INFO] UMA RS Core ........................................ SUCCESS [  3.940 s]
[INFO] UMA RS Resteasy .................................... FAILURE [ 43.057 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.293 s
[INFO] Finished at: 2021-10-05T10:35:11+00:00
[INFO] Final Memory: 27M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project uma-rs-resteasy: Could not resolve dependencies for project org.gluu:uma-rs-resteasy:jar:4.3.1-SNAPSHOT: Failed to collect dependencies at org.gluu:oxauth-client:jar:4.3.1-SNAPSHOT: Failed to read artifact descriptor for org.gluu:oxauth-client:jar:4.3.1-SNAPSHOT: Could not transfer artifact org.gluu:oxauth-client:pom:4.3.1-SNAPSHOT from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known: Unknown host repo2.maven.org: Name or service not known -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :uma-rs-resteasy
Build step 'Invoke top-level Maven targets' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
No JDK named ‘jdk_1.8.0_121’ found
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Did not find any matching files.
No JDK named ‘jdk_1.8.0_121’ found
Not sending mail to unregistered user Yuriy.Movchan@gmail.com
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