Console Output

Started by an SCM change
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/uoa-validator-engine2
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/uoa-validator-engine2/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://code-repo.d4science.org/MaDgIK/uoa-validator-engine2.git # timeout=10
Fetching upstream changes from https://code-repo.d4science.org/MaDgIK/uoa-validator-engine2.git
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
 > git fetch --tags --progress -- https://code-repo.d4science.org/MaDgIK/uoa-validator-engine2.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 94b231093332990edf04a135383ae7bc97a4d65f (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 94b231093332990edf04a135383ae7bc97a4d65f # timeout=10
Commit message: "- Split the "DATE_VALIDATION"-guideline back to "EMBARGO_PERIOD_DATE" and "PUBLICATION_DATE" guidelines, as per requirement, while still using the new "ComprehensiveDateRule"-class to perform the individual-validations, without interference from other 'datacite:dates'-elements. - Code polishing."
 > git rev-list --no-walk 332cdfb708c94f21d949f84940f8369e26e9d1f2 # timeout=10
Parsing POMs
Established TCP socket on 46755
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[uoa-validator-engine2] $ /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 46755
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/workspace/uoa-validator-engine2/pom.xml clean package -U
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------< eu.dnetlib:uoa-validator-engine2 >------------------
[INFO] Building uoa-validator-engine2 2.2.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uoa-validator-engine2 ---
[INFO] Deleting /var/lib/jenkins/workspace/uoa-validator-engine2/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ uoa-validator-engine2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:compile (default-compile) @ uoa-validator-engine2 ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 128 source files with javac [debug target 1.8] to target/classes
[INFO] /var/lib/jenkins/workspace/uoa-validator-engine2/src/main/java/eu/dnetlib/validator2/engine/builtins/XMLRule.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/workspace/uoa-validator-engine2/src/main/java/eu/dnetlib/validator2/engine/builtins/XMLRule.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ uoa-validator-engine2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.12.1:testCompile (default-testCompile) @ uoa-validator-engine2 ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 8 source files with javac [debug target 1.8] to target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/workspace/uoa-validator-engine2/src/test/java/eu/dnetlib/validator2/engine/Example.java:[55,47] method forSuccess in class eu.dnetlib.validator2.result_models.StandardResult cannot be applied to given types;
  required: int,java.util.List<java.lang.String>
  found: int,<nulltype>,<nulltype>
  reason: actual and formal argument lists differ in length
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.172 s
[INFO] Finished at: 2025-11-26T19:49:18Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:testCompile (default-testCompile) on project uoa-validator-engine2: Compilation failure
[ERROR] /var/lib/jenkins/workspace/uoa-validator-engine2/src/test/java/eu/dnetlib/validator2/engine/Example.java:[55,47] method forSuccess in class eu.dnetlib.validator2.result_models.StandardResult cannot be applied to given types;
[ERROR] required: int,java.util.List<java.lang.String>
[ERROR] found: int,<nulltype>,<nulltype>
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] -> [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/MojoFailureException

[JENKINS] Archiving /var/lib/jenkins/workspace/uoa-validator-engine2/pom.xml to eu.dnetlib/uoa-validator-engine2/2.2.1-SNAPSHOT/uoa-validator-engine2-2.2.1-SNAPSHOT.pom
channel stopped
Finished: FAILURE