-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
EventLog tests failing on Windows 11 and Windows Server 2022 #58829
Comments
We already added 2 new ones in #57804 Looks like we now need to add ERROR_MR_MID_NOT_FOUND @dotnet/area-system-diagnostics-eventlog if this is consistent on Windows 11, it might be a 6.0 candidate. |
Not sure what is special about these two tests..? |
I don't know either. This is not my area so I'm disabling the failing tests in #58570 so we can at least add the new test queue. |
Sounds good. It sounds like you ran all our tests on Win11 not just networking (cc @jeffhandley ) -- appreciate you doing that. Seems we're largely in a good state. |
I believe we just need someone to do a PR with ERROR_MR_MID_NOT_FOUND added next to these two lines: https://github.com/dotnet/runtime/search?q=ERROR_EVT_MESSAGE_NOT_FOUND Presumably by someone with Windows 11 installed so they can verify and undisable the test. |
@wfurt I don't have Windows 11. Do you have a few minutes to try the change above? I am happy to make the PR if it works on your machine. |
I'm not 100% what the value should be. I made the suggested change and I get
I'd be happy to run more tests if you need me to @danmoseley You can also create exact VM here. |
Oh, too bad (and suggests Windows 11 bug). Well, this will need investigation. Since most of the tests are passing - it may not be to concerning right now. |
BTW I created a new os-windows11 label that might help us keep track of issues specific to this OS |
IIRC, ERROR_MR_MID_NOT_FOUND is not an expected return code from EvtRender or EvtFormatMessage. There is a known issue in Windows Server 2022 where this error code could incorrectly be returned, but that has been fixed via Windows Update. I am not aware of any similar issues in Windows 11, so feel free to reach out to the ETW team within MS and we can investigate and track the issue further from the Windows side. |
Hit the first exception |
Hit the
|
The failure in @dotnet/area-system-diagnostics-eventlog I just realized that that test was disabled for Windows 11. Is there any more information on what was happening? Should we also disable for Windows Server 2022? TestResults
| where Result == "Fail"
| where Type == "System.Diagnostics.Tests.EventLogRecordTests" and Method == "ExceptionOnce"
| where Message contains "The system cannot find message text"
| join kind=inner Jobs on JobId
| where Queued > ago(7d)
| project
QueueName, Queued,
Type, Method, Message,
PhaseName = tostring(parse_json(Properties)["System.PhaseName"]),
Pipeline = tostring(parse_json(Properties).DefinitionName),
Source,
Build = tostring(parse_json(Properties).BuildNumber)
| order by Queued desc |
Disabled test, no evidence of major issue. moving to Future. |
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-58570-merge-82d3210ae65b4c7bab/System.Diagnostics.EventLog.Tests/1/console.22fc633f.log?sv=2019-07-07&se=2021-09-28T19%3A09%3A59Z&sr=c&sp=rl&sig=c9WGUmQHt%2FIcFz23yiVBOPIXos7SuYjCtPHDRupOcxA%3D
locally, I was able to reproduce only on failure on Insider Preview build.
The text was updated successfully, but these errors were encountered: