Open buyaa-n opened 1 year ago
Tagging subscribers to this area: @dotnet/gc See info in area-owners.md if you want to be subscribed.
Author: | buyaa-n |
---|---|
Assignees: | - |
Labels: | `area-GC-coreclr`, `blocking-clean-ci`, `untriaged`, `Known Build Error` |
Milestone: | - |
these all have to do with running finalizers and we haven't made any changes there in a long time. these tests are flaky and of low value. I'd be fine if we just disabled them.
I'm not aware anyone is using this HandleCollector
thing.
Still being hit. Seen in this 6.0 PR today: https://github.com/dotnet/runtime/pull/86295
should we disable these tests, @Maoni0 ?
I'm fine with disabling.
Mono llvmaot Pri0 Runtime Tests Run Linux arm64 release
Hit this again in a 6.0 PR:
Starting: GC.API.XUnitWrapper (parallel test collections = on, max threads = 2)
GC/API/GCHandleCollector/Usage/Usage.sh [FAIL]
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Expected: True
Actual: False
Stack Trace:
at GC_API._GCHandleCollector_Usage_Usage_._GCHandleCollector_Usage_Usage_sh()
Output:
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Still happening in 6.0 @dotnet/gc. This is the most recent hit:
Mono llvmaot Pri0 Runtime Tests Run Linux arm64 release
Starting: GC.API.XUnitWrapper (parallel test collections = on, max threads = 2)
GC/API/GCHandleCollector/Usage/Usage.sh [FAIL]
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Expected: True
Actual: False
Stack Trace:
at GC_API._GCHandleCollector_Usage_Usage_._GCHandleCollector_Usage_Usage_sh()
Output:
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Finished: GC.API.XUnitWrapper
I saw a new hit today. Did we get a chance to disable the test or did we miss it?:
Mono llvmaot Pri0 Runtime Tests Run Linux arm64 release
Output:
Starting: GC.API.XUnitWrapper (parallel test collections = on, max threads = 2)
GC/API/GCHandleCollector/Usage/Usage.sh [FAIL]
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Expected: True
Actual: False
Stack Trace:
at GC_API._GCHandleCollector_Usage_Usage_._GCHandleCollector_Usage_Usage_sh()
Output:
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Finished: GC.API.XUnitWrapper
Still affecting 6.0. Example: https://github.com/dotnet/runtime/pull/99787
Mono llvmaot Pri0 Runtime Tests Run Linux arm64 release
Output:
Starting: GC.API.XUnitWrapper (parallel test collections = on, max threads = 2)
GC/API/GCHandleCollector/Usage/Usage.sh [FAIL]
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Expected: True
Actual: False
Stack Trace:
at GC_API._GCHandleCollector_Usage_Usage_._GCHandleCollector_Usage_Usage_sh()
Output:
Unhandled Exception:
System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handle collector count overflows or underflows.
at System.Runtime.InteropServices.HandleCollector.Remove()
at HandleCollectorTest.Finalize()
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/Reports/GC.API/GCHandleCollector/Usage/Usage.output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false Usage.dll ''
Case 1 Passed!
100, 100
Case 2 Passed!
Expected: 100
Actual: 255
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/e/GC/API/GCHandleCollector/Usage/Usage.sh
Finished: GC.API.XUnitWrapper
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=603897 Build error leg or test failing: GC/API/GCHandleCollector/Usage/Usage.sh Pull request: https://github.com/dotnet/runtime/pull/81291
Error Message
Fill the error message using known issues guidance.
Failed tests:
Report
Summary
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=603897 Error message validated:
[System.InvalidOperationException: Handle collector count overflows or underflows.
] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 3/14/2024 10:51:23 PM UTC