This issue has cropped up on another server with a different package and is happening on upload there. Server 2012 this time
Here is the log snippet :
12:14:57 Info | No earlier versions of WindowsInstallerExecute-PS1 were found on the target so we canāt perform a delta upload.
12:14:57 Info | Uploading package WindowsInstallerExecute-PS1 (6.288 KB)ā¦
12:14:57 Verbose | Requesting uploadā¦
12:14:57 Info | Beginning streaming transfer of WindowsInstallerExecute-PS1@S2.0.2.0@8C03D3E534143745B0EE6A21B1CF1E71.nupkg
12:14:58 Info | Stream transfer complete
|
| Failed: FO-BEEF-WS1V
12:14:41 Fatal | The archive entry was compressed using an unsupported compression method.
| Server exception:
| System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
| at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
| at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
| at System.IO.Compression.Inflater.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
| at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
| at System.IO.Compression.DeflateStream.ReadCore(Span1 buffer) | at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count) | at System.IO.BinaryReader.InternalRead(Int32 numBytes) | at System.IO.BinaryReader.ReadInt32() | at Newtonsoft.Json.Bson.BsonDataReader.ReadNormal() | at Newtonsoft.Json.Bson.BsonDataReader.Read() | at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) | at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) | at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) | at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader) | at Halibut.Transport.Protocol.MessageExchangeStream.ReadBsonMessage[T]() | at Halibut.Transport.Protocol.MessageExchangeStream.Receive[T]() | at Halibut.Transport.Protocol.MessageExchangeProtocol.ProcessReceiverInternalAsync(IPendingRequestQueue pendingRequests, RequestMessage nextRequest) 12:14:41 Verbose | at Halibut.ServiceModel.HalibutProxy.EnsureNotError(ResponseMessage responseMessage) | at Halibut.ServiceModel.HalibutProxy.Invoke(MethodInfo targetMethod, Object[] args) | --- End of stack trace from previous location where exception was thrown --- | at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args) | at generatedProxy_1.StartScript(StartScriptCommand ) | at Octopus.Server.Orchestration.Targets.Tentacles.TentacleRemoteEndpointFacade.ExecuteCommand(StartScriptCommand command) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\Targets\Tentacles\TentacleRemoteEndpointFacade.cs:line 61 | at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionExecution.Immediate.ExecutionTargets.TentacleExecutionTarget.Execute(ScriptCollection bootstrapperScripts, IReadOnlyList
1 boostrapperArguments, IReadOnlyList1 files, Nullable
1 forceIsolationLevel, Boolean raw, Nullable1 isolationMutexTimeout) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionExecution\Immediate\ExecutionTargets\TentacleExecutionTarget.cs:line 48 | at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionExecution.Immediate.ImmediateExecutor.RunOnTarget(ScriptCollection finalBootstrapperScripts, IReadOnlyList
1 bootstrapperArguments, IReadOnlyList1 allFiles, Nullable
1 isolation, Nullable1 isolationMutexTimeout, CalamariFlavour flavour, IReadOnlyList
1 deploymentTools) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionExecution\Immediate\ImmediateExecutor.cs:line 206
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionExecution.Immediate.ImmediateExecutor.ExecuteCalamari(CalamariFlavour calamariFlavour, String calamariCommand, IReadOnlyList1 calamariArguments, IReadOnlyList
1 files, IReadOnlyList1 deploymentTools, VariableCollection extraVariables, TargetManifest targetManifest, Nullable
1 isolationMutexTimeout) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionExecution\Immediate\ImmediateExecutor.cs:line 162
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionExecution.CommandBuilders.CalamariCommandBuilder.Execute() in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionExecution\CommandBuilders\CalamariCommandBuilder.cs:line 143
| at Octopus.Server.Orchestration.ServerTasks.Deploy.Steps.Acquire.PackageAcquisitionExecutionHandlers.<>c__DisplayClass3_0.b__0(IActionHandlerContext ctx) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\Steps\Acquire\PackageAcquisitionExecutionHandlers.cs:line 32
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionDispatch.AdHocActionDispatcher.InvokeActionHandler(Machine target, ActionHandlerInvocation actionHandler, ActionAndTargetScopedVariables actionAndTargetScopedVariables, IExecutor executor, TargetManifest targetManifest) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionDispatch\AdHocActionDispatcher.cs:line 167
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionDispatch.AdHocActionDispatcher.ExecuteOnDeploymentTarget(DeploymentTarget deploymentTarget, ActionHandlerInvocation actionHandler, TargetManifest targetManifest) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionDispatch\AdHocActionDispatcher.cs:line 145
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionDispatch.AdHocActionDispatcher.Dispatch(Machine machine, ActionHandlerInvocation actionHandler, VariableCollection variables) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ActionDispatch\AdHocActionDispatcher.cs:line 62
| at Octopus.Server.Orchestration.ServerTasks.Deploy.Steps.Acquire.PackageAcquisitionExecutionHandlers.FindPackage(String packageId, IVersion version, String packageHash, PackageSearchOptions packageSearchOptions) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\Steps\Acquire\PackageAcquisitionExecutionHandlers.cs:line 40
| at Octopus.Server.Orchestration.Targets.Common.PackageStagingMediator.TryFindPackageInCache(StoredPackage packageToPush, PackageAcquisitionExecutionHandlers execs, StagedPackage& stagedPackage) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\Targets\Common\PackageStagingMediator.cs:line 118
| at Octopus.Server.Orchestration.Targets.Common.PackageStagingMediator.PushPackage(PackageIdentity packageIdentity, StoredPackage packageToPush, IDeploymentPackageDownloader deploymentPackageDownloader, DeltaCompressionOptions deltaCompressionOptions, PackageCacheOptions packageCacheOptions, PackageAcquisitionExecutionHandlers execs) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\Targets\Common\PackageStagingMediator.cs:line 99
| at Octopus.Server.Orchestration.Targets.Common.PackageStagingMediator.DownloadPackageAndPushToAgent(PackageIdentity packageIdentity, IDeploymentPackageDownloader deploymentPackageDownloader, DeltaCompressionOptions deltaCompressionOptions, PackageCacheOptions packageCacheOptions, PackageAcquisitionExecutionHandlers execs) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\Targets\Common\PackageStagingMediator.cs:line 68
| at Octopus.Server.Orchestration.ServerTasks.Deploy.Steps.Acquire.AcquireMachinePackageTask.StagePackage(PackageAcquisitionExecutionHandlers packageAcquisitionHandlers) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\Steps\Acquire\AcquireMachinePackageTask.cs:line 156
| at Octopus.Server.Orchestration.ServerTasks.Deploy.Steps.Acquire.AcquireMachinePackageTask.Acquire(AcquiredPackageMap acquiredPackageMap, ITaskContext taskContext, LogContext logContext) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\Steps\Acquire\AcquireMachinePackageTask.cs:line 124
| at Octopus.Server.Orchestration.ServerTasks.Deploy.Guidance.ExecuteWithoutGuidance(Action callback, String actionName, Boolean actionIsRequiredToRun) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\Guidance.cs:line 132
| at Octopus.Server.Orchestration.ServerTasks.Deploy.ExecutionTaskController1.<>c__DisplayClass38_1.<AcquirePackages>b__1() in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ExecutionTaskController.cs:line 347 | at Octopus.Server.Orchestration.ServerTasks.Deploy.ExecutionTaskController
1.ExecuteWithTransientErrorDetection(Action action, DeploymentTarget deploymentTarget) in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\Deploy\ExecutionTaskController.cs:line 683
| at Octopus.Server.Orchestration.ServerTasks.OctoThreadClosure`1.Execute() in C:\buildAgent\work\7881e50627116cb\source\Octopus.Server\Orchestration\ServerTasks\OctoThreadClosure.cs:line 71
|
| Success: Upload package BrowserControl v3.1.6.0
12:13:04 Verbose | Using Calamari.netfx 13.0.12
12:13:04 Verbose | Using Calamari.linux-x64 13.0.12
12:13:06 Verbose | Executable directory is C:\Windows\system32\WindowsPowershell\v1.0
12:13:06 Verbose | Executable name or full path: C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe
12:13:06 Verbose | No user context provided. Running as current user.
12:13:06 Verbose | Starting C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in working directory āC:\Octopus\Work\20201104181304-65596-8ā using āOEM United Statesā encoding running as āNT SERVICE\OctopusDeploy Tentacleā with the same environment variables as the launching process
12:13:10 Verbose | Calamari Version: 13.0.12
12:13:10 Verbose | Environment Information:
12:13:10 Verbose | OperatingSystem: Microsoft Windows NT 6.3.9600.0
12:13:10 Verbose | OsBitVersion: x64
12:13:10 Verbose | Is64BitProcess: True
12:13:10 Verbose | CurrentUser: NT SERVICE\OctopusDeploy Tentacle
12:13:10 Verbose | MachineName: FO-BEEF-WS1V
12:13:10 Verbose | ProcessorCount: 2
12:13:10 Verbose | CurrentDirectory: C:\Octopus\Work\20201104181304-65596-8
12:13:10 Verbose | TempDirectory: C:\SPCentral\Temp
12:13:10 Verbose | HostProcess: Calamari (108)
12:13:11 Verbose | Package BrowserControl version 3.1.6.0 hash fa7bcda450843a66dedb36fa0426321d7b4108d1 has not been uploaded.
12:13:11 Verbose | Finding earlier packages that have been uploaded to this Tentacle.
12:13:11 Verbose | No earlier packages for BrowserControl has been uploaded
12:13:11 Verbose | Found 0 earlier versions of BrowserControl on this Tentacle
12:13:11 Verbose | Process C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in C:\Octopus\Work\20201104181304-65596-8 exited with code 0
12:13:11 Verbose | Exit code: 0
12:13:11 Verbose | Using Calamari.netfx 13.0.12
12:13:11 Verbose | Using Calamari.linux-x64 13.0.12
12:13:12 Verbose | Executable directory is C:\Windows\system32\WindowsPowershell\v1.0
12:13:12 Verbose | Executable name or full path: C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe
12:13:12 Verbose | No user context provided. Running as current user.
12:13:12 Verbose | Starting C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in working directory āC:\Octopus\Work\20201104181311-65596-9ā using āOEM United Statesā encoding running as āNT SERVICE\OctopusDeploy Tentacleā with the same environment variables as the launching process
12:13:17 Verbose | Calamari Version: 13.0.12
12:13:17 Verbose | Environment Information:
12:13:17 Verbose | OperatingSystem: Microsoft Windows NT 6.3.9600.0
12:13:17 Verbose | OsBitVersion: x64
12:13:17 Verbose | Is64BitProcess: True
12:13:17 Verbose | CurrentUser: NT SERVICE\OctopusDeploy Tentacle
12:13:17 Verbose | MachineName: FO-BEEF-WS1V
12:13:17 Verbose | ProcessorCount: 2
12:13:17 Verbose | CurrentDirectory: C:\Octopus\Work\20201104181311-65596-9
12:13:17 Verbose | TempDirectory: C:\SPCentral\Temp
12:13:17 Verbose | HostProcess: Calamari (8484)
12:13:18 Verbose | Package BrowserControl version 3.1.6.0 hash fa7bcda450843a66dedb36fa0426321d7b4108d1 has not been uploaded.
12:13:18 Verbose | Finding earlier packages that have been uploaded to this Tentacle.
12:13:18 Verbose | No earlier packages for BrowserControl has been uploaded
12:13:18 Verbose | Found 0 earlier versions of BrowserControl on this Tentacle
12:13:18 Verbose | Process C:\Windows\system32\WindowsPowershell\v1.0\PowerShell.exe in C:\Octopus\Work\20201104181311-65596-9 exited with code 0
12:13:18 Verbose | Exit code: 0
12:13:18 Info | No earlier versions of BrowserControl were found on the target so we canāt perform a delta upload.
12:13:18 Info | Uploading package BrowserControl (59.47 MB)ā¦
12:13:18 Verbose | Requesting uploadā¦
12:13:18 Info | Beginning streaming transfer of BrowserControl@S3.1.6.0@5AFCE5FC2D7D0447A39CC736D1B79717.nupkg
12:13:20 Info | Stream transfer complete
|
| Failed: Upload package WindowsInstallerExecute-PS1 v2.0.2.0
12:14:41 Verbose | Using Calamari.netfx 13.0.12
12:14:41 Verbose | Using Calamari.linux-x64 13.0.12