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

Test Rsults aggregator gives Job NOT_FOUND with error Cannot invoke

      Hi Team,

      I have installed the latest test results aggregator plugin which is 2.1. I have successfully added the Jenkins base URL and username , password. I have added admin credentials and tested the connection. Test shows total jobs found with the count.

      New job created with the name of AggregateTestResultsForDev and I have added Aggregate Test Results in the Post-build Actions. I have provided two jobs names for the testing. The two jobs are in the same view of AggregateTestResultsForDev. There are no folders, so directly provided the job name here. 

      After I ran the job, I am getting an error in the Build console. I am sure I have configured in a right way , because in the console it shows Total Jenkins jobs found 56 and Aggregator has resolved successfully 2/2.

      I am writing the console lines here,

      Started by user Admin

      Running as System

      Building on VM1

      Starting Aggregate Test Results Action

      Total Jenkins jobs found 56 and Aggregator has resolved successfully 2/2

      Collect data

      Job 'job1' found NOT_FOUND with error : Cannot invoke "String.endsWith(String)" because the return value of "java.lang.Exception.getMessage()" is null (0)s

      Job 'job2' found NOT_FOUND with error : Cannot invoke "String.endsWith(String)" because the return value of "java.lang.Exception.getMessage()" is null (0)s

      Collect data ..Finished

      Analyze ..Finished

      Generate XML Report.. Finished XML Report

      Generate HTML Report.. Finished HTML Report

      Generate HTML Report for all Ignored Jobs... Finished HTML Report

      Sent message successfully to:

      xx@cm.com

      Finshed: Success

       

      The above are the console lines.

      job1 and job2 are having builds and builds are success. Published the TestNG results as well.

      I could see TestNG results in each of the Jobs.

      We have the load runner in the backend, so we converted the Jenkins base URL to https://jenkinsurl. Is it impacting and gives the issue?

       

      If yes, how come in the console it says Aggregator has resolved successfully 2/2. 

      Configured user is the Admin user, so it has the full access to the jobs as well.

       

      Please check on this priority and give me a solution? 

      The Jenkins version is 2.401.3

      Let me know if you need any other details. I could not share URL or screenshots since all those are in company device.

       Thanks!

          [JENKINS-72829] Test Rsults aggregator gives Job NOT_FOUND with error Cannot invoke

          Tamilarasan created issue -

          Tamilarasan added a comment -

          socrates  - Any updates on this issue?

          Thanks!

          Tamil.

          Tamilarasan added a comment - socrates   - Any updates on this issue? Thanks! Tamil.
          Socrates Sidereas made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Hi tamilarasan any logs from Jenkins? Not console.log but jenkins.log

          Socrates Sidereas added a comment - Hi tamilarasan any logs from Jenkins? Not console.log but jenkins.log

          Tamilarasan added a comment -

          Hi socrates ,

          I am seeing at jenkins.err file. I don't see any new lines after I triggered the aggregator test results jobs.

          I even created a log recorder in the Jenkins to find out any logs related to test results aggregator. I used com.jenkins.testresultsaggregator.data.BuildWithDetailsAggregator and com.jenkins.testresultsaggregator .

          But in the new log file, I don't find any messages after I triggered the AggregatorTestResults job.

          Please let me know if there is other way to get the logs.

          Thanks!

          Tamil.

          Tamilarasan added a comment - Hi socrates , I am seeing at jenkins.err file. I don't see any new lines after I triggered the aggregator test results jobs. I even created a log recorder in the Jenkins to find out any logs related to test results aggregator. I used com.jenkins.testresultsaggregator.data.BuildWithDetailsAggregator and com.jenkins.testresultsaggregator . But in the new log file, I don't find any messages after I triggered the AggregatorTestResults job. Please let me know if there is other way to get the logs. Thanks! Tamil.

          hi tamilarasan, i would like to have if possible the jenkins.log to see the full stack trace

          Socrates Sidereas added a comment - hi tamilarasan , i would like to have if possible the jenkins.log to see the full stack trace

          Tamilarasan added a comment -

          Can you guide me, how do I see the jenkins.log file?

          Tamilarasan added a comment - Can you guide me, how do I see the jenkins.log file?

          Tamilarasan added a comment -

          Socrates Sidereas, any update on this issue ?

          Tamilarasan added a comment - Socrates Sidereas, any update on this issue ?
          Socrates Sidereas made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Hello, i have a fix that could be the case in this issue, in the next release is going to be available,

          so I would appreciate it if you can test once more using the latest release, thanks in advance, and sorry for the delays .

          Socrates Sidereas added a comment - Hello, i have a fix that could be the case in this issue, in the next release is going to be available, so I would appreciate it if you can test once more using the latest release, thanks in advance, and sorry for the delays .

            socrates Socrates Sidereas
            tamilarasan Tamilarasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: