Console Output

Started by user Lampros Smyrnaios
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on ip-90-147-189-52.pa1.garrservices.it (slave-2-garr) in workspace /var/lib/jenkins/workspace/PublicationsRetriever
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/LSmyrnaios/PublicationsRetriever.git
 > git init /var/lib/jenkins/workspace/PublicationsRetriever # timeout=10
Fetching upstream changes from https://github.com/LSmyrnaios/PublicationsRetriever.git
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
 > git fetch --tags --progress -- https://github.com/LSmyrnaios/PublicationsRetriever.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/LSmyrnaios/PublicationsRetriever.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/master^{commit} # timeout=10
Checking out Revision 07a8bb4172062bc611d0b03f4679a5f7ea5b9dd6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 07a8bb4172062bc611d0b03f4679a5f7ea5b9dd6 # timeout=10
Commit message: "Revert "maven-shade-plugin" to "v.3.5.2", as the Jenkins instance, used to build and generate the release, has an older version of maven, which is not supported by the plugin's "v.3.5.3" onwards."
 > git rev-list --no-walk 7b3a4f36ef8e5b7bb1f25b57adc48b1075444cbe # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 40055
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[PublicationsRetriever] $ /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 40055
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/workspace/PublicationsRetriever/pom.xml clean package -U
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------< eu.openaire:publications_retriever >-----------------
[INFO] Building publications_retriever 1.2-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ publications_retriever ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ publications_retriever ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ publications_retriever ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 28 source files with javac [debug target 1.8] to target/classes
[WARNING] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/signal/SignalUtils.java:[7,16] sun.misc.Signal is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/signal/SignalUtils.java:[22,35] sun.misc.Signal is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/signal/SignalUtils.java:[22,17] sun.misc.Signal is internal proprietary API and may be removed in a future release
[WARNING] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/signal/SignalUtils.java:[22,50] sun.misc.Signal is internal proprietary API and may be removed in a future release
[INFO] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/file/DocFileData.java: /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/file/DocFileData.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/PublicationsRetriever/src/main/java/eu/openaire/publications_retriever/util/file/DocFileData.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ publications_retriever ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/PublicationsRetriever/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:testCompile (default-testCompile) @ publications_retriever ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 3 source files with javac [debug target 1.8] to target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.2.5:test (default-test) @ publications_retriever ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running eu.openaire.publications_retriever.test.TestNonStandardInputOutput
[WARNING] Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 0.224 s -- in eu.openaire.publications_retriever.test.TestNonStandardInputOutput
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 7, Failures: 0, Errors: 0, Skipped: 7
[INFO] 
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ publications_retriever ---
[INFO] Building jar: /var/lib/jenkins/workspace/PublicationsRetriever/target/publications_retriever-1.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.288 s
[INFO] Finished at: 2024-04-29T16:27:54Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.5.2:shade (default) on project publications_retriever: The plugin org.apache.maven.plugins:maven-shade-plugin:3.5.2 requires Maven version 3.6.3 -> [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/PluginIncompatibleException

[JENKINS] Archiving /var/lib/jenkins/workspace/PublicationsRetriever/pom.xml to eu.openaire/publications_retriever/1.2-SNAPSHOT/publications_retriever-1.2-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/PublicationsRetriever/target/publications_retriever-1.2-SNAPSHOT.jar to eu.openaire/publications_retriever/1.2-SNAPSHOT/publications_retriever-1.2-SNAPSHOT.jar
channel stopped
Finished: FAILURE