dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.99k stars 4.67k forks source link

[8.0] 'RanToCompletion' failure in System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease_Post #92804

Open carlossanlop opened 12 months ago

carlossanlop commented 12 months ago

Error Blob

{
  "ErrorMessage": "System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease_Post [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

C:\h\w\B0F0099E\w\AA000950\e>"C:\h\w\B0F0099E\p\dotnet.exe" exec --runtimeconfig System.Threading.RateLimiting.Tests.runtimeconfig.json --depsfile System.Threading.RateLimiting.Tests.deps.json xunit.console.dll System.Threading.RateLimiting.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
Discovering: System.Threading.RateLimiting.Tests (method display = ClassAndMethod, method display options = None) Discovered: System.Threading.RateLimiting.Tests (found 275 test cases) Starting: System.Threading.RateLimiting.Tests (parallel test collections = on, max threads = 4) System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLeasePost [FAIL] Assert.Same() Failure Expected: Task { Status = Running } Actual: Task { Status = RanToCompletion } Stack Trace: //src/libraries/System.Threading.RateLimiting/tests/ConcurrencyLimiterTests.cs(167,0): at System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease(Action`2 attachHook) --- End of stack trace from previous location --- Finished: System.Threading.RateLimiting.Tests === TEST EXECUTION SUMMARY === System.Threading.RateLimiting.Tests Total: 275, Errors: 0, Failed: 1, Skipped: 0, Time: 6.134s ----- end Thu 09/28/2023 13:42:41.57 ----- exit code 1 ----------------------------------------------------------


<!-- Known issue validation start -->
 ### Known issue validation
**Build: :mag_right:** https://dev.azure.com/dnceng-public/public/_build/results?buildId=421749
**Error message validated:** `System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease_Post [FAIL]`
**Result validation: :x:** Known issue did not match with the provided build.
**Validation performed at:** 9/29/2023 1:06:18 AM UTC
<!-- Known issue validation end -->
<!--Known issue error report start -->

### Report
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|
<!--Known issue error report end -->
ghost commented 12 months ago

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

Issue Details
### Error Blob ```json { "ErrorMessage": "System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease_Post [FAIL]", "BuildRetry": false, "ErrorPattern": "", "ExcludeConsoleLog": true } ``` ### Reproduction Steps - Affected 8.0 PR: https://github.com/dotnet/runtime/pull/92762 - Run: `Libraries Test Run checked coreclr windows x86 Debug` - Job: https://dev.azure.com/dnceng-public/public/_build/results?buildId=421749&view=logs&j=f1f3e473-935f-5de7-3348-701fec448dfb&t=0644e1d9-cbee-5379-e020-5995b9f78358&l=56 - Artifacts: https://dev.azure.com/dnceng-public/public/_build/results?buildId=421749&view=ms.vss-test-web.build-test-results-tab&runId=9265494&resultId=162839&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab - Log file: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-92762-merge-7b1c426ed16c4d42ab/System.Threading.RateLimiting.Tests/1/console.20a587af.log?helixlogtype=result - Output: ``` =========================================================================================================== C:\h\w\B0F0099E\w\AA000950\e>"C:\h\w\B0F0099E\p\dotnet.exe" exec --runtimeconfig System.Threading.RateLimiting.Tests.runtimeconfig.json --depsfile System.Threading.RateLimiting.Tests.deps.json xunit.console.dll System.Threading.RateLimiting.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing Discovering: System.Threading.RateLimiting.Tests (method display = ClassAndMethod, method display options = None) Discovered: System.Threading.RateLimiting.Tests (found 275 test cases) Starting: System.Threading.RateLimiting.Tests (parallel test collections = on, max threads = 4) System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease_Post [FAIL] Assert.Same() Failure Expected: Task { Status = Running } Actual: Task { Status = RanToCompletion } Stack Trace: /_/src/libraries/System.Threading.RateLimiting/tests/ConcurrencyLimiterTests.cs(167,0): at System.Threading.RateLimiting.Test.ConcurrencyLimiterTests.DoesNotDeadlockCleaningUpCanceledRequestedLease(Action`2 attachHook) --- End of stack trace from previous location --- Finished: System.Threading.RateLimiting.Tests === TEST EXECUTION SUMMARY === System.Threading.RateLimiting.Tests Total: 275, Errors: 0, Failed: 1, Skipped: 0, Time: 6.134s ----- end Thu 09/28/2023 13:42:41.57 ----- exit code 1 ---------------------------------------------------------- ```
Author: carlossanlop
Assignees: -
Labels: `area-System.Threading`, `blocking-clean-ci`, `Known Build Error`
Milestone: -
mangod9 commented 11 months ago

@BrennanConroy are you tracking these failures in 8?

BrennanConroy commented 11 months ago

I am for 9. I guess we'll want to backport to 8 once we fix it?

mangod9 commented 11 months ago

@carlossanlop can comment whether its disrupting runs on 8 for the fix to be backported

jeffschwMSFT commented 7 months ago

removing blocking-clean-ci as it has not been hit in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0