chore: Upgrade to latest LTS core version supporting Java 8 (requires 2.346.3) #17
ci.jenkins.io / Jenkins
failed
Feb 16, 2025 in 1m 44s
linux-8/Build (linux-8): error in 'junit' step
linux-8 / Build (linux-8) / Shell Script
Error in sh
step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/lugins_cmakebuilder-plugin_PR-17@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/lugins_cmakebuilder-plugin_PR-17@tmp/changelist clean install
.
script returned exit code 1
Build log
[2025-02-16T15:33:15.075Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/lugins_cmakebuilder-plugin_PR-17@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/lugins_cmakebuilder-plugin_PR-17@tmp/changelist clean install
[2025-02-16T15:33:15.276Z] -XX:InitialHeapSize=255921600 -XX:MaxHeapSize=4094745600 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC
[2025-02-16T15:33:15.780Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2025-02-16T15:33:15.781Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2025-02-16T15:33:15.781Z] Java version: 1.8.0_442, vendor: Temurin, runtime: /opt/jdk-8/jre
[2025-02-16T15:33:15.781Z] Default locale: en_US, platform encoding: UTF-8
[2025-02-16T15:33:15.782Z] OS name: "linux", version: "6.8.0-1021-aws", arch: "amd64", family: "unix"
[2025-02-16T15:33:18.495Z] [INFO] Error stacktraces are turned on.
[2025-02-16T15:33:18.495Z] [INFO] Scanning for projects...
[2025-02-16T15:33:24.822Z] [INFO]
[2025-02-16T15:33:24.823Z] [INFO] ----------------< org.jenkins-ci.plugins:cmakebuilder >-----------------
[2025-02-16T15:33:24.823Z] [INFO] Building CMake plugin 4.1.2-SNAPSHOT
[2025-02-16T15:33:24.823Z] [INFO] from pom.xml
[2025-02-16T15:33:24.824Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2025-02-16T15:33:24.824Z] [INFO]
[2025-02-16T15:33:24.824Z] [INFO] --- help:3.5.1:evaluate (default-cli) @ cmakebuilder ---
[2025-02-16T15:33:24.928Z] [INFO] No artifact parameter specified, using 'org.jenkins-ci.plugins:cmakebuilder:hpi:4.1.2-SNAPSHOT' as project.
[2025-02-16T15:33:24.928Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/lugins_cmakebuilder-plugin_PR-17@tmp/changelist
[2025-02-16T15:33:24.929Z] [INFO]
[2025-02-16T15:33:24.929Z] [INFO] ----------------< org.jenkins-ci.plugins:cmakebuilder >-----------------
[2025-02-16T15:33:24.929Z] [INFO] Building CMake plugin 4.1.2-SNAPSHOT
[2025-02-16T15:33:24.929Z] [INFO] from pom.xml
[2025-02-16T15:33:24.935Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2025-02-16T15:33:24.936Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:validate (default-validate)'
[2025-02-16T15:33:24.936Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:validate-hpi (default-validate-hpi)'
[2025-02-16T15:33:24.936Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:initialize (default-initialize)'
[2025-02-16T15:33:24.937Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:insert-test (default-insert-test)'
[2025-02-16T15:33:24.937Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:test-hpl (default-test-hpl)'
[2025-02-16T15:33:24.937Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:resolve-test-dependencies (default-resolve-test-dependencies)'
[2025-02-16T15:33:24.937Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:test-runtime (default-test-runtime)'
[2025-02-16T15:33:24.941Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.35:hpi (default-hpi)'
[2025-02-16T15:33:28.957Z] [INFO]
[2025-02-16T15:33:28.958Z] [INFO] --- clean:3.2.0:clean (default-clean) @ cmakebuilder ---
[2025-02-16T15:33:28.958Z] [INFO]
[2025-02-16T15:33:28.958Z] [INFO] --- hpi:3.35:validate (default-validate) @ cmakebuilder ---
[2025-02-16T15:33:28.961Z] [INFO]
[2025-02-16T15:33:28.962Z] [INFO] --- hpi:3.35:validate-hpi (default-validate-hpi) @ cmakebuilder ---
[2025-02-16T15:33:29.764Z] [WARNING] Error resolving project artifact: The following artifacts could not be resolved: com.sun:tools:pom:1.8.0 (absent): Could not find artifact com.sun:tools:pom:1.8.0 in aws-internal (http://k8s-artifact-artifact-f340ad86c3-70787fedaeca6b4d.elb.us-east-2.amazonaws.com:8080/) for project com.sun:tools:jar:1.8.0
[2025-02-16T15:33:30.068Z] [INFO]
[2025-02-16T15:33:30.069Z] [INFO] --- enforcer:3.1.0:display-info (display-info) @ cmakebuilder ---
[2025-02-16T15:33:30.171Z] [INFO] Maven Version: 3.9.9
[2025-02-16T15:33:30.171Z] [INFO] JDK Version: 1.8.0_442 normalized as: 1.8.0-442
[2025-02-16T15:33:30.175Z] [INFO] Java Vendor: Temurin
[2025-02-16T15:33:30.175Z] [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 6.8.0-1021-aws
[2025-02-16T15:33:30.175Z] [INFO]
[2025-02-16T15:33:30.176Z] [INFO] --- enforcer:3.1.0:enforce (display-info) @ cmakebuilder ---
[2025-02-16T15:33:30.276Z] [WARNING] Missing:
[2025-02-16T15:33:30.277Z] ----------
[2025-02-16T15:33:30.278Z] 1) com.sun:tools:jar:1.8.0
[2025-02-16T15:33:30.278Z]
[2025-02-16T15:33:30.278Z] Try downloading the file manually from the project website.
[2025-02-16T15:33:30.278Z]
[2025-02-16T15:33:30.279Z] Then, install it using the command:
[2025-02-16T15:33:30.281Z] mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file
[2025-02-16T15:33:30.282Z]
[2025-02-16T15:33:30.284Z] Alternatively, if you host your own repository you can deploy the file there:
[2025-02-16T15:33:30.284Z] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[2025-02-16T15:33:30.285Z]
[2025-02-16T15:33:30.285Z] Path to dependency:
[2025-02-16T15:33:30.286Z] 1) com.sun:tools:jar:1.8.0
[2025-02-16T15:33:30.286Z]
[2025-02-16T15:33:30.286Z] ----------
[2025-02-16T15:33:30.286Z] 1 required artifact is missing.
[2025-02-16T15:33:30.286Z]
[2025-02-16T15:33:30.287Z] for artifact:
[2025-02-16T15:33:30.288Z] com.sun:tools:jar:1.8.0
[2025-02-16T15:33:30.288Z]
[2025-02-16T15:33:30.288Z] from the specified remote repositories:
[2025-02-16T15:33:30.288Z] aws-internal (http://k8s-artifact-artifact-f340ad86c3-70787fedaeca6b4d.elb.us-east-2.amazonaws.com:8080/, releases=true, snapshots=true)
[2025-02-16T15:33:30.288Z] Path to dependency:
[2025-02-16T15:33:30.289Z] 1) com.sun:tools:jar:1.8.0
[2025-02-16T15:33:30.289Z]
[2025-02-16T15:33:30.291Z]
[2025-02-16T15:33:30.291Z] [INFO] Adding ignore: module-info
[2025-02-16T15:33:31.094Z] [WARNING] The POM for org.apache.logging.log4j:log4j-api-java9:zip:2.11.0 is missing, no dependency information available
[2025-02-16T15:33:33.299Z] [WARNING] The POM for org.apache.logging.log4j:log4j-core-java9:zip:2.11.0 is missing, no dependency information available
[2025-02-16T15:33:33.400Z] [ERROR] Rule 4: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
[2025-02-16T15:33:33.401Z] Found Banned Dependency: org.apache.logging.log4j:log4j-api:jar:2.11.0
[2025-02-16T15:33:33.401Z] Found Banned Dependency: org.apache.logging.log4j:log4j-core:jar:2.11.0
[2025-02-16T15:33:33.401Z] Use 'mvn dependency:tree' to locate the source of the banned dependencies.
[2025-02-16T15:33:33.401Z] [INFO] ------------------------------------------------------------------------
[2025-02-16T15:33:33.401Z] [INFO] BUILD FAILURE
[2025-02-16T15:33:33.402Z] [INFO] ------------------------------------------------------------------------
[2025-02-16T15:33:33.402Z] [INFO] Total time: 14.921 s
[2025-02-16T15:33:33.402Z] [INFO] Finished at: 2025-02-16T15:33:33Z
[2025-02-16T15:33:33.402Z] [INFO] ------------------------------------------------------------------------
[2025-02-16T15:33:33.402Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (display-info) on project cmakebuilder: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[2025-02-16T15:33:33.402Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.1.0:enforce (display-info) on project cmakebuilder: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
[2025-02-16T15:33:33.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2025-02-16T15:33:33.402Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-02-16T15:33:33.403Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-02-16T15:33:33.403Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-02-16T15:33:33.404Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-02-16T15:33:33.404Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-02-16T15:33:33.404Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-02-16T15:33:33.404Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-02-16T15:33:33.404Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-02-16T15:33:33.404Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-02-16T15:33:33.405Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-02-16T15:33:33.405Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-02-16T15:33:33.405Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-02-16T15:33:33.405Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-02-16T15:33:33.405Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-02-16T15:33:33.405Z] at java.lang.reflect.Method.invoke (Method.java:498)
[2025-02-16T15:33:33.405Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-02-16T15:33:33.406Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-02-16T15:33:33.406Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-02-16T15:33:33.406Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-02-16T15:33:33.406Z] Caused by: org.apache.maven.plugin.MojoExecutionException: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
[2025-02-16T15:33:33.407Z] at org.apache.maven.plugins.enforcer.EnforceMojo.execute (EnforceMojo.java:260)
[2025-02-16T15:33:33.407Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2025-02-16T15:33:33.407Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2025-02-16T15:33:33.407Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2025-02-16T15:33:33.407Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2025-02-16T15:33:33.408Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2025-02-16T15:33:33.408Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2025-02-16T15:33:33.408Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2025-02-16T15:33:33.408Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2025-02-16T15:33:33.408Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2025-02-16T15:33:33.409Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2025-02-16T15:33:33.409Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2025-02-16T15:33:33.409Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2025-02-16T15:33:33.409Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2025-02-16T15:33:33.409Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2025-02-16T15:33:33.410Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2025-02-16T15:33:33.410Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2025-02-16T15:33:33.410Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2025-02-16T15:33:33.410Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2025-02-16T15:33:33.410Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2025-02-16T15:33:33.410Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2025-02-16T15:33:33.411Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2025-02-16T15:33:33.411Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2025-02-16T15:33:33.411Z] at java.lang.reflect.Method.invoke (Method.java:498)
[2025-02-16T15:33:33.411Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2025-02-16T15:33:33.411Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2025-02-16T15:33:33.412Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2025-02-16T15:33:33.412Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2025-02-16T15:33:33.412Z] [ERROR]
[2025-02-16T15:33:33.412Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-02-16T15:33:33.412Z] [ERROR]
[2025-02-16T15:33:33.412Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-02-16T15:33:33.413Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
linux-8 / Build (linux-8) / Archive JUnit-formatted test results
Error in junit
step.
No test report files were found. Configuration error?
Build log
[2025-02-16T15:33:31.886Z] Recording test results
[2025-02-16T15:33:32.019Z] No test report files were found. Configuration error?
Details
- linux-8 (1 min 43 sec)
- Checkout (linux-8) (14 sec)
- Build (linux-8) (24 sec)
Error: script returned exit code 1
Error: No test report files were found. Configuration error?
Loading