https://bugs.winehq.org/show_bug.cgi?id=54614
Bug ID: 54614 Summary: advapi32:eventlog - test_oldest() sometimes gets an RPC canceled error on Windows 10 2004 & 2009 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
advapi32:eventlog - test_oldest() sometimes gets an RPC canceled error:
eventlog.c:287: Test failed: OpenEventLogA(Application) failed : 1818 eventlog.c:296: Test failed: Expected success : 6 eventlog.c:297: Test failed: Expected the number of the oldest record
See https://test.winehq.org/data/patterns.html#advapi32:eventlog
Where 1818 == RPC_S_CALL_CANCELLED 6 == ERROR_INVALID_HANDLE
These failures only happen on Windows 10 2004 and 2009, both in 32- and 64-bit tests, a bit over once per month.
The tests already expect to sometimes be unable to access the event logs but only when OpenEventLogA() returns ERROR_ACCESS_DENIED or RPC_S_SERVER_UNAVAILABLE. The commit adding these checks (ea7eb95682be) does not specify where they were needed but the corresponding skip messages are only present on these two platforms.
So it looks like that commit just missed one more possible error code.