Recently, we have had a few deployments fail on the Acquiring Packages step and will work just fine if we do a retry. It appears that Calamari agent crashed according the Windows event logs. Any ideas what may be causing this?
We are running Octopus Deploy v2018.6.6.
Activity failed with error ‘The remote script failed with exit code -1073740940’.
Octopus.Server.Orchestration.Targets.Tasks.ActivityFailedException
at Octopus.Server.Orchestration.ServerTasks.ParallelWorkOrder1.AssertNoErrorsOccured() at Octopus.Server.Orchestration.ServerTasks.ParallelWorkOrder
1.Execute()
at Octopus.Server.Orchestration.ServerTasks.Deploy.DeploymentTaskController.AcquirePackages(PlannedStep step)
at Octopus.Server.Orchestration.ServerTasks.Deploy.DeploymentTaskController.DispatchStep(PlannedStep step)
–Inner Exception–
Aggregate Exception
System.AggregateException
–Inner Exception 1–
The remote script failed with exit code -1073740940 Octopus.Server.Orchestration.Targets.Tasks.ActivityFailedException
at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionDispatch.SuccessArbitrator.ThrowIfNotSuccessfull(ScriptResult result)
at Octopus.Server.Orchestration.Targets.Common.PackageStagingMediator.TryFindPackageInCache(StoredPackage packageToPush, IEnumerable1 preconditions, StagedPackage& stagedPackage) at Octopus.Server.Orchestration.Targets.Common.PackageStagingMediator.DownloadPackageAndPushToAgent(PackageIdentity packageIdentity, IDeploymentPackageDownloader deploymentPackageDownloader, DeltaCompressionOptions deltaCompressionOptions, PackageCacheOptions packageCacheOptions, IEnumerable
1 preconditions)
at Octopus.Server.Orchestration.ServerTasks.Deploy.Steps.Acquire.AcquireMachinePackageTask.Acquire(AcquiredPackageMap acquiredPackageMap, ITaskContext taskContext, LogContext logContext)
at Octopus.Server.Orchestration.ServerTasks.Deploy.Guidance.Execute(Action callback, String actionName)
at Octopus.Server.Orchestration.ServerTasks.Deploy.DeploymentTaskController.ExecuteWithTransientErrorDetection(Action action, DeploymentTarget deploymentTarget)
at Octopus.Server.Orchestration.ServerTasks.OctoThreadClosure`1.Execute()
ServerTasks-122238.log.txt (62.3 KB)OctopusTentacle.txt (22.3 KB)