Skip to content

fix check for systemd-timesyncd.service#512

Merged
jepio merged 3 commits intoflatcar-masterfrom
jepio/ntp-test-fix
Mar 26, 2024
Merged

fix check for systemd-timesyncd.service#512
jepio merged 3 commits intoflatcar-masterfrom
jepio/ntp-test-fix

Conversation

@jepio
Copy link
Copy Markdown
Member

@jepio jepio commented Mar 26, 2024

systemd-timesyncd.service will not be the only ntp implementation enabled by default on all platforms, so the test needs to take that into account.

@jepio jepio requested a review from a team March 26, 2024 09:33
jepio added 2 commits March 26, 2024 10:53
We're enabling ntpd/chronyd by default on certain OEM platforms, so rework the
test to check that any ntp implementation is active.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
These show up on go 1.21 when running ./test.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio force-pushed the jepio/ntp-test-fix branch from 1d8d3ca to 012b3c1 Compare March 26, 2024 09:53
The cl.update.oem test runs on Qemu but uses the Azure OEM payload.  The Azure
OEM payload will ship chronyd configured to talk to Hyper-Vs PTP device - which
is not available in Qemu - and this fails the test. Mask chronyd to prevent the
failure.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio
Copy link
Copy Markdown
Member Author

jepio commented Mar 26, 2024

@jepio jepio merged commit 7f38187 into flatcar-master Mar 26, 2024
@jepio jepio deleted the jepio/ntp-test-fix branch March 26, 2024 15:25
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.

3 participants