Skip to content

Adding metric collector for node related items

ci.jenkins.io / Jenkins failed Oct 25, 2023 in 6m 33s

windows-11/Build (windows-11): error in 'junit' step

linux-11 / Build (linux-11) / Archive JUnit-formatted test results

Warning in junit step, with arguments **/target/surefire-reports/**/*.xml,**/target/failsafe-reports/**/*.xml,**/target/invoker-reports/**/*.xml.

1 tests failed

linux-11 / Archive (linux-11) / Error signal

Error in error step, with arguments There were test failures; halting early.

There were test failures; halting early

windows-11 / Build (windows-11) / Windows Batch Script

Error in bat step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_prometheus-plugin_PR-582@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false clean install.

null
Build log
[2023-10-25T16:21:31.773Z] 
[2023-10-25T16:21:31.773Z] C:\Jenkins\agent\workspace\Plugins_prometheus-plugin_PR-582>mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=C:/Jenkins/agent/workspace/Plugins_prometheus-plugin_PR-582@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false clean install 
[2023-10-25T16:21:32.488Z] -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=268417088 -XX:MaxHeapSize=4294673408 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation 
[2023-10-25T16:21:35.124Z] Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
[2023-10-25T16:21:35.125Z] Maven home: C:\Jenkins\agent\tools\hudson.tasks.Maven_MavenInstallation\mvn
[2023-10-25T16:21:35.125Z] Java version: 11.0.21, vendor: Eclipse Adoptium, runtime: C:\tools\jdk-11
[2023-10-25T16:21:35.126Z] Default locale: en_US, platform encoding: Cp1252
[2023-10-25T16:21:35.126Z] OS name: "windows server 2019", version: "10.0", arch: "amd64", family: "windows"
[2023-10-25T16:21:36.655Z] [INFO] Error stacktraces are turned on.
[2023-10-25T16:21:36.764Z] [INFO] Scanning for projects...
[2023-10-25T16:21:48.640Z] [INFO] 
[2023-10-25T16:21:48.642Z] [INFO] -----------------< org.jenkins-ci.plugins:prometheus >------------------
[2023-10-25T16:21:48.642Z] [INFO] Building Prometheus metrics plugin 2.3.4-SNAPSHOT
[2023-10-25T16:21:48.646Z] [INFO]   from pom.xml
[2023-10-25T16:21:48.646Z] [INFO] --------------------------------[ hpi ]---------------------------------
[2023-10-25T16:21:57.024Z] [INFO] 
[2023-10-25T16:21:57.024Z] [INFO] --- clean:3.3.1:clean (default-clean) @ prometheus ---
[2023-10-25T16:21:57.135Z] [INFO] 
[2023-10-25T16:21:57.135Z] [INFO] --- hpi:3.49:validate (default-validate) @ prometheus ---
[2023-10-25T16:21:57.136Z] [INFO] 
[2023-10-25T16:21:57.136Z] [INFO] --- hpi:3.49:validate-hpi (default-validate-hpi) @ prometheus ---
[2023-10-25T16:22:00.590Z] [INFO] 
[2023-10-25T16:22:00.590Z] [INFO] --- enforcer:3.4.1:enforce (display-info) @ prometheus ---
[2023-10-25T16:22:01.107Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2023-10-25T16:22:01.116Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2023-10-25T16:22:04.808Z] Sending interrupt signal to process
[2023-10-25T16:22:05.082Z] [INFO] Rule 2: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2023-10-25T16:22:05.083Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2023-10-25T16:22:05.085Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2023-10-25T16:22:05.085Z] [INFO] 
[2023-10-25T16:22:05.085Z] [INFO] --- enforcer:3.4.1:enforce (no-snapshots-in-release) @ prometheus ---
[2023-10-25T16:22:05.089Z] [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed
[2023-10-25T16:22:05.089Z] [INFO] 
[2023-10-25T16:22:05.089Z] [INFO] --- localizer:1.31:generate (default) @ prometheus ---
[2023-10-25T16:22:05.293Z] Terminate batch job (Y/N)? 
[2023-10-25T16:22:05.286Z] script returned exit code 1

windows-11 / Build (windows-11) / 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-10-25T16:22:06.113Z] Recording test results
[2023-10-25T16:22:06.262Z] No test report files were found. Configuration error?

Details

  • linux-11 (9 ms)
    • Checkout (linux-11) (9.6 sec)
    • Build (linux-11) (3 min 11 sec)
      Unstable: 1 tests failed
    • Archive (linux-11) (1.5 sec)
      Error: There were test failures; halting early
  • windows-11 (6 min 32 sec)
    • Checkout (windows-11) (18 sec)
    • Build (windows-11) (39 sec)
      Error: null
      Error: No test report files were found. Configuration error?