runfinch / finch

The Finch CLI is an open source client for container development
https://www.runfinch.com
Apache License 2.0
3.51k stars 90 forks source link

Clock drifts in 1.1.2 #837

Closed nicdoye closed 7 months ago

nicdoye commented 7 months ago

Describe the bug

The clock in the VM does not stay in sync with the underlying OS (macOS). I did not see this issue in 1.1.1.

Steps to reproduce

Start finch on macOS with just one docker image in the vm, running sleep infinity. The Mac should be running on mains power. The Mac should be allowed to sleep when the display is off. Wait a "few" (2-3?) days. Run date and you will see the clock has drifted.

Expected behavior

Clock to always stay "relatively" accurate/synced to underlying OS/hardware.

Screenshots or logs

This morning the clock was about 17 minutes out.

Additional context

Here is my finch.yaml:

cpus: 3
memory: 4GiB
creds_helpers:
    - ecr-login
vmType: vz
rosetta: false

To help debug the issue as quickly as possible, we recommend generating a support bundle with finch support-bundle generate and attaching it to this issue. This packages all Finch-related configs and logs into one file.

nicdoye commented 7 months ago

I'll grab a support bundle next time this happens.

nicdoye commented 7 months ago

finch-support-20240304094329.zip

Finch support bundle from this morning. Clock on VM is about 11 minutes 30 seconds out.

nicdoye commented 7 months ago

Duplicate of #248