Console Output

Started by timer
Running as SYSTEM
Agent basic-n8pzp is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-n8pzp"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ecoretools.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-n8pzp"
    - 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-n8pzp"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ecoretools.svc.cluster.local/ecoretools/"
    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-ecoretools"
      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-n8pzp (basic) in workspace /home/jenkins/agent/workspace/ecoretools-updates-cleaner
[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-kHe1G6Ftcc2h/agent.65
SSH_AGENT_PID=67
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/ecoretools-updates-cleaner@tmp/private_key_7271698456838578939.key (/home/jenkins/agent/workspace/ecoretools-updates-cleaner@tmp/private_key_7271698456838578939.key)
[ssh-agent] Using credentials genie.ecoretools (ssh://genie.ecoretools@projects-storage.eclipse.org)
[ecoretools-updates-cleaner] $ /bin/sh -xe /tmp/jenkins16355999452759003494.sh
+ SSH_ACCOUNT=genie.ecoretools@projects-storage.eclipse.org
+ ROOT_DIR=/home/data/httpd/download.eclipse.org/ecoretools/updates/nightly
+ rm -f all.txt kept.txt removed.txt
+ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1
+ sort
+ grep -E '/[0-9]\.[0-9]\.[0-9]-N'
++ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1
++ sort
++ grep -E '/[0-9]\.[0-9]\.[0-9]-N'
++ sed -r -e 's|.*/([0-9]\.[0-9])\.[0-9]-N.*|\1|'
++ sort -u
+ for s in $(ssh "$SSH_ACCOUNT" find "$ROOT_DIR" -type d -maxdepth 1 | sort | grep -E '/[0-9]\.[0-9]\.[0-9]-N' | sed -r -e 's|.*/([0-9]\.[0-9])\.[0-9]-N.*|\1|' | sort -u)
+ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1 -name '3.0.[0-9]-N*'
+ sort
+ tail -n 5
+ for s in $(ssh "$SSH_ACCOUNT" find "$ROOT_DIR" -type d -maxdepth 1 | sort | grep -E '/[0-9]\.[0-9]\.[0-9]-N' | sed -r -e 's|.*/([0-9]\.[0-9])\.[0-9]-N.*|\1|' | sort -u)
+ sort
+ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1 -name '3.2.[0-9]-N*'
+ tail -n 5
+ for s in $(ssh "$SSH_ACCOUNT" find "$ROOT_DIR" -type d -maxdepth 1 | sort | grep -E '/[0-9]\.[0-9]\.[0-9]-N' | sed -r -e 's|.*/([0-9]\.[0-9])\.[0-9]-N.*|\1|' | sort -u)
+ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1 -name '3.3.[0-9]-N*'
+ sort
+ tail -n 5
+ for s in $(ssh "$SSH_ACCOUNT" find "$ROOT_DIR" -type d -maxdepth 1 | sort | grep -E '/[0-9]\.[0-9]\.[0-9]-N' | sed -r -e 's|.*/([0-9]\.[0-9])\.[0-9]-N.*|\1|' | sort -u)
+ ssh genie.ecoretools@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/ecoretools/updates/nightly -type d -maxdepth 1 -name '3.4.[0-9]-N*'
+ sort
+ tail -n 5
+ comm -23 all.txt kept.txt
+ '[' false = false ']'
++ cat removed.txt
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 67 killed;
[ssh-agent] Stopped.
Archiving artifacts
Finished: SUCCESS