Skip to content
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

Add ETW events when ALCs are created or disposed #75550

Merged
merged 4 commits into from
Oct 17, 2024

use error level for exception case

08a2ec7
Select commit
Loading
Failed to load commit list.
Merged

Add ETW events when ALCs are created or disposed #75550

use error level for exception case
08a2ec7
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Oct 17, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Test Failures (2 tests failed)

🔹 [All failing tests from roslyn-integration-CI]

    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility(VS2022) [Details] [1.38% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility (VS2022)
      Exception Message
      System.AggregateException : One or more errors occurred.
      ---- System.NullReferenceException : Object reference not set to an instance of an object.
      Stack Trace
         at Microsoft.CodeAnalysis.ErrorReporting.TestTraceListener.VerifyNoErrorsAndReset() in /_/src/VisualStudio/IntegrationTest/TestSetup/TestTraceListener.cs:line 133
         at Roslyn.VisualStudio.IntegrationTests.AbstractIntegrationTest.<DisposeAsync>d__8.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/AbstractIntegrationTest.cs:line 188
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      ----- Inner Stack Trace -----
         at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeSet.Update(ITextVersion currentVersion)
         at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeSet.Update(ITextVersion currentVersion, ITextVersion desiredVersion)
         at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeTagger.OnBufferChangedOnBackground(Object sender, TextSnapshotChangedEventArgs e)
         at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
    Roslyn.VisualStudio.NewIntegrationTests.VisualBasic.BasicCodeActions.GenerateMethodInClosedFile(VS2022) [Details] [0.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.VisualBasic.BasicCodeActions.GenerateMethodInClosedFile (VS2022)
      Exception Message
      System.OperationCanceledException : IDE version '17.11.35201.85' unexpectedly dismissed the light bulb.
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.InProcess.LightBulbHelper.<TryWaitForItemsAsync>d__2.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at Roslyn.VisualStudio.IntegrationTests.InProcess.LightBulbHelper.<WaitForItemsAsync>d__1.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/LightBulbHelper.cs:line 34
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Roslyn.VisualStudio.IntegrationTests.InProcess.LightBulbHelper.<WaitForLightBulbSessionAsync>d__0.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/LightBulbHelper.cs:line 26
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Roslyn.VisualStudio.NewIntegrationTests.InProcess.ITextViewWindowInProcessExtensions.<ShowLightBulbAsync>d__2.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/ITextViewWindowInProcessExtensions.cs:line 72
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Roslyn.VisualStudio.NewIntegrationTests.InProcess.ITextViewWindowInProcessExtensions.<InvokeCodeActionListWithoutWaitingAsync>d__6.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/ITextViewWindowInProcessExtensions.cs:line 129
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Roslyn.VisualStudio.NewIntegrationTests.InProcess.ITextViewWindowInProcessExtensions.<InvokeCodeActionListAsync>d__5.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/ITextViewWindowInProcessExtensions.cs:line 113
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Roslyn.VisualStudio.NewIntegrationTests.VisualBasic.BasicCodeActions.<GenerateMethodInClosedFile>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/VisualBasic/BasicCodeActions.cs:line 43
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Was this helpful? Yes No