Console Output

Started by user Rohan Kumar
Running as Rohan Kumar
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-cj88p is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-cj88p"
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.jkube.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-cj88p"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-cj88p"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.jkube.svc.cluster.local/jkube/"
    - 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-jkube"
      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-cj88p in /home/jenkins/agent/workspace/release-job
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Tool Install)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[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 0E606F96DD7DFCF7: public key "Eclipse JKube Project <jkube-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 0E606F96DD7DFCF7: 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 457838CBDA81BC97AFA6CA2FE5873BA480DD8283 trust
Secret subkeys are available.

pub  rsa4096/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ unknown] (1). Eclipse JKube Project <jkube-dev@eclipse.org>

pub  rsa4096/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ unknown] (1). Eclipse JKube Project <jkube-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/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ unknown] (1). Eclipse JKube Project <jkube-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 6706B5C326A62956291B76680E606F96DD7DFCF7 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 2024-12-14
pub  rsa4096/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ultimate] (1). Eclipse JKube Project <jkube-dev@eclipse.org>

pub  rsa4096/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ultimate] (1). Eclipse JKube Project <jkube-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/0E606F96DD7DFCF7
     created: 2019-12-16  expires: 2024-12-14  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/E5873BA480DD8283
     created: 2019-12-16  expires: 2024-12-14  usage: S   
[ultimate] (1). Eclipse JKube Project <jkube-dev@eclipse.org>

[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] withCredentials
Masking supported pattern matches of $GH_TOKEN
[Pipeline] {
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sshagent
[ssh-agent] Using credentials eclipse-jkube-bot (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-7tLI4J9mzcvH/agent.608
SSH_AGENT_PID=610
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/release-job@tmp/private_key_3188027186090619189.key (/home/jenkins/agent/workspace/release-job@tmp/private_key_3188027186090619189.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials genie.jkube (ssh://genie.jkube@projects-storage.eclipse.org)
[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-9eF3KZK9cjGq/agent.619
SSH_AGENT_PID=621
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/release-job@tmp/private_key_4205157515952679678.key (/home/jenkins/agent/workspace/release-job@tmp/private_key_4205157515952679678.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ git config --global user.email eclipsejkubebot@eclipse.org
+ git config --global user.name 'Eclipse Jkube Bot'
+ git clone git@github.com:eclipse/jkube.git
Cloning into 'jkube'...
Failed to add the RSA host key for IP address '140.82.113.4' to the list of known hosts (/home/jenkins/.ssh/known_hosts).
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
+ mvn -q '-Dexec.executable=echo' '-Dexec.args=${project.version}' --non-recursive exec:exec
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ PROJECT_VERSION='[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli): Goal requires a project to execute but there is no POM in this directory (/home/jenkins/agent/workspace/release-job). Please verify you invoked Maven from the correct directory. -> [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/MissingProjectException'
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 621 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 610 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE