Repository navigation
PreserializedResourceWriterTests.TestResourceManagerIsSafeForConcurrentAccessAndEnumeration test failure #86013
Copy link
Copy link
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-System.Resourcesblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Milestone
Description
Discovering: System.Resources.Extensions.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Resources.Extensions.Tests (found 26 test cases)
Starting: System.Resources.Extensions.Tests (parallel test collections = on, max threads = 2)
System.Resources.Extensions.Tests.PreserializedResourceWriterTests.TestResourceManagerIsSafeForConcurrentAccessAndEnumeration(useEnumeratorEntry: False) [FAIL]
Assert.True() Failure
Expected: True
Actual: False
Stack Trace:
/_/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs(531,0): at System.Resources.Extensions.Tests.PreserializedResourceWriterTests.TestResourceManagerIsSafeForConcurrentAccessAndEnumeration(Boolean useEnumeratorEntry)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Finished: System.Resources.Extensions.Tests
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=266915
Build error leg or test failing: System.Resources.Extensions.Tests.PreserializedResourceWriterTests.TestResourceManagerIsSafeForConcurrentAccessAndEnumeration
Pull request: #85962
Error Message
Fill the error message using known issues guidance.
{
"ErrorMessage": "System.Resources.Extensions.Tests.PreserializedResourceWriterTests.TestResourceManagerIsSafeForConcurrentAccessAndEnumeration",
"BuildRetry": true,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}Report
| Build | Definition | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 270335 | dotnet/runtime | Send to Helix | Log | #86091 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 3 | 13 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarea-System.Resourcesblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Activity
buyaa-n commentedon May 16, 2023
Related to #75054 CC: @madelson the test still fails occasionally
madelson commentedon May 17, 2023
@buyaa-n I assume we're hitting timeouts/contention? Do you think it would help to use
TaskCreationOptions.LongRunningwhen creating the threads here?We could also increase the timeout even more than what it currently is.
buyaa-n commentedon May 23, 2023
Yes
That was actually suggested previously and apparently you applied the suggestion only to
ResourceManagerTests.csruntime/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs
Lines 262 to 266 in ce689d9
Please apply the suggestion to this test too, thanks!
Update BinaryResourceWriterUnitTest.cs
Fix timeouts in resourcemanager test (#86680)