Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests fail to wait for async light bulb #57326

Closed
sharwell opened this issue Oct 22, 2021 · 0 comments · Fixed by #57316
Closed

Integration tests fail to wait for async light bulb #57326

sharwell opened this issue Oct 22, 2021 · 0 comments · Fixed by #57316
Assignees
Labels
Area-Infrastructure Integration-Test Test failures in roslyn-integration-CI
Milestone

Comments

@sharwell
Copy link
Member

sharwell commented Oct 22, 2021

https://dev.azure.com/dnceng/public/_build/results?buildId=1433408

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: The following expected item(s) not found:
Add reference to 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Actual items:

   at Microsoft.VisualStudio.IntegrationTest.Utilities.TestUtilities.ThrowIfExpectedItemNotFound[TCollection](IEnumerable`1 actual, IEnumerable`1 expected) in /_/src/VisualStudio/IntegrationTest/TestUtilities/TestUtilities.cs:line 46
   at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.TextViewWindow_OutOfProc.Verifier`1.CodeActions(IEnumerable`1 expectedItems, String applyFix, Boolean verifyNotShowing, Boolean ensureExpectedItemsAreOrdered, Nullable`1 fixAllScope, Boolean blockUntilComplete) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/TextViewWindow_OutOfProc.Verifier.cs:line 87
   at Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess.TextViewWindow_OutOfProc.Verifier`1.CodeAction(String expectedItem, Boolean applyFix, Boolean verifyNotShowing, Boolean ensureExpectedItemsAreOrdered, Nullable`1 fixAllScope, Boolean blockUntilComplete) in /_/src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/TextViewWindow_OutOfProc.Verifier.cs:line 46
   at Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpAddMissingReference.InvokeSomeFixesInCSharpThenVerifyReferences() in /_/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpAddMissingReference.cs:line 170
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Xunit.Sdk.TestInvoker`1.CallTestMethod(Object testClassInstance) in C:\projects\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 150
   at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\projects\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 257
--- 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 Xunit.Sdk.ExecutionTimer.<AggregateAsync>d__4.MoveNext() in C:\projects\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

01 14 30-CSharpAddMissingReference InvokeSomeFixesInCSharpThenVerifyReferences-TargetInvocationException

Build Kind Start Time
1425774 Rolling 2021-17-10
1427791 Rolling 2021-18-10
1427988 Rolling 2021-18-10
1428386 Rolling 2021-18-10
1429399 Rolling 2021-19-10
1430055 Rolling 2021-19-10
1430473 Rolling 2021-19-10
1431423 Rolling 2021-20-10
1431583 Rolling 2021-20-10
1431683 Rolling 2021-20-10
1432244 Rolling 2021-20-10
1433408 Rolling 2021-20-10
1433571 Rolling 2021-21-10
1434178 PR 57029 2021-21-10
1434238 PR 56197 2021-21-10
1434504 PR 57084 2021-21-10
1434988 PR 57284 2021-21-10
1435049 PR 57310 2021-21-10
1435154 PR 57307 2021-21-10
1435242 PR 57312 2021-21-10
1435190 PR 57290 2021-21-10
1435255 PR 57310 2021-21-10
1435421 PR 57228 2021-21-10
1435603 PR 57317 2021-22-10
1435875 PR 56008 2021-22-10
1435904 PR 57318 2021-22-10
1436044 PR 56008 2021-22-10
1436306 PR 54559 2021-22-10
1436469 Rolling 2021-22-10
1436461 PR 57318 2021-22-10
1436565 PR 57266 2021-22-10
1436574 Rolling 2021-22-10
1436611 Rolling 2021-22-10
1436655 Rolling 2021-22-10
1436642 Rolling 2021-22-10
1437112 Rolling 2021-22-10
1437223 Rolling 2021-22-10
1437358 Rolling 2021-23-10
1437770 Rolling 2021-23-10
1439735 Rolling 2021-25-10
1439891 Rolling 2021-25-10
1440015 Rolling 2021-25-10
1440020 Rolling 2021-25-10
1440029 Rolling 2021-25-10
1440265 Rolling 2021-26-10
1440695 PR 57029 2021-26-10
1440894 Rolling 2021-26-10
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 22, 2021
@sharwell sharwell added the Integration-Test Test failures in roslyn-integration-CI label Oct 22, 2021
@jinujoseph jinujoseph removed the untriaged Issues and PRs which have not yet been triaged by a lead label Oct 27, 2021
@jinujoseph jinujoseph added this to the 17.1 milestone Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure Integration-Test Test failures in roslyn-integration-CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants