windows-images icon indicating copy to clipboard operation
windows-images copied to clipboard

time sync

Open 030 opened this issue 4 years ago • 8 comments

One could add instructions for configuring NTP

030 avatar Aug 05 '19 21:08 030

Bump, any workarounds for this?

shxdxwraze avatar Sep 18 '19 12:09 shxdxwraze

what about -rtc base=localtime,clock=host ?

emilorol avatar Oct 02 '19 19:10 emilorol

I solved this issue leaving open in the snapshot of the VM a batch script that every 30 seconds will sync the time. The solution while a bit overkill it works with not performance impact for the test or the host.

emilorol avatar Nov 13 '19 21:11 emilorol

I have problem when run tests in parallel execution, some tests are run on the same container. I've fixed problem with time sync using @emilorol update, but problem with multiple tests running on the same container is still there. Do you have some solution for me ? Is it possible to sync time through entrypoint.sh ? Also I've tried with -rtc base=localtime,clock=host and it doesn't help.

nilic10 avatar Nov 06 '20 13:11 nilic10

@nilic10 try the solution I mention with a batch script that runs every 30 second to keep the clock in sync. I know it is not the more awesome but it does work very good. The only down side is that you might have to re-save your image to add it.

emilorol avatar Nov 06 '20 14:11 emilorol

@emilorol I mentioned that I've tried with your update with batch script runs on every 2 seconds, but I've still have problem.

nilic10 avatar Nov 06 '20 14:11 nilic10

Hi is there any update on this?. or work around available? even I am facing same issue with tests running with same session id.

arunganesh-a avatar Jul 01 '21 11:07 arunganesh-a