-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[REGRESSION]: PublishCodeCoverageResults V2 doesn't publish with network errors #19811
Open
3 of 7 tasks
Labels
bug
regression
This used to work, but a change in the service/tasks broke it.
Task: PublishCodeCoverageResults
triage
Comments
gt97
added
bug
regression
This used to work, but a change in the service/tasks broke it.
labels
Apr 24, 2024
I had the same issue for AzureDevOpsServer. if I switch back to V1 version , it works well. V2 version
v1 version
|
I am using Azure Devops cloud so all connection are https Bye |
Same problem here with Azure Devops cloud. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
regression
This used to work, but a change in the service/tasks broke it.
Task: PublishCodeCoverageResults
triage
New issue checklist
Task name
PublishCodeCoverageResults
Breaking task version
2.238.1
Last working task version
1.238.3
Regression Description
Using the V2 version of PublishCodeCoverageResults I have network errors.
I am using a self hosted agent behind a corporate proxy.
No Issue using the V1 version
Looks to me the proxy configuration of the agent is not used.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows server 2022
Relevant log output
Full task logs with system.debug enabled
Could not connect to Azure Pipelines. System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (dev.azure.com:443)
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.EnsureConnectedAsync(ConnectOptions optionsNeeded, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.CheckForServerUpdatesAsync(CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.FindServiceDefinitionsAsync(String serviceType, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetResourceLocationsAsync(CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientInstanceAsync(Type managedType, Guid serviceIdentifier, CancellationToken cancellationToken, VssHttpRequestSettings settings, DelegatingHandler[] handlers)
at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientServiceImplAsync(Type requestedType, Guid serviceIdentifier, Func
4 getInstanceAsync, CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientAsync[T](CancellationToken cancellationToken) at Microsoft.VisualStudio.Services.WebApi.TaskExtensions.SyncResult[T](Task
1 task)at Microsoft.VisualStudio.Services.WebApi.VssConnection.GetClientT
at Microsoft.Azure.Pipelines.CoveragePublisher.Publishers.DefaultPublisher.ClientFactory.GetClientT in D:\a\1\s\src\CoveragePublisher\Publishers\DefaultPublisher\ClientFactory.cs:line 20
at Microsoft.Azure.Pipelines.CoveragePublisher.Publishers.DefaultPublisher.PipelinesTelemetry..ctor(IClientFactory clientFactory, Boolean enableTelemetryCollection) in D:\a\1\s\src\CoveragePublisher\Publishers\DefaultPublisher\PipelinesTelemetry.cs:line 23
at Microsoft.Azure.Pipelines.CoveragePublisher.Publishers.DefaultPublisher.AzurePipelinesPublisher..ctor(Boolean enableTelemetry) in D:\a\1\s\src\CoveragePublisher\Publishers\DefaultPublisher\AzurePipelinesPublisher.cs:line 58
at Microsoft.Azure.Pipelines.CoveragePublisher.Program.ProcessCoverage(PublisherConfiguration config, CancellationToken cancellationToken) in D:\a\1\s\src\CoveragePublisher.C
Repro steps
The text was updated successfully, but these errors were encountered: