FailedConsole Output

Started by user David Chan
Running as David Chan
Obtained buildScripts/release.groovy from git git@github.com:eclipse/microprofile-parent.git
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor
Agent default-agent-cnnrw is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-cnnrw"
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.microprofile.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-cnnrw"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-cnnrw"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.microprofile.svc.cluster.local/microprofile/"
    - 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/agent"
      name: "workspace-volume"
      readOnly: false
    - 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
    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-microprofile"
      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"

Running on default-agent-cnnrw in /home/jenkins/agent/workspace/MicroProfile Releases
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse/microprofile-parent.git
 > git init /home/jenkins/agent/workspace/MicroProfile Releases # timeout=10
Fetching upstream changes from git@github.com:eclipse/microprofile-parent.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse/microprofile-parent.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@github.com:eclipse/microprofile-parent.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/microprofile-parent.git # timeout=10
Fetching upstream changes from git@github.com:eclipse/microprofile-parent.git
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse/microprofile-parent.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision b24c227796a453ca239034a3bc662d39da457913 (refs/remotes/origin/master)
Commit message: "Merge pull request #28 from kwsutter/alt-syntax"
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b24c227796a453ca239034a3bc662d39da457913
 > git rev-list --no-walk b24c227796a453ca239034a3bc662d39da457913 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] git
using credential github-bot-ssh
Fetching changes from the remote Git repository
Checking out Revision 79046755ee91b7f33010684ff0cac0cae9391965 (refs/remotes/origin/2.0.x)
 > git rev-parse --is-inside-work-tree # timeout=10
 > git config remote.origin.url git@github.com:eclipse/microprofile-metrics.git # timeout=10
Fetching upstream changes from git@github.com:eclipse/microprofile-metrics.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse/microprofile-metrics.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/2.0.x^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/2.0.x^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 79046755ee91b7f33010684ff0cac0cae9391965
Commit message: "Merge pull request #469 from Yushan-Lin/2.0.x-Issue454"
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b 2.0.x 79046755ee91b7f33010684ff0cac0cae9391965
 > git rev-list --no-walk edf0254b6f6a787852a24206766387ae4aafb379 # timeout=10
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Execute Release)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $KEYRING
[Pipeline] {
[Pipeline] sh
+ gpg --batch --import ****
gpg: directory '/home/jenkins/.gnupg' created
gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created
gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created
gpg: key 2733B6177E5CD6D5: public key "Eclipse Microprofile Project <microprofile-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 2733B6177E5CD6D5: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
[Pipeline] sh
+ gpg --list-keys --with-colons
+ awk -F: '/fpr:/ {print $10}'
+ sort -u
+ echo -e '5
y
'
+ gpg --batch --command-fd 0 --expert --edit-key AE45A395EBE91C8A5E77502390F02A85133A7738 trust
Secret subkeys are available.

pub  rsa4096/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ unknown] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org>

pub  rsa4096/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ unknown] (1). Eclipse Microprofile Project <microprofile-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/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ unknown] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

+ echo -e '5
y
'
+ gpg --batch --command-fd 0 --expert --edit-key FEE97C6B44364F385E419CE22733B6177E5CD6D5 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 2022-10-09
pub  rsa4096/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ultimate] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org>

pub  rsa4096/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ultimate] (1). Eclipse Microprofile Project <microprofile-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/2733B6177E5CD6D5
     created: 2017-10-10  expires: 2022-10-09  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/90F02A85133A7738
     created: 2017-10-10  expires: 2022-10-09  usage: S   
[ultimate] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org>

[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sshagent
[ssh-agent] Using credentials genie-microprofile (GitHub bot SSH)
[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-nWvm42g0rB5u/agent.298
SSH_AGENT_PID=300
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/MicroProfile Releases@tmp/private_key_3864264859835047718.key (/home/jenkins/agent/workspace/MicroProfile Releases@tmp/private_key_3864264859835047718.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git config --global user.email microprofile-bot@eclipse.org
+ git config --global user.name 'Eclipse MicroProfile bot'
[Pipeline] sh
+ mvn -s /home/jenkins/.m2/settings.xml release:prepare release:perform -B '-Dtag=2.0.3-RC1' '-DdevelopmentVersion=2.0.3-SNAPSHOT' '-DreleaseVersion=2.0.3-RC1' '-Drevremark=Draft'
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] Reactor Build Order:
[INFO] 
[INFO] MicroProfile Metrics                                               [pom]
[INFO] MicroProfile Metrics API                                           [jar]
[INFO] MicroProfile Metrics Specification                                 [pom]
[INFO] MicroProfile Metrics REST-TCK                                      [jar]
[INFO] MicroProfile Metrics API-TCK                                       [jar]
[INFO] 
[INFO] ----< org.eclipse.microprofile.metrics:microprofile-metrics-parent >----
[INFO] Building MicroProfile Metrics 2.0.3-SNAPSHOT                       [1/5]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ microprofile-metrics-parent ---
[INFO] Verifying that there are no local modifications...
[INFO]   ignoring changes on: **/pom.xml.releaseBackup, **/pom.xml.next, **/pom.xml.tag, **/pom.xml.branch, **/release.properties, **/pom.xml.backup
[INFO] Executing: /bin/sh -c cd "/home/jenkins/agent/workspace/MicroProfile Releases" && git rev-parse --show-toplevel
[INFO] Working directory: /home/jenkins/agent/workspace/MicroProfile Releases
[INFO] Executing: /bin/sh -c cd "/home/jenkins/agent/workspace/MicroProfile Releases" && git status --porcelain .
[INFO] Working directory: /home/jenkins/agent/workspace/MicroProfile Releases
[WARNING] Ignoring unrecognized line: ?? release.properties
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] Transforming 'MicroProfile Metrics'...
[INFO] Transforming 'MicroProfile Metrics API'...
[INFO] Transforming 'MicroProfile Metrics Specification'...
[INFO] Transforming 'MicroProfile Metrics REST-TCK'...
[INFO]   Updating microprofile-metrics-api to 2.0.3-RC1
[INFO] Transforming 'MicroProfile Metrics API-TCK'...
[INFO]   Updating microprofile-metrics-api to 2.0.3-RC1
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
[INFO] Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] Inspecting build with total of 5 modules...
[INFO] [INFO] Installing Nexus Staging features:
[INFO] [INFO]   ... total of 5 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO] 
[INFO] [INFO] MicroProfile Metrics                                               [pom]
[INFO] [INFO] MicroProfile Metrics API                                           [jar]
[INFO] [INFO] MicroProfile Metrics Specification                                 [pom]
[INFO] [INFO] MicroProfile Metrics REST-TCK                                      [jar]
[INFO] [INFO] MicroProfile Metrics API-TCK                                       [jar]
[INFO] [INFO] 
[INFO] [INFO] ----< org.eclipse.microprofile.metrics:microprofile-metrics-parent >----
[INFO] [INFO] Building MicroProfile Metrics 2.0.3-RC1                            [1/5]
[INFO] [INFO] --------------------------------[ pom ]---------------------------------
[INFO] [INFO] 
[INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ microprofile-metrics-parent ---
[INFO] [INFO] 
[INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ microprofile-metrics-parent ---
[INFO] [INFO] Enabled default license matchers.
[INFO] [INFO] Will parse SCM ignores for exclusions...
[INFO] [INFO] Parsing exclusions from /home/jenkins/agent/workspace/MicroProfile Releases/.gitignore
[INFO] [INFO] Finished adding exclusions from SCM ignore files.
[INFO] [INFO] 76 implicit excludes (use -debug for more details).
[INFO] [INFO] Exclude: .travis.yml.*
[INFO] [INFO] Exclude: **/bnd.bnd
[INFO] [INFO] Exclude: *.log
[INFO] [INFO] Exclude: .checkstyle
[INFO] [INFO] Exclude: .factorypath
[INFO] [INFO] Exclude: .editorconfig
[INFO] [INFO] Exclude: **/target/
[INFO] [INFO] Exclude: **/bin/
[INFO] [INFO] Exclude: **/*.iml
[INFO] [INFO] Exclude: **/*.idea
[INFO] [INFO] Exclude: **/*.ipr
[INFO] [INFO] 9 resources included (use -debug for more details)
[INFO] [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 7 licenses.
[INFO] [INFO] 
[INFO] [INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ microprofile-metrics-parent ---
[INFO] [INFO] Starting audit...
[INFO] Audit done.
[INFO] [INFO] 
[INFO] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ microprofile-metrics-parent ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ microprofile-metrics-parent ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO] 
[INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ microprofile-metrics-parent ---
[INFO] gpg: signing failed: Not a tty
[INFO] gpg: signing failed: Not a tty
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary for MicroProfile Metrics 2.0.3-RC1:
[INFO] [INFO] 
[INFO] [INFO] MicroProfile Metrics ............................... FAILURE [  9.706 s]
[INFO] [INFO] MicroProfile Metrics API ........................... SKIPPED
[INFO] [INFO] MicroProfile Metrics Specification ................. SKIPPED
[INFO] [INFO] MicroProfile Metrics REST-TCK ...................... SKIPPED
[INFO] [INFO] MicroProfile Metrics API-TCK ....................... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  13.337 s
[INFO] [INFO] Finished at: 2019-11-06T19:38:58Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project microprofile-metrics-parent: Exit code: 2 -> [Help 1]
[INFO] [ERROR] 
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR] 
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for MicroProfile Metrics 2.0.3-SNAPSHOT:
[INFO] 
[INFO] MicroProfile Metrics ............................... FAILURE [ 18.532 s]
[INFO] MicroProfile Metrics API ........................... SKIPPED
[INFO] MicroProfile Metrics Specification ................. SKIPPED
[INFO] MicroProfile Metrics REST-TCK ...................... SKIPPED
[INFO] MicroProfile Metrics API-TCK ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.311 s
[INFO] Finished at: 2019-11-06T19:38:58Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project microprofile-metrics-parent: Maven execution failed, exit code: '1' -> [Help 1]
[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/MojoExecutionException
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 300 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Copy Specs)
Stage "Copy Specs" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] archive
The archive step is deprecated, please use archiveArtifacts instead.
No files found to archive for pattern "spec/target/generated-docs/*"; continuing.
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE