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

Fix flow of CompilerGeneratedFilesOutputPath from CPS #75674

Merged

Update src/VisualStudio/CSharp/Test/ProjectSystemShim/CPS/AdditionalP…

4b30d25
Select commit
Loading
Failed to load commit list.
Merged

Fix flow of CompilerGeneratedFilesOutputPath from CPS #75674

Update src/VisualStudio/CSharp/Test/ProjectSystemShim/CPS/AdditionalP…
4b30d25
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Nov 1, 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 (10 tests failed)

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

    ⚠️ 5 failing tests not displayed for this pipeline due to space limitations

    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal(VS2022) [Details] [95.59% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "class Program\r\n{\r\n    static void Main(st"···
      Not found: "class Program\r\n{\r\n    static void Main(st"···
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91
      --- 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()
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.<GenerateLocal>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGenerateFromUsage.cs:line 36
      --- 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)
      --- 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)
    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType(VS2022) [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "\r\npublic partial class Test\r\n{\r\n    priva"···
      Not found: "\r\npublic partial class Test\r\n{\r\n    priva"···
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91
      --- 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()
         at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.<TypingInPartialType>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpTyping.cs:line 73
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.DoesNotUseHostOptions_WhenEnforceCodeStyleInBuildIsTrue(VS2022) [Details] [62.71% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.DoesNotUseHostOptions_WhenEnforceCodeStyleInBuildIsTrue (VS2022)
      Exception Message
      Expected:
      C.cs(3, 5): error IDE0055: Fix formatting,
      C.cs(4, 5): error IDE0055: Fix formatting,
      C.cs(6, 5): error IDE0055: Fix formatting
      Actual:
      C.cs(3, 5): error IDE0055: Fix formatting,
      C.cs(4, 5): error IDE0055: Fix formatting,
      C.cs(6, 5): error IDE0055: Fix formatting,
      Microsoft.PackageDependencyResolution.targets(266, 5): error NETSDK1060: Error reading assets file: Error loading lock file 'T:\roslyn-test\1cd123of.0q0\TestProj\obj\project.assets.json' : Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
      Differences:
          C.cs(3, 5): error IDE0055: Fix formatting,
          C.cs(4, 5): error IDE0055: Fix formatting,
          C.cs(6, 5): error IDE0055: Fix formatting,
      ++> Microsoft.PackageDependencyResolution.targets(266, 5): error NETSDK1060: Error reading assets file: Error loading lock file 'T:\roslyn-test\1cd123of.0q0\TestProj\obj\project.assets.json' : Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
      
      Stack Trace
         at Roslyn.Test.Utilities.AssertEx.Equal[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector, String expectedValueSourcePath, Int32 expectedValueSourceLine) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 246
         at Roslyn.Test.Utilities.AssertEx.Equal[T](ImmutableArray`1 expected, ImmutableArray`1 actual) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 198
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.<DoesNotUseHostOptions_WhenEnforceCodeStyleInBuildIsTrue>d__4.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpRedirectFeaturesAnalyzers.cs:line 39
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse(VS2022) [Details] [91.53% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse (VS2022)
      Exception Message
      Expected:
      C.cs(3, 5): error IDE0055: Fix formatting,
      C.cs(4, 5): error IDE0055: Fix formatting,
      C.cs(6, 5): error IDE0055: Fix formatting
      Actual:
      Microsoft.PackageDependencyResolution.targets(266, 5): error NETSDK1060: Error reading assets file: Error loading lock file 'T:\roslyn-test\mlr0pdk2.1hv\TestProj\obj\project.assets.json' : Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
      Differences:
      ++> Microsoft.PackageDependencyResolution.targets(266, 5): error NETSDK1060: Error reading assets file: Error loading lock file 'T:\roslyn-test\mlr0pdk2.1hv\TestProj\obj\project.assets.json' : Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.,
      --> C.cs(3, 5): error IDE0055: Fix formatting,
      --> C.cs(4, 5): error IDE0055: Fix formatting,
      --> C.cs(6, 5): error IDE0055: Fix formatting
      
      Stack Trace
         at Roslyn.Test.Utilities.AssertEx.Equal[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector, String expectedValueSourcePath, Int32 expectedValueSourceLine) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 246
         at Roslyn.Test.Utilities.AssertEx.Equal[T](ImmutableArray`1 expected, ImmutableArray`1 actual) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 198
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.<UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse>d__5.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpRedirectFeaturesAnalyzers.cs:line 61
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.AddClickHandler(VS2022) [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.AddClickHandler (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "using System;\r\nusing System.Collections.G"···
      Not found: "    public partial class Form1 : Form\r\n  "···
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<AddClickHandler>d__6.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 97
      --- 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)
      --- 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)

Was this helpful? Yes No