Public bug reported:

FYI Separated from bug 1867036

It seems to be racy/flaky.
It uses a comparison on "seconds" granularity.
I was adding debug to check the values it fails on.

It was somewhat reproducible in the bileto ticket (again autopkgtest 
infrastructure).
Therefore I inserted some debug code and re-ran it there.

Our test environment is too fast (sometimes) and hence the flakyness:

  checking chronyc output OK
    DEBUG before 1585747433
    DEBUG before 1585747433
  checking system clock BAD

That is checked with "lt" and here the results are ==.
I'll need to discuss if there is a strict reason for these to be non-equal.
Otherwise the fix might be as easy as using "-le" instead

** Affects: chrony (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870144

Title:
  chrony test 100-clockupdate flaky in autopkgtest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1870144/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to