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

TestNG plugin have unreasonable judgement when process report

    Details

    • Similar Issues:

      Description

      There have different result when I build two jobs in the same slave node.
      one job(JOB A) success->TestNG Reports Processing: FINISH
      another(JOB B) happen->testng-results.xml was last modified before this build started. Ignoring it.
      JOB A spend time>JOB B spend time

      then, I googled that it can be resolved by sync the clocks.
      But it's unreasonable. why the two job have diff result!
      It seems TestNG plugin judged the time of file TESTS-TestSuites.xml when process report. But it have a unreasonable judgement and led to the below situation occur:
      If the job spend time>the Interval time between master and slave, it worked,like JOB A.
      If the job spend time<the Interval time between master and slave, it didn't worke.like JOB B.

        Attachments

          Activity

          Hide
          nullin Nalin Makar added a comment -

          Please keep your master and slave clocks synced using ntp.

          Show
          nullin Nalin Makar added a comment - Please keep your master and slave clocks synced using ntp.

            People

            • Assignee:
              nullin Nalin Makar
              Reporter:
              felixlian lian dong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: