FailedConsole Output

Started by promotion Milestone #37 for project "jdt-ls-master", build number 763
Running as SYSTEM
Agent default-agent-m0r9k is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-m0r9k"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ls.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-m0r9k"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-m0r9k"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ls.svc.cluster.local/ls/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:5d06ebec6e9dffc44fb41009a51d085a83944a23f651416531b960143d186340"
    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"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-3"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "settings-security-xml"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "settings-security-xml"
    secret:
      items:
      - key: "settings-security.xml"
        path: "settings-security.xml"
      secretName: "m2-secret-dir"
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-ls"
      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"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-3"

[EnvInject] - Loading node environment variables.
Building remotely on default-agent-m0r9k in workspace /home/jenkins/agent/workspace/jdt-ls-promotion
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[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-MevkLjLi9XaE/agent.58
SSH_AGENT_PID=60
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/jdt-ls-promotion@tmp/private_key_9148105067021479268.key (/home/jenkins/agent/workspace/jdt-ls-promotion@tmp/private_key_9148105067021479268.key)
[ssh-agent] Using credentials genie.ls (ssh://genie.ls@projects-storage.eclipse.org)
Copied 15 artifacts from "jdt-ls-master" build number 763
[jdt-ls-promotion] $ /bin/sh -xe /tmp/jenkins3142506131630195847.sh
+ cd artifacts/
+ workspaceRepo=org.eclipse.jdt.ls.repository/target/repository
+ distro=org.eclipse.jdt.ls.product/distro/
+ ls -rt org.eclipse.jdt.ls.repository/target/repository/plugins/org.eclipse.jdt.ls.core_0.47.0.201911150945.jar org.eclipse.jdt.ls.repository/target/repository/plugins/org.eclipse.jdt.ls.core_0.47.0.201911150945.jar.pack.gz
+ tail -1
+ pluginName=org.eclipse.jdt.ls.repository/target/repository/plugins/org.eclipse.jdt.ls.core_0.47.0.201911150945.jar
+ echo org.eclipse.jdt.ls.repository/target/repository/plugins/org.eclipse.jdt.ls.core_0.47.0.201911150945.jar
+ sed 's/^.*_\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/'
+ version=0.47.0
+ echo promoting 0.47.0
promoting 0.47.0
+ destination=/home/data/httpd/download.eclipse.org/jdtls/milestones/0.47.0
+ ssh genie.ls@projects-storage.eclipse.org rm -rf /home/data/httpd/download.eclipse.org/jdtls/milestones/0.47.0
+ p2repo=/home/data/httpd/download.eclipse.org/jdtls/milestones/0.47.0/repository/
/tmp/jenkins3142506131630195847.sh: line 19: syntax error: bad substitution
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 60 killed;
[ssh-agent] Stopped.
Finished: FAILURE