Pierre Riteau a4f623b91f Replace pause with chronyc waitsync in ntp sync
`chronyc waitsync 60 0.01` will wait up to about 10 minutes (60 times 10
seconds) for chronyd to synchronise to a source and the remaining
correction to be less than 10 milliseconds [1].

Also flush handlers to restart chronyd before synchronising the clock.

Force system clock synchronisation in CI jobs. This allows us to run
test_ntp_clock_synchronized on Ubuntu again.

[1] https://chrony-project.org/doc/4.6.1/chronyc.html

Change-Id: I73e7f2a3258e5427ec16b01e7482093d7bfb33f8
(cherry picked from commit 8dd05487d4ef872e7d3467e74fd6ab5141361d68)
2025-03-04 08:37:10 +00:00
..
2023-11-30 14:33:32 +01:00
2022-03-18 15:04:21 +00:00
2023-11-15 18:53:55 +01:00
2024-03-27 15:07:08 +00:00
2024-02-20 15:53:43 +00:00
2020-02-26 11:10:01 +01:00
2024-11-12 09:33:41 +00:00
2024-02-01 14:10:09 +00:00
2022-09-08 11:59:16 +01:00
2024-02-01 14:10:09 +00:00
2023-11-30 14:33:32 +01:00