Started by user Didier Vojtisek
Running as Didier Vojtisek
Agent basic-sq0pg is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
jenkins/label: "basic"
name: "basic-sq0pg"
namespace: "gemoc"
spec:
containers:
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.gemoc.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "basic-sq0pg"
- 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-sq0pg"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.gemoc.svc.cluster.local/gemoc/"
image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.13.3"
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-gemoc"
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-sq0pg (basic) in workspace /home/jenkins/agent/workspace/deploy_latest_as_release_or_milestone
[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-rgLoPg6PXpeS/agent.57
SSH_AGENT_PID=59
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/deploy_latest_as_release_or_milestone@tmp/private_key_16703707189720632197.key (/home/jenkins/agent/workspace/deploy_latest_as_release_or_milestone@tmp/private_key_16703707189720632197.key)
[ssh-agent] Using credentials genie.gemoc (ssh://genie.gemoc@projects-storage.eclipse.org)
The recommended git tool is: git
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse/gemoc-studio.git
> git init /home/jenkins/agent/workspace/deploy_latest_as_release_or_milestone # timeout=10
Fetching upstream changes from https://github.com/eclipse/gemoc-studio.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- https://github.com/eclipse/gemoc-studio.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/eclipse/gemoc-studio.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 ee93ee8092e62d899a92693f40f4d4b47eede93e (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f ee93ee8092e62d899a92693f40f4d4b47eede93e # timeout=10
Commit message: "update changelog"
> git rev-list --no-walk a20db99775c090bdfd6fbb631307dc3274d19730 # timeout=10
[deploy_latest_as_release_or_milestone] $ /bin/bash -ex /tmp/jenkins5285639522590560035.sh
++ git describe --abbrev=0 --tags
+ export LATEST_TAG=3.6.0
+ LATEST_TAG=3.6.0
+ echo LATEST_TAG=3.6.0
LATEST_TAG=3.6.0
+ export DOWNLOAD_FOLDER=/home/data/httpd/download.eclipse.org/gemoc
+ DOWNLOAD_FOLDER=/home/data/httpd/download.eclipse.org/gemoc
+ echo DOWNLOAD_FOLDER=/home/data/httpd/download.eclipse.org/gemoc
DOWNLOAD_FOLDER=/home/data/httpd/download.eclipse.org/gemoc
+ ssh genie.gemoc@projects-storage.eclipse.org ls -lsa /home/data/httpd/download.eclipse.org/gemoc/docs/releases/
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
total 32
4 drwxrwsrwx 8 genie.gemoc modeling.gemoc 4096 Jun 30 2022 .
4 drwxrwsrwx 5 genie.gemoc modeling.gemoc 4096 Apr 6 11:34 ..
4 drwxrwsr-x 7 genie.gemoc modeling.gemoc 4096 Jul 17 2018 3.0.0
4 drwxrwsr-x 7 genie.gemoc modeling.gemoc 4096 Jul 29 2019 3.1.0
4 drwxrwsr-x 6 genie.gemoc modeling.gemoc 4096 Jun 16 2020 3.2.0
4 drwxrwsr-x 6 genie.gemoc modeling.gemoc 4096 Jul 28 2021 3.3.0
4 drwxr-sr-x 6 genie.gemoc modeling.gemoc 4096 Jan 10 2022 3.4.0
4 drwxr-sr-x 6 genie.gemoc modeling.gemoc 4096 Jun 30 2022 3.5.0
+ ssh genie.gemoc@projects-storage.eclipse.org ls -lsa /home/data/httpd/download.eclipse.org/gemoc/packages/releases/
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
total 20
4 drwxrwsrwx 5 genie.gemoc modeling.gemoc 4096 Jul 1 2022 .
4 drwxrwsrwx 5 genie.gemoc modeling.gemoc 4096 Apr 6 11:32 ..
4 drwxrwsr-x 2 genie.gemoc modeling.gemoc 4096 Jul 28 2021 3.3.0
4 drwxr-sr-x 2 genie.gemoc modeling.gemoc 4096 Jan 10 2022 3.4.0
4 drwxr-sr-x 2 genie.gemoc modeling.gemoc 4096 Jun 30 2022 3.5.0
+ ssh genie.gemoc@projects-storage.eclipse.org ls -lsa /home/data/httpd/download.eclipse.org/gemoc/updates/releases/
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
total 32
4 drwxrwsrwx 8 genie.gemoc modeling.gemoc 4096 Jun 30 2022 .
4 drwxrwsrwx 6 genie.gemoc modeling.gemoc 4096 Apr 6 11:33 ..
4 drwxrwsr-x 5 genie.gemoc modeling.gemoc 4096 Jul 17 2018 3.0.0
4 drwxrwsr-x 5 genie.gemoc modeling.gemoc 4096 Jul 29 2019 3.1.0
4 drwxrwsr-x 5 genie.gemoc modeling.gemoc 4096 Jun 16 2020 3.2.0
4 drwxrwsr-x 5 genie.gemoc modeling.gemoc 4096 Jul 28 2021 3.3.0
4 drwxr-sr-x 5 genie.gemoc modeling.gemoc 4096 Jan 10 2022 3.4.0
4 drwxr-sr-x 5 genie.gemoc modeling.gemoc 4096 Jun 30 2022 3.5.0
+ ssh genie.gemoc@projects-storage.eclipse.org 'if [ -d "${DOWNLOAD_FOLDER}/docs/${RELEASE_KIND}/${LATEST_TAG}" ]; then\
echo "${DOWNLOAD_FOLDER}/docs/${RELEASE_KIND}/${LATEST_TAG} already exist: stopping; if you really wish to do this, please first remove the folders"
exit -1
fi'
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/gemoc/docs/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org cp -r '/home/data/httpd/download.eclipse.org/gemoc/docs/nightly/*' /home/data/httpd/download.eclipse.org/gemoc/docs/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/gemoc/packages/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org cp -r '/home/data/httpd/download.eclipse.org/gemoc/packages/nightly/*.zip' /home/data/httpd/download.eclipse.org/gemoc/packages/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/gemoc/updates/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ ssh genie.gemoc@projects-storage.eclipse.org cp -r '/home/data/httpd/download.eclipse.org/gemoc/updates/nightly/*' /home/data/httpd/download.eclipse.org/gemoc/updates/releases/3.6.0
Failed to add the ECDSA host key for IP address '172.25.25.150' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 59 killed;
[ssh-agent] Stopped.
Finished: SUCCESS