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

parallel-test-executor-plugin should check that the job is not running

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We have seen situations were parallel-test-executor-plugin takes as reference a job that is still running. As consequence, the test split generated is invalid as no all tests have been executed by the reference job.

      My interpretation of this code suggests that only those jobs in status SUCCESSFULL or UNSTABLE should be candidates to be used as references. But the javadoc of Run#getResult states that it may return a result when the job is still running, so I believe that an extra check to discard running jobs (even if they return a Result) is needed.

        Attachments

          Issue Links

            Activity

            Hide
            rarabaolaza Raul Arabaolaza added a comment -

            PR created to have feedback, I am starting manual testing on my private instance.

            Show
            rarabaolaza Raul Arabaolaza added a comment - PR created to have feedback, I am starting manual testing on my private instance.
            Hide
            abayer Andrew Bayer added a comment -

            Merged!

            Show
            abayer Andrew Bayer added a comment - Merged!

              People

              Assignee:
              rarabaolaza Raul Arabaolaza
              Reporter:
              rarabaolaza Raul Arabaolaza
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: