Started by user Radek Felcman
Running as Radek Felcman
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes eclipselink/el-master-agent-pod-pz4zn-0cp92
Still waiting to schedule task
‘el-master-agent-pod-pz4zn-0cp92’ is offline
Agent el-master-agent-pod-pz4zn-0cp92 is provisioned from template el-master-agent-pod-pz4zn
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.eclipselink.svc.cluster.local/eclipselink/job/shell/204/"
runUrl: "job/shell/204/"
labels:
jenkins: "slave"
jenkins/label-digest: "3d62520732501e7b9e0bcd1206f227b6ebd57128"
jenkins/label: "el-master-agent-pod"
name: "el-master-agent-pod-pz4zn-0cp92"
namespace: "eclipselink"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.eclipselink.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "el-master-agent-pod-pz4zn-0cp92"
- name: "JENKINS_NAME"
value: "el-master-agent-pod-pz4zn-0cp92"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.eclipselink.svc.cluster.local/eclipselink/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
name: "jnlp"
resources:
limits:
memory: "0.1Gi"
cpu: "0.1"
requests:
memory: "0.1Gi"
cpu: "0.1"
volumeMounts:
- mountPath: "/home/jenkins/.ssh"
name: "volume-known-hosts"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- command:
- "cat"
image: "rfelcman/el-build:2.0.3"
name: "el-build"
resources:
limits:
memory: "0.2Gi"
cpu: "0.5"
requests:
memory: "0.2Gi"
cpu: "0.5"
tty: true
volumeMounts:
- mountPath: "/opt/tools"
name: "tools"
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "settings-xml"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/home/jenkins/.m2/settings-security.xml"
name: "settings-security-xml"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/repository"
name: "m2-repo"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector:
kubernetes.io/os: "linux"
restartPolicy: "Never"
volumes:
- name: "settings-security-xml"
secret:
items:
- key: "settings-security.xml"
path: "settings-security.xml"
secretName: "m2-secret-dir"
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
- emptyDir: {}
name: "m2-repo"
- name: "settings-xml"
secret:
items:
- key: "settings.xml"
path: "settings.xml"
secretName: "m2-secret-dir"
- emptyDir:
medium: ""
name: "workspace-volume"
- name: "tools"
persistentVolumeClaim:
claimName: "tools-claim-jiro-eclipselink"
- configMap:
name: "known-hosts"
name: "volume-known-hosts"
Running on el-master-agent-pod-pz4zn-0cp92 in /home/jenkins/agent/workspace/shell
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Shell commands)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ echo /opt/tools/java/openjdk/jdk-11/latest
/opt/tools/java/openjdk/jdk-11/latest
+ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
+ mvn -version
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /opt/tools/apache-maven/latest
Java version: 11.0.2, vendor: Oracle Corporation, runtime: /opt/tools/java/openjdk/jdk-11/11.0.2+9
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "6.2.9-300.fc38.x86_64", arch: "amd64", family: "unix"
+ . /etc/profile
++ '[' -x /usr/bin/id ']'
++ '[' -z 1001560000 ']'
+++ /usr/bin/id -un
++ USER=jenkins
++ LOGNAME=jenkins
++ MAIL=/var/spool/mail/jenkins
++ '[' 1001560000 = 0 ']'
++ pathmunge /usr/local/sbin after
++ case ":${PATH}:" in
++ pathmunge /usr/sbin after
++ case ":${PATH}:" in
+++ /usr/bin/hostname
++ HOSTNAME=
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 127
Finished: FAILURE