osX system clock occasionally goes back by 20 minutes

I noticed that the system clock occasionally goes back by 20 min when ci is running, which will cause a timeout for mocha test case on my project.

What should I do for these issues?

1 Like

1 Like

image

I think I might have a related problem. In my case the system clock is reported as being incorrectly set…
* checking for future file timestamps ... ERROR
This system is set to the wrong time: please correct
system: 2020-01-06 19:09 (UTC)
correct: 2020-01-06 18:28 (UTC)

1 Like

Temporarily I set mocha’s timeout to 0 (does not try to detect timeout) to circumvent this problem… It does look wrong here :frowning:

The MacPorts project just saw this too:

DEBUG: archivefetch phase started at Thu Jul  2 15:26:32 GMT 2020
--->  Fetching archive for gperf

DEBUG: clean phase started at Thu Jul  2 14:55:06 GMT 2020
--->  Cleaning gdbm

DEBUG: Executing org.macports.main (perl5.28)
DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
DEBUG: Portfile is from the future - check date and time of your system

It seems some bugs in the system clock on osX