microsoft / microsoft/vs-threading
Unstable test: ToTaskOnHandleSignaledAfterNonZeroTimeout
Open
Nobody has claimed this yet.
test bug
- Dominant language
- C#
- Stars
- 1k
- Forks
- 160
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 28
Description
In this build
X ToTaskOnHandleSignaledAfterNonZeroTimeout [1s 933ms]
Error Message:
System.TimeoutException : The operation has timed out.
Stack Trace:
at Microsoft.VisualStudio.Threading.TplExtensions.<WithTimeout>d__5.MoveNext() in d:\a\1\s\src\Microsoft.VisualStudio.Threading\TplExtensions.cs:line 83
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.TplExtensions.<WithTimeout>d__6`1.MoveNext() in d:\a\1\s\src\Microsoft.VisualStudio.Threading\TplExtensions.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.Tests.TplExtensionsTests.<ToTaskOnHandleSignaledAfterNonZeroTimeout>d__44.MoveNext() in d:\a\1\s\src\Microsoft.VisualStudio.Threading.Tests\TplExtensionsTests.cs:line 752
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Microsoft.VisualStudio.Threading.Tests/TplExtensionsTests.cs, especially ToTaskOnHandleSignaledAfterNonZeroTimeout at line 752, then inspect the related timeout path in Microsoft.VisualStudio.Threading/TplExtensions.cs at lines 83 and 107. Run the named test and use the linked build failure to investigate the intermittent timeout. Done means the test no longer fails intermittently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100