FailedConsole Output

Started by user Tom Jenkinson
Running as Tom Jenkinson
Agent default-agent-kbq4p is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-kbq4p"
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.jta.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-kbq4p"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-kbq4p"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jta.svc.cluster.local/jta/"
    - 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-jta"
      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"

Building remotely on default-agent-kbq4p in workspace /home/jenkins/agent/workspace/Nexus Staging - deploy
[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-TsnFkJMIIdzG/agent.58
SSH_AGENT_PID=60
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Nexus Staging - deploy@tmp/private_key_3740085423248408628.key (/home/jenkins/agent/workspace/Nexus Staging - deploy@tmp/private_key_3740085423248408628.key)
[ssh-agent] Using credentials jta-bot (GitHub bot SSH)
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/jta-api.git
 > git init /home/jenkins/agent/workspace/Nexus Staging - deploy # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jta-api.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@github.com:eclipse-ee4j/jta-api.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/jta-api.git # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jta-api.git +refs/heads/master:refs/remotes/origin/master
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision cb72faef3874e33534ccf04f9374ef9838400707 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cb72faef3874e33534ccf04f9374ef9838400707
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master cb72faef3874e33534ccf04f9374ef9838400707
Commit message: "Merge pull request #98 from tomjenkinson/issue95"
 > git rev-list --no-walk 46fd7d7d90b2d23d13cca1537d6d975ed0e41ffc # timeout=10
[Nexus Staging - deploy] $ /bin/bash -ex /tmp/jenkins6590028246010901260.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.7
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>2.0.0-SNAPSHOT</version>
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version
++ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ SNAPSHOT_VERSION=2.0.0-SNAPSHOT
+ '[' -z 2.0.0-RC2 ']'
+ '[' -z 2.0.0-SNAPSHOT ']'
+ RELEASE_TAG=2.0.0-RC2-staging
+ RELEASE_BRANCH=RELEASE-2.0.0-RC2-staging
+ echo 'Current version: 2.0.0-SNAPSHOT'
Current version: 2.0.0-SNAPSHOT
+ echo 'Release version: 2.0.0-RC2'
Release version: 2.0.0-RC2
+ echo 'Next version:    2.0.0-SNAPSHOT'
Next version:    2.0.0-SNAPSHOT
+ echo 'Release tag:     2.0.0-RC2-staging'
Release tag:     2.0.0-RC2-staging
+ '[' -z 2.0.0-SNAPSHOT -o -z 2.0.0-RC2 -o -z 2.0.0-SNAPSHOT ']'
+ '[' false = true ']'
+ MVN_DEPLOY_ARGS=deploy
++ git remote
+ GIT_ORIGIN=origin
+ echo '-[ Prepare branch ]-------------------------------------------------------------'
-[ Prepare branch ]-------------------------------------------------------------
++ git branch -r
++ grep origin/RELEASE-2.0.0-RC2-staging
+ [[ -n   origin/RELEASE-2.0.0-RC2-staging ]]
+ '[' true '!=' true ']'
+ echo '-[ Release tag cleanup ]--------------------------------------------------------'
-[ Release tag cleanup ]--------------------------------------------------------
++ ++ git ls-remote --tags origingrep 
2.0.0-RC2-staging
Failed to add the RSA host key for IP address '140.82.114.4' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
+ [[ -n c3794bef18c8f9de368537aa909265af111579fa	refs/tags/2.0.0-RC2-staging
374f2f2996d850bf47e481961643581d44e6c04b	refs/tags/2.0.0-RC2-staging^{} ]]
+ '[' true '!=' true ']'
+ git branch --delete RELEASE-2.0.0-RC2-staging
error: branch 'RELEASE-2.0.0-RC2-staging' not found.
+ git checkout -b RELEASE-2.0.0-RC2-staging
Switched to a new branch 'RELEASE-2.0.0-RC2-staging'
+ git tag --delete 2.0.0-RC2-staging
Deleted tag '2.0.0-RC2-staging' (was c3794be)
+ true
+ git config --global user.email jta-bot@eclipse.org
+ git config --global user.name 'Eclipse JTA Bot'
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: can't open '/home/jenkins/agent/workspace/Nexus': No such file or directory
gpg: can't open 'Staging': No such file or directory
gpg: no valid OpenPGP data found.
gpg: can't open 'deploy@tmp/secretFiles/2c833397-3cc8-4f8f-b025-4e5d112dcf2c/secret-subkeys.asc': No such file or directory
gpg: Total number processed: 0
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.
Archiving artifacts
Finished: FAILURE