FailedConsole Output

Started by user Kevin Sutter
Rebuilds build #276
Running as Kevin Sutter
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-rjq4q is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-rjq4q"
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-rjq4q"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-rjq4q"
    - 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-rjq4q 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 fa7bb94b2ac56f92b871c27c042b0e78d5faf3d2 (refs/remotes/origin/master)
Commit message: "Merge pull request #25 from kwsutter/another-variation"
 > 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 fa7bb94b2ac56f92b871c27c042b0e78d5faf3d2
 > git rev-list --no-walk 1c2548fcb72852c148ad2cadc17539984b837d02 # 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
 > git rev-parse --is-inside-work-tree # timeout=10
 > git config remote.origin.url git@github.com:eclipse/microprofile.git # timeout=10
Fetching upstream changes from git@github.com:eclipse/microprofile.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse/microprofile.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision d457d861073fb57c94a72cf330d28549b9a61296 (refs/remotes/origin/master)
Commit message: "Merge pull request #142 from kwsutter/gpg-signing"
 > 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 d457d861073fb57c94a72cf330d28549b9a61296
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master d457d861073fb57c94a72cf330d28549b9a61296
 > git rev-list --no-walk d457d861073fb57c94a72cf330d28549b9a61296 # 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
FATAL: [ssh-agent] Could not find specified credentials
[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-DYK67yV7sDGw/agent.485
SSH_AGENT_PID=487
[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
/home/jenkins/agent/workspace/MicroProfile Releases@tmp/durable-36414bf1/script.sh: line 1: syntax error: bad substitution
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 487 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 2
Finished: FAILURE