Skip to content

[mono][aot] Baseservices runtime tests failed in Mono fullAOT llvm job #92883

Closed
@kotlarmilos

Description

@kotlarmilos

Below are the tests that failed in the test run https://dev.azure.com/dnceng-public/public/_build/results?buildId=422831&view=logs&jobId=c38ec756-eb98-514e-2413-35443f23bc13.

UnsafeAccessorsTests.dll

BEGIN EXECUTION
/datadisks/disk1/work/A41708E9/p/corerun -p Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability=true -p System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization=false -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Resources.ResourceManager.AllowCustomResourceTypes=false -p System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false -p System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting=false -p System.Runtime.InteropServices.EnableCppCLIHostActivation=false -p System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true -p System.StartupHookProvider.IsSupported=false -p System.Text.Encoding.EnableUnsafeUTF7Encoding=false -p System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault=false -p System.Threading.Thread.EnableAutoreleasePool=false UnsafeAccessorsTests.dll ''
Running Verify_CallDefaultCtorClass
Running Verify_CallCtorClass
Running Verify_CallCtorValue
Running Verify_CallCtorWithEmptyNotNullName
Running Verify_CallCtorAsMethod
Running Verify_CallCtorAsMethodValue
Running Verify_AccessStaticFieldClass
Running Verify_AccessFieldClass
Running Verify_AccessStaticFieldValue
Running Verify_AccessFieldValue
Running Verify_AccessStaticMethodClass
Running Verify_AccessMethodClass
Running Verify_AccessStaticMethodVoidClass
Running Verify_AccessMethodVoidClass
Running Verify_AccessStaticMethodValue
Running Verify_AccessMethodValue
Running Verify_IgnoreCustomModifier
Running Verify_PreciseMatchCustomModifier
Running Verify_UnmanagedCallConvBitAreTreatedAsCustomModifiersAndIgnored
Running Verify_ManagedUnmanagedFunctionPointersDontMatch
Running Verify_InheritanceMethodResolution
Running Verify_InheritanceFieldResolution
Running Verify_InvalidTargetUnsafeAccessor
Running Verify_InvalidTargetUnsafeAccessorAmbiguousMatch
Running Verify_InvalidUseUnsafeAccessor
Xunit.Sdk.ThrowsException: Assert.Throws() Failure
Expected: typeof(System.BadImageFormatException)
Actual:   typeof(System.ExecutionEngineException): Attempting to JIT compile method '(wrapper other) string UnsafeAccessorsTests/Invalid:CallToString (string)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
          
   at UnsafeAccessorsTests.<>c.<Verify_InvalidUseUnsafeAccessor>b__41_13()
   at Xunit.Assert.RecordException(Func`1 testCode)
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 9/29/2023 7:23:18 PM
Test Harness Exitcode is : 1

TieredVtableMethodTests.dll

BEGIN EXECUTION
/datadisks/disk1/work/A41708E9/p/corerun -p Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability=true -p System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization=false -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Resources.ResourceManager.AllowCustomResourceTypes=false -p System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false -p System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting=false -p System.Runtime.InteropServices.EnableCppCLIHostActivation=false -p System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true -p System.StartupHookProvider.IsSupported=false -p System.Text.Encoding.EnableUnsafeUTF7Encoding=false -p System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault=false -p System.Threading.Thread.EnableAutoreleasePool=false TieredVtableMethodTests.dll ''
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 9/29/2023 7:23:22 PM
Test Harness Exitcode is : 1

varargsupport.dll and varargsupport_r.dll

BEGIN EXECUTION
/datadisks/disk1/work/A41708E9/p/corerun -p Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability=true -p System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization=false -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Resources.ResourceManager.AllowCustomResourceTypes=false -p System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false -p System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting=false -p System.Runtime.InteropServices.EnableCppCLIHostActivation=false -p System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true -p System.StartupHookProvider.IsSupported=false -p System.Text.Encoding.EnableUnsafeUTF7Encoding=false -p System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault=false -p System.Threading.Thread.EnableAutoreleasePool=false varargsupport_r.dll ''
Test failed as InvalidProgramException was not raised.
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 9/29/2023 7:23:18 PM
Test Harness Exitcode is : 1

Metadata

Metadata

Assignees

Labels

area-Codegen-AOT-monodisabled-testThe test is disabled in source code against the issuein-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions