Error with long running step after update to 1.1.3

We are in the evaluation period of Octopus and now get an error with a very long running task (over 3 hours) in one of our steps.
After the update to the latest version 1.1.3.1410 we got the error from the tentacle, before (old version) it worked without the error.
This might be an issue with the new real-time output of the tentacle. We tried it several times, it always produces this kind of error now.
The last command itself was executed completely.

Here is the error message from the tentacle:
2012-11-07 16:45:29 INFO Begin deployment
[…]
2012-11-07 17:52:33 INFO Command: C:\Software\mongodb\bin\mongo.exe localhost/TA-SC --quiet C:\Octopus\Applications\TA-SC\PS.KnowledgeBase.Mongo\1.0.4_1\TA.20121106\Scripts\ensureIndexes.js
2012-11-07 20:23:10 ERROR System.Runtime.Remoting.RemotingException: Object ‘/56be1989_5ba2_418e_9f5b_9e0b8150f775/vcp1l6efulxltnqj0ejr9s6d_8.rem’ has been disconnected or does not exist at the server.
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellArguments.get_OutputStream()
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 78
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments)
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 25
at Octopus.Tentacle.Deployment.Conventions.PowerShellConvention.RunScript(String scriptName, ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Conventions\PowerShellConvention.cs:line 36
at Octopus.Tentacle.Deployment.DeploymentController.RunInstallConventions(ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 89
at Octopus.Tentacle.Deployment.DeploymentController.Execute(PackageMetadata package, VariableDictionary variables, IActivityLog log) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 42

Thanks for your help in advance,
Thomas

Hi Thomas,

Thanks for letting me know, I’ll fix this in the next release by ensuring the code using remoting uses an infinite lease in future.

Paul

Hi Paul,

I think we are seeing the same issue here after we upgraded see event information below, is there a work around as we currently cannot deploy any software using Octopusdeploy.
Thanks
David

Log Name: Application
Source: Octopus
Date: 12/11/2012 11:43:00
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: PSVR-DEV-BLD-1.dev.purity.local
Description:
2012-11-12 11:43:00,363 [5] ERROR Octopus [(null)] - Error while executing job: Object ‘/43527d6e_1f06_4154_9d6b_e9d6d6951097/spd6te_4gdxcqrlgb05zncgf_4.rem’ has been disconnected or does not exist at the server.
System.Runtime.Remoting.RemotingException: Object ‘/43527d6e_1f06_4154_9d6b_e9d6d6951097/spd6te_4gdxcqrlgb05zncgf_4.rem’ has been disconnected or does not exist at the server.
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellArguments.get_OutputStream()
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 78
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments)
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 25
at Octopus.Tentacle.Deployment.Conventions.PowerShellConvention.RunScript(String scriptName, ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Conventions\PowerShellConvention.cs:line 36
at Octopus.Tentacle.Deployment.DeploymentController.RunInstallConventions(ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 89
at Octopus.Tentacle.Deployment.DeploymentController.Execute(PackageMetadata package, VariableDictionary variables, IActivityLog log) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 52
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at Octopus.Tentacle.Services.Jobs.JobQueue.RunDeploymentsOnBackgroundThread(Object ignored) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Services\Jobs\JobQueue.cs:line 81

Event Xml:



0
2
0
0x80000000000000

29479
Application
PSVR-DEV-BLD-1.dev.purity.local



2012-11-12 11:43:00,363 [5] ERROR Octopus [(null)] - Error while executing job: Object ‘/43527d6e_1f06_4154_9d6b_e9d6d6951097/spd6te_4gdxcqrlgb05zncgf_4.rem’ has been disconnected or does not exist at the server.
System.Runtime.Remoting.RemotingException: Object ‘/43527d6e_1f06_4154_9d6b_e9d6d6951097/spd6te_4gdxcqrlgb05zncgf_4.rem’ has been disconnected or does not exist at the server.
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellArguments.get_OutputStream()
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 78
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.IsolatedScriptRunner.Execute(PowerShellArguments arguments)
at Octopus.Tentacle.Deployment.Integration.PowerShell.PowerShellRunner.Execute(PowerShellArguments arguments) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Integration\PowerShell\PowerShellRunner.cs:line 25
at Octopus.Tentacle.Deployment.Conventions.PowerShellConvention.RunScript(String scriptName, ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\Conventions\PowerShellConvention.cs:line 36
at Octopus.Tentacle.Deployment.DeploymentController.RunInstallConventions(ConventionContext context) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 89
at Octopus.Tentacle.Deployment.DeploymentController.Execute(PackageMetadata package, VariableDictionary variables, IActivityLog log) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Deployment\DeploymentController.cs:line 52
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at Octopus.Tentacle.Services.Jobs.JobQueue.RunDeploymentsOnBackgroundThread(Object ignored) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Tentacle\Services\Jobs\JobQueue.cs:line 81


I just wanted to chime in and say we are having an issue with this as well.

Hello,

Thanks for the patience, this is now fixed in the 1.1.5 release:

Paul

Thanks all tested and working in our environment
David

In our environments it works now too.
Thanks,
Thomas