Open SamMonoRT opened 4 years ago
Low priority - Moving to Milestone 8.0.0
A little bit of triage after I tried enabling them in a PR:
reflection/DefaultInterfaceMethods/Emit
fails everywhere. This looks like potentially we just need to remove a check somewhere in SRE. Might be easy.
reflection/DefaultInterfaceMethods/Emit/Emit.sh [FAIL]
Error: Interface method must be abstract and virtual.
at $o (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:37754)
at Ws (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:55546)
at Object.b.javaScriptExports.call_entry_point (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:58159)
at Object.Te [as runMain] (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:2713)
at run (test-main.js:330:50)
Error: Interface method must be abstract and virtual.
at $o (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:37754)
at Ws (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:55546)
at Object.b.javaScriptExports.call_entry_point (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:58159)
at Object.Te [as runMain] (/datadisks/disk1/work/AB64091E/w/BE3F0A44/e/reflection/DefaultInterfaceMethods/Emit/WasmApp/dotnet.js:5:2713)
at run (test-main.js:330:50)
exiting due to exception: ManagedError(gc_handle: 54)
On the other hand reflection/DefaultInterfaceMethods/InvokeConsumer
is pretty mysterious. Needs more investigation
BEGIN EXECUTION
/tmp/helix/working/AAF20982/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false InvokeConsumer.dll ''
Expected: 100
Actual: 11
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/tmp/helix/working/AAF20982/p
> /private/tmp/helix/working/AAF20982/w/B6AA09FE/e/reflection/DefaultInterfaceMethods/InvokeConsumer/InvokeConsumer.sh
Expected: True
Actual: False
Stack Trace:
at reflection_DefaultInterfaceMethods._InvokeConsumer_InvokeConsumer_._InvokeConsumer_InvokeConsumer_sh()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Moving to 9.0.0
cc: @ivanpovazan
@artl93 this looks like libraries ownership?
cc @steveisok @jeffschwMSFT
@buyaa-n Could you verify if these tests are still failing, since you've worked on unifying Reflection related infrastructure?
@buyaa-n Could you verify if these tests are still failing, since you've worked on unifying Reflection related infrastructure?
I don't even know how these tests in reflection/DefaultInterfaceMethods
works, I'll leave it to you
Several failures seen when running the reflection/* 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 : Command to run individual tests :
Individual failure stacks below :
***** reflection/DefaultInterfaceMethods/InvokeConsumer/InvokeConsumer.sh [FAIL]
***** reflection/DefaultInterfaceMethods/Emit/Emit.sh [FAIL]
***** reflection/Modifiers/modifiers/modifiers.sh [FAIL]
**** reflection/SetValue/TrySetReadonlyStaticField/TrySetReadonlyStaticField.sh [FAIL]