Build failed in Jenkins: java-metadata-aggregator-0.10 #264
Shibboleth Jenkins
noreply at shibboleth.net
Fri Oct 21 17:08:39 UTC 2022
See <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/264/display/redirect?page=changes>
Changes:
[Ian Young] Null safety annotations
[Ian Young] MDA-231 - Add stage to validate selected DOM attributes as strings
------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on EC2 (I2) - CentOS7-commits (i-0dea70315af445534) (CentOS7-commits) in workspace <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/>
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/.git> # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://git.shibboleth.net/git/java-metadata-aggregator # timeout=10
Fetching upstream changes from https://git.shibboleth.net/git/java-metadata-aggregator
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
> git fetch --tags --progress https://git.shibboleth.net/git/java-metadata-aggregator +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision bd1cdc6d2ff034fc11b259368a9cdeb7b6d24595 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f bd1cdc6d2ff034fc11b259368a9cdeb7b6d24595 # timeout=10
Commit message: "MDA-231 - Add stage to validate selected DOM attributes as strings"
> git rev-list --no-walk 4ae7ae72e554a3cb4e6b99119de0269876ad22aa # timeout=10
Parsing POMs
Downloaded artifact https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/11.3.5-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata net.shibboleth:parent:11.3.5-SNAPSHOT/maven-metadata.xml in shib-thirdparty-snapshot (https://build.shibboleth.net/maven/thirdparty-snapshots/)
Modules changed, recalculating dependency graph
Established TCP socket on 46213
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[java-metadata-aggregator-0.10] $ /opt/jdk/amazon-11/bin/java -cp /opt/jenkins/maven35-agent.jar:/opt/maven_home/boot/plexus-classworlds-2.6.0.jar:/opt/maven_home/conf/logging jenkins.maven3.agent.Maven35Main /opt/maven_home /tmp/remoting.jar /opt/jenkins/maven35-interceptor.jar /opt/jenkins/maven3-interceptor-commons.jar 46213
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/pom.xml> -V -B --update-snapshots clean install -D no-check-m2
[1mApache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)[m
Maven home: /efs/optjava/maven/apache-maven-3.8.6
Java version: 11.0.17, vendor: Amazon.com Inc., runtime: /efs/optjava/jdk/amazon/amazon-corretto-11.0.17.8.1-linux-x64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-1160.76.1.el7.x86_64", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[INFO] Downloading from shib-thirdparty-snapshot: https://build.shibboleth.net/maven/thirdparty-snapshots/net/shibboleth/parent/11.3.5-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/11.3.5-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from shib-snapshot: https://build.shibboleth.net/maven/snapshots/net/shibboleth/parent/11.3.5-SNAPSHOT/maven-metadata.xml (601 B at 1.8 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Shibboleth Metadata Aggregator [pom]
[INFO] Processing Framework [jar]
[INFO] RSA Key Lists [jar]
[INFO] Command Line Interface [jar]
[INFO] Distribution Packages [pom]
[INFO] Bill of Materials [pom]
[INFO]
[INFO] -----------------< net.shibboleth.metadata:mda-parent >-----------------
[INFO] Building Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ mda-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ mda-parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-joda-time) @ mda-parent ---
[INFO]
[INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ mda-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- maven-jar-plugin:3.2.2:test-jar (default) @ mda-parent ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ mda-parent ---
[INFO] Installing <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/pom.xml> to /home/jenkins/.m2/repository/net/shibboleth/metadata/mda-parent/0.10.0-SNAPSHOT/mda-parent-0.10.0-SNAPSHOT.pom
[JENKINS] Archiving disabled
[INFO]
[INFO] ---------------< net.shibboleth.metadata:mda-framework >----------------
[INFO] Building Processing Framework 0.10.0-SNAPSHOT [2/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ mda-framework ---
[INFO] Deleting <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/target>
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (maven-version) @ mda-framework ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (no-joda-time) @ mda-framework ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (default-prepare-agent) @ mda-framework ---
[INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=<http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/target/jacoco.exec>
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mda-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ mda-framework ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 170 source files to <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[62,26] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[69,51] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[79,80] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[108,89] annotation @javax.annotation.Nonnull not applicable in this type context
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Shibboleth Metadata Aggregator 0.10.0-SNAPSHOT:
[INFO]
[INFO] Shibboleth Metadata Aggregator ..................... SUCCESS [ 4.356 s]
[INFO] Processing Framework ............................... FAILURE [ 4.467 s]
[INFO] RSA Key Lists ...................................... SKIPPED
[INFO] Command Line Interface ............................. SKIPPED
[INFO] Distribution Packages .............................. SKIPPED
[INFO] Bill of Materials .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.434 s
[INFO] Finished at: 2022-10-21T17:08:34Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project mda-framework: Compilation failure: Compilation failure:
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[62,26] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[69,51] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[79,80] annotation @javax.annotation.Nonnull not applicable in this type context
[ERROR] <http://127.0.0.1:1583/jenkins/job/java-metadata-aggregator-0.10/ws/mda-framework/src/main/java/net/shibboleth/metadata/dom/AbstractAttributeValidationStage.java>:[108,89] annotation @javax.annotation.Nonnull not applicable in this type context
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :mda-framework
No mail will be sent out, as 'java-metadata-aggregator-0.10 » RSA Key Lists #264' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-metadata-aggregator-0.10 » Command Line Interface #264' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'java-metadata-aggregator-0.10 » Bill of Materials #264' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Sending e-mails to: commits at shibboleth.net
No mail will be sent out, as 'java-metadata-aggregator-0.10 » Distribution Packages #264' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
channel stopped
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/surefire-reports/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Found matching files but did not find any TestNG results.
More information about the commits
mailing list