Skip to content

SKIP verify_timesync_ptp on unsupported Ubuntu and RHEL versions#4311

Merged
LiliDeng merged 1 commit intomainfrom
smyakam/ptp_chrony/01_03_2026
Mar 2, 2026
Merged

SKIP verify_timesync_ptp on unsupported Ubuntu and RHEL versions#4311
LiliDeng merged 1 commit intomainfrom
smyakam/ptp_chrony/01_03_2026

Conversation

@SRIKKANTH
Copy link
Collaborator

On Ubuntu >= 19.10 and Red Hat Enterprise Linux >= 8.x, chrony is configured to use a PTP source clock.
Older Linux releases use the Network Time Protocol daemon (ntpd), which doesn't support PTP sources.
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/time-sync#chrony

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the core time sync test suite to skip verify_timesync_ptp on older Ubuntu and RHEL versions where Azure’s documented PTP/chrony configuration isn’t expected to be present, avoiding false failures on those OS releases.

Changes:

  • Import Ubuntu OS type to allow distro-specific gating in the test.
  • Add OS version checks to skip verify_timesync_ptp on Ubuntu < 19.10 and RHEL < 8.0.

@LiliDeng LiliDeng merged commit 1051012 into main Mar 2, 2026
62 checks passed
@LiliDeng LiliDeng deleted the smyakam/ptp_chrony/01_03_2026 branch March 2, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants