FailedConsole Output

Started by user Tom Jenkinson
Running as Tom Jenkinson
Agent default-agent-67162 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-67162"
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-67162"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-67162"
    - 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-67162 in workspace /home/jenkins/agent/workspace/Nexus-Staging
[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-C8BiYQufPFj6/agent.61
SSH_AGENT_PID=63
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/Nexus-Staging@tmp/private_key_6587247476593831302.key (/home/jenkins/agent/workspace/Nexus-Staging@tmp/private_key_6587247476593831302.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 # 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 46fd7d7d90b2d23d13cca1537d6d975ed0e41ffc (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 46fd7d7d90b2d23d13cca1537d6d975ed0e41ffc
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 46fd7d7d90b2d23d13cca1537d6d975ed0e41ffc
Commit message: "Remove version protection range for Interceptor"
 > git rev-list --no-walk 438c57ef7ef7a858857d7823b7bc420da84410b1 # timeout=10
[Nexus-Staging] $ /bin/bash -ex /tmp/jenkins3415003640714133321.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 SNAPSHOTgrep 
'<version>' pom.xml
    <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 '' ']'
+ '[' -z 2.0.0-SNAPSHOT ']'
++ echo 2.0.0-SNAPSHOT
++ sed -e s/-SNAPSHOT//
+ RELEASE_VERSION=2.0.0
+ '[' -z '' ']'
++ ++ echo 2.0.0
sed -e 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'
+ NEXT_VERSION=2.0
+ set -f
+ NEXT_COMPONENTS=(${RELEASE_VERSION//\./ })
+ LAST_INDEX=2
+ NEXT_COMPONENTS[${LAST_INDEX}]=1
++ echo 2 0 1
++ tr ' ' .
+ NEXT_VERSION=2.0.1-SNAPSHOT
+ RELEASE_TAG=2.0.0-staging
+ RELEASE_BRANCH=RELEASE-2.0.0
+ echo 'Current version: 2.0.0-SNAPSHOT'
Current version: 2.0.0-SNAPSHOT
+ echo 'Release version: 2.0.0'
Release version: 2.0.0
+ echo 'Next version:    2.0.1-SNAPSHOT'
Next version:    2.0.1-SNAPSHOT
+ echo 'Release tag:     2.0.0-staging'
Release tag:     2.0.0-staging
+ '[' -z 2.0.0-SNAPSHOT -o -z 2.0.0 -o -z 2.0.1-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
+ [[ -n   origin/RELEASE-2.0.0-RC1 ]]
+ '[' false '!=' true ']'
+ echo 'Error: origin/RELEASE-2.0.0 branch already exists'
Error: origin/RELEASE-2.0.0 branch already exists
+ exit 1
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 63 killed;
[ssh-agent] Stopped.
Archiving artifacts
Finished: FAILURE