Bump org.jenkins-ci.lib:envinject-lib from 1.24 to 1.168.v835cb_a_16513d #17
This check has been archived and is scheduled for deletion.
Learn more about checks retention
ci.jenkins.io / Jenkins
failed
Nov 18, 2023 in 57s
linux-21/Build (linux-21): error in 'junit' step
linux-21 / Build (linux-21) / 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/Plugins_batch-task-plugin_PR-17@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17@tmp/changelist clean install
.
script returned exit code 1
Build log
[2023-11-18T20:08:40.195Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17@tmp/changelist clean install
[2023-11-18T20:08:40.196Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=125000000 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2000000000 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:-THPStackMitigation -XX:+UseCompressedOops -XX:+UseG1GC
[2023-11-18T20:08:40.397Z] Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
[2023-11-18T20:08:40.398Z] Maven home: /usr/share/apache-maven-3.9.5
[2023-11-18T20:08:40.399Z] Java version: 21.0.1, vendor: Eclipse Adoptium, runtime: /opt/jdk-21
[2023-11-18T20:08:40.399Z] Default locale: en_US, platform encoding: UTF-8
[2023-11-18T20:08:40.400Z] OS name: "linux", version: "5.10.197-186.748.amzn2.x86_64", arch: "amd64", family: "unix"
[2023-11-18T20:08:42.908Z] [INFO] Error stacktraces are turned on.
[2023-11-18T20:08:46.117Z] [INFO] Setting: -Dchangelist=399.v6540f7725dc5 -DscmTag=6540f7725dc555f4705b4cdecd112f5247ddc435
[2023-11-18T20:08:46.118Z] [INFO] No information available to set -DgitHubRepo
[2023-11-18T20:08:46.118Z] [INFO] Scanning for projects...
[2023-11-18T20:08:50.129Z] [INFO]
[2023-11-18T20:08:50.129Z] [INFO] -----------------< org.jenkins-ci.plugins:batch-task >------------------
[2023-11-18T20:08:50.129Z] [INFO] Building Jenkins batch task plugin 1.399.v6540f7725dc5
[2023-11-18T20:08:50.130Z] [INFO] from pom.xml
[2023-11-18T20:08:50.130Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2023-11-18T20:08:50.130Z] [INFO]
[2023-11-18T20:08:50.130Z] [INFO] --- help:3.4.0:evaluate (default-cli) @ batch-task ---
[2023-11-18T20:08:50.432Z] [INFO] No artifact parameter specified, using 'org.jenkins-ci.plugins:batch-task:hpi:1.399.v6540f7725dc5' as project.
[2023-11-18T20:08:50.432Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17@tmp/changelist
[2023-11-18T20:08:50.432Z] [INFO]
[2023-11-18T20:08:50.433Z] [INFO] -----------------< org.jenkins-ci.plugins:batch-task >------------------
[2023-11-18T20:08:50.433Z] [INFO] Building Jenkins batch task plugin 1.399.v6540f7725dc5
[2023-11-18T20:08:50.433Z] [INFO] from pom.xml
[2023-11-18T20:08:50.433Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2023-11-18T20:08:55.145Z] [INFO]
[2023-11-18T20:08:55.145Z] [INFO] --- clean:3.3.2:clean (default-clean) @ batch-task ---
[2023-11-18T20:08:55.145Z] [INFO]
[2023-11-18T20:08:55.146Z] [INFO] --- hpi:3.50:validate (default-validate) @ batch-task ---
[2023-11-18T20:08:55.146Z] [INFO]
[2023-11-18T20:08:55.146Z] [INFO] --- hpi:3.50:validate-hpi (default-validate-hpi) @ batch-task ---
[2023-11-18T20:08:55.748Z] [INFO]
[2023-11-18T20:08:55.749Z] [INFO] --- enforcer:3.4.1:enforce (display-info) @ batch-task ---
[2023-11-18T20:08:55.950Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2023-11-18T20:08:55.951Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2023-11-18T20:08:55.951Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2023-11-18T20:08:56.253Z] [INFO] Rule 3: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2023-11-18T20:08:56.354Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2023-11-18T20:08:56.355Z] [INFO] Rule 5: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2023-11-18T20:08:56.355Z] [INFO]
[2023-11-18T20:08:56.355Z] [INFO] --- enforcer:3.4.1:enforce (no-snapshots-in-release) @ batch-task ---
[2023-11-18T20:08:56.355Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed
[2023-11-18T20:08:56.356Z] [INFO]
[2023-11-18T20:08:56.356Z] [INFO] --- jacoco:0.8.11:prepare-agent (default) @ batch-task ---
[2023-11-18T20:08:56.456Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/target/jacoco.exec,excludes=**/Messages.class:org/htmlunit/** -Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1 @{jenkins.addOpens} @{jenkins.insaneHook}
[2023-11-18T20:08:56.457Z] [INFO]
[2023-11-18T20:08:56.457Z] [INFO] --- localizer:1.31:generate (default) @ batch-task ---
[2023-11-18T20:08:57.059Z] [INFO]
[2023-11-18T20:08:57.059Z] [INFO] --- resources:3.3.1:resources (default-resources) @ batch-task ---
[2023-11-18T20:08:57.060Z] [INFO] Copying 29 resources from src/main/resources to target/classes
[2023-11-18T20:08:57.060Z] [INFO]
[2023-11-18T20:08:57.060Z] [INFO] --- flatten:1.5.0:flatten (flatten) @ batch-task ---
[2023-11-18T20:08:57.060Z] [INFO] Generating flattened POM of project org.jenkins-ci.plugins:batch-task:hpi:1.399.v6540f7725dc5...
[2023-11-18T20:08:57.161Z] [INFO]
[2023-11-18T20:08:57.161Z] [INFO] --- compiler:3.11.0:compile (default-compile) @ batch-task ---
[2023-11-18T20:08:57.262Z] [INFO] Changes detected - recompiling the module! :source
[2023-11-18T20:08:57.262Z] [INFO] Compiling 8 source files with javac [debug release 11] to target/classes
[2023-11-18T20:08:58.265Z] [INFO] hudson.plugins.batch_task.BatchTaskProperty.DESCRIPTOR indexed under hudson.Extension
[2023-11-18T20:08:58.265Z] [INFO] hudson.plugins.batch_task.BatchTaskInvoker.Config.DescriptorImpl indexed under hudson.Extension
[2023-11-18T20:08:58.266Z] [INFO] hudson.plugins.batch_task.BatchTaskInvoker.DescriptorImpl indexed under hudson.Extension
[2023-11-18T20:08:58.266Z] [INFO] /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/src/main/java/hudson/plugins/batch_task/BatchTask.java: Some input files use or override a deprecated API.
[2023-11-18T20:08:58.266Z] [INFO] /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/src/main/java/hudson/plugins/batch_task/BatchTask.java: Recompile with -Xlint:deprecation for details.
[2023-11-18T20:08:58.266Z] [INFO] /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/src/main/java/hudson/plugins/batch_task/BatchTaskInvoker.java: /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/src/main/java/hudson/plugins/batch_task/BatchTaskInvoker.java uses unchecked or unsafe operations.
[2023-11-18T20:08:58.266Z] [INFO] /home/jenkins/agent/workspace/Plugins_batch-task-plugin_PR-17/src/main/java/hudson/plugins/batch_task/BatchTaskInvoker.java: Recompile with -Xlint:unchecked for details.
[2023-11-18T20:08:58.267Z] [INFO]
[2023-11-18T20:08:58.267Z] [INFO] --- access-modifier-checker:1.33:enforce (default-enforce) @ batch-task ---
[2023-11-18T20:08:58.468Z] [ERROR] hudson/plugins/batch_task/BatchRun:238 org/jenkinsci/lib/envinject/service/EnvVarsResolver must not be used
[2023-11-18T20:08:58.468Z] [ERROR] hudson/plugins/batch_task/BatchRun:238 org/jenkinsci/lib/envinject/service/EnvVarsResolver must not be used
[2023-11-18T20:08:58.468Z] [ERROR] hudson/plugins/batch_task/BatchRun:240 org/jenkinsci/lib/envinject/service/EnvVarsResolver must not be used
[2023-11-18T20:08:58.468Z] [INFO] ------------------------------------------------------------------------
[2023-11-18T20:08:58.469Z] [INFO] BUILD FAILURE
[2023-11-18T20:08:58.469Z] [INFO] ------------------------------------------------------------------------
[2023-11-18T20:08:58.469Z] [INFO] Total time: 15.523 s
[2023-11-18T20:08:58.469Z] [INFO] Finished at: 2023-11-18T20:08:58Z
[2023-11-18T20:08:58.469Z] [INFO] ------------------------------------------------------------------------
[2023-11-18T20:08:58.469Z] [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.33:enforce (default-enforce) on project batch-task: Access modifier checks failed. See the details above -> [Help 1]
[2023-11-18T20:08:58.470Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kohsuke:access-modifier-checker:1.33:enforce (default-enforce) on project batch-task: Access modifier checks failed. See the details above
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2023-11-18T20:08:58.470Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2023-11-18T20:08:58.470Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2023-11-18T20:08:58.471Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2023-11-18T20:08:58.471Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2023-11-18T20:08:58.471Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2023-11-18T20:08:58.471Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2023-11-18T20:08:58.471Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2023-11-18T20:08:58.471Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2023-11-18T20:08:58.471Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2023-11-18T20:08:58.472Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2023-11-18T20:08:58.472Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2023-11-18T20:08:58.472Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2023-11-18T20:08:58.472Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2023-11-18T20:08:58.472Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2023-11-18T20:08:58.472Z] at java.lang.reflect.Method.invoke (Method.java:580)
[2023-11-18T20:08:58.472Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
[2023-11-18T20:08:58.473Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
[2023-11-18T20:08:58.473Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
[2023-11-18T20:08:58.473Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[2023-11-18T20:08:58.473Z] Caused by: org.apache.maven.plugin.MojoFailureException: Access modifier checks failed. See the details above
[2023-11-18T20:08:58.473Z] at org.kohsuke.accmod.impl.EnforcerMojo.execute (EnforcerMojo.java:109)
[2023-11-18T20:08:58.473Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2023-11-18T20:08:58.473Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2023-11-18T20:08:58.473Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2023-11-18T20:08:58.474Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2023-11-18T20:08:58.474Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2023-11-18T20:08:58.475Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2023-11-18T20:08:58.475Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2023-11-18T20:08:58.475Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2023-11-18T20:08:58.475Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2023-11-18T20:08:58.475Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2023-11-18T20:08:58.475Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2023-11-18T20:08:58.475Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
[2023-11-18T20:08:58.476Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
[2023-11-18T20:08:58.476Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
[2023-11-18T20:08:58.476Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
[2023-11-18T20:08:58.476Z] at java.lang.reflect.Method.invoke (Method.java:580)
[2023-11-18T20:08:58.476Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
[2023-11-18T20:08:58.476Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
[2023-11-18T20:08:58.476Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
[2023-11-18T20:08:58.477Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[2023-11-18T20:08:58.477Z] [ERROR]
[2023-11-18T20:08:58.477Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-11-18T20:08:58.477Z] [ERROR]
[2023-11-18T20:08:58.477Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2023-11-18T20:08:58.477Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
linux-21 / Build (linux-21) / Archive JUnit-formatted test results
Error in junit
step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml
.
No test report files were found. Configuration error?
Build log
[2023-11-18T20:08:58.630Z] Recording test results
[2023-11-18T20:08:59.414Z] No test report files were found. Configuration error?
Details
- linux-21 (4 ms)
- Checkout (linux-21) (25 sec)
- Build (linux-21) (22 sec)
Error: script returned exit code 1
Error: No test report files were found. Configuration error?
- windows-17 (57 sec)
Loading