[JIRA] (JENKINS-56534) NUnit Plugin complains (falsely) about clocks out of sync

19 views
Skip to first unread message

cgarcia@intesis.com (JIRA)

unread,
Mar 13, 2019, 2:40:01 AM3/13/19
to jenkinsc...@googlegroups.com
Carlos Garcia created an issue
 
Jenkins / Bug JENKINS-56534
NUnit Plugin complains (falsely) about clocks out of sync
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: in_sync.png
Components: nunit-plugin
Created: 2019-03-13 06:39
Environment: Jenkins master installed on CentOS. Agents are running on several Virtual Machines (Windows) on a Ubuntu Linux host
Priority: Major Major
Reporter: Carlos Garcia

Since few days, nunit-plugin started to complain about clocks being out of sync after the test report is generated correctly.

In fact, initially it was right, clocks drifted about 4 or 5 seconds and I took the measures to avoid that (they syncronize with an NTP server every hour, just to assure the synchronization throghout the day). However, nunit-plugin still complains, and now all the clocks are synchronized.

 

This is the exact message I get:

Recording NUnit tests results
ERROR: Step ‘Publish NUnit test result report’ failed: Clock on this slave is out of sync with the master, and therefore
I can't figure out what test results are new and what are old.
Please keep the slave clock in sync with the master.

 

There are two things that can be wrong here:

  • The message, since it is basically false (clocks are NOT out of sync)
  • The way this plugin checks the synchronization between the clocks

Also, as a side note, in my opinion I don't fully understand why is necessary to have the clocks synchronized to the millisecond since all the testing process takes place on the Agent. I only want the report.xml to be parsed and shown regardless its time. In fact, since the entire workspace is cleaned out before starting the tests, the only existing report.xml has to be the most recent --> just take it!

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mberry1@costar.com (JIRA)

unread,
Aug 12, 2019, 11:10:02 AM8/12/19
to jenkinsc...@googlegroups.com
Michael Berry commented on Bug JENKINS-56534
 
Re: NUnit Plugin complains (falsely) about clocks out of sync

I'm seeing this exact issue today as well. 
Clocks are in sync but Nunit Publisher is failing the build. 

Reply all
Reply to author
Forward
0 new messages