Skip to content
Success

Console Output

Started by user David Blevins
Rebuilds build #1
Running as David Blevins
Agent migration-agent-z408l is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/migration: "true"
  name: "migration-agent-z408l"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "c378ddc72385b8f06f9eae37964cc191c03766f30edb7edf666b6762fda89198"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.jakartaee-spec-committee.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "migration-agent-z408l"
    - name: "JENKINS_NAME"
      value: "migration-agent-z408l"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jakartaee-spec-committee.svc.cluster.local/jakartaee-spec-committee/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/migration-fat-agent:3.29@sha256:a341be4b6509400aaa18081d86f66239ceb93897059386120ef6633aa378931f"
    imagePullPolicy: "IfNotPresent"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    workingDir: "/home/jenkins"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-jakartaee-spec-committee"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - configMap:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      name: "m2-dir"
    name: "settings-xml"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Building remotely on migration-agent-z408l (migration) in workspace /home/jenkins/workspace/remove-spec
[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-5661FwlXlW2N/agent.48
SSH_AGENT_PID=50
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/remove-spec@tmp/private_key_557557608670629191.key (/home/jenkins/workspace/remove-spec@tmp/private_key_557557608670629191.key)
[ssh-agent] Using credentials genie.jakartaee-spec-committee (ssh://genie.jakartaee-spec-committee@projects-storage.eclipse.org)
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/jakartaee/specification-tools.git
 > /usr/bin/git init /home/jenkins/workspace/remove-spec # timeout=10
Fetching upstream changes from https://github.com/jakartaee/specification-tools.git
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git fetch --tags --progress https://github.com/jakartaee/specification-tools.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git config remote.origin.url https://github.com/jakartaee/specification-tools.git # timeout=10
 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > /usr/bin/git config remote.origin.url https://github.com/jakartaee/specification-tools.git # timeout=10
Fetching upstream changes from https://github.com/jakartaee/specification-tools.git
 > /usr/bin/git fetch --tags --progress https://github.com/jakartaee/specification-tools.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 97aa51a8e851f891a182d34fa0b364aa29b6eb0a (refs/remotes/origin/master)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 97aa51a8e851f891a182d34fa0b364aa29b6eb0a
Commit message: "Simplify remove logic and do ls to log what is deleted Signed-off-by: David Blevins <david.blevins@gmail.com>"
 > /usr/bin/git rev-list --no-walk 97aa51a8e851f891a182d34fa0b364aa29b6eb0a # timeout=10
[remove-spec] $ /bin/sh -xe /tmp/jenkins8888045655893265515.sh
+ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ /home/jenkins/workspace/remove-spec/promotion/remove-spec.sh
++ dirname /home/jenkins/workspace/remove-spec/promotion/remove-spec.sh
+ source /home/jenkins/workspace/remove-spec/promotion/utils.sh
+ require SPEC_NAME '[a-z][a-z-]*[a-z]'
+ local name=SPEC_NAME
+ local 'regex=[a-z][a-z-]*[a-z]'
+ '[' -n wombat ']'
+ '[' -n '[a-z][a-z-]*[a-z]' ']'
+ echo wombat
+ egrep --silent '^[a-z][a-z-]*[a-z]$'
+ ZONE=/home/data/httpd/download.eclipse.org/jakartaee/
+ DROP=/home/data/httpd/download.eclipse.org/jakartaee/wombat
+ HOST=genie.jakartaee-spec-committee@projects-storage.eclipse.org
+ ssh genie.jakartaee-spec-committee@projects-storage.eclipse.org 'uname -a'
Linux build 3.0.101-0.47.71-default #1 SMP Thu Nov 12 12:22:22 UTC 2015 (b5b212e) x86_64 x86_64 x86_64 GNU/Linux
+ ssh genie.jakartaee-spec-committee@projects-storage.eclipse.org 'ls -la /home/data/httpd/download.eclipse.org/jakartaee/'
total 12
drwxrwxr-x   3 genie.jakartaee-spec-committee jakartaee.spec-committee   28 Aug 16 12:27 .
drwxr-xr-x 313 root                           root                     8192 Aug 15 17:49 ..
drwxrwxr-x   2 genie.jakartaee-spec-committee signers                    10 Aug 16 12:27 wombat
+ ssh genie.jakartaee-spec-committee@projects-storage.eclipse.org 'touch /home/data/httpd/download.eclipse.org/jakartaee/status && rm /home/data/httpd/download.eclipse.org/jakartaee/status'
+ ssh genie.jakartaee-spec-committee@projects-storage.eclipse.org 'ls -la /home/data/httpd/download.eclipse.org/jakartaee/wombat'
total 0
drwxrwxr-x 2 genie.jakartaee-spec-committee signers                  10 Aug 16 12:27 .
drwxrwxr-x 3 genie.jakartaee-spec-committee jakartaee.spec-committee 28 Aug 16 12:30 ..
+ ssh genie.jakartaee-spec-committee@projects-storage.eclipse.org 'rm -r /home/data/httpd/download.eclipse.org/jakartaee/wombat'
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 50 killed;
[ssh-agent] Stopped.
Finished: SUCCESS