[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ca-dev] Build failed in Jenkins: Common Annotations master build #445
|
See <https://ci.eclipse.org/ca/job/ca-api-master-build/445/display/redirect?page=changes>
Changes:
[Lukas Jungmann] use code javadoc tag instead of html one
[Lukas Jungmann] fix a link in readme
[Lukas Jungmann] Set release level to 21
[Lukas Jungmann] improve code samples in javadoc
[Lukas Jungmann] fix cp right
[Lukas Jungmann] put back references section
[Lukas Jungmann] add contributing info to the readme
------------------------------------------
Started by an SCM change
Running as SYSTEM
Agent basic-r3r87 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-r3r87"
namespace: "ca"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.ca.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-r3r87"
- name: "JENKINS_REMOTING_JAVA_OPTS"
value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
\ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
- name: "JAVA_TOOL_OPTIONS"
value: ""
- name: "_JAVA_OPTIONS"
value: ""
- name: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- name: "JENKINS_NAME"
value: "basic-r3r87"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.ca.svc.cluster.local/ca/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3131.vf2b_b_798b_ce99"
imagePullPolicy: "Always"
name: "jnlp"
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "m2-dir"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/home/jenkins/.mavenrc"
name: "m2-dir"
readOnly: true
subPath: ".mavenrc"
- mountPath: "/opt/tools"
name: "volume-0"
readOnly: false
- mountPath: "/home/jenkins"
name: "volume-2"
readOnly: false
- mountPath: "/home/jenkins/.m2/repository"
name: "volume-3"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings-security.xml"
name: "m2-secret-dir"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/wrapper"
name: "volume-4"
readOnly: false
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "m2-secret-dir"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.ssh"
name: "volume-1"
readOnly: false
subPath: ""
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
workingDir: "/home/jenkins/agent"
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "volume-0"
persistentVolumeClaim:
claimName: "tools-claim-jiro-ca"
readOnly: true
- name: "m2-secret-dir"
secret:
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "volume-2"
- configMap:
name: "m2-dir"
name: "m2-dir"
- configMap:
name: "known-hosts"
name: "volume-1"
- emptyDir:
medium: ""
name: "workspace-volume"
- emptyDir:
medium: ""
name: "volume-4"
- emptyDir:
medium: ""
name: "volume-3"
Building remotely on basic-r3r87 (basic) in workspace <https://ci.eclipse.org/ca/job/ca-api-master-build/ws/>
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@xxxxxxxxxx:jakartaee/common-annotations-api.git
> git init <https://ci.eclipse.org/ca/job/ca-api-master-build/ws/> # timeout=10
Fetching upstream changes from git@xxxxxxxxxx:jakartaee/common-annotations-api.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitHub bot SSH
[INFO] Currently running in a labeled security context
> /usr/bin/chcon --type=ssh_home_t <https://ci.eclipse.org/ca/job/ca-api-master-build/ws/@tmp/jenkins-gitclient-ssh17741836062361651151.key>
Verifying host key using manually-configured host key entries
> git fetch --tags --force --progress -- git@xxxxxxxxxx:jakartaee/common-annotations-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@xxxxxxxxxx:jakartaee/common-annotations-api.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 fb6a7d216825d93d227409d963ec5654136cc4c7 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fb6a7d216825d93d227409d963ec5654136cc4c7 # timeout=10
Commit message: "add contributing info to the readme"
> git rev-list --no-walk ba0a28463ba310d60bd5971ae59081044192df67 # timeout=10
[ca-api-master-build] $ /bin/sh -ex /tmp/jenkins7244613293158066877.sh
+ TOOLS_PREFIX=/opt/tools
+ MVN_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/tools/java/openjdk/jdk-11/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ echo '-[ Common Annotations Build ]---------------------------------------------------'
-[ Common Annotations Build ]---------------------------------------------------
+ cd api
+ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< jakarta.annotation:jakarta.annotation-api >--------------
[INFO] Building Jakarta Annotations API 3.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.annotation-api ---
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jakarta.annotation-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO]
[INFO] --- spec-version:2.1:set-spec-properties (default) @ jakarta.annotation-api ---
[INFO]
[INFO] -- spec properties --
[INFO] spec.bundle.symbolic-name = jakarta.annotation-api
[INFO] spec.implementation.version = 3.0.0
[INFO] spec.extension.name = jakarta.annotation
[INFO] spec.bundle.spec.version = 3.0
[INFO] spec.specification.version = 3.0
[INFO] spec.bundle.version = 3.0.0
[INFO]
[INFO]
[INFO] --- build-helper:3.4.0:add-resource (add-resource) @ jakarta.annotation-api ---
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ jakarta.annotation-api ---
[INFO] skip non existing resourceDirectory <https://ci.eclipse.org/ca/job/ca-api-master-build/ws/api/src/main/resources>
[INFO] Copying 2 resources to META-INF
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ jakarta.annotation-api ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 18 source files with javac [debug release 21] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.858 s
[INFO] Finished at: 2023-10-26T15:44:28Z
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 3 plugin(s)
[WARNING]
[WARNING] * org.apache.felix:maven-bundle-plugin:5.1.9
[WARNING] * org.glassfish.build:spec-version-maven-plugin:2.1
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project jakarta.annotation-api: Fatal error compiling: error: release version 21 not supported -> [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/MojoExecutionException
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful
Recording test results
No test report files were found. Configuration error?
[Checks API] No suitable checks publisher found.
[Java CompilerJavaDocSpotBugs] Skipping execution of recorder since overall result is 'FAILURE'