-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 System.Runtime.InteropServices.HandleCollectorTests.TestHandleCollector #66571
Comments
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsRun: runtime-coreclr libraries-jitstressregs 20220313.1 Failed test:
Error message:
|
This might not be only JitStress (I'm seeing intermittent repros in some PR failures in the runtime pipeline), but JitStress might be the best way to repro it |
Failed again in: runtime-coreclr libraries-jitstress 20220322.1 Failed test:
Error message:
|
Failed again in: runtime-coreclr libraries-jitstress 20220405.1 Failed test:
Error message:
|
Failed again in: runtime-coreclr libraries-jitstress 20220413.1 Failed test:
Error message:
|
Happened again in https://dev.azure.com/dnceng/public/_build/results?buildId=1726335&view=ms.vss-test-web.build-test-results-tab&runId=46812918&resultId=146155&paneView=debug. I converted this issue to a live tracking one. @AaronRobinsonMSFT @jkoritzinsky @jeffschwMSFT can you please take a look and disable the test if necessary? It hits 3 times per day... |
@ViktorHofer Someone will look into this today. |
@AaronRobinsonMSFT it looks like this is still happening
13 hits in the past five days after #68285 went in: https://runfo.azurewebsites.net/search/tests/?q=started%3A%7E5+definition%3Aruntime+name%3ATestHandleCollector |
@elinor-fung Thanks for keeping an eye on this. The new logging is very interesting. Based on the above log output there is something odd going on here. The
Lines 141 to 145 in 2ea67f1
The ctor for Lines 160 to 165 in 2ea67f1
I'm not really sure what is occurring, and I've been unable to reproduce this locally under any |
This test can be running together with all other System.Runtime.InteropServices tests. Those other tests can be allocating and triggering GCs (ie altering the global state that this test asserts are based on). Is the logic of the test robust against that? |
Yes, I believe so. All we are attempting to validate is that the sum of Let me confirm again the logic in |
Failed again in: runtime-coreclr libraries-jitstress 20220427.1 Failed test:
Error message:
|
I finally see what is going on here. This is a classic lack of memory pressure and the GC is making the right call and saying: "leave me alone". I am working on a fix to provide the needed pressure. |
Run: runtime-coreclr libraries-jitstressregs 20220313.1
Failed test:
Error message:
Runfo Tracking Issue: system.runtime.interopservices.handlecollectortests.testhandlecollector
Build Result Summary
The text was updated successfully, but these errors were encountered: