🚧 Add step to wrap the OTEL context and mask the credentials #206
windows-8/Build (windows-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/gins_opentelemetry-plugin_PR-206@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/gins_opentelemetry-plugin_PR-206@tmp/changelist clean install
.
script returned exit code 1
Build log
[2024-07-30T17:40:27.114Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206@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/gins_opentelemetry-plugin_PR-206@tmp/changelist clean install
[2024-07-30T17:40:28.118Z] -XX:InitialHeapSize=261822336 -XX:MaxHeapSize=4189157376 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC
[2024-07-30T17:40:32.029Z] Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
[2024-07-30T17:40:32.029Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2024-07-30T17:40:32.029Z] Java version: 1.8.0_422, vendor: Temurin, runtime: /opt/jdk-8/jre
[2024-07-30T17:40:32.030Z] Default locale: en_US, platform encoding: UTF-8
[2024-07-30T17:40:32.030Z] OS name: "linux", version: "6.5.0-1024-azure", arch: "amd64", family: "unix"
[2024-07-30T17:40:37.645Z] [INFO] Error stacktraces are turned on.
[2024-07-30T17:40:37.847Z] [INFO] Setting: -Dchangelist=-rc423.1e6f06c6f898 -DscmTag=1e6f06c6f8988332cd6584d674fd4112d67db73c
[2024-07-30T17:40:37.848Z] [INFO] Setting: -DgitHubRepo=v1v/opentelemetry-plugin
[2024-07-30T17:40:37.848Z] [INFO] Scanning for projects...
[2024-07-30T17:40:44.264Z] [INFO]
[2024-07-30T17:40:44.264Z] [INFO] ------------------< io.jenkins.plugins:opentelemetry >------------------
[2024-07-30T17:40:44.265Z] [INFO] Building OpenTelemetry Plugin 0.22-beta-3-rc423.1e6f06c6f898
[2024-07-30T17:40:44.265Z] [INFO] from pom.xml
[2024-07-30T17:40:44.266Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T17:40:44.266Z] [INFO]
[2024-07-30T17:40:44.266Z] [INFO] --- help:3.4.1:evaluate (default-cli) @ opentelemetry ---
[2024-07-30T17:40:44.668Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugins:opentelemetry:hpi:0.22-beta-3-rc423.1e6f06c6f898' as project.
[2024-07-30T17:40:44.668Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206@tmp/changelist
[2024-07-30T17:40:44.669Z] [INFO]
[2024-07-30T17:40:44.669Z] [INFO] ------------------< io.jenkins.plugins:opentelemetry >------------------
[2024-07-30T17:40:44.669Z] [INFO] Building OpenTelemetry Plugin 0.22-beta-3-rc423.1e6f06c6f898
[2024-07-30T17:40:44.669Z] [INFO] from pom.xml
[2024-07-30T17:40:44.670Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2024-07-30T17:40:44.670Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:validate (default-validate)'
[2024-07-30T17:40:44.670Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:validate-hpi (default-validate-hpi)'
[2024-07-30T17:40:44.670Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:insert-test (default-insert-test)'
[2024-07-30T17:40:44.671Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:test-hpl (default-test-hpl)'
[2024-07-30T17:40:44.671Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:resolve-test-dependencies (default-resolve-test-dependencies)'
[2024-07-30T17:40:44.671Z] [WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.19:hpi (default-hpi)'
[2024-07-30T17:41:04.516Z] [INFO]
[2024-07-30T17:41:04.517Z] [INFO] --- clean:3.1.0:clean (default-clean) @ opentelemetry ---
[2024-07-30T17:41:04.517Z] [INFO]
[2024-07-30T17:41:04.518Z] [INFO] --- hpi:3.19:validate (default-validate) @ opentelemetry ---
[2024-07-30T17:41:04.518Z] [INFO]
[2024-07-30T17:41:04.518Z] [INFO] --- hpi:3.19:validate-hpi (default-validate-hpi) @ opentelemetry ---
[2024-07-30T17:41:05.621Z] [INFO]
[2024-07-30T17:41:05.622Z] [INFO] --- enforcer:3.0.0-M3:display-info (display-info) @ opentelemetry ---
[2024-07-30T17:41:05.723Z] [INFO] Maven Version: 3.9.8
[2024-07-30T17:41:05.723Z] [INFO] JDK Version: 1.8.0_422 normalized as: 1.8.0-422
[2024-07-30T17:41:05.723Z] [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 6.5.0-1024-azure
[2024-07-30T17:41:05.724Z] [INFO]
[2024-07-30T17:41:05.724Z] [INFO] --- enforcer:3.0.0-M3:enforce (display-info) @ opentelemetry ---
[2024-07-30T17:41:07.027Z] [INFO] artifact junit:junit-dep: checking for updates from azure-proxy
[2024-07-30T17:41:07.429Z] [INFO] artifact junit:junit: checking for updates from azure-proxy
[2024-07-30T17:41:08.031Z] [INFO] Adding ignore: module-info
[2024-07-30T17:41:08.031Z] [WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.jr:jackson-jr-objects:jar:2.13.0:runtime : META-INF/versions/11/module-info.class: expected 55, but was 53
[2024-07-30T17:41:08.232Z] [WARNING] Invalid bytecodeVersion for com.fasterxml.jackson.core:jackson-core:jar:2.13.0:runtime : META-INF/versions/11/module-info.class: expected 55, but was 53
[2024-07-30T17:41:11.038Z] [INFO] artifact junit:junit-dep: checking for updates from azure-proxy
[2024-07-30T17:41:11.239Z] [INFO] artifact junit:junit: checking for updates from azure-proxy
[2024-07-30T17:41:11.541Z] [INFO] Ignoring requireUpperBoundDeps in com.google.guava:guava
[2024-07-30T17:41:11.541Z] [INFO]
[2024-07-30T17:41:11.541Z] [INFO] --- enforcer:3.0.0-M3:enforce (no-snapshots-in-release) @ opentelemetry ---
[2024-07-30T17:41:11.642Z] [INFO]
[2024-07-30T17:41:11.643Z] [INFO] --- gplus:1.13.0:addTestSources (test-in-groovy) @ opentelemetry ---
[2024-07-30T17:41:11.944Z] [INFO]
[2024-07-30T17:41:11.944Z] [INFO] --- jacoco:0.8.7:prepare-agent (default) @ opentelemetry ---
[2024-07-30T17:41:12.045Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/target/jacoco.exec,excludes=**/Messages.class -Xms768M -Xmx768M -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1
[2024-07-30T17:41:12.046Z] [INFO]
[2024-07-30T17:41:12.046Z] [INFO] --- localizer:1.31:generate (default) @ opentelemetry ---
[2024-07-30T17:41:12.347Z] [INFO]
[2024-07-30T17:41:12.347Z] [INFO] --- resources:3.2.0:resources (default-resources) @ opentelemetry ---
[2024-07-30T17:41:12.548Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2024-07-30T17:41:12.549Z] [INFO] Using 'UTF-8' encoding to copy filtered properties files.
[2024-07-30T17:41:12.549Z] [INFO] Copying 28 resources
[2024-07-30T17:41:12.549Z] [INFO]
[2024-07-30T17:41:12.549Z] [INFO] --- flatten:1.2.7:flatten (flatten) @ opentelemetry ---
[2024-07-30T17:41:12.951Z] [INFO] Generating flattened POM of project io.jenkins.plugins:opentelemetry:hpi:0.22-beta-3-rc423.1e6f06c6f898...
[2024-07-30T17:41:13.352Z] [INFO]
[2024-07-30T17:41:13.353Z] [INFO] --- compiler:3.8.1:compile (default-compile) @ opentelemetry ---
[2024-07-30T17:41:13.553Z] [INFO] Changes detected - recompiling the module!
[2024-07-30T17:41:13.554Z] [INFO] Compiling 68 source files to /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/target/classes
[2024-07-30T17:41:17.061Z] [INFO] -------------------------------------------------------------
[2024-07-30T17:41:17.062Z] [ERROR] COMPILATION ERROR :
[2024-07-30T17:41:17.062Z] [INFO] -------------------------------------------------------------
[2024-07-30T17:41:17.062Z] [ERROR] /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/src/main/java/io/jenkins/plugins/opentelemetry/authentication/HeaderAuthentication.java:[66,33] error: cannot find symbol
[2024-07-30T17:41:17.062Z] symbol: variable OTelEnvironmentVariablesConventions
[2024-07-30T17:41:17.062Z] location: class HeaderAuthentication
[2024-07-30T17:41:17.062Z] [ERROR] /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/src/main/java/io/jenkins/plugins/opentelemetry/authentication/BearerTokenAuthentication.java:[73,33] error: cannot find symbol
[2024-07-30T17:41:17.062Z] symbol: variable OTelEnvironmentVariablesConventions
[2024-07-30T17:41:17.062Z] location: class BearerTokenAuthentication
[2024-07-30T17:41:17.063Z] [INFO] 2 errors
[2024-07-30T17:41:17.063Z] [INFO] -------------------------------------------------------------
[2024-07-30T17:41:17.063Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T17:41:17.063Z] [INFO] BUILD FAILURE
[2024-07-30T17:41:17.063Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T17:41:17.063Z] [INFO] Total time: 39.439 s
[2024-07-30T17:41:17.064Z] [INFO] Finished at: 2024-07-30T17:41:17Z
[2024-07-30T17:41:17.064Z] [INFO] ------------------------------------------------------------------------
[2024-07-30T17:41:17.064Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project opentelemetry: Compilation failure: Compilation failure:
[2024-07-30T17:41:17.064Z] [ERROR] /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/src/main/java/io/jenkins/plugins/opentelemetry/authentication/HeaderAuthentication.java:[66,33] error: cannot find symbol
[2024-07-30T17:41:17.064Z] [ERROR] symbol: variable OTelEnvironmentVariablesConventions
[2024-07-30T17:41:17.064Z] [ERROR] location: class HeaderAuthentication
[2024-07-30T17:41:17.065Z] [ERROR] /home/jenkins/agent/workspace/gins_opentelemetry-plugin_PR-206/src/main/java/io/jenkins/plugins/opentelemetry/authentication/BearerTokenAuthentication.java:[73,33] error: cannot find symbol
[2024-07-30T17:41:17.065Z] [ERROR] symbol: variable OTelEnvironmentVariablesConventions
[2024-07-30T17:41:17.065Z] [ERROR] location: class BearerTokenAuthentication
[2024-07-30T17:41:17.065Z] [ERROR] -> [Help 1]
[2024-07-30T17:41:17.065Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project opentelemetry: Compilation failure
[2024-07-30T17:41:17.065Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
[2024-07-30T17:41:17.066Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-07-30T17:41:17.066Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T17:41:17.066Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T17:41:17.066Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T17:41:17.066Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T17:41:17.066Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T17:41:17.067Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T17:41:17.067Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T17:41:17.067Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T17:41:17.067Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T17:41:17.067Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T17:41:17.068Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T17:41:17.068Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T17:41:17.068Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T17:41:17.068Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T17:41:17.068Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T17:41:17.068Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T17:41:17.069Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T17:41:17.069Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T17:41:17.069Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T17:41:17.069Z] at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T17:41:17.069Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T17:41:17.069Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T17:41:17.070Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T17:41:17.070Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T17:41:17.070Z] Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
[2024-07-30T17:41:17.070Z] at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1220)
[2024-07-30T17:41:17.071Z] at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
[2024-07-30T17:41:17.071Z] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
[2024-07-30T17:41:17.071Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
[2024-07-30T17:41:17.072Z] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
[2024-07-30T17:41:17.073Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
[2024-07-30T17:41:17.073Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
[2024-07-30T17:41:17.073Z] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
[2024-07-30T17:41:17.073Z] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
[2024-07-30T17:41:17.074Z] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
[2024-07-30T17:41:17.074Z] at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
[2024-07-30T17:41:17.075Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
[2024-07-30T17:41:17.075Z] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
[2024-07-30T17:41:17.075Z] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
[2024-07-30T17:41:17.075Z] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
[2024-07-30T17:41:17.075Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
[2024-07-30T17:41:17.076Z] at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
[2024-07-30T17:41:17.077Z] at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
[2024-07-30T17:41:17.077Z] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:903)
[2024-07-30T17:41:17.077Z] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:280)
[2024-07-30T17:41:17.077Z] at org.apache.maven.cli.MavenCli.main (MavenCli.java:203)
[2024-07-30T17:41:17.077Z] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2024-07-30T17:41:17.077Z] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2024-07-30T17:41:17.078Z] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2024-07-30T17:41:17.078Z] at java.lang.reflect.Method.invoke (Method.java:498)
[2024-07-30T17:41:17.078Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
[2024-07-30T17:41:17.078Z] at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
[2024-07-30T17:41:17.078Z] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
[2024-07-30T17:41:17.078Z] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[2024-07-30T17:41:17.079Z] [ERROR]
[2024-07-30T17:41:17.079Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2024-07-30T17:41:17.079Z] [ERROR]
[2024-07-30T17:41:17.079Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2024-07-30T17:41:17.079Z] [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-30T17:41:16.859Z] Recording test results
[2024-07-30T17:41:17.031Z] No test report files were found. Configuration error?
windows-8 / Build (windows-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-30T17:41:21.506Z] Recording test results
[2024-07-30T17:41:21.766Z] No test report files were found. Configuration error?
Details
- linux-8 (2 ms)
- Checkout (linux-8) (10 sec)
- Build (linux-8) (53 sec)
Error: script returned exit code 1
Error: No test report files were found. Configuration error?
- windows-8 (3 min 5 sec)
- Checkout (windows-8) (16 sec)
- Build (windows-8) (24 sec)
Error: No test report files were found. Configuration error?