[Bug 52083] New: Some test_TimerResolution() tests fail randomly in ntdll:time

WineHQ Bugzilla wine-bugs at winehq.org
Sun Nov 21 12:16:04 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52083

            Bug ID: 52083
           Summary: Some test_TimerResolution() tests fail randomly in
                    ntdll:time
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

Some test_TimerResolution() tests fail randomly in ntdll:time:

time.c:293: Test failed: expected requested timer resolution 156250, got 10006
time.c:298: Test failed: expected requested timer resolution 20000, got 10006
time.c:310: Test failed: expected new timer resolution 20000, got 10006
time.c:318: timer resolution: 5000(max) <= 5003(cur) <= 20000(prev) <=
156250(min)
time.c:322: Test failed: expected new timer resolution 20000, got 5003
time.c:322: Test failed: NtQueryTimerResolution() expected timer resolution
5003, got 20000
time.c:328: Test failed: expected requested timer resolution 5003, got 75011

https://test.winehq.org/data/patterns.html#ntdll:time

The number of failures varies and six seems to be a maximum. This appears to
only impact Windows 10 1709+ but impacts both the TestBot VMs and real test
machines (cw-gtx560 and cw-rx460).

Based on the current failure pattern it looks like the failures started on
2021-09-30. That is, there was no failure for any of the 252 builds from
2021-09-21 to 2021-09-29 and there has been at least one failure for every
build since.

Yet the failure is reproducible with the commit that introduced the tests
(6015fee5b218), and also with the one that fixed some of the issues a few days
later (b2c89b1a41fa):

commit 6015fee5b21870ddd57477843354173d2e7f9696
Author:     François Gouget <fgouget at codeweavers.com>
AuthorDate: Thu Jul 29 17:24:15 2021 +0200

    ntdll/tests: Add some Nt{Query,Set}TimerResolution() tests.

    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list