Started by an SCM change
Running as SYSTEM
Agent basic-n7j0j is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
kubernetes.jenkins.io/last-refresh: "1717497734159"
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
kubernetes.jenkins.io/controller: "nkins-ui_authentication_svc_cluster_local_authenticationx"
name: "basic-n7j0j"
namespace: "authentication"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.authentication.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-n7j0j"
- 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: "REMOTING_OPTS"
value: "-noReconnectAfter 1d"
- name: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- name: "JENKINS_NAME"
value: "basic-n7j0j"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.authentication.svc.cluster.local/authentication/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3206.vb_15dcf73f6a_9"
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-authentication"
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-n7j0j (basic) in workspace /home/jenkins/agent/workspace/authentication-master-build
The recommended git tool is: NONE
using credential github-bot
Cloning the remote Git repository
Cloning repository https://github.com/jakartaee/authentication
> git init /home/jenkins/agent/workspace/authentication-master-build # timeout=10
Fetching upstream changes from https://github.com/jakartaee/authentication
> git --version # timeout=10
> git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
> git fetch --tags --force --progress -- https://github.com/jakartaee/authentication +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/jakartaee/authentication # 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 66fe1ab8bb472537d0278f8ce648a2503bd1fa3d (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 66fe1ab8bb472537d0278f8ce648a2503bd1fa3d # timeout=10
Commit message: "Merge pull request #212 from arjantijms/dist_31"
> git rev-list --no-walk 6c902a41d51922c0c7a174d17a161fdc2ff45f14 # timeout=10
[authentication-master-build] $ /opt/tools/apache-maven/latest/bin/mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Jakarta Authentication [jar]
[INFO] Jakarta Authentication [pom]
[INFO] Jakarta Authentication Specification [pom]
[INFO]
[INFO] ---------< jakarta.authentication:jakarta.authentication-api >----------
[INFO] Building Jakarta Authentication 3.1.0-SNAPSHOT [1/3]
[INFO] from api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jakarta.authentication-api ---
[INFO]
[INFO] --- flatten:1.6.0:clean (flatten.clean) @ jakarta.authentication-api ---
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jakarta.authentication-api ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO]
[INFO] --- spec-version:2.2:set-spec-properties (default) @ jakarta.authentication-api ---
[INFO]
[INFO] -- spec properties --
[INFO] spec.implementation.version = 3.1.0
[INFO] spec.specification.version = 3.1
[INFO] spec.bundle.symbolic-name = jakarta.security.auth.message-api
[INFO] spec.bundle.spec.version = 3.1
[INFO] spec.extension.name = jakarta.security.auth.message
[INFO] spec.bundle.version = 3.1.0
[INFO]
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ jakarta.authentication-api ---
[INFO] Copying 4 resources from src/main/java to target/classes
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 2 resources from .. to target/classes/META-INF
[INFO] Copying 0 resource from to target/classes/META-INF
[INFO]
[INFO] --- flatten:1.6.0:flatten (flatten) @ jakarta.authentication-api ---
[INFO] Generating flattened POM of project jakarta.authentication:jakarta.authentication-api:jar:3.1.0-SNAPSHOT...
[INFO]
[INFO] --- compiler:3.12.1:compile (default-compile) @ jakarta.authentication-api ---
[WARNING] Can't extract module name from classes: null
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 24 source files with javac [debug release 17] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jakarta Authentication 3.1.0-SNAPSHOT:
[INFO]
[INFO] Jakarta Authentication ............................. FAILURE [ 3.735 s]
[INFO] Jakarta Authentication ............................. SKIPPED
[INFO] Jakarta Authentication Specification ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.447 s
[INFO] Finished at: 2024-06-04T10:42:30Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project jakarta.authentication-api: Fatal error compiling: invalid flag: --release -> [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 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE