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

Update to 9.0.300 and RestoreEnablePackagePruning #111767

Draft
wants to merge 4 commits into
base: release/9.0-staging
Choose a base branch
from

Don't downgrade CodeAnalysis.Analyzers

b5d686f
Select commit
Loading
Failed to load commit list.
Draft

Update to 9.0.300 and RestoreEnablePackagePruning #111767

Don't downgrade CodeAnalysis.Analyzers
b5d686f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime failed Jan 24, 2025 in 3h 35m 0s

Build #20250124.67 had test failures

Details

Tests

  • Failed: 127 (0.00%)
  • Passed: 3,411,651 (98.18%)
  • Other: 62,970 (1.81%)
  • Total: 3,474,748

Annotations

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/6cd38e4d-7d18-43c0-bc98-a3dbbdea58a1/workitems/LibraryImportGenerator.Unit.Tests/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessLinearCollectionShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/6cd38e4d-7d18-43c0-bc98-a3dbbdea58a1/workitems/LibraryImportGenerator.Unit.Tests/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/6cd38e4d-7d18-43c0-bc98-a3dbbdea58a1/workitems/LibraryImportGenerator.Unit.Tests/console

Check failure on line 44 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets#L44

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.25058.5/tools/azure-pipelines/AzurePipelines.MultiQueue.targets(44,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Test LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulLinearCollectionShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic has failed. Check the Test tab or this console log: https://helix.dot.net/api/2019-06-17/jobs/6cd38e4d-7d18-43c0-bc98-a3dbbdea58a1/workitems/LibraryImportGenerator.Unit.Tests/console

Check failure on line 1 in Mono.Linker.Tests.TestCases.All.DataFlow

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

Mono.Linker.Tests.TestCases.All.DataFlow

Test failed

Check failure on line 1 in LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

System.InvalidOperationException : Context: Iterative code fix application
content of '/0/Test0.cs' did not match. Diff shown with expected as baseline:
 using System;
 using System.Runtime.InteropServices.Marshalling;
 
 class ManagedType {}
 
 [CustomMarshaller(typeof(ManagedType), MarshalMode.ManagedToUnmanagedIn, typeof(MarshallerType))]
 static class MarshallerType
 {
     public static nint ConvertToUnmanaged(ManagedType m, Span<byte> b) => default;
-
     public static int BufferSize
     {
         get
         {
             throw new NotImplementedException();
         }
     }
 }
Raw output
   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 67
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyProjectAsync>d__49[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 537
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__48[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 515
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__46[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 477
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 316
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeFixerTest.VerifyCodeFixAsync(String source, String fixedSource, DiagnosticResult[] diagnostics) in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTest.cs:line 140
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatelessValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic() in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTests_StatelessValueShapeValidation.cs:line 377
--- End of stack trace from previous location ---

Check failure on line 1 in LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

System.InvalidOperationException : Context: Iterative code fix application
content of '/0/Test0.cs' did not match. Diff shown with expected as baseline:
 using System;
 using System.Runtime.InteropServices.Marshalling;
 
 class ManagedType {}
 
 [CustomMarshaller(typeof(ManagedType), MarshalMode.ManagedToUnmanagedIn, typeof(MarshallerType))]
 struct MarshallerType
 {
     public void FromManaged(ManagedType m, Span<byte> b) {}
 
     public int ToUnmanaged() => default;
 
     public void Free() {}
-
     public static int BufferSize
     {
         get
         {
             throw new NotImplementedException();
         }
     }
 }
Raw output
   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 67
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyProjectAsync>d__49[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 537
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__48[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 515
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__46[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 477
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 316
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeFixerTest.VerifyCodeFixAsync(String source, String fixedSource, DiagnosticResult[] diagnostics) in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTest.cs:line 140
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulValueShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic() in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTests_StatefulValueShapeValidation.cs:line 396
--- End of stack trace from previous location ---

Check failure on line 1 in LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulLinearCollectionShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulLinearCollectionShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic

System.InvalidOperationException : Context: Iterative code fix application
content of '/0/Test0.cs' did not match. Diff shown with expected as baseline:
 using System;
 using System.Runtime.InteropServices.Marshalling;
 
 class ManagedType {}
 
 [CustomMarshaller(typeof(ManagedType), MarshalMode.ManagedToUnmanagedIn, typeof(MarshallerType<>))]
 [ContiguousCollectionMarshaller]
 struct MarshallerType<T>
 {
     public void FromManaged(ManagedType m, Span<byte> buffer) {}
     public nint ToUnmanaged() => default;
     public void Free() {}
     public ReadOnlySpan<byte> GetManagedValuesSource() => default;
     public Span<T> GetUnmanagedValuesDestination() => default;
-
     public static int BufferSize
     {
         get
         {
             throw new NotImplementedException();
         }
     }
 }
Raw output
   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 67
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyProjectAsync>d__49[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 537
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__48[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 515
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<VerifyFixAsync>d__46[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 477
   at Microsoft.CodeAnalysis.Testing.CodeFixTest`1.<RunImplAsync>d__44[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeFix.Testing/CodeFixTest`1.cs:line 316
   at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__61[[Microsoft.CodeAnalysis.Testing.DefaultVerifier, Microsoft.CodeAnalysis.Analyzer.Testing, Version=1.1.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext() in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 172
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeFixerTest.VerifyCodeFixAsync(String source, String fixedSource, DiagnosticResult[] diagnostics) in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTest.cs:line 140
   at LibraryImportGenerator.UnitTests.CustomMarshallerAttributeAnalyzerTests_StatefulLinearCollectionShapeValidation.CallerAllocatedBuffer_NoBufferSize_ReportsDiagnostic() in /_/src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CustomMarshallerAttributeFixerTests_StatefulLinearCollectionShapeValidation.cs:line 616
--- End of stack trace from previous location ---