Console Output

Started by user Ivar Grimstad
Running as Ivar Grimstad
Agent basic-hzc9b is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-hzc9b"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.starter.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-hzc9b"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
        \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
    - name: "JAVA_TOOL_OPTIONS"
      value: ""
    - name: "_JAVA_OPTIONS"
      value: ""
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-hzc9b"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.starter.svc.cluster.local/starter/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.11.2"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        cpu: "2000m"
        memory: "4096Mi"
      requests:
        cpu: "1000m"
        memory: "4096Mi"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "m2-dir"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/home/jenkins/.mavenrc"
      name: "m2-dir"
      readOnly: true
      subPath: ".mavenrc"
    - 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: "m2-secret-dir"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/wrapper"
      name: "volume-4"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
      subPath: ""
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-starter"
      readOnly: true
  - name: "m2-secret-dir"
    secret:
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "m2-dir"
    name: "m2-dir"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-4"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on basic-hzc9b (basic) in workspace /home/jenkins/agent/workspace/stage-release
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[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-9bdxeCmYH0sC/agent.70
SSH_AGENT_PID=72
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/stage-release@tmp/private_key_13953029522809557992.key (/home/jenkins/agent/workspace/stage-release@tmp/private_key_13953029522809557992.key)
[ssh-agent] Using credentials eclipse-starter-bot (GitHub bot (SSH))
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/starter.git
 > git init /home/jenkins/agent/workspace/stage-release # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/starter.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_SSH to set credentials GitHub bot (SSH)
[INFO] Currently running in a labeled security context
 > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/stage-release@tmp/jenkins-gitclient-ssh12292405284931008895.key
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/starter.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/starter.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/refs/tags/1.0.0^{commit} # timeout=10
 > git rev-parse refs/tags/1.0.0^{commit} # timeout=10
Checking out Revision 4f3c4cd0591a95ceb269f766d4b0b63ff9309ddf (refs/tags/1.0.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4f3c4cd0591a95ceb269f766d4b0b63ff9309ddf # timeout=10
Commit message: "Preparing 1.0.0 release"
 > git rev-list --no-walk 4f3c4cd0591a95ceb269f766d4b0b63ff9309ddf # timeout=10
[stage-release] $ /bin/sh -xe /tmp/jenkins16069253943685126144.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 87E383BA1E3471FC: public key "Eclipse Starter for Jakarta EE Project <starter-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 87E383BA1E3471FC: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
++ 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 4A20571BD071932E31BE1AD287E383BA1E3471FC trust
Secret subkeys are available.

pub  rsa4096/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ unknown] (1). Eclipse Starter for Jakarta EE Project <starter-dev@eclipse.org>

pub  rsa4096/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ unknown] (1). Eclipse Starter for Jakarta EE Project <starter-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/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ unknown] (1). Eclipse Starter for Jakarta EE Project <starter-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 CCEACB5D9DA5AF0D75AB2C931A9AEC69722BC144 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 2027-03-27
pub  rsa4096/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ultimate] (1). Eclipse Starter for Jakarta EE Project <starter-dev@eclipse.org>

pub  rsa4096/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ultimate] (1). Eclipse Starter for Jakarta EE Project <starter-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/87E383BA1E3471FC
     created: 2022-03-28  expires: 2027-03-27  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/1A9AEC69722BC144
     created: 2022-03-28  expires: 2027-03-27  usage: S   
[ultimate] (1). Eclipse Starter for Jakarta EE Project <starter-dev@eclipse.org>

[stage-release] $ /opt/tools/apache-maven/latest/bin/mvn deploy -Poss-release,staging -Dmaven.deploy.skip=false
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] --------------------< org.eclipse:jakarta-starter >---------------------
[INFO] Building Eclipse Starter for Jakarta EE 1.0.0
[INFO] --------------------------[ maven-archetype ]---------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ jakarta-starter ---
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jakarta-starter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 15 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jakarta-starter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/stage-release/src/test/resources
[INFO] 
[INFO] --- maven-archetype-plugin:3.2.1:jar (default-jar) @ jakarta-starter ---
[INFO] Building archetype jar: /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0.jar
[INFO] Building jar: /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0.jar
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ jakarta-starter ---
[INFO] Building jar: /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0-sources.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:3.2.0:jar (attach-javadocs) @ jakarta-starter ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- maven-archetype-plugin:3.2.1:integration-test (default-integration-test) @ jakarta-starter ---
[WARNING] No Archetype IT projects: root 'projects' directory not found.
[INFO] 
[INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ jakarta-starter ---
[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ jakarta-starter ---
[INFO] Installing /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0.jar to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0.jar
[INFO] Installing /home/jenkins/agent/workspace/stage-release/pom.xml to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0.pom
[INFO] Installing /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0-sources.jar to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0-sources.jar
[INFO] Installing /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0.jar.asc to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0.jar.asc
[INFO] Installing /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0.pom.asc to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0.pom.asc
[INFO] Installing /home/jenkins/agent/workspace/stage-release/target/jakarta-starter-1.0.0-sources.jar.asc to /home/jenkins/.m2/repository/org/eclipse/jakarta-starter/1.0.0/jakarta-starter-1.0.0-sources.jar.asc
[INFO] 
[INFO] --- maven-archetype-plugin:3.2.1:update-local-catalog (default-update-local-catalog) @ jakarta-starter ---
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ jakarta-starter ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/stage-release/target/nexus-staging/staging")...
[INFO]  + Using server credentials "ossrh" from Maven settings.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/jenkins/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]  * Connected to Nexus at https://jakarta.oss.sonatype.org:443/, is version 2.14.21-02 and edition "Professional"
[ERROR] 
[ERROR] Nexus Error Response: 400 - Bad Request
[ERROR]   * - Unable to find matching profile
[ERROR] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.275 s
[INFO] Finished at: 2022-03-29T14:14:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project jakarta-starter: Could not perform action: Nexus ErrorResponse received! Unable to find matching profile -> [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
Build step 'Invoke top-level Maven targets' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 72 killed;
[ssh-agent] Stopped.
Finished: FAILURE