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

Reverts IServiceBroker changes #48221

Merged
merged 5 commits into from
Oct 2, 2020
Merged

Conversation

tmat
Copy link
Member

@tmat tmat commented Oct 1, 2020

Fixes AB#1219902
Fixes AB#1223635
Fixes AB#1224230
Fixes AB#1202649
Fixes AB#1221938
Fixes AB#1223216

Reverts partially or in full the following commits:

@tmat tmat marked this pull request as ready for review October 2, 2020 05:15
@tmat tmat requested review from a team as code owners October 2, 2020 05:15
@tmat tmat added this to the 16.8.P4 milestone Oct 2, 2020
@sharwell
Copy link
Member

sharwell commented Oct 2, 2020

@tmat Can you update the first post to give a list of the pull requests which this change reverts?

@sharwell
Copy link
Member

sharwell commented Oct 2, 2020

Also I'm seeing this in the integration test results (does not appear in the current release/dev16.8 branch):

image

@tmat
Copy link
Member Author

tmat commented Oct 2, 2020

I had to revert some commits only partially not to break TypeScript. I also left some test changes in (test output helpers).
Generally any commit that was adding/changing ISB/MessagePack code was reverted.

@tmat
Copy link
Member Author

tmat commented Oct 2, 2020

The logs for the failing integration tests show:

10/02/2020 05:23:19 Coordinated Universal Time : Error : System.Threading.Tasks.TaskCanceledException: A task was canceled. HResult='-2146233029' 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_0.<<RequestServiceChannelAsync>b__0>d.MoveNext()
--- 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.ServiceHub.Utility.Shared.ServiceHubRetry.<ExecuteAsync>d__0`1.MoveNext()
10/02/2020 05:23:19 Coordinated Universal Time : Error : System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.<ExecuteAsync>d__0`1.MoveNext()
10/02/2020 05:23:19 Coordinated Universal Time : Error : System.OperationCanceledException: The operation was canceled. HResult='-2146233029' 
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.<ExecuteAsync>d__0`1.MoveNext()
10/02/2020 08:01:54 Coordinated Universal Time: Error : 1 :[ServiceHub.RoslynCodeAnalysisService:9212] Unexpected exception: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.CheckWriteOperations()
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.BufferedStream.Flush()
   at System.IO.BufferedStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.CodeAnalysis.Remote.RemoteEndPoint.<WriteDataToNamedPipeAsync>d__24`1.MoveNext() in /_/src/Workspaces/Remote/Core/RemoteEndPoint.cs:line 256
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.CodeAnalysisService.<>c__DisplayClass15_0.<<CalculateDiagnosticsAsync>b__0>d.MoveNext() in /_/src/Workspaces/Remote/ServiceHub/Services/CodeAnalysis/CodeAnalysisService_Diagnostics.cs:line 47
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.ServiceBase.<RunServiceAsync>d__17.MoveNext() in /_/src/Workspaces/Remote/ServiceHub/Services/ServiceBase.cs:line 127

and

10/02/2020 05:55:58 Coordinated Universal Time: Error : 1 :[devenv:10216] Unexpected exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key)
   at Microsoft.CodeAnalysis.Remote.SolutionAssetStorage.<GetAssetAsync>d__4.MoveNext() in /_/src/Workspaces/Remote/Core/SolutionAssetStorage.cs:line 67
--- 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 System.Threading.Tasks.ValueTask`1.get_Result()
   at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.RemoteHostAssetSerialization.<WriteDataAsync>d__0.MoveNext() in /_/src/Workspaces/Remote/Core/RemoteHostAssetSerialization.cs:line 35
--- 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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.RemoteEndPoint.<>c__DisplayClass23_0`1.<<WriteDataToNamedPipeAsync>b__0>d.MoveNext() in /_/src/Workspaces/Remote/Core/RemoteEndPoint.cs:line 227
--- 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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.RemoteEndPoint.<WriteDataToNamedPipeAsync>d__24`1.MoveNext() in /_/src/Workspaces/Remote/Core/RemoteEndPoint.cs:line 255
--- 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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.CodeAnalysis.Remote.ServiceHubRemoteHostClient.<GetAssetsAsync>d__19.MoveNext() in /_/src/Workspaces/Remote/Core/ServiceHubRemoteHostClient.cs:line 189

I have seen these kind of errors before ISB change went in as well.

@jinujoseph
Copy link
Contributor

Approved to merge post review

@ghost
Copy link

ghost commented Oct 2, 2020

Hello @Cosifne!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@Cosifne Cosifne removed the auto-merge label Oct 2, 2020
@jaredpar jaredpar merged commit 1e606ed into dotnet:release/dev16.8 Oct 2, 2020
333fred added a commit that referenced this pull request Oct 5, 2020
…features/interpolated-string-constants

* upstream/master: (222 commits)
  Update dependencies from https://github.com/dotnet/roslyn build 20201004.1 (#48325)
  Fix code generation for records with semi-colon (#48313)
  More native integer tests (#48266)
  Add contract calls to help track down issue.
  Move code
  Fix bugs
  Update Nerdbank.Streams to 2.6.81
  Reverts IServiceBroker changes (#48221)
  PR feedback
  Update Clashing Enum Members.md (#46816)
  Additional tests converting between native integers and 64-bit integers (#48229)
  Support checked and unchecked statements in formatting
  Add formatting tests with checked and unchecked
  Update src/EditorFeatures/CSharpTest/ConvertAutoPropertyToFullProperty/ConvertAutoPropertyToFullPropertyTests.cs
  Move and rename test.
  Add test
  Support feature when span is selected
  Update SG cookbook (#48182)
  Fix method consolidation
  Update buffer on UI thread
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants