Started by user Dmitry Kornilov
Rebuilds build #44
Running as Dmitry Kornilov
Agent default-agent-8jnvf is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations: {}
labels:
jenkins: "slave"
jenkins/label: "slave-default"
name: "default-agent-8jnvf"
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.ee4j.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "default-agent-8jnvf"
- name: "MAVEN_CONFIG"
value: "-B -e"
- name: "JENKINS_NAME"
value: "default-agent-8jnvf"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.ee4j.svc.cluster.local/ee4j/"
- name: "HOME"
value: "/home/jenkins"
image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:dff125e05404688a78bd67d5b47d107d98ec7583282e8ed9ca6646a2a76874e2"
imagePullPolicy: "IfNotPresent"
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: "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
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
workingDir: "/home/jenkins/agent"
nodeSelector:
beta.kubernetes.io/os: "linux"
restartPolicy: "Never"
securityContext: {}
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-ee4j"
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"
Building remotely on default-agent-8jnvf in workspace /home/jenkins/agent/workspace/ee4j-parent-master
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
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
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
> git config remote.origin.url git@github.com:eclipse-ee4j/ee4j.git # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/ee4j.git
using GIT_SSH to set credentials GitHub bot SSH
> git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/ee4j.git +refs/heads/master:refs/remotes/origin/master # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 4a726e4320a0c2bf0286578e407fd98b85e7f6ff (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git checkout -b master 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10
Commit message: "Moved Nexus URLs to properties. (#57)"
> git rev-list --no-walk 4a726e4320a0c2bf0286578e407fd98b85e7f6ff # timeout=10
[ee4j-parent-master] $ /bin/sh -xe /tmp/jenkins884809383462251417.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
+ + echogpg -e '5\ny\n' --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/jenkins3170839146405329166.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.6-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.6-SNAPSHOT
+ '[' -z 1.0.10-b123 ']'
+ '[' -z '' ']'
++ echo 1.0.10-b123
++ sed -e 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'
+ NEXT_VERSION=1.0
+ set -f
+ NEXT_COMPONENTS=(${RELEASE_VERSION//\./ })
+ LAST_INDEX=2
+ NEXT_COMPONENTS[${LAST_INDEX}]=11
++ echo 1 0 11
++ tr ' ' .
+ NEXT_VERSION=1.0.11-SNAPSHOT
+ RELEASE_BRANCH=1.0.10-b123-RELEASE
+ RELEASE_TAG=1.0.10-b123
+ STAGING_NAME=orgeclipseee4j
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.artifactId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ ARTIFACT_ID=project
++ mvn -B org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.groupId
++ grep -Ev '(^\[)'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
+ 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.6-SNAPSHOT'
Current version: 1.0.6-SNAPSHOT
+ echo 'Release version: 1.0.10-b123'
Release version: 1.0.10-b123
+ echo 'Next version: 1.0.11-SNAPSHOT'
Next version: 1.0.11-SNAPSHOT
+ echo 'Nexus ID prefix: orgeclipseee4j'
Nexus ID prefix: orgeclipseee4j
+ '[' -z 1.0.6-SNAPSHOT -o -z 1.0.10-b123 -o -z 1.0.11-SNAPSHOT ']'
+ '[' true = true ']'
+ echo '-[ Dry run turned on ]----------------------------------------------------------'
-[ Dry run turned on ]----------------------------------------------------------
+ MVN_DEPLOY_ARGS=
+ echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------'
-[ Skipping GitHub branch and tag checks ]--------------------------------------
+ git branch --delete 1.0.10-b123-RELEASE
error: branch '1.0.10-b123-RELEASE' not found.
+ git checkout -b 1.0.10-b123-RELEASE
Switched to a new branch '1.0.10-b123-RELEASE'
+ git tag --delete 1.0.10-b123
error: tag '1.0.10-b123' 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
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] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.6-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.360 s
[INFO] Finished at: 2020-02-13T17:30:21Z
[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]+[ ]'
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
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
+ true
+ '[' -z 1.0.6-SNAPSHOT -o -z 1.0.10-b123 -o -z 1.0.11-SNAPSHOT ']'
+ mvn -B -U -C -DnewVersion=1.0.10-b123 -DgenerateBackupPoms=false org.codehaus.mojo:versions-maven-plugin:2.7:set
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] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.6-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.6-SNAPSHOT -> 1.0.10-b123
[INFO] Processing org.eclipse.ee4j:project
[INFO] Updating project org.eclipse.ee4j:project
[INFO] from version 1.0.6-SNAPSHOT to 1.0.10-b123
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.128 s
[INFO] Finished at: 2020-02-13T17:30:38Z
[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.10-b123'
[1.0.10-b123-RELEASE c0c4cc5] Prepare release org.eclipse.ee4j:project:1.0.10-b123
1 file changed, 1 insertion(+), 1 deletion(-)
+ cd parent
+ '[' true '!=' true ']'
+ mvn -B -U -C clean verify gpg:sign
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] ----------------------< org.eclipse.ee4j:project >----------------------
[INFO] Building EE4J Project 1.0.10-b123
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ project ---
[INFO]
[INFO] --- maven-gpg-plugin:1.6:sign (default-cli) @ project ---
gpg: signing failed: Not a tty
gpg: signing failed: Not a tty
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.304 s
[INFO] Finished at: 2020-02-13T17:30:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (default-cli) on project project: Exit code: 2 -> [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 'Execute shell' marked build as failure
Finished: FAILURE