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

Allow specifying encoding of source file content #1195

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Allow specifying encoding of source file content

fccfa22
Select commit
Loading
Failed to load commit list.
Open

Allow specifying encoding of source file content #1195

Allow specifying encoding of source file content
fccfa22
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Nov 23, 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 (8 tests failed)

🔹 [All failing tests from public-CI]

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

    Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateAnalyzerFromCSharpTemplateAsync [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateAnalyzerFromCSharpTemplateAsync (VS2022)
      Exception Message
      System.InvalidOperationException : Actual and expected values differ. Expected shown in baseline of diff:\r\n-========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n+========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n
      Stack Trace
         at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Fail(String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 105
         at Microsoft.CodeAnalysis.Testing.IVerifierExtensions.EqualOrDiff(IVerifier verifier, String expected, String actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/Extensions/IVerifierExtensions.cs:line 69
         at Microsoft.CodeAnalysis.Testing.CreateProjectTests.<CreateAnalyzerFromCSharpTemplateAsync>d__2.MoveNext() in /_/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/CreateProjectTests.cs:line 45
      --- 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)
    Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateAnalyzerFromVisualBasicTemplateAsync [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateAnalyzerFromVisualBasicTemplateAsync (VS2022)
      Exception Message
      System.InvalidOperationException : Actual and expected values differ. Expected shown in baseline of diff:\r\n-========== Build: 5 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n+========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n
      Stack Trace
         at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Fail(String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 105
         at Microsoft.CodeAnalysis.Testing.IVerifierExtensions.EqualOrDiff(IVerifier verifier, String expected, String actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/Extensions/IVerifierExtensions.cs:line 69
         at Microsoft.CodeAnalysis.Testing.CreateProjectTests.<CreateAnalyzerFromVisualBasicTemplateAsync>d__5.MoveNext() in /_/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/CreateProjectTests.cs:line 99
      --- 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)
    Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateRefactoringFromCSharpTemplateAsync [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateRefactoringFromCSharpTemplateAsync (VS2022)
      Exception Message
      System.InvalidOperationException : Actual and expected values differ. Expected shown in baseline of diff:\r\n-========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n+========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n
      Stack Trace
         at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Fail(String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 105
         at Microsoft.CodeAnalysis.Testing.IVerifierExtensions.EqualOrDiff(IVerifier verifier, String expected, String actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/Extensions/IVerifierExtensions.cs:line 69
         at Microsoft.CodeAnalysis.Testing.CreateProjectTests.<CreateRefactoringFromCSharpTemplateAsync>d__3.MoveNext() in /_/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/CreateProjectTests.cs:line 67
      --- 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)
    Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateRefactoringFromVisualBasicTemplateAsync [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Data Driven SubResults
      Microsoft.CodeAnalysis.Testing.CreateProjectTests.CreateRefactoringFromVisualBasicTemplateAsync (VS2022)
      Exception Message
      System.InvalidOperationException : Actual and expected values differ. Expected shown in baseline of diff:\r\n-========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========\r\n+========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n
      Stack Trace
         at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Fail(String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 105
         at Microsoft.CodeAnalysis.Testing.IVerifierExtensions.EqualOrDiff(IVerifier verifier, String expected, String actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/Extensions/IVerifierExtensions.cs:line 69
         at Microsoft.CodeAnalysis.Testing.CreateProjectTests.<CreateRefactoringFromVisualBasicTemplateAsync>d__6.MoveNext() in /_/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/CreateProjectTests.cs:line 121
      --- 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