dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.93k stars 4.64k forks source link

Test_Bad_WriteRelatedID_ParameterName EventSource tests causes StartStopCreatesActivity test failure #105293

Open stephentoub opened 1 month ago

stephentoub commented 1 month ago

Enabling the Test_Bad_WriteRelatedID_ParameterName test causes the StartStopCreatesActivity to fail:

      BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity [FAIL]
        Assert.Equal() Failure: Values differ
        Expected: 00000000-0000-0000-0000-000000000000
        Actual:   f6e94c85-7f76-4101-8b94-6eb92bdadfad
        Stack Trace:
          D:\repos\runtime\src\libraries\System.Diagnostics.Tracing\tests\BasicEventSourceTest\ActivityTracking.cs(22,0): at BasicEventSourceTests.ActivityTracking.StartStopCreatesActivity()
             at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
          D:\repos\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
          D:\repos\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
dotnet-policy-service[bot] commented 1 month ago

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti See info in area-owners.md if you want to be subscribed.