-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-AssemblyLoader-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime
Milestone
Description
Several failures seen when running the Loader/classloader/* tests. These are CoreCLR tests run on the mono runtime from the dotnet\runtime repo. It is quite possible, these may need to split in separate issues based on individual issues/missing implementations etc.
Repro :
See https://github.com/dotnet/runtime/blob/6712f18b7ff3d6e582137c268cbb53c793f6536e/docs/workflow/testing/mono/testing.md, but the steps are approximately:
./build.sh mono+libs+clr.hosts -c Debug
pushd src/tests
./build.sh mono debug -test:Loader/classloader/regressions/asurt150271/test3.ilproj
popd
bash ./artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/asurt150271/test3/test3.sh -coreroot=`pwd`/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
The tests failing are :
- Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowLDFTNStaticMethod/CctorThrowLDFTNStaticMethod.sh
- Loader/classloader/regressions/asurt150271/test3/test3.sh
- Loader/classloader/TSAmbiguities/SameMethodImpl/Override/HelloWorld/HelloWorld.sh
- Loader/classloader/regressions/vsw529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh
- Loader/classloader/rmv/il/RMV-2-15-12b/RMV-2-15-12b.sh
- Loader/classloader/explicitlayout/Regressions/ASURT/ASURT150271/test3/test3.sh
- Loader/classloader/generics/Instantiation/Negative/abstract01/abstract01.s
- Loader/classloader/regressions/529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh
- Loader/classloader/TypeInitialization/CoreCLR/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh
- Loader/classloader/regressions/GitHub_11371/Negative_ByRefLikeType/Negative_ByRefLikeType.sh
- Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.sh
- Loader/classloader/TypeInitialization/CctorsWithSideEffects/TypeLoadInitExcepBFI/TypeLoadInitExcepBFI.sh
- Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh
- Loader/classloader/generics/regressions/dev10_531793/dev10_531793/dev10_531793.sh
- Loader/classloader/DefaultInterfaceMethods/reabstraction/reabstraction/reabstraction.sh
Individual test failures/stacks are below.
************************************* Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowLDFTNStaticMethod/CctorThrowLDFTNStaticMethod.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowLDFTNStaticMethod/CctorThrowLDFTNStaticMethod.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun CctorThrowLDFTNStaticMethod.dll ''
LDFTN static method of a class
Inside A.cctor
Caught expected exception 1st time
Did not catch expected TypeInitializationException exception
LDFTN static method of a struct
Inside B.cctor
Caught expected exception 1st time
Did not catch expected TypeInitializationException exception
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowLDFTNStaticMethod/CctorThrowLDFTNStaticMethod.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7900,0): at Loader_classloader._TypeInitialization_CctorsWithSideEffects_CctorThrowLDFTNStaticMethod_CctorThrowLDFTNStaticMethod_._TypeInitialization_CctorsWithSideEffects_CctorThrowLDFTNStaticMethod_CctorThrowLDFTNStaticMethod_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/regressions/asurt150271/test3/test3.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/regressions/asurt150271/test3/test3.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun test3.dll ''
hello
field i1: 1, i2: 2
PASS
FAIL: expected TypeLoadException, but no exception was caught
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/asurt150271/test3/test3.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(6833,0): at Loader_classloader._regressions_asurt150271_test3_test3_._regressions_asurt150271_test3_test3_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/regressions/347422/b347422/b347422.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/regressions/347422/b347422/b347422.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun b347422.dll ''
FAIL: Caught expected exception, but error message is incorrect
Expected: Unable to cast object of type 'System.Object' to type 'IFoo'.
Actual: Specified cast is not valid.
Expected: 100
Actual: 102
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/347422/b347422/b347422.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(6348,0): at Loader_classloader._regressions_347422_b347422_b347422_._regressions_347422_b347422_b347422_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/TSAmbiguities/SameMethodImpl/Override/HelloWorld/HelloWorld.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TSAmbiguities/SameMethodImpl/Override/HelloWorld/HelloWorld.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun HelloWorld.dll ''
Test Test_B:
+ TYPE LOADED
+ TEST FAILED
Test Test_C:
+ TYPE LOADED
+ TEST FAILED
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TSAmbiguities/SameMethodImpl/Override/HelloWorld/HelloWorld.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7706,0): at Loader_classloader._TSAmbiguities_SameMethodImpl_Override_HelloWorld_HelloWorld_._TSAmbiguities_SameMethodImpl_Override_HelloWorld_HelloWorld_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/regressions/vsw529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/regressions/vsw529206/vsw529206ModuleCctor/vsw529206ModuleCctor.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun vsw529206ModuleCctor.dll ''
Inside module .cctor
Caught expected exception 1st time
System.TypeInitializationException: The type initializer for '<Module>' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at <Module>..cctor()
--- End of inner exception stack trace ---
at Test.Main() in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/coreclr/tests/src/Loader/classloader/regressions/vsw529206/vsw529206ModuleCctor.cs:line 38
Did not catch expected TypeInitializationException exception
FAIL
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/vsw529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7221,0): at Loader_classloader._regressions_vsw529206_vsw529206ModuleCctor_vsw529206ModuleCctor_._regressions_vsw529206_vsw529206ModuleCctor_vsw529206ModuleCctor_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/rmv/il/RMV-2-15-12b/RMV-2-15-12b.sh [FAIL]
Unhandled Exception:
System.TypeLoadException: Could not load list of method overrides due to Method not found: int .Parent.Fun1()
at CMain.Main()
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load list of method overrides due to Method not found: int .Parent.Fun1()
at CMain.Main()
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/rmv/il/RMV-2-15-12b/RMV-2-15-12b.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun RMV-2-15-12b.dll ''
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/rmv/il/RMV-2-15-12b/RMV-2-15-12b.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7318,0): at Loader_classloader._rmv_il_RMV_2_15_12b_RMV_2_15_12b_._rmv_il_RMV_2_15_12b_RMV_2_15_12b_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/explicitlayout/Regressions/ASURT/ASURT150271/test3/test3.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/explicitlayout/Regressions/ASURT/ASURT150271/test3/test3.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun test3.dll ''
hello
field i1: 1, i2: 2
PASS
FAIL: expected TypeLoadException, but no exception was caught
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/explicitlayout/Regressions/ASURT/ASURT150271/test3/test3.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(6154,0): at Loader_classloader._explicitlayout_Regressions_ASURT_ASURT150271_test3_test3_._explicitlayout_Regressions_ASURT_ASURT150271_test3_test3_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/generics/Instantiation/Negative/abstract01/abstract01.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/generics/Instantiation/Negative/abstract01/abstract01.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun abstract01.dll ''
Test caught unexpected Exception System.MemberAccessException: Cannot create an abstract class: Gen[System.Int32]
at GenTest[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IndirectTest()
at GenTest[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Test()
Test Failed at location: 1
Test caught unexpected Exception System.MemberAccessException: Cannot create an abstract class: Gen[System.Double]
at GenTest[[System.Double, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IndirectTest()
at GenTest[[System.Double, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Test()
Test Failed at location: 2
Test caught unexpected Exception System.MemberAccessException: Cannot create an abstract class: Gen[System.Guid]
at GenTest[[System.Guid, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IndirectTest()
at GenTest[[System.Guid, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Test()
Test Failed at location: 3
Test caught unexpected Exception System.MemberAccessException: Cannot create an abstract class: Gen[T_REF]
at GenTest[[System.Object, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IndirectTest()
at GenTest[[System.Object, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Test()
Test Failed at location: 4
Test caught unexpected Exception System.MemberAccessException: Cannot create an abstract class: Gen[T_REF]
at GenTest[[System.String, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].IndirectTest()
at GenTest[[System.String, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Test()
Test Failed at location: 5
Test Failed
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/generics/Instantiation/Negative/abstract01/abstract01.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(140,0): at Loader_classloader._generics_Instantiation_Negative_abstract01_abstract01_._generics_Instantiation_Negative_abstract01_abstract01_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/regressions/529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/regressions/529206/vsw529206ModuleCctor/vsw529206ModuleCctor.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun vsw529206ModuleCctor.dll ''
Inside module .cctor
Caught expected exception 1st time
System.TypeInitializationException: The type initializer for '<Module>' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at <Module>..cctor()
--- End of inner exception stack trace ---
at Test.Main() in /Users/samarthpatel/Documents/DotNetRunTime/runtime/src/coreclr/tests/src/Loader/classloader/regressions/529206/vsw529206ModuleCctor.cs:line 38
Did not catch expected TypeInitializationException exception
FAIL
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/529206/vsw529206ModuleCctor/vsw529206ModuleCctor.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(6639,0): at Loader_classloader._regressions_529206_vsw529206ModuleCctor_vsw529206ModuleCctor_._regressions_529206_vsw529206ModuleCctor_vsw529206ModuleCctor_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/TypeInitialization/CoreCLR/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh [FAIL]
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TypeInitialization/CoreCLR/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun CctorThrowStaticFieldBFI.dll ''
In A.cctor
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TypeInitialization/CoreCLR/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(8676,0): at Loader_classloader._TypeInitialization_CoreCLR_CctorThrowStaticFieldBFI_CctorThrowStaticFieldBFI_._TypeInitialization_CoreCLR_CctorThrowStaticFieldBFI_CctorThrowStaticFieldBFI_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/regressions/GitHub_11371/Negative_ByRefLikeType/Negative_ByRefLikeType.sh [FAIL]
Unhandled Exception:
System.TypeLoadException: Failure has occurred while loading a type.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Failure has occurred while loading a type.
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/regressions/GitHub_11371/Negative_ByRefLikeType/Negative_ByRefLikeType.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun Negative_ByRefLikeType.dll ''
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/regressions/GitHub_11371/Negative_ByRefLikeType/Negative_ByRefLikeType.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7124,0): at Loader_classloader._regressions_GitHub_11371_Negative_ByRefLikeType_Negative_ByRefLikeType_._regressions_GitHub_11371_Negative_ByRefLikeType_Negative_ByRefLikeType_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun HelloWorld.dll ''
TEST Test_A_int_byte:
-> Instantiation : A<int, byte>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_A_int_int:
-> Instantiation : A<int, int>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
TEST Test_A_string_object:
-> Instantiation : A<string, object>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_A_string_string:
-> Instantiation : A<string, string>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
TEST Test_B_int_byte:
-> Instantiation : B<int, byte>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_B_int_int:
-> Instantiation : B<int, int>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
TEST Test_B_string_object:
-> Instantiation : B<string, object>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_B_string_string:
-> Instantiation : B<string, string>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
TEST Test_C_int_byte:
-> Instantiation : C<int, byte>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_C_string_string:
-> Instantiation : C<string, string>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_C_ListInt_byte:
-> Instantiation : C<List<int>, byte>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_C_ListInt_int:
-> Instantiation : C<List<int>, int>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
TEST Test_C_ListString_object:
-> Instantiation : C<List<string>, object>
-> Should fail : False
+ TYPE LOADED
+ TEST PASSED!
TEST Test_C_ListString_string:
-> Instantiation : C<List<string>, string>
-> Should fail : True
+ TYPE LOADED
+ TEST FAILED!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TSAmbiguities/CollapsedInterfaces/HelloWorld/HelloWorld.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(7609,0): at Loader_classloader._TSAmbiguities_CollapsedInterfaces_HelloWorld_HelloWorld_._TSAmbiguities_CollapsedInterfaces_HelloWorld_HelloWorld_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/TypeInitialization/CctorsWithSideEffects/TypeLoadInitExcepBFI/TypeLoadInitExcepBFI.sh [FAIL]
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TypeInitialization/CctorsWithSideEffects/TypeLoadInitExcepBFI/TypeLoadInitExcepBFI.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun TypeLoadInitExcepBFI.dll ''
In A.cctor
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TypeInitialization/CctorsWithSideEffects/TypeLoadInitExcepBFI/TypeLoadInitExcepBFI.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(8385,0): at Loader_classloader._TypeInitialization_CctorsWithSideEffects_TypeLoadInitExcepBFI_TypeLoadInitExcepBFI_._TypeInitialization_CctorsWithSideEffects_TypeLoadInitExcepBFI_TypeLoadInitExcepBFI_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh [FAIL]
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'A' threw an exception.
---> System.Exception: Exception of type 'System.Exception' was thrown.
at A..cctor()
--- End of inner exception stack trace ---
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun CctorThrowStaticFieldBFI.dll ''
In A.cctor
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/TypeInitialization/CctorsWithSideEffects/CctorThrowStaticFieldBFI/CctorThrowStaticFieldBFI.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(8191,0): at Loader_classloader._TypeInitialization_CctorsWithSideEffects_CctorThrowStaticFieldBFI_CctorThrowStaticFieldBFI_._TypeInitialization_CctorsWithSideEffects_CctorThrowStaticFieldBFI_CctorThrowStaticFieldBFI_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/generics/regressions/dev10_531793/dev10_531793/dev10_531793.sh [FAIL]
Stack overflow: IP: 0x1039b46f8, fault addr: 0x7ffee840dff8
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper castclass) object.__castclass_with_cache (object,intptr,intptr) [0x0002d] in <d4088e8632c84fada4c7a672b505dd20>:0
<...>
at Module1.Main () [0x00007] in <06023296cb6a4ca9a197065f5eb89b4a>:0
at (wrapper runtime-invoke) <Module>.runtime_invoke_int (object,intptr,intptr,intptr) [0x0002b] in <06023296cb6a4ca9a197065f5eb89b4a>:0
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/generics/regressions/dev10_531793/dev10_531793/dev10_531793.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun dev10_531793.dll ''
Expected: 100
Actual: 1
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/generics/regressions/dev10_531793/dev10_531793/dev10_531793.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(2662,0): at Loader_classloader._generics_regressions_dev10_531793_dev10_531793_dev10_531793_._generics_regressions_dev10_531793_dev10_531793_dev10_531793_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
************************************* Loader/classloader/DefaultInterfaceMethods/reabstraction/reabstraction/reabstraction.sh [FAIL]
Return code: 1
Raw output file: /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/Reports/Loader.classloader/DefaultInterfaceMethods/reabstraction/reabstraction/reabstraction.output.txt
Raw output:
BEGIN EXECUTION
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root/corerun reabstraction.dll ''
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Tests/Core_Root
> /Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/Loader/classloader/DefaultInterfaceMethods/reabstraction/reabstraction/reabstraction.sh
Expected: True
Actual: False
Stack Trace:
/Users/samarthpatel/Documents/DotNetRunTime/runtime/artifacts/tests/coreclr/OSX.x64.Debug/TestWrappers/Loader.classloader/Loader.classloader.XUnitWrapper.cs(4214,0): at Loader_classloader._DefaultInterfaceMethods_reabstraction_reabstraction_reabstraction_._DefaultInterfaceMethods_reabstraction_reabstraction_reabstraction_sh()
/Users/samarthpatel/Documents/DotNetRunTime/runtime/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Metadata
Metadata
Assignees
Labels
area-AssemblyLoader-monodisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueruntime-monospecific to the Mono runtimespecific to the Mono runtime