You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test failures: Microsoft.Extensions.Caching.Memory flakiness #33993
changed the title [-]mono test failure: Microsoft.Extensions.Caching.Memory.MemoryCacheSetAndRemoveTests.GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues[/-][+]Test failures: Microsoft.Extensions.Caching.Memory flakiness[/+]on Mar 26, 2020
Assert.True() Failure
Expected: True
Actual: False
Stack trace
at Microsoft.Extensions.Caching.Memory.CapacityTests.DoNotAddIfSizeOverflows() in /_/src/libraries/Microsoft.Extensions.Caching.Memory/tests/CapacityTests.cs:line 137
--- End of stack trace from previous location ---
Activity
[-]mono test failure: Microsoft.Extensions.Caching.Memory.MemoryCacheSetAndRemoveTests.GetAndSet_AreThreadSafe_AndUpdatesNeverLeavesNullValues[/-][+]Test failures: Microsoft.Extensions.Caching.Memory flakiness[/+]ericstj commentedon Mar 26, 2020
Duping this to #34128 since it has more data.
ericstj commentedon Mar 26, 2020
Reopen since tests are disabled against this
ericstj commentedon Mar 27, 2020
There may be more tests failing than just these. I sampled some of the logs listed in #34128 and see a couple other tests failing:
https://helix.dot.net/api/2019-06-17/jobs/69862130-a475-4556-96d7-896801bfcfec/workitems/Microsoft.Extensions.Caching.Memory.Tests/files/console.ed98370f.log
https://helix.dot.net/api/2019-06-17/jobs/7df59f03-64bf-479e-a50e-680591bfadde/workitems/Microsoft.Extensions.Caching.Memory.Tests/files/console.b7698877.log
I wonder if there is something broken with how we're testing these in dotnet/runtime? Maybe concurrency differences and shared state?
Disable Microsoft.Extensions.Caching.Memory.CapacityTests.DoNotAddIfS…
Disable Microsoft.Extensions.Caching.Memory.CapacityTests.DoNotAddIfS…
v-haren commentedon Jul 27, 2020
failed again in job: runtime-coreclr libraries-jitstress 20200726.1
failed test: Microsoft.Extensions.Caching.Memory.CapacityTests.DoNotAddIfSizeOverflows
Error message
3 remaining items
jkotas commentedon Jun 22, 2021
We still have 7 tests disabled against this issue.
danmoseley commentedon Jun 22, 2021
More commentary in #50270
jakobbotsch commentedon Jul 26, 2022
Failed again in https://dev.azure.com/dnceng/public/_build/results?buildId=1903569&view=ms.vss-test-web.build-test-results-tab&runId=49497968&resultId=111528&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab after the reenabling
danmoseley commentedon Jul 26, 2022
I'll disable that asap and create a new issue, for clarity, as this has covered other symptoms...
danmoseley commentedon Jul 26, 2022
#72879