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

Test failure Interop\\COM\\Dynamic\\Dynamic\\Dynamic.cmd #92202

Closed
v-wenyuxu opened this issue Sep 18, 2023 · 6 comments · Fixed by #92249
Closed

Test failure Interop\\COM\\Dynamic\\Dynamic\\Dynamic.cmd #92202

v-wenyuxu opened this issue Sep 18, 2023 · 6 comments · Fixed by #92249
Assignees
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs JitStress CLR JIT issues involving JIT internal stress modes Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Milestone

Comments

@v-wenyuxu
Copy link

v-wenyuxu commented Sep 18, 2023

Failed in: runtime-coreclr jitstress-random 20230917.1

Failed tests:

coreclr windows x64 Checked jitstress_random_2 @ Windows.10.Amd64.Open
    - Interop\\COM\\Dynamic\\Dynamic\\Dynamic.cmd

Error message:


Return code:      1
Raw output file:      C:\h\w\AF9F091C\w\AE880999\uploads\Reports\Interop.COM\Dynamic\Dynamic\Dynamic.output.txt
Raw output:
BEGIN EXECUTION
Copying 'C:\h\w\AF9F091C\p\CoreShim.dll'...
        1 file(s) copied.
 "C:\h\w\AF9F091C\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Dynamic.dll 
Running BasicTest
Test Failure: System.NotSupportedException: Specified method is not supported.
   at System.Runtime.InteropServices.Variant.GetAccessor(VarEnum varType) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/Variant.Extended.cs:line 244
   at Microsoft.CSharp.RuntimeBinder.ComInterop.VariantBuilder.InitializeArgumentVariant(MemberExpression variant, Expression parameter) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/VariantBuilder.cs:line 80
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.GenerateTryBlock() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 245
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.MakeIDispatchInvokeTarget() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 508
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.Invoke() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 157
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.TryPropertyPut(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 219
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.BindSetMember(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 194
   at System.Dynamic.SetMemberBinder.Bind(DynamicMetaObject target, DynamicMetaObject[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/SetMemberBinder.cs:line 56
   at System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/DynamicMetaObjectBinder.cs:line 81
   at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSiteBinder.cs:line 120
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 260
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 268
   at Dynamic.BasicTest.Null()
   at Dynamic.BasicTest.Run()
   at Dynamic.Program.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:\cores since 9/17/2023 7:55:46 PM
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\AF9F091C\p
> C:\h\w\AF9F091C\w\AE880999\e\Interop\COM\Dynamic\Dynamic\Dynamic.cmd
Expected: True
Actual:   False

Stack trace:

   at Interop_COM._Dynamic_Dynamic_Dynamic_._Dynamic_Dynamic_Dynamic_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=410857
Build error leg or test failing: Interop\COM\Dynamic\Dynamic\Dynamic.cmd
Pull request: #92252

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.NotSupportedException: Specified method is not supported",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
@v-wenyuxu v-wenyuxu added os-windows JitStress CLR JIT issues involving JIT internal stress modes arch-x64 labels Sep 18, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 18, 2023
@ghost
Copy link

ghost commented Sep 18, 2023

Tagging subscribers to this area: @cston
See info in area-owners.md if you want to be subscribed.

Issue Details

Failed in: runtime-coreclr jitstress-random 20230917.1

Failed tests:

coreclr windows x64 Checked jitstress_random_2 @ Windows.10.Amd64.Open
    - Interop\\COM\\Dynamic\\Dynamic\\Dynamic.cmd

Error message:


Return code:      1
Raw output file:      C:\h\w\AF9F091C\w\AE880999\uploads\Reports\Interop.COM\Dynamic\Dynamic\Dynamic.output.txt
Raw output:
BEGIN EXECUTION
Copying 'C:\h\w\AF9F091C\p\CoreShim.dll'...
        1 file(s) copied.
 "C:\h\w\AF9F091C\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Dynamic.dll 
Running BasicTest
Test Failure: System.NotSupportedException: Specified method is not supported.
   at System.Runtime.InteropServices.Variant.GetAccessor(VarEnum varType) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/Variant.Extended.cs:line 244
   at Microsoft.CSharp.RuntimeBinder.ComInterop.VariantBuilder.InitializeArgumentVariant(MemberExpression variant, Expression parameter) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/VariantBuilder.cs:line 80
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.GenerateTryBlock() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 245
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.MakeIDispatchInvokeTarget() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 508
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.Invoke() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 157
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.TryPropertyPut(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 219
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.BindSetMember(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 194
   at System.Dynamic.SetMemberBinder.Bind(DynamicMetaObject target, DynamicMetaObject[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/SetMemberBinder.cs:line 56
   at System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/DynamicMetaObjectBinder.cs:line 81
   at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSiteBinder.cs:line 120
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 260
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 268
   at Dynamic.BasicTest.Null()
   at Dynamic.BasicTest.Run()
   at Dynamic.Program.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:\cores since 9/17/2023 7:55:46 PM
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\AF9F091C\p
> C:\h\w\AF9F091C\w\AE880999\e\Interop\COM\Dynamic\Dynamic\Dynamic.cmd
Expected: True
Actual:   False

Stack trace:

   at Interop_COM._Dynamic_Dynamic_Dynamic_._Dynamic_Dynamic_Dynamic_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Author: v-wenyuxu
Assignees: -
Labels:

area-Microsoft.CSharp, os-windows, JitStress, arch-x64

Milestone: -

@BruceForstall
Copy link
Member

@BruceForstall BruceForstall added the blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs label Sep 18, 2023
@agocke agocke added this to AppModel Sep 18, 2023
@jakobbotsch jakobbotsch added the Known Build Error Use this to report build issues in the .NET Helix tab label Sep 19, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Sep 19, 2023
@AaronRobinsonMSFT
Copy link
Member

AaronRobinsonMSFT commented Sep 19, 2023

I applied @EgorBo's fix in #92249 and this issue is no longer reproducible. I needed to set the following and it crashed reliably.

SET DOTNET_TieredCompilation=0
SET DOTNET_ReadyToRun=0
SET DOTNET_ZapDisable=1

@AaronRobinsonMSFT AaronRobinsonMSFT added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-Interop-coreclr labels Sep 19, 2023
@ghost
Copy link

ghost commented Sep 19, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Failed in: runtime-coreclr jitstress-random 20230917.1

Failed tests:

coreclr windows x64 Checked jitstress_random_2 @ Windows.10.Amd64.Open
    - Interop\\COM\\Dynamic\\Dynamic\\Dynamic.cmd

Error message:


Return code:      1
Raw output file:      C:\h\w\AF9F091C\w\AE880999\uploads\Reports\Interop.COM\Dynamic\Dynamic\Dynamic.output.txt
Raw output:
BEGIN EXECUTION
Copying 'C:\h\w\AF9F091C\p\CoreShim.dll'...
        1 file(s) copied.
 "C:\h\w\AF9F091C\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Dynamic.dll 
Running BasicTest
Test Failure: System.NotSupportedException: Specified method is not supported.
   at System.Runtime.InteropServices.Variant.GetAccessor(VarEnum varType) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/Variant.Extended.cs:line 244
   at Microsoft.CSharp.RuntimeBinder.ComInterop.VariantBuilder.InitializeArgumentVariant(MemberExpression variant, Expression parameter) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/VariantBuilder.cs:line 80
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.GenerateTryBlock() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 245
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.MakeIDispatchInvokeTarget() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 508
   at Microsoft.CSharp.RuntimeBinder.ComInterop.ComInvokeBinder.Invoke() in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComInvokeBinder.cs:line 157
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.TryPropertyPut(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 219
   at Microsoft.CSharp.RuntimeBinder.ComInterop.IDispatchMetaObject.BindSetMember(SetMemberBinder binder, DynamicMetaObject value) in /_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/IDispatchMetaObject.cs:line 194
   at System.Dynamic.SetMemberBinder.Bind(DynamicMetaObject target, DynamicMetaObject[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/SetMemberBinder.cs:line 56
   at System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/DynamicMetaObjectBinder.cs:line 81
   at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args) in /_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSiteBinder.cs:line 120
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 260
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) in /_/src/libraries/System.Linq.Expressions/src/System/Dynamic/UpdateDelegates.Generated.cs:line 268
   at Dynamic.BasicTest.Null()
   at Dynamic.BasicTest.Run()
   at Dynamic.Program.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:\cores since 9/17/2023 7:55:46 PM
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\AF9F091C\p
> C:\h\w\AF9F091C\w\AE880999\e\Interop\COM\Dynamic\Dynamic\Dynamic.cmd
Expected: True
Actual:   False

Stack trace:

   at Interop_COM._Dynamic_Dynamic_Dynamic_._Dynamic_Dynamic_Dynamic_cmd()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=410857
Build error leg or test failing: Interop\COM\Dynamic\Dynamic\Dynamic.cmd
Pull request: #92252

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.NotSupportedException: Specified method is not supported",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: v-wenyuxu
Assignees: -
Labels:

os-windows, JitStress, arch-x64, area-CodeGen-coreclr, untriaged, blocking-outerloop, in-pr, Known Build Error

Milestone: -

@AaronRobinsonMSFT AaronRobinsonMSFT removed the untriaged New issue has not been triaged by the area owner label Sep 19, 2023
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 9.0.0 milestone Sep 19, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Sep 19, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-outerloop Blocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs JitStress CLR JIT issues involving JIT internal stress modes Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants