Hi @clare.martin,
Replying on behalf of @bhagyashreesarode21.
Before sharing RAW output, We want to know which raw output your expecting. failed tenant one or success tenant raw output will do? Because Tenants are not getting failed. The error is getting reflected on ADO and not on octopus.
Few Tenants are getting deployed and and rest are not deployed since we have not checked the condition in ADO i.e. continue on failure.
API Calls which are getting successful for those tenants are getting deployed but API call sent to octopus which is not getting completed does not deploy the tenant. Please refer below image.
Today Again Our Pipeline got failed with Connection Issue. But this time the error message was different. This pipeline is scheduled from more than a month now but it has started failing from 5th MAY
Error message:
2022-05-09T10:39:27.4261485Z System.Net.Http.HttpRequestException: Error while copying content to a stream.
2022-05-09T10:39:27.4262184Z —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host…
2022-05-09T10:39:27.4262922Z —> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
2022-05-09T10:39:27.4263480Z — End of inner exception stack trace —
2022-05-09T10:39:27.4264068Z at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
2022-05-09T10:39:27.4264739Z at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
2022-05-09T10:39:27.4265543Z at System.Net.Security.SslStream.g__InternalFillBufferAsync|215_0[TReadAdapter](TReadAdapter adap, ValueTask`1 task, Int32 min, Int32 initial)
2022-05-09T10:39:27.4268100Z at System.Net.Security.SslStream.ReadAsyncInternal[TReadAdapter](TReadAdapter adapter, Memory`1 buffer)
2022-05-09T10:39:27.4268732Z at System.Net.Http.HttpConnection.FillAsync()
2022-05-09T10:39:27.4269354Z at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
2022-05-09T10:39:27.4270493Z at System.Net.Http.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
2022-05-09T10:39:27.4272745Z at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
2022-05-09T10:39:27.4273538Z — End of inner exception stack trace —
2022-05-09T10:39:27.4274172Z at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
2022-05-09T10:39:27.4274868Z at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
2022-05-09T10:39:27.4275678Z at Octopus.Client.OctopusAsyncClient.DispatchRequest[TResponseResource](OctopusRequest request, Boolean readResponse, CancellationToken cancellationToken)
2022-05-09T10:39:27.4276344Z at Octopus.Client.OctopusAsyncClient.Create[TResource](String path, TResource resource, Object pathParameters)
2022-05-09T10:39:27.4276913Z at Octopus.Client.Repositories.Async.BasicRepository`1.Create(TResource resource, Object pathParameters)
2022-05-09T10:39:27.4278258Z at Octopus.Cli.Commands.Deployment.DeploymentCommandBase.CreateDeploymentTask(ProjectResource project, ReleaseResource release, DeploymentPromotionTarget promotionTarget, ReferenceCollection specificMachineIds, ReferenceCollection excludedMachineIds, TenantResource tenant) in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\Deployment\DeploymentCommandBase.cs:line 444
2022-05-09T10:39:27.4279696Z at Octopus.Cli.Commands.Deployment.DeploymentCommandBase.DeployTenantedRelease(ProjectResource project, ReleaseResource release) in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\Deployment\DeploymentCommandBase.cs:line 182
2022-05-09T10:39:27.4280866Z at Octopus.Cli.Commands.Deployment.DeploymentCommandBase.DeployRelease(ProjectResource project, ReleaseResource release) in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\Deployment\DeploymentCommandBase.cs:line 233
2022-05-09T10:39:27.4281934Z at Octopus.Cli.Commands.Deployment.DeployReleaseCommand.Request() in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\Deployment\DeployReleaseCommand.cs:line 66
2022-05-09T10:39:27.4282897Z at Octopus.Cli.Commands.ApiCommand.Execute() in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\ApiCommand.cs:line 250
2022-05-09T10:39:27.4283729Z at Octopus.Cli.Commands.ApiCommand.Execute(String[] commandLineArguments) in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\Commands\ApiCommand.cs:line 236
2022-05-09T10:39:27.4284542Z at Octopus.Cli.CliProgram.Run(String[] args) in C:\buildAgent\workDir\289bf0fca31007af\source\Octopus.Cli\CliProgram.cs:line 52
2022-05-09T10:39:27.4285081Z Exit code: -3
2022-05-09T10:39:27.4602578Z ##[error]"Failed to deploy release. The process ‘C:\hostedtoolcache\windows\octo\7.4.3663\x64\octo.cmd’ failed with exit code 4294967293
Error: The process ‘C:\hostedtoolcache\windows\octo\7.4.3663\x64\octo.cmd’ failed with exit code 4294967293
at ExecState._setResult (D:\a\_tasks\OctopusDeployRelease_8ca1d96a-151d-44b7-bc4f-9251e2ea6971\3.1.131\node_modules\azure-pipelines-task-lib\toolrunner.js:942:25)
at ExecState.CheckComplete (D:\a\_tasks\OctopusDeployRelease_8ca1d96a-151d-44b7-bc4f-9251e2ea6971\3.1.131\node_modules\azure-pipelines-task-lib\toolrunner.js:925:18)
at ChildProcess.<anonymous> (D:\a\_tasks\OctopusDeployRelease_8ca1d96a-151d-44b7-bc4f-9251e2ea6971\3.1.131\node_modules\azure-pipelines-task-lib\toolrunner.js:838:19)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
Regards,
Ritvij Iyer