Started by user Dmitry Kornilov Replayed #6 Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Agent default-java-1cm0t is provisioned from template Kubernetes Pod Template Agent specification [Kubernetes Pod Template] (): Running on default-java-1cm0t in /home/jenkins/workspace/Jersey_release_pipeline_II [Pipeline] { [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + /opt/tools/java/oracle/jdk-8/1.8.0_181/bin/java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + java -version java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) [Pipeline] stage [Pipeline] { (Fetch from git) [Pipeline] git Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/jersey.git > git init /home/jenkins/workspace/Jersey_release_pipeline_II # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git > git --version # timeout=10 using GIT_SSH to set credentials GitHub Bot SSH > git fetch --tags --progress git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@github.com:eclipse-ee4j/jersey.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/jersey.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git using GIT_SSH to set credentials GitHub Bot SSH > git fetch --tags --progress git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/EE4J_8^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/EE4J_8^{commit} # timeout=10 Checking out Revision 7aebbcfc67a99c06cc170736b9ebe203ab922b80 (refs/remotes/origin/EE4J_8) > git config core.sparsecheckout # timeout=10 > git checkout -f 7aebbcfc67a99c06cc170736b9ebe203ab922b80 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b EE4J_8 7aebbcfc67a99c06cc170736b9ebe203ab922b80 Commit message: "Uptake Jakarta dependencies, Part I. (#4001)" > git rev-list --no-walk 7aebbcfc67a99c06cc170736b9ebe203ab922b80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare environment) [Pipeline] dir Running in /home/jenkins/workspace/Jersey_release_pipeline_II [Pipeline] { [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + grep ''+ pom.xml grep SNAPSHOT [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + /opt/tools/apache-maven/latest/bin/mvn -B -Pstaging org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate '-Dexpression=project.version' + grep -E '^[0-9]+(.[0-9]+)+-SNAPSHOT$' [Pipeline] echo Current version: 2.28-SNAPSHOT [Pipeline] echo Release version: 2.28 [Pipeline] echo Next version: 2.29-SNAPSHOT [Pipeline] echo Release tag: 2.28-RELEASE [Pipeline] echo -[ Configure git user ]-------------------------------------------------------- [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + git config --local user.email jersey-bot@eclipse.org [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + git config --local user.name jersey-bot [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare GPG) [Pipeline] withCredentials [Pipeline] { [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + gpg --batch --import **** gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: key 372703E4D5313120: 1 signature not checked due to a missing key gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 372703E4D5313120: public key "Eclipse Jersey " imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 372703E4D5313120: secret key imported gpg: Total number processed: 1 gpg: imported: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: no ultimately trusted keys found [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + gpg --list-keys --with-colons + awk -F: '/fpr:/ {print $10}' + sort -u + echo -e '5 y ' + gpg --batch --command-fd 0 --expert --edit-key 0B743A794876D3C78AB542A118D239B1CBCD2236 trust Secret subkeys are available. pub rsa4096/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Jersey pub rsa4096/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: unknown validity: unknown ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Jersey 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/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ unknown] (1). Eclipse Jersey 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 2EABB8F15F15E18885312232372703E4D5313120 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-10-02 pub rsa4096/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Jersey pub rsa4096/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Jersey 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/372703E4D5313120 created: 2018-10-03 expires: 2023-10-02 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/18D239B1CBCD2236 created: 2018-10-03 expires: 2023-10-02 usage: S [ultimate] (1). Eclipse Jersey [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare branch) [Pipeline] echo -[ Prepare branch ]------------------------------------------------------------- [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + git branch -r [Pipeline] echo -[ Swiching to release branch ]------------------------------------------------- [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + git checkout origin/EE4J_8 Note: checking out 'origin/EE4J_8'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at 7aebbcf Uptake Jakarta dependencies, Part I. (#4001) + true + git reset --hard origin/EE4J_8 HEAD is now at 7aebbcf Uptake Jakarta dependencies, Part I. (#4001) + true + git branch --delete 2.28 error: branch '2.28' not found. + git checkout -b 2.28 Switched to a new branch '2.28' [Pipeline] echo -[ Release tag cleanup ]-------------------------------------------------------- [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + git tag [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Jersey) [Pipeline] echo /opt/tools/java/oracle/jdk-8/1.8.0_181 [Pipeline] echo -[ Run maven release ]--------------------------------------------------------- [Pipeline] echo -[ Set Release version ]------------------------------------------------------- [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + cd . + /opt/tools/apache-maven/latest/bin/mvn -q -Pstaging versions:set '-DnewVersion=2.28' + /opt/tools/apache-maven/latest/bin/mvn -q -Pstaging versions:commit [Pipeline] echo -[ Run release build ]--------------------------------------------------------- [Pipeline] dir Running in /home/jenkins/workspace/Jersey_release_pipeline_II [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [settings-security.xml] to file:/home/jenkins/.m2/settings-security.xml [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [settings-jersey.xml] to file:/home/jenkins/workspace/Jersey_release_pipeline_II@tmp/config2944269785616211641tmp [Pipeline] { [Pipeline] sh [Jersey_release_pipeline_II] Running shell script + /opt/tools/apache-maven/latest/bin/mvn -q -B -s /home/jenkins/workspace/Jersey_release_pipeline_II@tmp/config2944269785616211641tmp -DskipTests '-Ddoclint=none' '-Dadditionalparam=-Xdoclint:none' -Poss-release,staging -U -C deploy -rf :custom-enforcer-rules [ERROR] Failed to execute goal on project custom-enforcer-rules: Could not resolve dependencies for project org.glassfish.jersey.test-framework.maven:custom-enforcer-rules:jar:2.28: Could not find artifact org.glassfish.jersey.inject:jersey-hk2:jar:2.28 in sonatype-nexus-staging (https://oss.sonatype.org/content/repositories/staging) -> [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/DependencyResolutionException [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE