{"action":"created","issue":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/2447","repository_url":"https://api.github.com/repos/OctopusDeploy/Issues","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/2447/labels{/name}","comments_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/2447/comments","events_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/2447/events","html_url":"https://github.com/OctopusDeploy/Issues/issues/2447","id":143227979,"node_id":"MDU6SXNzdWUxNDMyMjc5Nzk=","number":2447,"title":"Octo.exe deploy-release exit code of -1 when deployment succeeded","user":{"login":"megakid","id":1478003,"node_id":"MDQ6VXNlcjE0NzgwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1478003?v=4","gravatar_id":"","url":"https://api.github.com/users/megakid","html_url":"https://github.com/megakid","followers_url":"https://api.github.com/users/megakid/followers","following_url":"https://api.github.com/users/megakid/following{/other_user}","gists_url":"https://api.github.com/users/megakid/gists{/gist_id}","starred_url":"https://api.github.com/users/megakid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megakid/subscriptions","organizations_url":"https://api.github.com/users/megakid/orgs","repos_url":"https://api.github.com/users/megakid/repos","events_url":"https://api.github.com/users/megakid/events{/privacy}","received_events_url":"https://api.github.com/users/megakid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-03-24T12:04:05Z","updated_at":"2018-11-26T02:37:36Z","closed_at":"2016-03-25T18:02:28Z","author_association":"NONE","body":"I've recently had to workaround a service start timeout issue (our systems team is still getting to the bottom of that) and had to use a `try { } catch { Exit 0 }` in `Powershell` around my final step (similar to `sc.exe start` command) in my `Deploy.ps1` script.  I am confident that my script is returning an exit code of 0 and my deployment is fully working when deployed from the octopus web UI.\n\n`octo.exe deploy-release --server=http://mydns-octopus/api --project=\"MyService Service\" --version=\"2.0.0.0\" --apikey=API-MYKEY --deployto=\"BETA\" --waitfordeployment`\n\nThe Octopus UI gives a fully successful green status for this deployment and I can't work out why `octo.exe` is giving me an exit code of `-1` - as reported by `MSBuild` and consequently failing our `Atlassian Bamboo` deployment script.  I am deploying onto 4 tentacles/machines.\n\nAs you can see I am ignoring the exception thrown from the start service command (this is the output from the above `octo.exe` command):\n\n```\nbuild   24-Mar-2016 11:14:15        Info       Starting MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15    EXEC : Info       Topshelf.Hosts.StartHost error : 0 : The service failed to start., [E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build]\nbuild   24-Mar-2016 11:14:15                   System.ServiceProcess.TimeoutException: Time out has expired and\nbuild   24-Mar-2016 11:14:15                   the operation has not been completed.\nbuild   24-Mar-2016 11:14:15        Info        at System.ServiceProcess.ServiceController.WaitForStatus(ServiceCo\nbuild   24-Mar-2016 11:14:15                   ntrollerStatus desiredStatus, TimeSpan timeout)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(St\nbuild   24-Mar-2016 11:14:15                   ring serviceName, TimeSpan startTimeOut)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Hosts.StartHost.Run()\nbuild   24-Mar-2016 11:14:15        Info       Caught exception starting MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15                   ..Ignoring...\n```\n\nCan anyone shed any light on this?  Is it doing something like `grep`ing for `error` or something silly (seen this on some other platforms)?\n\nBelow is my full obfuscated `Bamboo` deployment log which covers the `octo.exe` execution and output:\n\n```\nbuild   24-Mar-2016 11:13:30    DeployOctopusServiceReleases:\nbuild   24-Mar-2016 11:13:30      E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\..\\src\\packages\\OctopusTools.3.3.1\\tools\\octo.exe deploy-release --server=http://mydns-octopus/api --project=\"MyService Service\" --version=\"2.0.0.0\" --apikey=API-MYKEY --deployto=\"BETA\" --waitfordeployment\nbuild   24-Mar-2016 11:13:30      Octopus Deploy Command Line Tool, version 3.3.1+Branch.master.Sha.1c8736a1d37db41c04c2540914b4ec688a3d0ed8\nbuild   24-Mar-2016 11:13:30      \nbuild   24-Mar-2016 11:13:31      Handshaking with Octopus server: http://mydns-octopus/api\nbuild   24-Mar-2016 11:13:31      Handshake successful. Octopus version: 3.2.13; API version: 3.0.0\nbuild   24-Mar-2016 11:13:31      Authenticated as: ex_user <> (a service account)\nbuild   24-Mar-2016 11:13:31      Finding project: MyService Service\nbuild   24-Mar-2016 11:13:31      Finding release: 2.0.0.0\nbuild   24-Mar-2016 11:13:34      Deploying MyService Service 2.0.0.0 to: BETA (Guided Failure: Not Enabled)\nbuild   24-Mar-2016 11:13:34      Waiting for 1 deployment(s) to complete....\nbuild   24-Mar-2016 11:13:44               Success: Acquire packages\nbuild   24-Mar-2016 11:13:44      Info       Acquiring packages\nbuild   24-Mar-2016 11:13:44      Info       Making a list of packages to download\nbuild   24-Mar-2016 11:13:44      Info       Looking up the package location from the built-in package repository.\nbuild   24-Mar-2016 11:13:44                 ..\nbuild   24-Mar-2016 11:13:44      Info       All packages have been acquired\nbuild   24-Mar-2016 11:13:44                 Success: mydns-live-a6\nbuild   24-Mar-2016 11:13:44                   Success: Upload package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44          Info       Found matching version 2.11.0.3108: C:\\Octopus\\Packages\\MyProject.Tra\nbuild   24-Mar-2016 11:13:44                     dingManager.MyServiceService\\MyProject.PurposeManager.MyService\nbuild   24-Mar-2016 11:13:44                     Service.2.11.0.3108.nupkg\nbuild   24-Mar-2016 11:13:44          Info       Package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44                     successfully uploaded to this server\nbuild   24-Mar-2016 11:13:44                     Success: Building delta for MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44            Info       Using package C:\\Octopus\\Packages\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                       agerService\\MyProject.PurposeManager.MyServiceService.2.11.0.310\nbuild   24-Mar-2016 11:13:44                       8.nupkg with hash 6017bbfdc12d6086e6e3bfd3a6a1a00989ff3f70 for\nbuild   24-Mar-2016 11:13:44                       creating delta\nbuild   24-Mar-2016 11:13:44            Info       Original package was 3 MB, delta file is 946 KB\nbuild   24-Mar-2016 11:13:44                       Success: Uploading and applying delta MyProject.PurposeManager.MyServiceService.2.11.0.3108_to_2.0.0.0.octodelta\nbuild   24-Mar-2016 11:13:44              Info       Applying delta to C:\\Octopus\\Files\\MyProject.PurposeManager.Event\nbuild   24-Mar-2016 11:13:44                         ManagerService.2.11.0.3108.nupkg-a8000e59-9916-4f09-bbc6-d582\nbuild   24-Mar-2016 11:13:44                         dff245c9 with hash 6017bbfdc12d6086e6e3bfd3a6a1a00989ff3f70\nbuild   24-Mar-2016 11:13:44                         and storing as C:\\Octopus\\Files\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                         agerService.2.0.0.0.nupkg-fc6a4f69-23f0-4a08-ad6a-18edc66\nbuild   24-Mar-2016 11:13:44                         cf37c\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 0%\nbuild   24-Mar-2016 11:13:44                 Success: mydns-live-a5\nbuild   24-Mar-2016 11:13:44                   Success: Upload package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44          Info       Found matching version 2.11.0.3108: C:\\Octopus\\Packages\\MyProject.Tra\nbuild   24-Mar-2016 11:13:44                     dingManager.MyServiceService\\MyProject.PurposeManager.MyService\nbuild   24-Mar-2016 11:13:44                     Service.2.11.0.3108.nupkg\nbuild   24-Mar-2016 11:13:44          Info       Package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44                     successfully uploaded to this server\nbuild   24-Mar-2016 11:13:44                     Success: Building delta for MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44            Info       Using package C:\\Octopus\\Packages\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                       agerService\\MyProject.PurposeManager.MyServiceService.2.11.0.310\nbuild   24-Mar-2016 11:13:44                       8.nupkg with hash 6017bbfdc12d6086e6e3bfd3a6a1a00989ff3f70 for\nbuild   24-Mar-2016 11:13:44                       creating delta\nbuild   24-Mar-2016 11:13:44            Info       Original package was 3 MB, delta file is 946 KB\nbuild   24-Mar-2016 11:13:44                       Success: Uploading and applying delta MyProject.PurposeManager.MyServiceService.2.11.0.3108_to_2.0.0.0.octodelta\nbuild   24-Mar-2016 11:13:44              Info       Applying delta to C:\\Octopus\\Files\\MyProject.PurposeManager.Event\nbuild   24-Mar-2016 11:13:44                         ManagerService.2.11.0.3108.nupkg-78cb7adb-dfda-44d2-9b2b-b80c\nbuild   24-Mar-2016 11:13:44                         10e88940 with hash 6017bbfdc12d6086e6e3bfd3a6a1a00989ff3f70\nbuild   24-Mar-2016 11:13:44                         and storing as C:\\Octopus\\Files\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                         agerService.2.0.0.0.nupkg-3085842a-42f4-4dba-b8dc-6444a33\nbuild   24-Mar-2016 11:13:44                         8b9dd\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 0%\nbuild   24-Mar-2016 11:13:44                 Success: mydns-live-b3\nbuild   24-Mar-2016 11:13:44                   Success: Upload package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44          Info       Found matching version 2.11.0.3109: C:\\Octopus\\Packages\\MyProject.Tra\nbuild   24-Mar-2016 11:13:44                     dingManager.MyServiceService\\MyProject.PurposeManager.MyService\nbuild   24-Mar-2016 11:13:44                     Service.2.11.0.3109.nupkg\nbuild   24-Mar-2016 11:13:44          Info       Package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44                     successfully uploaded to this server\nbuild   24-Mar-2016 11:13:44                     Success: Building delta for MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44            Info       Using package C:\\Octopus\\Packages\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                       agerService\\MyProject.PurposeManager.MyServiceService.2.11.0.310\nbuild   24-Mar-2016 11:13:44                       9.nupkg with hash dbd74fe041a4c9afaeea1d8457dda70b828fc419 for\nbuild   24-Mar-2016 11:13:44                       creating delta\nbuild   24-Mar-2016 11:13:44            Info       Original package was 3 MB, delta file is 904 KB\nbuild   24-Mar-2016 11:13:44                       Success: Uploading and applying delta MyProject.PurposeManager.MyServiceService.2.11.0.3109_to_2.0.0.0.octodelta\nbuild   24-Mar-2016 11:13:44              Info       Applying delta to c:\\Octopus\\Files\\MyProject.PurposeManager.Event\nbuild   24-Mar-2016 11:13:44                         ManagerService.2.11.0.3109.nupkg-69d28de6-a0d5-40b2-9c57-e23b\nbuild   24-Mar-2016 11:13:44                         8255b2fd with hash dbd74fe041a4c9afaeea1d8457dda70b828fc419\nbuild   24-Mar-2016 11:13:44                         and storing as c:\\Octopus\\Files\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                         agerService.2.0.0.0.nupkg-54e40e70-ec23-47d2-ae07-9c1bda2\nbuild   24-Mar-2016 11:13:44                         a05fa\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 0%\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 30%\nbuild   24-Mar-2016 11:13:44                 Success: mydns-live-b4\nbuild   24-Mar-2016 11:13:44                   Success: Upload package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44          Info       Found matching version 2.11.0.3109: C:\\Octopus\\Packages\\MyProject.Tra\nbuild   24-Mar-2016 11:13:44                     dingManager.MyServiceService\\MyProject.PurposeManager.MyService\nbuild   24-Mar-2016 11:13:44                     Service.2.11.0.3109.nupkg\nbuild   24-Mar-2016 11:13:44          Info       Package MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44                     successfully uploaded to this server\nbuild   24-Mar-2016 11:13:44                     Success: Building delta for MyProject.PurposeManager.MyServiceService 2.0.0.0\nbuild   24-Mar-2016 11:13:44            Info       Using package C:\\Octopus\\Packages\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                       agerService\\MyProject.PurposeManager.MyServiceService.2.11.0.310\nbuild   24-Mar-2016 11:13:44                       9.nupkg with hash dbd74fe041a4c9afaeea1d8457dda70b828fc419 for\nbuild   24-Mar-2016 11:13:44                       creating delta\nbuild   24-Mar-2016 11:13:44            Info       Original package was 3 MB, delta file is 904 KB\nbuild   24-Mar-2016 11:13:44                       Success: Uploading and applying delta MyProject.PurposeManager.MyServiceService.2.11.0.3109_to_2.0.0.0.octodelta\nbuild   24-Mar-2016 11:13:44              Info       Applying delta to c:\\Octopus\\Files\\MyProject.PurposeManager.Event\nbuild   24-Mar-2016 11:13:44                         ManagerService.2.11.0.3109.nupkg-958bcbd0-bad7-42d2-b00b-08c1\nbuild   24-Mar-2016 11:13:44                         6906b8d3 with hash dbd74fe041a4c9afaeea1d8457dda70b828fc419\nbuild   24-Mar-2016 11:13:44                         and storing as c:\\Octopus\\Files\\MyProject.PurposeManager.EventMan\nbuild   24-Mar-2016 11:13:44                         agerService.2.0.0.0.nupkg-ad3df928-a2e0-429d-8d98-0ae867a\nbuild   24-Mar-2016 11:13:44                         6bd7a\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 0%\nbuild   24-Mar-2016 11:13:44              Info       Applying delta: 30%\nbuild   24-Mar-2016 11:14:15               Success: Step 1: Install Windows Service\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-a6\nbuild   24-Mar-2016 11:14:15        Info       Deploying package 'C:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-fc6a4f69-23f0-4a08-ad6a-18edc66cf37c'\nbuild   24-Mar-2016 11:14:15                   to machine 'https://mydns-live-a6:10933/'\nbuild   24-Mar-2016 11:14:15        Info       Deploying package: C:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-fc6a4f69-23f0-4a08-ad6a-18edc66cf37c\nbuild   24-Mar-2016 11:14:15        Info       Updating appSettings and connectionStrings in: C:\\Octopus\\Applicati\nbuild   24-Mar-2016 11:14:15                   ons\\BETA\\MyProject.PurposeManager.MyServiceService\\2.11.0\nbuild   24-Mar-2016 11:14:15                   .3111\\MyProject.PurposeManager.MyServiceService.exe.config\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject.PurposeManager.MyServiceService to run under\nbuild   24-Mar-2016 11:14:15                   DOMAIN\\exec_MyProject.\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       Running a transacted installation.\nbuild   24-Mar-2016 11:14:15        Info       Beginning the Install phase of the installation.\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject MyService Service service\nbuild   24-Mar-2016 11:14:15        Info       Installing service MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService has been successfu\nbuild   24-Mar-2016 11:14:15                   lly installed.\nbuild   24-Mar-2016 11:14:15        Info       Creating EventLog source MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15                   in log Application...\nbuild   24-Mar-2016 11:14:15        Info       The Install phase completed successfully, and the Commit phase is\nbuild   24-Mar-2016 11:14:15                   beginning.\nbuild   24-Mar-2016 11:14:15        Info       The Commit phase completed successfully.\nbuild   24-Mar-2016 11:14:15        Info       The transacted install has completed.\nbuild   24-Mar-2016 11:14:15        Info       Starting MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15    EXEC : Info       Topshelf.Hosts.StartHost error : 0 : The service failed to start., [E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build]\nbuild   24-Mar-2016 11:14:15                   System.ServiceProcess.TimeoutException: Time out has expired and\nbuild   24-Mar-2016 11:14:15                   the operation has not been completed.\nbuild   24-Mar-2016 11:14:15        Info        at System.ServiceProcess.ServiceController.WaitForStatus(ServiceCo\nbuild   24-Mar-2016 11:14:15                   ntrollerStatus desiredStatus, TimeSpan timeout)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(St\nbuild   24-Mar-2016 11:14:15                   ring serviceName, TimeSpan startTimeOut)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Hosts.StartHost.Run()\nbuild   24-Mar-2016 11:14:15        Info       Caught exception starting MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15                   ..Ignoring...\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-a5\nbuild   24-Mar-2016 11:14:15        Info       Deploying package 'C:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-3085842a-42f4-4dba-b8dc-6444a338b9dd'\nbuild   24-Mar-2016 11:14:15                   to machine 'https://mydns-live-a5:10933/'\nbuild   24-Mar-2016 11:14:15        Info       Deploying package: C:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-3085842a-42f4-4dba-b8dc-6444a338b9dd\nbuild   24-Mar-2016 11:14:15        Info       Updating appSettings and connectionStrings in: C:\\Octopus\\Applicati\nbuild   24-Mar-2016 11:14:15                   ons\\BETA\\MyProject.PurposeManager.MyServiceService\\2.11.0\nbuild   24-Mar-2016 11:14:15                   .3111\\MyProject.PurposeManager.MyServiceService.exe.config\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject.PurposeManager.MyServiceService to run under\nbuild   24-Mar-2016 11:14:15                   DOMAIN\\exec_MyProject.\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       Running a transacted installation.\nbuild   24-Mar-2016 11:14:15        Info       Beginning the Install phase of the installation.\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject MyService Service service\nbuild   24-Mar-2016 11:14:15        Info       Installing service MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService has been successfu\nbuild   24-Mar-2016 11:14:15                   lly installed.\nbuild   24-Mar-2016 11:14:15        Info       Creating EventLog source MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15                   in log Application...\nbuild   24-Mar-2016 11:14:15        Info       The Install phase completed successfully, and the Commit phase is\nbuild   24-Mar-2016 11:14:15                   beginning.\nbuild   24-Mar-2016 11:14:15        Info       The Commit phase completed successfully.\nbuild   24-Mar-2016 11:14:15        Info       The transacted install has completed.\nbuild   24-Mar-2016 11:14:15        Info       Starting MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15    EXEC : Info       Topshelf.Hosts.StartHost error : 0 : The service failed to start., [E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build]\nbuild   24-Mar-2016 11:14:15                   System.ServiceProcess.TimeoutException: Time out has expired and\nbuild   24-Mar-2016 11:14:15                   the operation has not been completed.\nbuild   24-Mar-2016 11:14:15        Info        at System.ServiceProcess.ServiceController.WaitForStatus(ServiceCo\nbuild   24-Mar-2016 11:14:15                   ntrollerStatus desiredStatus, TimeSpan timeout)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(St\nbuild   24-Mar-2016 11:14:15                   ring serviceName, TimeSpan startTimeOut)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Hosts.StartHost.Run()\nbuild   24-Mar-2016 11:14:15        Info       Caught exception starting MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15                   ..Ignoring...\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-b3\nbuild   24-Mar-2016 11:14:15        Info       Deploying package 'c:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-54e40e70-ec23-47d2-ae07-9c1bda2a05fa'\nbuild   24-Mar-2016 11:14:15                   to machine 'https://mydns-live-b3:10933/'\nbuild   24-Mar-2016 11:14:15        Info       Deploying package: c:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-54e40e70-ec23-47d2-ae07-9c1bda2a05fa\nbuild   24-Mar-2016 11:14:15        Info       Updating appSettings and connectionStrings in: c:\\Octopus\\Applicati\nbuild   24-Mar-2016 11:14:15                   ons\\BETA\\MyProject.PurposeManager.MyServiceService\\2.11.0\nbuild   24-Mar-2016 11:14:15                   .3111\\MyProject.PurposeManager.MyServiceService.exe.config\nbuild   24-Mar-2016 11:14:15        Info       Stopping service... MyProject.PurposeManager.MyServiceService.exe\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       The MyProject.PurposeManager.MyServiceService service was stopped.\nbuild   24-Mar-2016 11:14:15        Info       Stopped\nbuild   24-Mar-2016 11:14:15        Info       Force killing MyProject.PurposeManager.MyServiceService.exe as it's\nbuild   24-Mar-2016 11:14:15                   still running...\nbuild   24-Mar-2016 11:14:15        Info       Uninstalling...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       The uninstall is beginning.\nbuild   24-Mar-2016 11:14:15        Info       Uninstalling MyProject.PurposeManager.MyServiceService service\nbuild   24-Mar-2016 11:14:15        Info       Removing EventLog source MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService is being removed\nbuild   24-Mar-2016 11:14:15                   from the system...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService was successfully\nbuild   24-Mar-2016 11:14:15                   removed from the system.\nbuild   24-Mar-2016 11:14:15        Info       The uninstall has completed.\nbuild   24-Mar-2016 11:14:15        Info       Uninstalled\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject.PurposeManager.MyServiceService to run under\nbuild   24-Mar-2016 11:14:15                   DOMAIN\\exec_MyProject.\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       Running a transacted installation.\nbuild   24-Mar-2016 11:14:15        Info       Beginning the Install phase of the installation.\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject MyService Service service\nbuild   24-Mar-2016 11:14:15        Info       Installing service MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService has been successfu\nbuild   24-Mar-2016 11:14:15                   lly installed.\nbuild   24-Mar-2016 11:14:15        Info       Creating EventLog source MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15                   in log Application...\nbuild   24-Mar-2016 11:14:15        Info       The Install phase completed successfully, and the Commit phase is\nbuild   24-Mar-2016 11:14:15                   beginning.\nbuild   24-Mar-2016 11:14:15        Info       The Commit phase completed successfully.\nbuild   24-Mar-2016 11:14:15        Info       The transacted install has completed.\nbuild   24-Mar-2016 11:14:15        Info       Starting MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15    EXEC : Info       Topshelf.Hosts.StartHost error : 0 : The service failed to start., [E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build]\nbuild   24-Mar-2016 11:14:15                   System.ServiceProcess.TimeoutException: Time out has expired and\nbuild   24-Mar-2016 11:14:15                   the operation has not been completed.\nbuild   24-Mar-2016 11:14:15        Info        at System.ServiceProcess.ServiceController.WaitForStatus(ServiceCo\nbuild   24-Mar-2016 11:14:15                   ntrollerStatus desiredStatus, TimeSpan timeout)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(St\nbuild   24-Mar-2016 11:14:15                   ring serviceName, TimeSpan startTimeOut)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Hosts.StartHost.Run()\nbuild   24-Mar-2016 11:14:15        Info       Caught exception starting MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15                   ..Ignoring...\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-b4\nbuild   24-Mar-2016 11:14:15        Info       Deploying package 'c:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-ad3df928-a2e0-429d-8d98-[REMOVED]'\nbuild   24-Mar-2016 11:14:15                   to machine 'https://mydns-live-b4:10933/'\nbuild   24-Mar-2016 11:14:15        Info       Deploying package: c:\\Octopus\\Files\\MyProject.PurposeManager.EventManag\nbuild   24-Mar-2016 11:14:15                   erService.2.0.0.0.nupkg-ad3df928-a2e0-429d-8d98-[REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       Updating appSettings and connectionStrings in: c:\\Octopus\\Applicati\nbuild   24-Mar-2016 11:14:15                   ons\\BETA\\MyProject.PurposeManager.MyServiceService\\2.11.0\nbuild   24-Mar-2016 11:14:15                   .3111\\MyProject.PurposeManager.MyServiceService.exe.config\nbuild   24-Mar-2016 11:14:15        Info       Stopping service... MyProject.PurposeManager.MyServiceService.exe\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       The MyProject.PurposeManager.MyServiceService service was stopped.\nbuild   24-Mar-2016 11:14:15        Info       Stopped\nbuild   24-Mar-2016 11:14:15        Info       Force killing MyProject.PurposeManager.MyServiceService.exe as it's\nbuild   24-Mar-2016 11:14:15                   still running...\nbuild   24-Mar-2016 11:14:15        Info       Uninstalling...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       The uninstall is beginning.\nbuild   24-Mar-2016 11:14:15        Info       Uninstalling MyProject.PurposeManager.MyServiceService service\nbuild   24-Mar-2016 11:14:15        Info       Removing EventLog source MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService is being removed\nbuild   24-Mar-2016 11:14:15                   from the system...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService was successfully\nbuild   24-Mar-2016 11:14:15                   removed from the system.\nbuild   24-Mar-2016 11:14:15        Info       The uninstall has completed.\nbuild   24-Mar-2016 11:14:15        Info       Uninstalled\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject.PurposeManager.MyServiceService to run under\nbuild   24-Mar-2016 11:14:15                   DOMAIN\\exec_MyProject.\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15        Info       Running a transacted installation.\nbuild   24-Mar-2016 11:14:15        Info       Beginning the Install phase of the installation.\nbuild   24-Mar-2016 11:14:15        Info       Installing MyProject MyService Service service\nbuild   24-Mar-2016 11:14:15        Info       Installing service MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Service MyProject.PurposeManager.MyServiceService has been successfu\nbuild   24-Mar-2016 11:14:15                   lly installed.\nbuild   24-Mar-2016 11:14:15        Info       Creating EventLog source MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15                   in log Application...\nbuild   24-Mar-2016 11:14:15        Info       The Install phase completed successfully, and the Commit phase is\nbuild   24-Mar-2016 11:14:15                   beginning.\nbuild   24-Mar-2016 11:14:15        Info       The Commit phase completed successfully.\nbuild   24-Mar-2016 11:14:15        Info       The transacted install has completed.\nbuild   24-Mar-2016 11:14:15        Info       Starting MyProject.PurposeManager.MyServiceService...\nbuild   24-Mar-2016 11:14:15        Info       Configuration Result:\nbuild   24-Mar-2016 11:14:15        Info       [Success] Name MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       [Success] DisplayName MyProject MyService Service\nbuild   24-Mar-2016 11:14:15        Info       [Success] Description [REMOVED]\nbuild   24-Mar-2016 11:14:15        Info       [Success] ServiceName MyProject.PurposeManager.MyServiceService\nbuild   24-Mar-2016 11:14:15        Info       Topshelf v3.1.135.0, .NET Framework v4.0.30319.42000\nbuild   24-Mar-2016 11:14:15    EXEC : Info       Topshelf.Hosts.StartHost error : 0 : The service failed to start., [E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build]\nbuild   24-Mar-2016 11:14:15                   System.ServiceProcess.TimeoutException: Time out has expired and\nbuild   24-Mar-2016 11:14:15                   the operation has not been completed.\nbuild   24-Mar-2016 11:14:15        Info        at System.ServiceProcess.ServiceController.WaitForStatus(ServiceCo\nbuild   24-Mar-2016 11:14:15                   ntrollerStatus desiredStatus, TimeSpan timeout)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Runtime.Windows.WindowsHostEnvironment.StartService(St\nbuild   24-Mar-2016 11:14:15                   ring serviceName, TimeSpan startTimeOut)\nbuild   24-Mar-2016 11:14:15        Info        at Topshelf.Hosts.StartHost.Run()\nbuild   24-Mar-2016 11:14:15        Info       Caught exception starting MyProject.PurposeManager.MyServiceService.\nbuild   24-Mar-2016 11:14:15                   ..Ignoring...\nbuild   24-Mar-2016 11:14:15               Success: Apply retention policy on Tentacles\nbuild   24-Mar-2016 11:14:15      Info       Apply retention policies...\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-a5\nbuild   24-Mar-2016 11:14:15                   Success: Applying retention policy using 3 Items to set Environments-12/Projects-100/Step-Install Windows Service/Machines-162/<default>\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-a6\nbuild   24-Mar-2016 11:14:15                   Success: Applying retention policy using 3 Items to set Environments-12/Projects-100/Step-Install Windows Service/Machines-161/<default>\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-b3\nbuild   24-Mar-2016 11:14:15                   Success: Applying retention policy using 3 Items to set Environments-12/Projects-100/Step-Install Windows Service/Machines-50/<default>\nbuild   24-Mar-2016 11:14:15                 Success: mydns-live-b4\nbuild   24-Mar-2016 11:14:15                   Success: Applying retention policy using 3 Items to set Environments-12/Projects-100/Step-Install Windows Service/Machines-63/<default>\nbuild   24-Mar-2016 11:14:25               Success: Step 2: MonitoringApp - Enable Monitoring\nbuild   24-Mar-2016 11:14:25                 Success: mydns-live-a6\nbuild   24-Mar-2016 11:14:25        Info       Executing script on 'mydns-live-a6'\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)S:(AU;FA;[REMOVED];;;WD)\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)(A;;[REMOVED];;;S-[REMOVED]1\nbuild   24-Mar-2016 11:14:25                   -7[REMOVED]0-13106)S:(AU;FA;[REMOVED];;;WD\nbuild   24-Mar-2016 11:14:25                   )\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25                 Success: mydns-live-a5\nbuild   24-Mar-2016 11:14:25        Info       Executing script on 'mydns-live-a5'\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)S:(AU;FA;[REMOVED];;;WD)\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)(A;;[REMOVED];;;S-[REMOVED]1\nbuild   24-Mar-2016 11:14:25                   -7[REMOVED]0-13106)S:(AU;FA;[REMOVED];;;WD\nbuild   24-Mar-2016 11:14:25                   )\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25                 Success: mydns-live-b3\nbuild   24-Mar-2016 11:14:25        Info       Executing script on 'mydns-live-b3'\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)S:(AU;FA;[REMOVED];;;WD)\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   ingManager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)(A;;[REMOVED];;;S-[REMOVED]1\nbuild   24-Mar-2016 11:14:25                   -7[REMOVED]0-13106)S:(AU;FA;[REMOVED];;;WD\nbuild   24-Mar-2016 11:14:25                   )\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25                 Success: mydns-live-b4\nbuild   24-Mar-2016 11:14:25        Info       Executing script on 'mydns-live-b4'\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)S:(AU;FA;[REMOVED];;;WD)\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25        Info       Running command: C:\\Windows\\system32\\sc.exe \"\\\\.\" sdset \"MyProject.Purpose\nbuild   24-Mar-2016 11:14:25                   Manager.MyServiceService\" \"D:[REMOVED](A;;\nbuild   24-Mar-2016 11:14:25                   [REMOVED];;;BA)([REMOVED]\nbuild   24-Mar-2016 11:14:25                   RRC;;;SU)(A;;CCLC;;;DU)(A;;[REMOVED];;;S-[REMOVED]1\nbuild   24-Mar-2016 11:14:25                   -7[REMOVED]0-13106)S:(AU;FA;[REMOVED];;;WD\nbuild   24-Mar-2016 11:14:25                   )\"\nbuild   24-Mar-2016 11:14:25        Info       Output from sc.exe: [SC] SetServiceObjectSecurity SUCCESS\nbuild   24-Mar-2016 11:14:25      Deploy MyService Service release 2.0.0.0 to BETA: Success\nbuild   24-Mar-2016 11:14:25      Done!\nbuild   24-Mar-2016 11:14:25    E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build(98,5): error MSB3073: The command \"E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\..\\src\\packages\\OctopusTools.3.3.1\\tools\\octo.exe deploy-release --server=http://mydns-octopus/api --project=\"MyService Service\" --version=\"2.0.0.0\" --apikey=API-MYKEY --deployto=\"BETA\" --waitfordeployment\" exited with code -1.\nbuild   24-Mar-2016 11:14:25    Done Building Project \"E:\\Bamboo59\\xml-data\\build-dir\\118980609-191627281\\build\\Bamboo.build\" (DeployOctopusServiceReleases target(s)) -- FAILED.\nbuild   24-Mar-2016 11:14:25    \nbuild   24-Mar-2016 11:14:25    Build FAILED.\n```\n"},"comment":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/comments/441502121","html_url":"https://github.com/OctopusDeploy/Issues/issues/2447#issuecomment-441502121","issue_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/2447","id":441502121,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUwMjEyMQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-26T02:37:36Z","updated_at":"2018-11-26T02:37:36Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our [support team](https://octopus.com/support) so we can triage your issue, and make sure it's handled appropriately.\n"}}
{"actor":{"display_login":"lock"}}