Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71586

Test Results Aggregator plugin not fetching the test results of downstream jobs

XMLWordPrintable

      We have a main job running the gradle test command to run some test cases and archive the artifacts at the end. the main job calls multiple downstream jobs as a post-build success step, which in turn runs some gradle test cases and archives the artifacts just like the main job. The main job is supposed to wait for all the downstream jobs to finish and aggregate the test results of all the jobs and display the results in the common view.

      We are using the latest Jenkins version: 2.375. and have the latest version of the Test Results Aggregator plugin installed: 1.2.12. We are following the correct syntax to configure the main job as per this doc: https://github.com/sdrss/test-results-aggregator-plugin eggy car

      Have configured the Plugin in the Jenkins global setting also correctly, But still the plugin is not fetching the test results of individual downstream jobs and we are not seeing any errors in the console logs. Attaching the console logs of the main job in the screenshots

      NOTE: The plugin was working fine just 4 weeks back and was able to aggregate all the downstream jobs test results in the main job under the Job Results Aggregator view but is not showing any results now.

      17:15:05  BUILD SUCCESSFUL in 1m 56s
      17:15:05  93 actionable tasks: 78 executed, 15 up-to-date
      17:15:05  + mkdir -p build/fingerprint
      17:15:05  + echo Care_QA/qa-01-critical-response--build-all-78
      17:15:05  + ls build
      17:15:05  fingerprint
      17:15:05  kotlin
      17:15:05  reports
      17:15:05  resources
      17:15:05  test-results
      17:15:05  version
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] stage
      [Pipeline] { (archive and aggregate)
      [Pipeline] archiveArtifacts
      17:15:05  Archiving artifacts
      17:15:05  Recording fingerprints
      [Pipeline] junit
      17:15:06  Recording test results
      17:15:06  [Checks API] No suitable checks publisher found.
      [Pipeline] script
      [Pipeline] {
      [Pipeline] echo
      17:15:06  Care_QA/qa-01-critical-response-AdminIntegrationsSuite
      [Pipeline] build (Building Care QA » qa-01-critical-response-AdminIntegrationsSuite)
      17:15:06  Scheduling project: Care QA » qa-01-critical-response-AdminIntegrationsSuite
      17:15:14  Starting building: Care QA » qa-01-critical-response-AdminIntegrationsSuite #37
      [Pipeline] copyArtifacts
      17:19:02  Copied 1 artifact from "Care QA » qa-01-critical-response-AdminIntegrationsSuite" build number 37
      [Pipeline] testResultsAggregator (hide)
      17:19:02  Starting Aggregate Test Results Action
      17:19:10  Not found results for Care_QA/qa-01-critical-response-AdminIntegrationsSuite
      17:19:10  Analyze ...Finished
      17:19:10  Generate XML Report...Finished XML Report
      17:19:10  Generate HTML Report...Finished HTML Report
      17:19:10  Generate HTML Report for all Ignored Jobs...Finished HTML Report
      17:19:10  Generate Email Report
      17:19:10  No mail will be Send since all Jobs are having status 'NOT_FOUND'.
      17:19:10  Generate Email Report for all Ignored Jobs
      17:19:10  No mail will be Send since all Jobs are having status 'NOT_FOUND'.
      17:19:10  Finished Aggregate Test Results Action
      [Pipeline] }
      [Pipeline] // script
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // timestamps
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Finished: SUCCESS
       

       

            socrates Socrates Sidereas
            zubairbhat zubair
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: