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

[illink] refactor code sharing between ILLink and MSBuild tasks #9688

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Merge branch 'main' into dev/peppers/trimmer/refactor

546a09b
Select commit
Loading
Failed to load commit list.
Draft

[illink] refactor code sharing between ILLink and MSBuild tasks #9688

Merge branch 'main' into dev/peppers/trimmer/refactor
546a09b
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Xamarin.Android-PR failed Jan 22, 2025 in 3h 15m 42s

Build #refactor-546a09b455fe19283b325cb47a8aad4d02f3c50b-1 had test failures

Details

Tests

  • Failed: 4 (0.05%, 0 new, 4 recurring)
  • Passed: 7,778 (98.94%)
  • Other: 79 (1.00%)
  • Total: 7,861

Annotations

Check failure on line 90 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L90

Error: The process '/Users/runner/.dotnet//dotnet' failed with exit code 1

Check failure on line 93 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L93

Dotnet command failed with non-zero exit code on the following projects : [
  '/Users/runner/work/1/s/build-tools/xaprepare/xaprepare/xaprepare.csproj'
]

Check failure on line 9707 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L9707

Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 9712 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Build log #L9712

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\bin\\TestRelease\\net9.0\\Xamarin.Android.Build.Tests.dll'
]

Check failure on line 1 in Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit

Mono.Cecil.AssemblyResolutionException : Failed to resolve assembly: 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  ----> System.IO.FileNotFoundException : Could not load assembly 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
Raw output
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 125
   at Mono.Linker.LinkContext.Resolve(String name) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 110
   at Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit() in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs:line 104
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--FileNotFoundException
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) in /Users/builder/azdo/_work/10/s/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:line 320
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 117

Check failure on line 1 in Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers

Mono.Cecil.AssemblyResolutionException : Failed to resolve assembly: 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  ----> System.IO.FileNotFoundException : Could not load assembly 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
Raw output
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 125
   at Mono.Linker.LinkContext.Resolve(String name) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 110
   at Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers() in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs:line 45
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--FileNotFoundException
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) in /Users/builder/azdo/_work/10/s/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:line 320
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 117

Check failure on line 1 in Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit

Mono.Cecil.AssemblyResolutionException : Failed to resolve assembly: 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  ----> System.IO.FileNotFoundException : Could not load assembly 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
Raw output
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 125
   at Mono.Linker.LinkContext.Resolve(String name) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 110
   at Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_Explicit() in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs:line 104
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--FileNotFoundException
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) in /Users/builder/azdo/_work/10/s/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:line 320
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 117

Check failure on line 1 in Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Xamarin.Android-PR

Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers

Mono.Cecil.AssemblyResolutionException : Failed to resolve assembly: 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
  ----> System.IO.FileNotFoundException : Could not load assembly 'MyAssembly.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
Raw output
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 125
   at Mono.Linker.LinkContext.Resolve(String name) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 110
   at Xamarin.Android.Build.Tests.LinkerTests.FixAbstractMethodsStep_SkipDimMembers() in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs:line 45
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--FileNotFoundException
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) in /Users/builder/azdo/_work/10/s/xamarin-android/external/Java.Interop/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs:line 320
   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope) in /Users/builder/azdo/_work/10/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Linker/External/Linker/LinkContext.cs:line 117