Starting: System.Diagnostics.DiagnosticSource.Tests (parallel test collections = on [2 threads], stop on fail = off)
Unhandled exception. Xunit.Sdk.TrueException: 40 events were recorded, while maxOpPerSecond is 5
at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
at System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.<>c.<TestRateLimitingSampler>b__30_0(String maxOpPerSecond) in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/DiagnosticSourceEventSourceBridgeTests.cs:line 1477
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 39
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 174
--- End of stack trace from previous location ---
at Microsoft.DotNet.RemoteExecutor.Program.Main(String[] args) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/Program.cs:line 97
at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException) in /_/src/coreclr/System.Private.CoreLib/src/System/Environment.CoreCLR.cs:line 155
System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.TestRateLimitingSampler(maxOperationPerSecond: 5) [FAIL]
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Stack Trace:
Child exception:
Xunit.Sdk.TrueException: 40 events were recorded, while maxOpPerSecond is 5
/_/src/libraries/System.Diagnostics.DiagnosticSource/tests/DiagnosticSourceEventSourceBridgeTests.cs(1477,0): at System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.<>c.<TestRateLimitingSampler>b__30_0(String maxOpPerSecond)
/_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(39,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Child process:
System.Diagnostics.DiagnosticSource.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests+<>c Void <TestRateLimitingSampler>b__30_0(System.String)
Child arguments:
5
Unhandled exception. Xunit.Sdk.TrueException: 400 events were recorded, while maxOpPerSecond is 50
at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
at System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.<>c.<TestRateLimitingSampler>b__30_0(String maxOpPerSecond) in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/DiagnosticSourceEventSourceBridgeTests.cs:line 1477
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 39
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 174
--- End of stack trace from previous location ---
at Microsoft.DotNet.RemoteExecutor.Program.Main(String[] args) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/Program.cs:line 97
at System.Environment.CallEntryPoint(IntPtr entryPoint, String[]* pArgument, Int32* pReturnValue, Boolean captureException, Exception* pException) in /_/src/coreclr/System.Private.CoreLib/src/System/Environment.CoreCLR.cs:line 155
System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.TestRateLimitingSampler(maxOperationPerSecond: 50) [FAIL]
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Stack Trace:
Child exception:
Xunit.Sdk.TrueException: 400 events were recorded, while maxOpPerSecond is 50
/_/src/libraries/System.Diagnostics.DiagnosticSource/tests/DiagnosticSourceEventSourceBridgeTests.cs(1477,0): at System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.<>c.<TestRateLimitingSampler>b__30_0(String maxOpPerSecond)
/_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(39,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(174,0): at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Child process:
System.Diagnostics.DiagnosticSource.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests+<>c Void <TestRateLimitingSampler>b__30_0(System.String)
Child arguments:
50
Finished: System.Diagnostics.DiagnosticSource.Tests
=== TEST EXECUTION SUMMARY ===
System.Diagnostics.DiagnosticSource.Tests Total: 409, Errors: 0, Failed: 2, Skipped: 0, Time: 32.301s
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1389193
Build error leg or test failing: System.Diagnostics.Tests.DiagnosticSourceEventSourceBridgeTests.TestRateLimitingSampler
Pull request: #127221
Error Message
Fill the error message using step by step known issues guidance.
{ "ErrorMessage": "events were recorded, while maxOpPerSecond", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1389193
Error message validated:
[events were recorded, while maxOpPerSecond]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/22/2026 1:01:37 AM UTC
Report
Summary