feat: upgrade jenkinsfile-runner to Java 17 and Jenkins version 2.462.3 #723
ci.jenkins.io / Jenkins
failed
Nov 14, 2024 in 1m 19s
linux/Build: error in 'sh' step
linux / Build / Shell Script
Error in sh
step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress clean install -Dset.changelist -Dmaven.test.failure.ignore=true -Denvironment=test -Ppackage-app,package-vanilla,jacoco,run-its
.
script returned exit code 1
Build log
[2024-11-14T10:35:18.647Z] + mvn --batch-mode --show-version --errors --no-transfer-progress clean install -Dset.changelist -Dmaven.test.failure.ignore=true -Denvironment=test -Ppackage-app,package-vanilla,jacoco,run-its
[2024-11-14T10:35:20.652Z] -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=261822336 -XX:MaxHeapSize=4189157376 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC
[2024-11-14T10:35:23.159Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2024-11-14T10:35:23.159Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2024-11-14T10:35:23.160Z] Java version: 11.0.25, vendor: Eclipse Adoptium, runtime: /opt/jdk-11
[2024-11-14T10:35:23.160Z] Default locale: en_US, platform encoding: UTF-8
[2024-11-14T10:35:23.160Z] OS name: "linux", version: "6.5.0-1025-azure", arch: "amd64", family: "unix"
[2024-11-14T10:35:28.874Z] [INFO] Error stacktraces are turned on.
[2024-11-14T10:35:32.384Z] [INFO] Setting: -Dchangelist=-rc960.3b_4f7936ea_46 -DscmTag=3b4f7936ea46502b052d62c038a66e25dee79ef7 -Dproject.build.outputTimestamp=2024-11-14T10:35:13Z
[2024-11-14T10:35:32.385Z] [INFO] Setting: -DgitHubRepo=ssthom/jenkinsfile-runner
[2024-11-14T10:35:32.388Z] [INFO] Scanning for projects...
[2024-11-14T10:35:34.598Z] [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[2024-11-14T10:35:34.598Z] [ERROR] Unknown packaging: hpi @ io.jenkins.jenkinsfile-runner:payload-dependencies:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/payload-dependencies/pom.xml, line 14, column 14
[2024-11-14T10:35:34.599Z] [WARNING] 'build.plugins.plugin.version' for org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin is missing. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom-resources:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-resources/pom.xml, line 17, column 15
[2024-11-14T10:35:34.599Z] [WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.599Z] [WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.600Z] [WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.600Z] [WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.600Z] [WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.601Z] [WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.601Z] @
[2024-11-14T10:35:34.601Z] [ERROR] The build could not read 1 project -> [Help 1]
[2024-11-14T10:35:34.602Z] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[2024-11-14T10:35:34.602Z] [ERROR] Unknown packaging: hpi @ io.jenkins.jenkinsfile-runner:payload-dependencies:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/payload-dependencies/pom.xml, line 14, column 14
[2024-11-14T10:35:34.602Z] [WARNING] 'build.plugins.plugin.version' for org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin is missing. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom-resources:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-resources/pom.xml, line 17, column 15
[2024-11-14T10:35:34.603Z] [WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.603Z] [WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.603Z] [WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.604Z] [WARNING] 'profiles.profile[jfr-package-app].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.604Z] [WARNING] 'profiles.profile[jfr-package-assembly].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.604Z] [WARNING] 'profiles.profile[jfr-package-dependencies].activation.file.missing' Failed to interpolate profile activation property ${project.build.directory}/../parent-pom-marker.txt: ${project.build.directory} expressions are not supported during profile activation. @ io.jenkins.jenkinsfile-runner:packaging-parent-pom:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/packaging-parent-pom/pom.xml
[2024-11-14T10:35:34.605Z]
[2024-11-14T10:35:34.605Z] at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:389)
[2024-11-14T10:35:34.605Z] at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:349)
[2024-11-14T10:35:34.605Z] at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:340)
[2024-11-14T10:35:34.606Z] at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:76)
[2024-11-14T10:35:34.606Z] at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:448)
[2024-11-14T10:35:34.606Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:197)
[2024-11-14T10:35:34.606Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-11-14T10:35:34.607Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-11-14T10:35:34.607Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2024-11-14T10:35:34.607Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2024-11-14T10:35:34.607Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2024-11-14T10:35:34.608Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-11-14T10:35:34.608Z] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-11-14T10:35:34.608Z] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-11-14T10:35:34.608Z] at java.lang.reflect.Method.invoke (Method.java:566)
[2024-11-14T10:35:34.612Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-11-14T10:35:34.612Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-11-14T10:35:34.612Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-11-14T10:35:34.612Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-11-14T10:35:34.613Z] [ERROR]
[2024-11-14T10:35:34.613Z] [ERROR] The project io.jenkins.jenkinsfile-runner:payload-dependencies:1.0-beta-33-rc960.3b_4f7936ea_46 (/home/jenkins/agent/platform_linux_PR-723_14/payload-dependencies/pom.xml) has 1 error
[2024-11-14T10:35:34.613Z] [ERROR] Unknown packaging: hpi @ io.jenkins.jenkinsfile-runner:payload-dependencies:${revision}${changelist}, /home/jenkins/agent/platform_linux_PR-723_14/payload-dependencies/pom.xml, line 14, column 14
[2024-11-14T10:35:34.613Z] [ERROR]
[2024-11-14T10:35:34.614Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-11-14T10:35:34.614Z] [ERROR]
[2024-11-14T10:35:34.614Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-11-14T10:35:34.614Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Details
- linux (1 min 19 sec)
- Checkout (10 sec)
- Build (19 sec)
Error: script returned exit code 1
Loading