Started by user Konstantinos Triantafyllou Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ip-90-147-167-168.ct1.garrservices.it (slave-1-garr) in workspace /var/lib/jenkins/workspace/uoa-admin-tools The recommended git tool is: NONE using credential dnet-hadoop-deployment-credentials Cloning the remote Git repository Cloning repository gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git > git init /var/lib/jenkins/workspace/uoa-admin-tools # timeout=10 Fetching upstream changes from gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials User for CI/CD Verifying host key using known hosts file > git fetch --tags --progress -- gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url gitea@code-repo.d4science.org:MaDgIK/uoa-admin-tools.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/prod^{commit} # timeout=10 Checking out Revision f4698a6c48f2c44c0397d440e840f749c8ad3904 (refs/remotes/origin/prod) > git config core.sparsecheckout # timeout=10 > git checkout -f f4698a6c48f2c44c0397d440e840f749c8ad3904 # timeout=10 Commit message: "Update pom version for next deployment" First time build. Skipping changelog. Parsing POMs Discovered a new module eu.dnetlib:uoa-admin-tools uoa-admin-tools Modules changed, recalculating dependency graph Established TCP socket on 33065 maven35-agent.jar already up to date maven35-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [uoa-admin-tools] $ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -cp /var/lib/jenkins/maven35-agent.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven/boot/plexus-classworlds-2.5.2.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven /var/lib/jenkins/remoting.jar /var/lib/jenkins/maven35-interceptor.jar /var/lib/jenkins/maven3-interceptor-commons.jar 33065 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/workspace/uoa-admin-tools/pom.xml dependency:tree clean package -U source:jar -DskipTests [INFO] Scanning for projects... [INFO] [INFO] ---------------------< eu.dnetlib:uoa-admin-tools >--------------------- [INFO] Building uoa-admin-tools 2.0.5 [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ uoa-admin-tools --- [INFO] eu.dnetlib:uoa-admin-tools:war:2.0.5 [INFO] +- org.springframework.boot:spring-boot-starter-data-mongodb:jar:1.5.8.RELEASE:compile [INFO] | +- org.springframework.boot:spring-boot-starter:jar:1.5.8.RELEASE:compile [INFO] | | +- org.springframework.boot:spring-boot:jar:1.5.8.RELEASE:compile [INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.5.8.RELEASE:compile [INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:1.5.8.RELEASE:compile [INFO] | | | +- ch.qos.logback:logback-classic:jar:1.1.11:compile [INFO] | | | | \- ch.qos.logback:logback-core:jar:1.1.11:compile [INFO] | | | +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile [INFO] | | | \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile [INFO] | | \- org.yaml:snakeyaml:jar:1.17:runtime [INFO] | +- org.mongodb:mongodb-driver:jar:3.4.3:compile [INFO] | | +- org.mongodb:mongodb-driver-core:jar:3.4.3:compile [INFO] | | \- org.mongodb:bson:jar:3.4.3:compile [INFO] | \- org.springframework.data:spring-data-mongodb:jar:1.10.8.RELEASE:compile [INFO] | +- org.springframework:spring-tx:jar:4.3.12.RELEASE:compile [INFO] | +- org.springframework:spring-context:jar:4.3.12.RELEASE:compile [INFO] | +- org.springframework:spring-beans:jar:4.3.12.RELEASE:compile [INFO] | +- org.springframework:spring-expression:jar:4.3.12.RELEASE:compile [INFO] | +- org.springframework.data:spring-data-commons:jar:1.13.8.RELEASE:compile [INFO] | +- org.slf4j:slf4j-api:jar:1.7.25:compile [INFO] | \- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:1.5.8.RELEASE:compile [INFO] | +- org.hibernate:hibernate-validator:jar:5.3.5.Final:compile [INFO] | | +- javax.validation:validation-api:jar:1.1.0.Final:compile [INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile [INFO] | | \- com.fasterxml:classmate:jar:1.3.4:compile [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.10:compile [INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile [INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.8.10:compile [INFO] | +- org.springframework:spring-web:jar:4.3.12.RELEASE:compile [INFO] | \- org.springframework:spring-webmvc:jar:4.3.12.RELEASE:compile [INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.8.RELEASE:provided [INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.23:provided [INFO] | | \- org.apache.tomcat:tomcat-annotations-api:jar:8.5.23:provided [INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.23:provided [INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.23:provided [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:1.5.8.RELEASE:test [INFO] | +- org.springframework.boot:spring-boot-test:jar:1.5.8.RELEASE:test [INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:1.5.8.RELEASE:test [INFO] | +- com.jayway.jsonpath:json-path:jar:2.2.0:test [INFO] | | \- net.minidev:json-smart:jar:2.2.1:compile [INFO] | | \- net.minidev:accessors-smart:jar:1.1:compile [INFO] | | \- org.ow2.asm:asm:jar:5.0.3:compile [INFO] | +- junit:junit:jar:4.12:test [INFO] | +- org.assertj:assertj-core:jar:2.6.0:test [INFO] | +- org.mockito:mockito-core:jar:1.10.19:test [INFO] | | \- org.objenesis:objenesis:jar:2.1:test [INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test [INFO] | +- org.skyscreamer:jsonassert:jar:1.4.0:test [INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test [INFO] | +- org.springframework:spring-core:jar:4.3.12.RELEASE:compile [INFO] | \- org.springframework:spring-test:jar:4.3.12.RELEASE:compile [INFO] +- org.springframework.boot:spring-boot-starter-security:jar:1.5.8.RELEASE:compile [INFO] | +- org.springframework:spring-aop:jar:4.3.12.RELEASE:compile [INFO] | +- org.springframework.security:spring-security-config:jar:4.2.3.RELEASE:compile [INFO] | | \- org.springframework.security:spring-security-core:jar:4.2.3.RELEASE:compile [INFO] | \- org.springframework.security:spring-security-web:jar:4.2.3.RELEASE:compile [INFO] +- log4j:log4j:jar:1.2.17:compile [INFO] +- com.google.code.gson:gson:jar:2.8.2:compile [INFO] +- javax.mail:mail:jar:1.5.0-b01:compile [INFO] | \- javax.activation:activation:jar:1.1:compile [INFO] +- commons-io:commons-io:jar:20030203.000550:compile [INFO] \- eu.dnetlib:uoa-admin-tools-library:jar:1.0.5:compile [INFO] \- eu.dnetlib:uoa-authorization-library:jar:2.1.0:compile [INFO] +- org.springframework.boot:spring-boot-starter-data-redis:jar:1.5.8.RELEASE:compile [INFO] | +- org.springframework.data:spring-data-redis:jar:1.8.8.RELEASE:compile [INFO] | | +- org.springframework.data:spring-data-keyvalue:jar:1.2.8.RELEASE:compile [INFO] | | +- org.springframework:spring-oxm:jar:4.3.12.RELEASE:compile [INFO] | | \- org.springframework:spring-context-support:jar:4.3.12.RELEASE:compile [INFO] | \- redis.clients:jedis:jar:2.9.0:compile [INFO] +- org.springframework.session:spring-session-data-redis:jar:1.3.1.RELEASE:compile [INFO] | +- org.apache.commons:commons-pool2:jar:2.4.2:compile [INFO] | \- org.springframework.session:spring-session:jar:1.3.1.RELEASE:compile [INFO] +- biz.paluch.redis:lettuce:jar:4.3.3.Final:compile [INFO] | +- io.reactivex:rxjava:jar:1.2.10:compile [INFO] | +- io.netty:netty-common:jar:4.1.13.Final:compile [INFO] | +- io.netty:netty-transport:jar:4.1.13.Final:compile [INFO] | | +- io.netty:netty-buffer:jar:4.1.13.Final:compile [INFO] | | \- io.netty:netty-resolver:jar:4.1.13.Final:compile [INFO] | +- io.netty:netty-handler:jar:4.1.13.Final:compile [INFO] | | \- io.netty:netty-codec:jar:4.1.13.Final:compile [INFO] | \- com.google.guava:guava:jar:19.0:compile [INFO] \- org.mitre:openid-connect-client:jar:1.3.0:compile [INFO] \- org.mitre:openid-connect-common:jar:1.3.0:compile [INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.8:compile [INFO] | \- commons-codec:commons-codec:jar:1.10:compile [INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.0.14.RELEASE:compile [INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile [INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile [INFO] +- com.nimbusds:nimbus-jose-jwt:jar:4.34.2:compile [INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile [INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.55:compile [INFO] \- org.eclipse.persistence:javax.persistence:jar:2.1.1:compile [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ uoa-admin-tools --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ uoa-admin-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ uoa-admin-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 72 source files to /var/lib/jenkins/workspace/uoa-admin-tools/target/classes [WARNING] /var/lib/jenkins/workspace/uoa-admin-tools/src/main/java/eu/dnetlib/uoaadmintools/dao/MongoDBDAOs/MongoDBStatisticsDAO.java: Some input files use unchecked or unsafe operations. [WARNING] /var/lib/jenkins/workspace/uoa-admin-tools/src/main/java/eu/dnetlib/uoaadmintools/dao/MongoDBDAOs/MongoDBStatisticsDAO.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ uoa-admin-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/uoa-admin-tools/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ uoa-admin-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/lib/jenkins/workspace/uoa-admin-tools/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ uoa-admin-tools --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ uoa-admin-tools --- [INFO] Packaging webapp [INFO] Assembling webapp [uoa-admin-tools] in [/var/lib/jenkins/workspace/uoa-admin-tools/target/uoa-admin-tools] [INFO] Processing war project [INFO] Webapp assembled in [702 msecs] [INFO] Building war: /var/lib/jenkins/workspace/uoa-admin-tools/target/uoa-admin-tools.war [INFO] [INFO] --- spring-boot-maven-plugin:1.5.8.RELEASE:repackage (default) @ uoa-admin-tools --- [INFO] [INFO] >>> maven-source-plugin:2.4:jar (default-cli) > generate-sources @ uoa-admin-tools >>> [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:2.4:jar (default-cli) < generate-sources @ uoa-admin-tools <<< [INFO] [INFO] [INFO] --- maven-source-plugin:2.4:jar (default-cli) @ uoa-admin-tools --- [INFO] Building jar: /var/lib/jenkins/workspace/uoa-admin-tools/target/uoa-admin-tools-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:54 min [INFO] Finished at: 2022-09-19T07:25:47Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/workspace/uoa-admin-tools/pom.xml to eu.dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.pom [JENKINS] Archiving /var/lib/jenkins/workspace/uoa-admin-tools/target/uoa-admin-tools.war to eu.dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.war [JENKINS] Archiving /var/lib/jenkins/workspace/uoa-admin-tools/target/uoa-admin-tools-sources.jar to eu.dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5-sources.jar channel stopped Maven RedeployPublisher use remote ip-90-147-167-168.ct1.garrservices.it maven settings from : /var/lib/jenkins/.m2/settings.xml [INFO] Deployment in https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/ (id=dnet45-releases,uniqueVersion=true) Deploying the main artifact uoa-admin-tools-2.0.5.war Uploading to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.war Uploaded to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.war (35 MB at 18 MB/s) Uploading to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.pom Uploaded to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5.pom (5.3 kB at 108 kB/s) Downloading from dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/maven-metadata.xml Uploading to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/maven-metadata.xml Uploaded to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/maven-metadata.xml (305 B at 4.8 kB/s) Deploying the main artifact uoa-admin-tools-2.0.5-sources.jar Uploading to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5-sources.jar Uploaded to dnet45-releases: https://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/uoa-admin-tools/2.0.5/uoa-admin-tools-2.0.5-sources.jar (55 kB at 934 kB/s) [INFO] Deployment done in 2.2 sec Finished: SUCCESS