New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clock_settime/clock_settime_8-1: hardly ever passes #478

Open
rafaeldtinoco opened this Issue Jan 24, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@rafaeldtinoco
Copy link
Contributor

rafaeldtinoco commented Jan 24, 2019

This test hardly ever passes with recent kernels. I have made different tests in different architectures:

https://bugs.linaro.org/show_bug.cgi?id=3965#c13
https://bugs.linaro.org/show_bug.cgi?id=3965#c14
https://bugs.linaro.org/show_bug.cgi?id=3965#c15

and I would say 95% of the times this test fails with a DELTA time of 2 seconds, when the acceptable DELTA would be just 1 second.

@jstancek

This comment has been minimized.

Copy link
Contributor

jstancek commented Jan 24, 2019

No luck reproducing it on x86 kvm guest so far:

# for i in `seq 1 10`; do ./clock_settime_8-1.run-test ; done
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
Test PASSED
# uname -r
5.0.0-rc3+

I don't recall seeing this test fail before. There have been hardly any changes made to that test for 5+ years.

Your experiment with increasing values by 2 shows, that the gap increased as well. Is there a ntp/chrony/etc. running that could interfere with the test?

Are you able to get output from "strace -f -t -T"?
How long does the test run when it fails? "time ./clock_settime_8-1.run-test"
Do you have a link for your x86 kernel config? I could try building with that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment