Description of problem: On all (at least 5) IA-64 machines tested, the following test will fail, curr_time = gettimeofday() settimeofday (curr_time + 10) pres_time = gettimeofday() The result that gettimeofday() returned was one less that we set. # ./time curr_time = 1228827598 pres_time = 1228827607 Failed. Version-Release number of selected component (if applicable): kernel-2.6.9-78.EL kernel-2.6.9-78.0.12.EL How reproducible: always Steps to Reproduce: 1. run the reproducer Actual results: The test failed. Expected results: The test should pass. Additional info: * I have only seen this on IA-64. * I have only seen this on RHEL 4. * RHEL 5 has the same behaviour if using time() instead of gettimeofday. Bug 475477 - Time(2) Off-by-one after Settimeofday(2)
Created attachment 327913 [details] reproducer
By the way, NTP has been stopped during the test.
Since this is RHEL4 ia64, and we're at the end of development, I'm closing this as WONTFIX. P.