Skip to content

Console Output

Started by user Kevin Sutter
Rebuilds build #55
Running as Kevin Sutter
Agent basic-dgt2b is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: ""
  name: "basic-dgt2b"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ee4j.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-dgt2b"
    - 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-dgt2b"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ee4j.svc.cluster.local/ee4j/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.5"
    imagePullPolicy: "Always"
    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: "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
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-ee4j"
      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-dgt2b in workspace /home/jenkins/agent/workspace/ee4j-parent-master
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
The recommended git tool is: NONE
using credential github-bot-ssh
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/ee4j.git
 > git init /home/jenkins/agent/workspace/ee4j-parent-master # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/ee4j.git
 > git --version # timeout=10
 > git --version # 'git version 2.26.2'
using GIT_SSH to set credentials GitHub bot SSH
 > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/ee4j.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/ee4j.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/master^{commit} # timeout=10
Checking out Revision 800ec6ec9f2aa3c9ce246371eea46887d66ea87b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 800ec6ec9f2aa3c9ce246371eea46887d66ea87b # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b master 800ec6ec9f2aa3c9ce246371eea46887d66ea87b # timeout=10
Commit message: "Merge pull request #66 from ivargrimstad/xml-staging"
 > git rev-list --no-walk 800ec6ec9f2aa3c9ce246371eea46887d66ea87b # timeout=10
[ee4j-parent-master] $ /bin/sh -xe /tmp/jenkins3034574886018255872.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 5796E91EE6619C69: public key "Eclipse EE4J Project <ee4j-dev@eclipse.org>" imported
gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status
gpg: key 5796E91EE6619C69: 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
+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key AA70C7C433D501636392EC02153E7A3C2B4E5118 trust
Secret subkeys are available.

pub  rsa4096/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org>

pub  rsa4096/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: unknown       validity: unknown
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ unknown] (1). Eclipse EE4J Project <ee4j-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/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: ultimate      validity: unknown
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ unknown] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org>
Please note that the shown key validity is not necessarily correct
unless you restart the program.

+ echo -e '5\ny\n'
+ gpg --batch --command-fd 0 --expert --edit-key C3F530A8FDE7926E0F6C71475796E91EE6619C69 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-04-26
pub  rsa4096/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org>

pub  rsa4096/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ultimate] (1). Eclipse EE4J Project <ee4j-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/5796E91EE6619C69
     created: 2018-04-27  expires: 2023-04-26  usage: SCEA
     trust: ultimate      validity: ultimate
ssb  rsa4096/153E7A3C2B4E5118
     created: 2018-04-27  expires: 2023-04-26  usage: S   
[ultimate] (1). Eclipse EE4J Project <ee4j-dev@eclipse.org>

[ee4j-parent-master] $ /bin/bash -ex /tmp/jenkins4449782196873218310.sh
+ M2_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/java/oracle/jdk-9/latest/bin:/opt/tools/apache-maven/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
+ BUILD_DIR=parent
+ cd parent
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>1.0.7-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.0.7-SNAPSHOT
+ '[' -z 1.0.7 ']'
+ '[' -z 1.0.8-SNAPSHOT ']'
+ RELEASE_BRANCH=1.0.7-RELEASE
+ RELEASE_TAG=1.0.7
+ STAGING_NAME=orgeclipseee4j
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
+ ARTIFACT_ID=project
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
+ GROUP_ID=org.eclipse.ee4j
+ echo '-[ Generated variables ]----------------------------------------'
-[ Generated variables ]----------------------------------------
+ echo 'Group ID:        org.eclipse.ee4j'
Group ID:        org.eclipse.ee4j
+ echo 'Artifact ID:     project'
Artifact ID:     project
+ echo 'Current version: 1.0.7-SNAPSHOT'
Current version: 1.0.7-SNAPSHOT
+ echo 'Release version: 1.0.7'
Release version: 1.0.7
+ echo 'Next version:    1.0.8-SNAPSHOT'
Next version:    1.0.8-SNAPSHOT
+ echo 'Nexus ID prefix: orgeclipseee4j'
Nexus ID prefix: orgeclipseee4j
+ '[' -z 1.0.7-SNAPSHOT -o -z 1.0.7 -o -z 1.0.8-SNAPSHOT ']'
+ '[' false = true ']'
+ MVN_DEPLOY_ARGS=nexus-staging:deploy
++ git remote
+ GIT_ORIGIN=origin
+ echo '-[ Prepare branch ]-------------------------------------------------------------'
-[ Prepare branch ]-------------------------------------------------------------
++ git branch -r
++ grep origin/1.0.7-RELEASE
+ [[ -n '' ]]
+ echo '-[ Release tag cleanup ]--------------------------------------------------------'
-[ Release tag cleanup ]--------------------------------------------------------
++ git ls-remote --tags origin
++ grep 1.0.7
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.
+ [[ -n '' ]]
+ git branch --delete 1.0.7-RELEASE
error: branch '1.0.7-RELEASE' not found.
+ git checkout -b 1.0.7-RELEASE
Switched to a new branch '1.0.7-RELEASE'
+ git tag --delete 1.0.7
error: tag '1.0.7' not found.
+ git config --global user.email ee4j-bot@eclipse.org
+ git config --global user.name 'Eclipse EE4J Bot'
+ echo '-[ Checking POM ]---------------------------------------------------------------'
-[ Checking POM ]---------------------------------------------------------------
+ mvn -B -U -C clean verify
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.7-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.860 s
[INFO] Finished at: 2021-02-23T17:24:15Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Parent POM Staging Repository List ]-------------------------------------------'
-[ Parent POM Staging Repository List ]-------------------------------------------
+ mvn -B nexus-staging:rc-list
+ egrep '^\[INFO\] orgeclipseee4j\-[0-9]+[ ]+[A-Z]+[ ]'
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] orgeclipseee4j-1002  CLOSED   org.eclipse.ee4j:project:1.0.7
+ '[' -z 1.0.7-SNAPSHOT -o -z 1.0.7 -o -z 1.0.8-SNAPSHOT ']'
+ mvn -B -U -C -DnewVersion=1.0.7 -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.7-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ project ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/ee4j-parent-master/parent
[INFO] Processing change of org.eclipse.ee4j:project:1.0.7-SNAPSHOT -> 1.0.7
[INFO] Processing org.eclipse.ee4j:project
[INFO]     Updating project org.eclipse.ee4j:project
[INFO]         from version 1.0.7-SNAPSHOT to 1.0.7
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  27.975 s
[INFO] Finished at: 2021-02-23T17:25:17Z
[INFO] ------------------------------------------------------------------------
+ cd /home/jenkins/agent/workspace/ee4j-parent-master
+ echo '-[ Commit modified pom.xml files ]----------------------------------------------'
-[ Commit modified pom.xml files ]----------------------------------------------
++ git status
++ grep -E 'modified:.*pom\.xml'
++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//'
+ POM_FILES=parent/pom.xml
+ git add parent/pom.xml
+ git commit -m 'Prepare release org.eclipse.ee4j:project:1.0.7'
[1.0.7-RELEASE 3be917e] Prepare release org.eclipse.ee4j:project:1.0.7
 1 file changed, 1 insertion(+), 1 deletion(-)
+ cd parent
+ '[' false '!=' true ']'
+ echo '-[ Searching for deployments to be dropped ]--------------------------------'
-[ Searching for deployments to be dropped ]--------------------------------
++ mvn -B :rc-list
++ egrep '^\[INFO\] orgeclipseee4j\-[0-9]+[ ]+[A-Z]+[ ]'
++ awk '{print $2}'
++ head -1
+ mvn -Poss-release -B -U -C clean verify nexus-staging:deploy
[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.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.7
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ project ---
[INFO] 
[INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ project ---
[INFO] 
[INFO] --- maven-javadoc-plugin:3.2.0:jar (attach-javadocs) @ project ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ project ---
[INFO] 
[INFO] --- nexus-staging-maven-plugin:1.6.8:deploy (default-cli) @ project ---
[INFO] Performing local staging (local stagingDirectory="/home/jenkins/agent/workspace/ee4j-parent-master/parent/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.20-02 and edition "Professional"
[INFO]  * Using staging profile ID "16b61eec42930" (matched by Nexus).
[INFO] Installing /home/jenkins/agent/workspace/ee4j-parent-master/parent/pom.xml to /home/jenkins/agent/workspace/ee4j-parent-master/parent/target/nexus-staging/staging/16b61eec42930/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom
[INFO] Installing /home/jenkins/agent/workspace/ee4j-parent-master/parent/target/project-1.0.7.pom.asc to /home/jenkins/agent/workspace/ee4j-parent-master/parent/target/nexus-staging/staging/16b61eec42930/org/eclipse/ee4j/project/1.0.7/project-1.0.7.pom.asc
[INFO] Performing remote staging...
[INFO] 
[INFO]  * Remote staging into staging profile ID "16b61eec42930"
[INFO]  * Created staging repository with ID "orgeclipseee4j-1003".
[INFO]  * Staging repository at https://jakarta.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/orgeclipseee4j-1003
[INFO]  * Uploading locally staged artifacts to profile org.eclipse.ee4j
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "orgeclipseee4j-1003".

Waiting for operation to complete...
..

[INFO] Remote staged 1 repositories, finished with success.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32.910 s
[INFO] Finished at: 2021-02-23T17:26:03Z
[INFO] ------------------------------------------------------------------------
+ cd /home/jenkins/agent/workspace/ee4j-parent-master
+ echo '-[ Tag release ]----------------------------------------------------------------'
-[ Tag release ]----------------------------------------------------------------
+ git tag 1.0.7 -m 'Release org.eclipse.ee4j:project:1.0.7'
+ cd parent
+ mvn -B -U -C -DnewVersion=1.0.8-SNAPSHOT -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.7
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:set (default-cli) @ project ---
[INFO] Searching for local aggregator root...
[INFO] Local aggregation root: /home/jenkins/agent/workspace/ee4j-parent-master/parent
[INFO] Processing change of org.eclipse.ee4j:project:1.0.7 -> 1.0.8-SNAPSHOT
[INFO] Processing org.eclipse.ee4j:project
[INFO]     Updating project org.eclipse.ee4j:project
[INFO]         from version 1.0.7 to 1.0.8-SNAPSHOT
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.758 s
[INFO] Finished at: 2021-02-23T17:26:13Z
[INFO] ------------------------------------------------------------------------
+ echo '-[ Commit modified pom.xml files ]----------------------------------------------'
-[ Commit modified pom.xml files ]----------------------------------------------
++ git status
++ grep -E 'modified:.*pom\.xml'
++ sed -e 's/[[:space:]][[:space:]]*modified:[[:space:]][[:space:]]*//'
+ POM_FILES=pom.xml
+ git add pom.xml
+ git commit -m 'Prepare next development cycle for 1.0.8-SNAPSHOT'
[1.0.7-RELEASE 1c76f3d] Prepare next development cycle for 1.0.8-SNAPSHOT
 1 file changed, 1 insertion(+), 1 deletion(-)
+ '[' false = true ']'
+ echo '-[ Push branch and tag to GitHub ]----------------------------------------------'
-[ Push branch and tag to GitHub ]----------------------------------------------
+ git push origin 1.0.7-RELEASE
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.
Build step 'Execute shell' marked build as failure
Finished: FAILURE