-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
How to run GC/Stress/Framework/ReliabilityFramework/ReliabilityFramework.sh
on linux ?
#74333
Comments
Tagging subscribers to this area: @hoyosjs Issue DetailsHow to run the There is only the command on the windows If setting System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Win32.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'Microsoft.Win32.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
---> System.IO.FileNotFoundException: Could not load file or assembly '/home/qiao/work_qiao/dotnet-runtime-loongarch/artifacts/tests/coreclr/Linux.x64.Debug/GC/Stress/Framework/ReliabilityFramework/Tests/Microsoft.Win32.Primitives.dll'. The system cannot find the file specified.
|
Tagging subscribers to this area: @dotnet/gc Issue DetailsHow to run the There is only the command on the windows If setting System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Win32.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'Microsoft.Win32.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
---> System.IO.FileNotFoundException: Could not load file or assembly '/home/qiao/work_qiao/dotnet-runtime-loongarch/artifacts/tests/coreclr/Linux.x64.Debug/GC/Stress/Framework/ReliabilityFramework/Tests/Microsoft.Win32.Primitives.dll'. The system cannot find the file specified.
|
@cshung, I know you had run this recently. Do we have instructions? |
These commands should work, I just tested them on the latest main branch.
|
Thanks I will test it on the latest main branch. But the branch6.0 on the tag 6.0.8, the debug is not ok which liking the errors within the descrition. Why? |
I had tested by these commands, it's only ok for the latest main branch but still error for branch6.0 with the tag6.0.8. the latest main branch: (tests are running....)
but the release6.0 with tag6.0.8 is error:
|
@anthonycanino, can you debug why we try to load |
Looking into it |
Looks like there is some platform dependent code in some of the debug break setup: https://github.com/dotnet/runtime/blob/main/src/tests/GC/Stress/Framework/ReliabilityFramework.cs#L509-L516 Locally, I have placed if directives around https://github.com/dotnet/runtime/blob/main/src/tests/GC/Stress/Framework/ReliabilityFramework.cs#L538-L542 and it seems to work now. I am not sure how you'd like to handle, I can open up a PR for that change, though that wouldn't offer the same level of feature on Linux. |
Can you replace those with these APIs?
These should be cross-platform friendly. @dotnet/dotnet-diag on potential functional differences. |
How to run the
artifacts/tests/coreclr/Linux.x64.Debug/GC/Stress/Framework/ReliabilityFramework/ReliabilityFramework.sh
on x64-linux ?There is only the command on the windows
https://github.com/dotnet/runtime/blob/main/docs/workflow/testing/coreclr/gc-stress-run-readme.md
.If setting
RunningLongGCTests=1
and running theartifacts/tests/coreclr/Linux.x64.Debug/GC/Stress/Framework/ReliabilityFramework/ReliabilityFramework.sh
, there will be a error (the following is the runtime6.0.8):The text was updated successfully, but these errors were encountered: