Started by user David Chan Running as David Chan Obtained buildScripts/release.groovy from git https://github.com/eclipse/microprofile-build-infra.git [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor Agent basic-w8rlj is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: labels: jenkins: "slave" jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd" jenkins/label: "basic" name: "basic-w8rlj" namespace: "microprofile" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.microprofile.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-w8rlj" - 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-w8rlj" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.microprofile.svc.cluster.local/microprofile/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3107.v665000b_51092" 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-microprofile" 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" Running on basic-w8rlj in /home/jenkins/agent/workspace/MicroProfile Releases [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential github-bot-ssh Cloning the remote Git repository Cloning repository https://github.com/eclipse/microprofile-build-infra.git > git init /home/jenkins/agent/workspace/MicroProfile Releases # timeout=10 Fetching upstream changes from https://github.com/eclipse/microprofile-build-infra.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/MicroProfile Releases@tmp/jenkins-gitclient-ssh5074001501519325856.key Verifying host key using known hosts file > git fetch --tags --force --progress -- https://github.com/eclipse/microprofile-build-infra.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5e8a7a92568eb5269e18ae04889518fd67896d1b (refs/remotes/origin/master) > git config remote.origin.url https://github.com/eclipse/microprofile-build-infra.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e8a7a92568eb5269e18ae04889518fd67896d1b # timeout=10 Commit message: "Downgrade Maven version to release MP Config 3.x" > git rev-list --no-walk 5e8a7a92568eb5269e18ae04889518fd67896d1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Tool Install) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics [Pipeline] { [Pipeline] git The recommended git tool is: NONE using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse/microprofile-metrics.git > git init /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics # timeout=10 Fetching upstream changes from git@github.com:eclipse/microprofile-metrics.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/MicroProfile Releases/microprofile-metrics@tmp/jenkins-gitclient-ssh6662591878919206347.key Verifying host key using known hosts file > git fetch --tags --force --progress -- git@github.com:eclipse/microprofile-metrics.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c396fe7a5efc8368fae98f95ec466f617d755072 (refs/remotes/origin/master) Commit message: "Merge pull request #768 from tjquinno/param-naming-convention" > git config remote.origin.url git@github.com:eclipse/microprofile-metrics.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c396fe7a5efc8368fae98f95ec466f617d755072 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master c396fe7a5efc8368fae98f95ec466f617d755072 # timeout=10 > git rev-list --no-walk 11214a4fb3b149b35c0a892768bc9be8d9a7ac33 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Execute Release) [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] tool [Pipeline] envVarsForTool [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics [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 2733B6177E5CD6D5: public key "Eclipse Microprofile Project <microprofile-dev@eclipse.org>" imported gpg: To migrate 'secring.gpg', with each smartcard, run: gpg --card-status gpg: key 2733B6177E5CD6D5: 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 + for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u) + echo -e '5 y ' + gpg --batch --command-fd 0 --expert --edit-key AE45A395EBE91C8A5E77502390F02A85133A7738 trust Secret subkeys are available. pub rsa4096/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: unknown validity: unknown ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ unknown] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org> pub rsa4096/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: unknown validity: unknown ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ unknown] (1). Eclipse Microprofile Project <microprofile-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/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: ultimate validity: unknown ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ unknown] (1). Eclipse Microprofile Project <microprofile-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 y ' + gpg --batch --command-fd 0 --expert --edit-key FEE97C6B44364F385E419CE22733B6177E5CD6D5 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-10-17 pub rsa4096/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ultimate] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org> pub rsa4096/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ultimate] (1). Eclipse Microprofile Project <microprofile-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/2733B6177E5CD6D5 created: 2017-10-10 expires: 2027-10-17 usage: SCEA trust: ultimate validity: ultimate ssb rsa4096/90F02A85133A7738 created: 2017-10-10 expires: 2027-10-17 usage: S [ultimate] (1). Eclipse Microprofile Project <microprofile-dev@eclipse.org> [Pipeline] } [Pipeline] // withCredentials [Pipeline] sshagent [ssh-agent] Using credentials eclipse-microprofile-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-VNCMinDTTOxT/agent.247 SSH_AGENT_PID=249 Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics@tmp/private_key_404143001067514549.key (/home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics@tmp/private_key_404143001067514549.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git config --global user.email microprofile-bot@eclipse.org + git config --global user.name 'Eclipse MicroProfile bot' [Pipeline] script [Pipeline] { [Pipeline] tool [Pipeline] tool [Pipeline] withEnv [Pipeline] { [Pipeline] sh + mvn -q -N io.takari:maven:0.7.7:wrapper -Dmaven=3.9.0 Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8) Maven home: /opt/tools/apache-maven/latest Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/hotspot-jdk-11/11.0.11+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.17.13-200.fc35.x86_64", arch: "amd64", family: "unix" + ./mvnw -v Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584) Maven home: /home/jenkins/.m2/wrapper/dists/apache-maven-3.9.0-bin/7u41pcsb933vr4m6u83d7ofakm/apache-maven-3.9.0 Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/hotspot-jdk-11/11.0.11+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.17.13-200.fc35.x86_64", arch: "amd64", family: "unix" [Pipeline] sh + ./mvnw -s /home/jenkins/.m2/settings.xml release:prepare release:perform -B -Dtag=5.0.1-RC1 -DdevelopmentVersion=5.0.1-SNAPSHOT -DreleaseVersion=5.0.1-RC1 -Drevremark=Draft -Drelease.revision=Draft -DstagingProgressTimeoutMinutes=20 Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584) Maven home: /home/jenkins/.m2/wrapper/dists/apache-maven-3.9.0-bin/7u41pcsb933vr4m6u83d7ofakm/apache-maven-3.9.0 Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/hotspot-jdk-11/11.0.11+9 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.17.13-200.fc35.x86_64", arch: "amd64", family: "unix" [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] MicroProfile Metrics [pom] [INFO] MicroProfile Metrics API [jar] [INFO] MicroProfile Metrics Specification [pom] [INFO] MicroProfile Metrics TCK [pom] [INFO] MicroProfile Metrics REST-TCK [jar] [INFO] MicroProfile Metrics API-TCK [jar] [INFO] MicroProfile Metrics Optional-TCK [jar] [INFO] [INFO] ----< org.eclipse.microprofile.metrics:microprofile-metrics-parent >---- [INFO] Building MicroProfile Metrics 5.0.1-SNAPSHOT [1/7] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- release:2.5.3:prepare (default-cli) @ microprofile-metrics-parent --- [INFO] Verifying that there are no local modifications... [INFO] ignoring changes on: **/pom.xml.releaseBackup, **/pom.xml.next, **/pom.xml.tag, **/pom.xml.branch, **/release.properties, **/pom.xml.backup [INFO] Executing: /bin/sh -c cd "/home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics" && git rev-parse --show-toplevel [INFO] Working directory: /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics [INFO] Executing: /bin/sh -c cd "/home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics" && git status --porcelain . [INFO] Working directory: /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics [WARNING] Ignoring unrecognized line: ?? .mvn/ [WARNING] Ignoring unrecognized line: ?? mvnw [WARNING] Ignoring unrecognized line: ?? mvnw.cmd [WARNING] Ignoring unrecognized line: ?? release.properties [INFO] Checking dependencies and plugins for snapshots ... [INFO] Transforming 'MicroProfile Metrics'... [INFO] Ignoring artifact version update for expression ${project.version} [INFO] Transforming 'MicroProfile Metrics API'... [INFO] Transforming 'MicroProfile Metrics Specification'... [INFO] Transforming 'MicroProfile Metrics TCK'... [INFO] Transforming 'MicroProfile Metrics REST-TCK'... [INFO] Transforming 'MicroProfile Metrics API-TCK'... [INFO] Transforming 'MicroProfile Metrics Optional-TCK'... [INFO] Not generating release POMs [INFO] Executing goals 'verify'... [INFO] Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584) [INFO] Maven home: /home/jenkins/.m2/wrapper/dists/apache-maven-3.9.0-bin/7u41pcsb933vr4m6u83d7ofakm/apache-maven-3.9.0 [INFO] Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /opt/tools/java/adoptopenjdk/hotspot-jdk-11/11.0.11+9 [INFO] Default locale: en_US, platform encoding: UTF-8 [INFO] OS name: "linux", version: "5.17.13-200.fc35.x86_64", arch: "amd64", family: "unix" [INFO] [INFO] Scanning for projects... [INFO] [INFO] Inspecting build with total of 7 modules... [INFO] [INFO] Installing Nexus Staging features: [INFO] [INFO] ... total of 7 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Reactor Build Order: [INFO] [INFO] [INFO] [INFO] MicroProfile Metrics [pom] [INFO] [INFO] MicroProfile Metrics API [jar] [INFO] [INFO] MicroProfile Metrics Specification [pom] [INFO] [INFO] MicroProfile Metrics TCK [pom] [INFO] [INFO] MicroProfile Metrics REST-TCK [jar] [INFO] [INFO] MicroProfile Metrics API-TCK [jar] [INFO] [INFO] MicroProfile Metrics Optional-TCK [jar] [INFO] [INFO] [INFO] [INFO] ----< org.eclipse.microprofile.metrics:microprofile-metrics-parent >---- [INFO] [INFO] Building MicroProfile Metrics 5.0.1-RC1 [1/7] [INFO] [INFO] from pom.xml [INFO] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] [INFO] [INFO] --- apache-rat:0.13:check (rat-check) @ microprofile-metrics-parent --- [INFO] [INFO] Enabled default license matchers. [INFO] [INFO] Will parse SCM ignores for exclusions... [INFO] [INFO] Parsing exclusions from /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics/.gitignore [INFO] [INFO] Finished adding exclusions from SCM ignore files. [INFO] [INFO] 82 implicit excludes (use -debug for more details). [INFO] [INFO] 7 explicit excludes (use -debug for more details). [INFO] [INFO] 1 resources included (use -debug for more details) [INFO] [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 1 licenses. [INFO] [INFO] [INFO] [INFO] --- formatter:2.13.0:format (default) @ microprofile-metrics-parent --- [INFO] [INFO] Using 'UTF-8' encoding to format source files. [INFO] [INFO] Number of files to be formatted: 0 [INFO] [INFO] [INFO] [INFO] --- impsort:1.4.1:sort (sort-imports) @ microprofile-metrics-parent --- [INFO] [INFO] Total Files Processed: 0 in 00:00.003 [INFO] [INFO] Already Sorted: 0 [INFO] [INFO] Needed Sorting: 0 [INFO] [INFO] [INFO] [INFO] --- checkstyle:3.1.1:check (verify-style) @ microprofile-metrics-parent --- [INFO] [INFO] Starting audit... [INFO] Audit done. [INFO] [INFO] You have 0 Checkstyle violations. [INFO] [INFO] [INFO] [INFO] --- source:3.2.0:jar-no-fork (attach-sources) @ microprofile-metrics-parent --- [INFO] [INFO] [INFO] [INFO] --- gpg:1.6:sign (sign-artifacts) @ microprofile-metrics-parent --- [INFO] [INFO] [INFO] [INFO] -----< org.eclipse.microprofile.metrics:microprofile-metrics-api >------ [INFO] [INFO] Building MicroProfile Metrics API 5.0.1-RC1 [2/7] [INFO] [INFO] from api/pom.xml [INFO] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] [INFO] [INFO] --- apache-rat:0.13:check (rat-check) @ microprofile-metrics-api --- [INFO] [INFO] Enabled default license matchers. [INFO] [INFO] Will parse SCM ignores for exclusions... [INFO] [INFO] Parsing exclusions from /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics/api/.gitignore [INFO] [INFO] Finished adding exclusions from SCM ignore files. [INFO] [INFO] 68 implicit excludes (use -debug for more details). [INFO] [INFO] 7 explicit excludes (use -debug for more details). [INFO] [INFO] 25 resources included (use -debug for more details) [INFO] [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 25 licenses. [INFO] [INFO] [INFO] [INFO] --- build-helper:3.2.0:timestamp-property (generate-timestamp) @ microprofile-metrics-api --- [INFO] [INFO] [INFO] [INFO] --- resources:3.2.0:copy-resources (copy-readme) @ microprofile-metrics-api --- [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] [INFO] Copying 0 resource [INFO] [INFO] [INFO] [INFO] --- dependency:3.1.2:unpack (unpack-licenses) @ microprofile-metrics-api --- [INFO] [INFO] Configured Artifact: org.eclipse.microprofile:build-tools:1.1:jar [INFO] [INFO] Unpacking /home/jenkins/.m2/repository/org/eclipse/microprofile/build-tools/1.1/build-tools-1.1.jar to /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics/api/target with includes "licenses/*" and excludes "" [INFO] [INFO] [INFO] [INFO] --- formatter:2.13.0:format (default) @ microprofile-metrics-api --- [INFO] [INFO] Using 'UTF-8' encoding to format source files. [INFO] [INFO] Number of files to be formatted: 24 [INFO] [INFO] Successfully formatted: 0 file(s) [INFO] [INFO] Fail to format: 0 file(s) [INFO] [INFO] Skipped: 24 file(s) [INFO] [INFO] Read only skipped: 0 file(s) [INFO] [INFO] Approximate time taken: 1s [INFO] [INFO] [INFO] [INFO] --- impsort:1.4.1:sort (sort-imports) @ microprofile-metrics-api --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Reactor Summary for MicroProfile Metrics 5.0.1-RC1: [INFO] [INFO] [INFO] [INFO] MicroProfile Metrics ............................... SUCCESS [ 7.615 s] [INFO] [INFO] MicroProfile Metrics API ........................... FAILURE [ 4.670 s] [INFO] [INFO] MicroProfile Metrics Specification ................. SKIPPED [INFO] [INFO] MicroProfile Metrics TCK ........................... SKIPPED [INFO] [INFO] MicroProfile Metrics REST-TCK ...................... SKIPPED [INFO] [INFO] MicroProfile Metrics API-TCK ....................... SKIPPED [INFO] [INFO] MicroProfile Metrics Optional-TCK .................. SKIPPED [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 15.122 s [INFO] [INFO] Finished at: 2023-04-24T17:46:45Z [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal net.revelc.code:impsort-maven-plugin:1.4.1:sort (sort-imports) on project microprofile-metrics-api: Execution sort-imports of goal net.revelc.code:impsort-maven-plugin:1.4.1:sort failed: A required class was missing while executing net.revelc.code:impsort-maven-plugin:1.4.1:sort: null [INFO] [ERROR] ----------------------------------------------------- [INFO] [ERROR] realm = plugin>net.revelc.code:impsort-maven-plugin:1.4.1 [INFO] [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [INFO] [ERROR] urls[0] = file:/home/jenkins/.m2/repository/net/revelc/code/impsort-maven-plugin/1.4.1/impsort-maven-plugin-1.4.1.jar [INFO] [ERROR] urls[1] = file:/home/jenkins/.m2/repository/com/github/javaparser/javaparser-core/3.15.21/javaparser-core-3.15.21.jar [INFO] [ERROR] Number of foreign imports: 1 [INFO] [ERROR] import: Entry[import from realm ClassRealm[project>org.eclipse.microprofile.metrics:microprofile-metrics-parent:5.0.1-RC1, parent: ClassRealm[maven.api, parent: null]]] [INFO] [ERROR] [INFO] [ERROR] -----------------------------------------------------: NoClassDefFoundError: org/codehaus/plexus/util/DirectoryScanner: org.codehaus.plexus.util.DirectoryScanner [INFO] [ERROR] -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException [INFO] [ERROR] [INFO] [ERROR] After correcting the problems, you can resume the build with the command [INFO] [ERROR] mvn <args> -rf :microprofile-metrics-api [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for MicroProfile Metrics 5.0.1-SNAPSHOT: [INFO] [INFO] MicroProfile Metrics ............................... FAILURE [ 19.767 s] [INFO] MicroProfile Metrics API ........................... SKIPPED [INFO] MicroProfile Metrics Specification ................. SKIPPED [INFO] MicroProfile Metrics TCK ........................... SKIPPED [INFO] MicroProfile Metrics REST-TCK ...................... SKIPPED [INFO] MicroProfile Metrics API-TCK ....................... SKIPPED [INFO] MicroProfile Metrics Optional-TCK .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.377 s [INFO] Finished at: 2023-04-24T17:46:45Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project microprofile-metrics-parent: Maven execution failed, exit code: '1' -> [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 249 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Copy Specs) Stage "Copy Specs" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/MicroProfile Releases/microprofile-metrics [Pipeline] { [Pipeline] archive The archive step is deprecated, please use archiveArtifacts instead. No files found to archive for pattern "spec/target/generated-docs/*"; continuing. [Pipeline] sh + rm -f ../output-settings.xml [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] deleteDir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE