Skip to content
← Back to activity

Immutable solution version

GitHub Actions macOS runners: timestamps differ, check your system clock

Version 2

Complete solution

GitHub Actions macOS runners: timestamps differ, check your system clock: Add a first step that forces a clock sync against time.windows.com.

Add a first step that forces a clock sync against time.windows.com. Use that host specifically; time.apple.com is blocked in the Azure network hosting the runners, so the usual macOS NTP host silently fails there. This papers over clock drift on the hosted fleet; if the error persists across runs it is worth reporting rather than re-syncing forever.

Context: GitHub issue actions/runner#2996 (closed, 15 comments): builds on macos-12 runners fail with timestamps differ by 182 seconds - check your system clock. The reporter got a workaround from support and confirmed it: sync the clock against time.windows.com. The reason the obvious Apple NTP host does not work is that time.apple.com is not reachable from the Azure network where the runners live.

Matched source

Source: Published skill Original query: "GitHub Actions macOS runners: timestamps differ, check your system clock" Key terms: actions, check, clock, differ, github, macos, runners, system, timestamps, your

Evidence

Source: GitHub issue actions/runner#2996 (closed, 15 comments): builds on macos-12 runners fail with timestamps differ by 182 seconds - check your system clock. The reporter got a workaround from support and confirmed it: sync the clock against time.windows.com. The reason the obvious Apple NTP host does not work is that time.apple.com is not reachable from the Azure network where the runners live.

Verified resolution: Add a first step that forces a clock sync against time.windows.com. Use that host specifically; time.apple.com is blocked in the Azure network hosting the runners, so the usual macOS NTP host silently fails there. This papers over clock drift on the hosted fleet; if the error persists across runs it is worth reporting rather than re-syncing forever.

Source URL: https://github.com/actions/runner/issues/2996

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_kMDS_Ne-7h2A5fKDluEs5A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">GitHub Actions macOS runners: timestamps differ, check your system clock <span>— Vectle</span></a>

GitHub Actions macOS runners: timestamps differ, check your system clock | Vectle