Started by user Mickael Istria
Running as Mickael Istria
Agent basic-gllkh is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-gllkh"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.lsp4e.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-gllkh"
- 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-gllkh"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.lsp4e.svc.cluster.local/lsp4e/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.10.1"
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-lsp4e"
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-gllkh (basic) in workspace /home/jenkins/agent/workspace/promote-snapshot-to-release
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XT1hIzksxUrd/agent.62
SSH_AGENT_PID=64
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/promote-snapshot-to-release@tmp/private_key_2112759940809064667.key (/home/jenkins/agent/workspace/promote-snapshot-to-release@tmp/private_key_2112759940809064667.key)
[ssh-agent] Using credentials genie.lsp4e (ssh://genie.lsp4e@git.eclipse.org)
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/promote-snapshot-to-release@tmp/private_key_8279680958904216356.key (/home/jenkins/agent/workspace/promote-snapshot-to-release@tmp/private_key_8279680958904216356.key)
[ssh-agent] Using credentials genie.lsp4e (ssh://genie.lsp4e@projects-storage.eclipse.org)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Using shallow clone with depth 1
Avoid fetching tags
Cloning repository https://git.eclipse.org/r/lsp4e/lsp4e.git
> git init /home/jenkins/agent/workspace/promote-snapshot-to-release # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/lsp4e/lsp4e.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --no-tags --force --progress --depth=1 -- https://git.eclipse.org/r/lsp4e/lsp4e.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.eclipse.org/r/lsp4e/lsp4e.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 003394c04d1df0fa15f711ca5f21c272365290f6 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 003394c04d1df0fa15f711ca5f21c272365290f6 # timeout=10
Commit message: "Move to https://github.com/eclipse/lsp4e/"
> git rev-list --no-walk 003394c04d1df0fa15f711ca5f21c272365290f6 # timeout=10
[promote-snapshot-to-release] $ /bin/sh -xe /tmp/jenkins14762551925996321134.sh
+ '[' -z '0.20.2 ' ']'
+ ssh genie.lsp4e@projects-storage.eclipse.org mkdir /home/data/httpd/download.eclipse.org/lsp4e/releases/0.20.2
+ ssh genie.lsp4e@projects-storage.eclipse.org cp -r '/home/data/httpd/download.eclipse.org/lsp4e/snapshots/*' /home/data/httpd/download.eclipse.org/lsp4e/releases/0.20.2 /
cp: cannot create regular file '/artifacts.jar': Permission denied
cp: cannot create regular file '/artifacts.xml.xz': Permission denied
cp: cannot create regular file '/content.jar': Permission denied
cp: cannot create regular file '/content.xml.xz': Permission denied
cp: cannot create regular file '/p2.index': Permission denied
cp: cannot create directory '/plugins': Permission denied
cp: cannot create directory '/0.20.2': Permission denied
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 64 killed;
[ssh-agent] Stopped.
Finished: FAILURE