FailedConsole Output

Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
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 22bfabbf797a51b1f83ab61cbd7bd6b1a217f2b3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 22bfabbf797a51b1f83ab61cbd7bd6b1a217f2b3 # timeout=10
Commit message: "Update Gluu maven repository"
 > git rev-list --no-walk d9963d35ecd3143013f00fb1075202ed5ac9eca4 # 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=false -Dmaven.test.skip=false 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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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 ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/.jenkins/jobs/uma-rs/workspace/target/uma-rs-4.4.0-SNAPSHOT-tests.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.4.0-SNAPSHOT/uma-rs-4.4.0-SNAPSHOT.pom
[INFO] Installing /home/jenkins/.jenkins/jobs/uma-rs/workspace/target/uma-rs-4.4.0-SNAPSHOT-tests.jar to /var/www/html/maven/org/gluu/uma-rs/4.4.0-SNAPSHOT/uma-rs-4.4.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building UMA RS Core 4.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: file:///home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/../oxd-repo/org/gluu/oxauth-model/4.4.0-SNAPSHOT/maven-metadata.xml

Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxauth-model/4.4.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repo1.maven.org/maven2/org/gluu/oxauth-model/4.4.0-SNAPSHOT/maven-metadata.xml


[WARNING] Could not transfer metadata org.gluu:oxauth-model:4.4.0-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-model:4.4.0-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-model:4.4.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known
Downloading: https://maven.gluu.org/maven/org/gluu/oxauth-model/4.4.0-SNAPSHOT/oxauth-model-4.4.0-SNAPSHOT.pom

Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxauth-model/4.4.0-SNAPSHOT/oxauth-model-4.4.0-SNAPSHOT.pom

Downloading: file:///home/jenkins/.jenkins/jobs/uma-rs/workspace/uma-rs-core/../oxd-repo/org/gluu/oxauth-model/4.4.0-SNAPSHOT/oxauth-model-4.4.0-SNAPSHOT.pom

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] UMA RS ............................................. SUCCESS [  0.465 s]
[INFO] UMA RS Core ........................................ FAILURE [  1.210 s]
[INFO] UMA RS Resteasy .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.072 s
[INFO] Finished at: 2021-11-09T17:33:55+00:00
[INFO] Final Memory: 14M/279M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project uma-rs-core: Could not resolve dependencies for project org.gluu:uma-rs-core:jar:4.4.0-SNAPSHOT: Failed to collect dependencies at org.gluu:oxauth-model:jar:4.4.0-SNAPSHOT: Failed to read artifact descriptor for org.gluu:oxauth-model:jar:4.4.0-SNAPSHOT: Could not transfer artifact org.gluu:oxauth-model:pom:4.4.0-SNAPSHOT from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Unknown host repo2.maven.org -> [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-core
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