Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to jenkin version 2.303.3 #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

test pipeline with java 11

e78adbf
Select commit
Loading
Failed to load commit list.
Open

Change to jenkin version 2.303.3 #35

test pipeline with java 11
e78adbf
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jul 30, 2024 in 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/ins_eggplant-runner-plugin_PR-35@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/ins_eggplant-runner-plugin_PR-35@tmp/changelist clean install.

script returned exit code 1
Build log
[2024-07-30T16:40:48.478Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/ins_eggplant-runner-plugin_PR-35@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/ins_eggplant-runner-plugin_PR-35@tmp/changelist clean install
[2024-07-30T16:40:48.579Z] -XX:InitialHeapSize=187499968 -XX:MaxHeapSize=2999999488 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC 
[2024-07-30T16:40:48.680Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-30T16:40:48.681Z] Maven home: /usr/share/apache-maven-3.9.8
[2024-07-30T16:40:48.681Z] Java version: 1.8.0_422, vendor: Temurin, runtime: /opt/jdk-8/jre
[2024-07-30T16:40:48.681Z] Default locale: en_US, platform encoding: UTF-8
[2024-07-30T16:40:48.682Z] OS name: "linux", version: "5.15.158.2-1.cm2", arch: "amd64", family: "unix"
[2024-07-30T16:40:50.689Z] [INFO] Error stacktraces are turned on.
[2024-07-30T16:40:50.790Z] [INFO] Setting: -Dchangelist=161.ve78a_db_f5db_b_0 -DscmTag=e78adbf5dbb0e77f806fa8cb027279a88648f0f4
[2024-07-30T16:40:50.791Z] [INFO] No information available to set -DgitHubRepo
[2024-07-30T16:40:50.791Z] [INFO] Scanning for projects...
[2024-07-30T16:40:54.804Z] [INFO] 
[2024-07-30T16:40:54.804Z] [INFO] -----------------< io.jenkins.plugins:eggplant-runner >-----------------
[2024-07-30T16:40:54.805Z] [INFO] Building Eggplant Runner Plugin 0.0.1.161.ve78a_db_f5db_b_0
[2024-07-30T16:40:54.805Z] [INFO]   from pom.xml
[2024-07-30T16:40:54.805Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T16:40:54.805Z] [INFO] 
[2024-07-30T16:40:54.806Z] [INFO] --- help:3.4.1:evaluate (default-cli) @ eggplant-runner ---
[2024-07-30T16:40:55.007Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugins:eggplant-runner:hpi:0.0.1.161.ve78a_db_f5db_b_0' as project.
[2024-07-30T16:40:55.007Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/ins_eggplant-runner-plugin_PR-35@tmp/changelist
[2024-07-30T16:40:55.008Z] [INFO] 
[2024-07-30T16:40:55.008Z] [INFO] -----------------< io.jenkins.plugins:eggplant-runner >-----------------
[2024-07-30T16:40:55.008Z] [INFO] Building Eggplant Runner Plugin 0.0.1.161.ve78a_db_f5db_b_0
[2024-07-30T16:40:55.009Z] [INFO]   from pom.xml
[2024-07-30T16:40:55.009Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T16:40:55.009Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:validate (default-validate)'
[2024-07-30T16:40:55.010Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:validate-hpi (default-validate-hpi)'
[2024-07-30T16:40:55.010Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:insert-test (default-insert-test)'
[2024-07-30T16:40:55.010Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:test-hpl (default-test-hpl)'
[2024-07-30T16:40:55.011Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:resolve-test-dependencies (default-resolve-test-dependencies)'
[2024-07-30T16:40:55.011Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.25:hpi (default-hpi)'
[2024-07-30T16:41:06.340Z] [INFO] 
[2024-07-30T16:41:06.341Z] [INFO] --- clean:3.1.0:clean (default-clean) @ eggplant-runner ---
[2024-07-30T16:41:06.341Z] [INFO] 
[2024-07-30T16:41:06.341Z] [INFO] --- hpi:3.25:validate (default-validate) @ eggplant-runner ---
[2024-07-30T16:41:06.342Z] [INFO] 
[2024-07-30T16:41:06.342Z] [INFO] --- hpi:3.25:validate-hpi (default-validate-hpi) @ eggplant-runner ---
[2024-07-30T16:41:06.743Z] [INFO] 
[2024-07-30T16:41:06.744Z] [INFO] --- enforcer:3.0.0:display-info (display-info) @ eggplant-runner ---
[2024-07-30T16:41:06.844Z] [INFO] Maven Version: 3.9.8
[2024-07-30T16:41:06.845Z] [INFO] JDK Version: 1.8.0_422 normalized as: 1.8.0-422
[2024-07-30T16:41:06.845Z] [INFO] Java Vendor: Temurin
[2024-07-30T16:41:06.845Z] [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 5.15.158.2-1.cm2
[2024-07-30T16:41:06.845Z] [INFO] 
[2024-07-30T16:41:06.846Z] [INFO] --- enforcer:3.0.0:enforce (display-info) @ eggplant-runner ---
[2024-07-30T16:41:06.947Z] [WARNING] System artifact: com.sun:tools:jar:1.8.0:system has no file attached
[2024-07-30T16:41:06.947Z] 
[2024-07-30T16:41:06.947Z] Try downloading the file manually from the project website.
[2024-07-30T16:41:06.947Z] 
[2024-07-30T16:41:06.948Z] Then, install it using the command: 
[2024-07-30T16:41:06.948Z]     mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file
[2024-07-30T16:41:06.948Z] 
[2024-07-30T16:41:06.948Z] Alternatively, if you host your own repository you can deploy the file there: 
[2024-07-30T16:41:06.948Z]     mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[2024-07-30T16:41:06.949Z] 
[2024-07-30T16:41:06.949Z] Path to dependency: 
[2024-07-30T16:41:06.949Z] 	1) com.sun:tools:jar:1.8.0
[2024-07-30T16:41:06.949Z] 
[2024-07-30T16:41:06.950Z] 
[2024-07-30T16:41:06.950Z]   com.sun:tools:jar:1.8.0
[2024-07-30T16:41:06.950Z] 
[2024-07-30T16:41:06.950Z] 
[2024-07-30T16:41:07.452Z] [INFO] Ignoring requireUpperBoundDeps in org.kohsuke:access-modifier-annotation
[2024-07-30T16:41:07.453Z] [INFO] Ignoring requireUpperBoundDeps in javax.servlet:servlet-api
[2024-07-30T16:41:07.453Z] [INFO] 
[2024-07-30T16:41:07.453Z] [INFO] --- enforcer:3.0.0:enforce (no-snapshots-in-release) @ eggplant-runner ---
[2024-07-30T16:41:07.453Z] [INFO] 
[2024-07-30T16:41:07.454Z] [INFO] --- gplus:1.13.1:addTestSources (test-in-groovy) @ eggplant-runner ---
[2024-07-30T16:41:07.554Z] [INFO] 
[2024-07-30T16:41:07.555Z] [INFO] --- jacoco:0.8.7:prepare-agent (default) @ eggplant-runner ---
[2024-07-30T16:41:07.655Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/ins_eggplant-runner-plugin_PR-35@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/jenkins/agent/workspace/ins_eggplant-runner-plugin_PR-35/target/jacoco.exec,excludes=**/Messages.class:com/gargoylesoftware/** -Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1
[2024-07-30T16:41:07.656Z] [INFO] 
[2024-07-30T16:41:07.656Z] [INFO] --- localizer:1.31:generate (default) @ eggplant-runner ---
[2024-07-30T16:41:07.857Z] [INFO] 
[2024-07-30T16:41:07.857Z] [INFO] --- resources:3.2.0:resources (default-resources) @ eggplant-runner ---
[2024-07-30T16:41:07.958Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2024-07-30T16:41:07.958Z] [INFO] Using 'UTF-8' encoding to copy filtered properties files.
[2024-07-30T16:41:07.958Z] [INFO] Copying 2 resources
[2024-07-30T16:41:07.958Z] [INFO] 
[2024-07-30T16:41:07.959Z] [INFO] --- flatten:1.2.7:flatten (flatten) @ eggplant-runner ---
[2024-07-30T16:41:08.059Z] [INFO] Generating flattened POM of project io.jenkins.plugins:eggplant-runner:hpi:0.0.1.161.ve78a_db_f5db_b_0...
[2024-07-30T16:41:08.160Z] [INFO] 
[2024-07-30T16:41:08.161Z] [INFO] --- compiler:3.10.1:compile (default-compile) @ eggplant-runner ---
[2024-07-30T16:41:08.161Z] [INFO] Changes detected - recompiling the module!
[2024-07-30T16:41:08.161Z] [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/ins_eggplant-runner-plugin_PR-35/target/classes
[2024-07-30T16:41:08.262Z] [INFO] -------------------------------------------------------------
[2024-07-30T16:41:08.262Z] [ERROR] COMPILATION ERROR : 
[2024-07-30T16:41:08.262Z] [INFO] -------------------------------------------------------------
[2024-07-30T16:41:08.262Z] [ERROR] javac: invalid target release: 1.11
[2024-07-30T16:41:08.263Z] Usage: javac <options> <source files>
[2024-07-30T16:41:08.263Z] use -help for a list of possible options
[2024-07-30T16:41:08.263Z] 
[2024-07-30T16:41:08.263Z] [INFO] 1 error
[2024-07-30T16:41:08.263Z] [INFO] -------------------------------------------------------------
[2024-07-30T16:41:08.263Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T16:41:08.264Z] [INFO] BUILD FAILURE
[2024-07-30T16:41:08.264Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T16:41:08.264Z] [INFO] Total time:  17.534 s
[2024-07-30T16:41:08.264Z] [INFO] Finished at: 2024-07-30T16:41:08Z
[2024-07-30T16:41:08.264Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T16:41:08.264Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project eggplant-runner: Compilation failure
[2024-07-30T16:41:08.264Z] [ERROR] javac: invalid target release: 1.11
[2024-07-30T16:41:08.265Z] [ERROR] Usage: javac <options> <source files>
[2024-07-30T16:41:08.265Z] [ERROR] use -help for a list of possible options
[2024-07-30T16:41:08.265Z] [ERROR] -> [Help 1]
[2024-07-30T16:41:08.265Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project eggplant-runner: Compilation failure
[2024-07-30T16:41:08.265Z] javac: invalid target release: 1.11
[2024-07-30T16:41:08.265Z] Usage: javac <options> <source files>
[2024-07-30T16:41:08.266Z] use -help for a list of possible options
[2024-07-30T16:41:08.266Z] 
[2024-07-30T16:41:08.266Z] 
[2024-07-30T16:41:08.266Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2024-07-30T16:41:08.266Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-07-30T16:41:08.266Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T16:41:08.267Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T16:41:08.268Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T16:41:08.269Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T16:41:08.269Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T16:41:08.269Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T16:41:08.269Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T16:41:08.269Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T16:41:08.269Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T16:41:08.269Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T16:41:08.270Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T16:41:08.270Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T16:41:08.270Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T16:41:08.270Z] Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
[2024-07-30T16:41:08.270Z] javac: invalid target release: 1.11
[2024-07-30T16:41:08.270Z] Usage: javac <options> <source files>
[2024-07-30T16:41:08.271Z] use -help for a list of possible options
[2024-07-30T16:41:08.271Z] 
[2024-07-30T16:41:08.271Z] 
[2024-07-30T16:41:08.271Z]     at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1310)
[2024-07-30T16:41:08.271Z]     at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:198)
[2024-07-30T16:41:08.271Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T16:41:08.272Z]     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T16:41:08.273Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T16:41:08.274Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T16:41:08.274Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T16:41:08.274Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T16:41:08.274Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T16:41:08.274Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T16:41:08.274Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T16:41:08.275Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T16:41:08.275Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T16:41:08.275Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T16:41:08.275Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T16:41:08.275Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T16:41:08.275Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T16:41:08.276Z] [ERROR] 
[2024-07-30T16:41:08.276Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-30T16:41:08.276Z] [ERROR] 
[2024-07-30T16:41:08.276Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-30T16:41:08.276Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

linux-8 / Build (linux-8) / 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
[2024-07-30T16:41:07.966Z] Recording test results
[2024-07-30T16:41:08.089Z] No test report files were found. Configuration error?

Details

  • linux-8 (1 ms)
    • Checkout (linux-8) (7.8 sec)
    • Build (linux-8) (22 sec)
      Error: script returned exit code 1
      Error: No test report files were found. Configuration error?
  • windows-8 (43 sec)