FailedConsole Output

Started by user Tom Jenkinson
Running as Tom Jenkinson
Agent default-agent-lxtf0 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-lxtf0"
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-lxtf0"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-lxtf0"
    - 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-lxtf0 in workspace /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-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-k15oAPbGoQDs/agent.70
SSH_AGENT_PID=72
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging@tmp/private_key_7922807091256778073.key (/home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging@tmp/private_key_7922807091256778073.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/eclipse-ee4j_jta-api-EE4J_8-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 468d8817aef44f3f51f5b880a83538d4e7029bb9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 468d8817aef44f3f51f5b880a83538d4e7029bb9
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 468d8817aef44f3f51f5b880a83538d4e7029bb9
Commit message: "Merge pull request #22 from tomjenkinson/NOTICECONTRIBUTING-master"
First time build. Skipping changelog.
[eclipse-ee4j_jta-api-EE4J_8-staging] $ /bin/bash -ex /tmp/jenkins6096199238384994628.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>1.4-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=1.4-SNAPSHOT
+ '[' -z '' ']'
+ '[' -z 1.4-SNAPSHOT ']'
++ echo 1.4-SNAPSHOT
++ sed -e s/-SNAPSHOT//
+ RELEASE_VERSION=1.4
+ '[' -z '' ']'
++ echo 1.4
++ sed -e 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'
+ NEXT_VERSION=1.4
+ set -f
+ NEXT_COMPONENTS=(${RELEASE_VERSION//\./ })
+ LAST_INDEX=1
+ NEXT_COMPONENTS[${LAST_INDEX}]=5
++ echo 1 5
++ tr ' ' .
+ NEXT_VERSION=1.5-SNAPSHOT
+ RELEASE_TAG=1.4-staging
+ RELEASE_BRANCH=RELEASE-1.4
+ echo 'Current version: 1.4-SNAPSHOT'
Current version: 1.4-SNAPSHOT
+ echo 'Release version: 1.4'
Release version: 1.4
+ echo 'Next version:    1.5-SNAPSHOT'
Next version:    1.5-SNAPSHOT
+ echo 'Release tag:     1.4-staging'
Release tag:     1.4-staging
+ '[' -z 1.4-SNAPSHOT -o -z 1.4 -o -z 1.5-SNAPSHOT ']'
+ '[' true = true ']'
+ echo '-[ Dry run turned on ]----------------------------------------------------------'
-[ Dry run turned on ]----------------------------------------------------------
+ MVN_DEPLOY_ARGS=install
+ echo '-[ Skipping GitHub branch checks ]--------------------------------------'
-[ Skipping GitHub branch checks ]--------------------------------------
+ git branch --delete RELEASE-1.4
error: branch 'RELEASE-1.4' not found.
+ git checkout -b RELEASE-1.4
Switched to a new branch 'RELEASE-1.4'
+ git tag --delete 1.4-staging
error: tag '1.4-staging' not found.
+ 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: key 9B26CED3E3BA51C3: 1 signature not checked due to a missing key
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 9B26CED3E3BA51C3: public key "Eclipse Project for JTA <jta-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 9B26CED3E3BA51C3: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: no ultimately trusted keys found
++ gpg --list-keys --with-colons
++ awk -F: '/fpr:/ {print $10}'
++ sort -u
+ for fpr in $(gpg --list-keys --with-colons  | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 1A2A6D7F079CF627566ABD869B26CED3E3BA51C3 trust
Secret subkeys are available.

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ unknown] (1). Eclipse Project for JTA <jta-dev@eclipse.org>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

+ for fpr in $(gpg --list-keys --with-colons  | awk -F: '/fpr:/ {print $10}' | sort -u)
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key 47EF0EC60C210BC6DFAA5819B7AE15C15C321C44 trust
Secret subkeys are available.

gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2023-09-28
pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu


pub  rsa4096/9B26CED3E3BA51C3
     created: 2018-09-29  expires: 2023-09-28  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/B7AE15C15C321C44
     created: 2018-09-29  expires: 2023-09-28  usage: S   
[ultimate] (1). Eclipse Project for JTA <jta-dev@eclipse.org>

++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ ARTIFACT_ID=jakarta.transaction-api
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ GROUP_ID=jakarta.transaction
+ STAGING_DESC=jakarta.transaction:jakarta.transaction-api:1.4
++ echo jakarta.transaction:jakarta.transaction-api:1.4
++ sed -e 's/\./\\\./g'
+ STAGING_KEY='jakarta\.transaction:jakarta\.transaction-api:1\.4'
+ '[' false = true ']'
+ echo '-[ Set release version ]--------------------------------------------------------'
-[ Set release version ]--------------------------------------------------------
+ mvn -U -C -B -Pstaging -DnewVersion=1.4 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 1.4-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jakarta.transaction-api ---
[INFO] 
[INFO] ------------< jakarta.transaction:jakarta.transaction-api >-------------
[INFO] Building javax.transaction API 1.4-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ jakarta.transaction-api ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging
[INFO] Processing change of jakarta.transaction:jakarta.transaction-api:1.4-SNAPSHOT -> 1.4
[INFO] Processing jakarta.transaction:jakarta.transaction-api
[INFO]     Updating project jakarta.transaction:jakarta.transaction-api
[INFO]         from version 1.4-SNAPSHOT to 1.4
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.188 s
[INFO] Finished at: 2019-12-04T14:17:55Z
[INFO] ------------------------------------------------------------------------
+ mvn -U -C -B -Pstaging -DnewVersion=1.4 -DgenerateBackupPoms=false clean org.codehaus.mojo:versions-maven-plugin:2.7:set -f api/pom.xml
POM file api/pom.xml specified with the -f/--file command line argument does not exist
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging/api/pom.xml: /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging/api/pom.xml (No such file or directory) @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project  (/home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging/api/pom.xml) has 1 error
[ERROR]     Non-readable POM /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging/api/pom.xml: /home/jenkins/agent/workspace/eclipse-ee4j_jta-api-EE4J_8-staging/api/pom.xml (No such file or directory)
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 72 killed;
[ssh-agent] Stopped.
Archiving artifacts
Finished: FAILURE