Skip to content

Console Output

Started by user Johannes Faltermeier
Running as Johannes Faltermeier
Agent basic-3xj8d is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-3xj8d"
  namespace: "edapt"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.edapt.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-3xj8d"
    - 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-3xj8d"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.edapt.svc.cluster.local/edapt/"
    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-edapt"
      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-3xj8d (basic) in workspace /home/jenkins/agent/workspace/emf-edapt-publish
[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-U5kKA3WfIG89/agent.56
SSH_AGENT_PID=58
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/emf-edapt-publish@tmp/private_key_7888969826169961077.key (/home/jenkins/agent/workspace/emf-edapt-publish@tmp/private_key_7888969826169961077.key)
[ssh-agent] Using credentials genie.edapt (ssh://genie.edapt@projects-storage.eclipse.org)
[emf-edapt-publish] $ /bin/sh /tmp/jenkins4465577189038793691.sh
Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-37-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Mon Nov 14 08:24:53 EST 2022

  System load:  0.06              Users logged in:       0
  Usage of /:   8.8% of 57.98GB   IPv4 address for ens2: 172.30.206.150
  Memory usage: 15%               IPv4 address for ens2: 198.41.30.204
  Swap usage:   0%                IPv4 address for ens3: 172.25.25.150
  Processes:    134

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

0 updates can be applied immediately.


The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

New release '22.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Fri Jun 17 05:32:51 2022 from 172.25.50.34


echo /home/data/httpd/download.eclipse.org/edapt/releases/15x /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
mkdir -p /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
cd /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a

# Edapt

# wget -v https://ci.eclipse.org/edapt/job/emf-edapt-release/lastSuccessfulBuild/artifact/builds/org.eclipse.emf.edapt.releng.p2/target/repository/*zip*/repository.zip --proxy=off
# echo after download
# ls -al
# unzip /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository.zip && mv /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository/* /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a && rm -f /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository.zip && rm -rf /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository

# #zip whole release folder
# zip -r 150a *

# Update top composite update site
cd /home/data/httpd/download.eclipse.org/edapt/releases/15x

rm compositeArtifacts.xml
rm compositeContent.xml

wget https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeArtifacts.xml
sed -i "s/%timestamp%/1668432293/" compositeArtifacts.xml
sed -i "s/%repo-name%/Edapt 1.5.x Releases/" compositeArtifacts.xml
sed -i "s/%children%/<child location='150a'\/>/" compositeArtifacts.xml
sed -i "s/%children-size%/1/" compositeArtifacts.xml

wget https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeContent.xml
sed -i "s/%timestamp%/1668432293/" compositeContent.xml
sed -i "s/%repo-name%/Edapt 1.5.x Releases/" compositeContent.xml
sed -i "s/%children%/<child location='150a'\/>/" compositeContent.xml
sed -i "s/%children-size%/1/" compositeContent.xml

#for II in */;
#do
#  /shared/rt/rap/scripts/comp-repo.sh . --name "Edapt 1.5.x Releases" --eclipse /shared/rt/rap/build-runtimes/eclipse add 
#done

exit 0
[?2004hgenie.edapt@projects-storage:~$ 
[?2004l
[?2004hgenie.edapt@projects-storage:~$ echo /home/data/httpd/download.eclipse.org/edapt/releases/15x /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
[?2004l
/home/data/httpd/download.eclipse.org/edapt/releases/15x /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
[?2004hgenie.edapt@projects-storage:~$ mkdir -p /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
[?2004l
[?2004hgenie.edapt@projects-storage:~$ cd /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # Edapt
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # wget -v https://ci.eclipse.org/edapt/job/emf-edapt-release/lastSuccessfulBuild/artifact/builds/org.eclipse.emf.edapt.releng.p2/target/repository/*zip*/repository.zip --proxy=off
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # echo after download
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # ls -al
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # unzip /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository.zip && mv /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository/* /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a && rm -f /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository.zip && rm -rf /home/data/httpd/download.eclipse.org/edapt/releases/15x/150a/repository
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # #zip whole release folder
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # zip -r 150a *
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ # Update top composite update site
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x/150a$ cd /home/data/httpd/download.eclipse.org/edapt/releases/15x
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ rm compositeArtifacts.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ rm compositeContent.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ wget https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeArtifacts.xml
[?2004l
--2022-11-14 08:24:54--  https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeArtifacts.xml
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 510 [text/plain]
Saving to: ‘compositeArtifacts.xml’


compositeArtifacts.   0%[                    ]       0  --.-KB/s               
compositeArtifacts. 100%[===================>]     510  --.-KB/s    in 0s      

2022-11-14 08:24:54 (12.3 MB/s) - ‘compositeArtifacts.xml’ saved [510/510]

[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%timestamp%/1668432293/" compositeArtifacts.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%repo-name%/Edapt 1.5.x Releases/" compositeArtifacts.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%children%/<child location='150a'\/>/" compositeArtifacts.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%children-size%/1/" compositeArtifacts.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ wget https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeContent.xml
[?2004l
--2022-11-14 08:24:54--  https://gist.githubusercontent.com/eneufeld/435f488024e29791dcff47c6bd8a5bc0/raw/b6f724937cf577affe068d789ef474328affdf88/compositeContent.xml
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 510 [text/plain]
Saving to: ‘compositeContent.xml’


compositeContent.xm   0%[                    ]       0  --.-KB/s               
compositeContent.xm 100%[===================>]     510  --.-KB/s    in 0s      

2022-11-14 08:24:54 (10.5 MB/s) - ‘compositeContent.xml’ saved [510/510]

[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%timestamp%/1668432293/" compositeContent.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%repo-name%/Edapt 1.5.x Releases/" compositeContent.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%children%/<child location='150a'\/>/" compositeContent.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ sed -i "s/%children-size%/1/" compositeContent.xml
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ #for II in */;
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ #do
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ #  /shared/rt/rap/scripts/comp-repo.sh . --name "Edapt 1.5.x Releases" --eclipse /shared/rt/rap/build-runtimes/eclipse add 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ #done
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ 
[?2004l
[?2004hgenie.edapt@projects-storage:/home/data/httpd/download.eclipse.org/edapt/releases/15x$ exit 0
[?2004l
logout
Connection to projects-storage.eclipse.org closed.
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 58 killed;
[ssh-agent] Stopped.
Finished: SUCCESS