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

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

      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.

          [JENKINS-53172] parallel-test-executor-plugin should check that the job is not running

          Raul Arabaolaza created issue -
          Raul Arabaolaza made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Raul Arabaolaza made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

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

          Raul Arabaolaza added a comment - PR created to have feedback, I am starting manual testing on my private instance.
          Raul Arabaolaza made changes -
          Remote Link New: This issue links to "PR-37 (Web Link)" [ 21337 ]

          Andrew Bayer added a comment -

          Merged!

          Andrew Bayer added a comment - Merged!
          Andrew Bayer made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: