-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
arch-x86area-System.Diagnostics.EventLogdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-windowstest-failure
Milestone
Description
I'm seeing this test failure intermittently affecting release/6.0 backport PRs.
- Example PR: Merging internal commits for release/6.0 #80452
- Queue:
Libraries Build windows net48 x86 Release - Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=132447&view=logs&j=79ebbb2e-07f2-5457-c5e5-132dd7ee4ba8&t=160ce0e3-a8e8-5ac5-8623-55bee3c49b38&l=54
- Log file: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-80452-merge-e981f4b74b094252ba/System.Diagnostics.EventLog.Tests/1/console.a3676540.log?helixlogtype=result
- Callstack:
System.Diagnostics.Tests.ProviderMetadataTests.GetProviderNames_AssertProperties [FAIL]
System.UnauthorizedAccessException : Attempted to perform an unauthorized operation.
Stack Trace:
at System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32 errorCode)
at System.Diagnostics.Eventing.Reader.NativeWrapper.EvtOpenProviderMetadata(EventLogHandle session, String ProviderId, String logFilePath, Int32 locale, Int32 flags)
at System.Diagnostics.Eventing.Reader.ProviderMetadata..ctor(String providerName, EventLogSession session, CultureInfo targetCultureInfo, String logFilePath)
/_/src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/ProviderMetadataTests.cs(104,0): at System.Diagnostics.Tests.ProviderMetadataTests.GetProviderNames_AssertProperties()
The test failure is happening in this constructor:
Line 104 in fb31012
| using (var providerMetadata = new ProviderMetadata(providerName)) |
Metadata
Metadata
Assignees
Labels
arch-x86area-System.Diagnostics.EventLogdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueos-windowstest-failure