In Azure DevOps the Create Octopus Release fails with return code 4294967293

2019-04-26T17:31:22.1829385Z ##[section]Starting: Create Octopus Release: Deploy TotalView

2019-04-26T17:31:22.1916506Z ==============================================================================

2019-04-26T17:31:22.1916661Z Task : Create Octopus Release

2019-04-26T17:31:22.1916751Z Description : Create a Release in Octopus Deploy

2019-04-26T17:31:22.1916827Z Version : 3.0.222

2019-04-26T17:31:22.1916896Z Author : Octopus Deploy

2019-04-26T17:31:22.1916976Z Help : Version: 3.0.222. More Information

2019-04-26T17:31:22.1917073Z ==============================================================================

2019-04-26T17:31:29.3801109Z SystemVssConnection exists true

2019-04-26T17:31:29.3838744Z exists true

2019-04-26T17:31:29.3961250Z Environment = TfsGit

2019-04-26T17:31:29.3961619Z Comments = true, WorkItems = true

2019-04-26T17:31:29.5560385Z Adding commit message to release notes

2019-04-26T17:31:29.5562838Z adding work items to release notes

2019-04-26T17:31:29.6519663Z Release notes:

2019-04-26T17:31:29.6519981Z **Commit Messages:

2019-04-26T17:31:29.6520169Z

2019-04-26T17:31:29.6520469Z * : Merged PR 302: At least one phone number is required to enroll in driver ordering

2019-04-26T17:31:29.6520620Z

2019-04-26T17:31:29.6520747Z Work Items:

2019-04-26T17:31:29.6520836Z

2019-04-26T17:31:29.6521082Z * 42932: 5.21 Employee Management Driver Ordering Phone Number Required <span class=‘label’>Active</span> <span class=‘label label-info’>Expected-04/25</span>

2019-04-26T17:31:29.6521221Z

2019-04-26T17:31:29.6521298Z

2019-04-26T17:31:29.6686542Z [command]C:\WINDOWS\system32\cmd.exe /D /S /C "D:\do_Agent_work_tool\Octo\6.3.2\ia32\Octo.cmd create-release “–project=Deploy TotalView” “–channel=Main” “–server=http://octopus.merchantsfleet.com/” “–apiKey=***” --enableServiceMessages “–deployTo=Main_DEV” “–releaseNotesFile=D:\do_Agent_work\1\s\release-notes-.md” “–apiKey=***” “-deploymenttimeout=00:20:00"”

2019-04-26T17:31:29.6947064Z

2019-04-26T17:31:29.6948427Z D:\do_Agent_work\1\s>dotnet “D:\do_Agent_work_tool\Octo\6.3.2\ia32/Octo.dll” create-release “–project=Deploy TotalView” “–channel=Main” “–server=http://octopus.merchantsfleet.com/” “–apiKey=***” --enableServiceMessages “–deployTo=Main_DEV” “–releaseNotesFile=D:\do_Agent_work\1\s\release-notes-.md” “–apiKey=***” “-deploymenttimeout=00:20:00”

2019-04-26T17:31:30.1805294Z Octopus Deploy Command Line Tool, version 6.3.2

2019-04-26T17:31:30.1807054Z

2019-04-26T17:31:30.2260356Z Detected automation environment: “AzureDevOps”

2019-04-26T17:31:30.6055418Z Process will run in backwards compatible mode for older versions of Octopus Server

2019-04-26T17:31:30.6064978Z Handshaking with Octopus Server: http://octopus.merchantsfleet.com/

2019-04-26T17:31:30.6432432Z Handshake successful. Octopus version: 3.17.10; API version: 3.0.0

2019-04-26T17:31:30.6841934Z Authenticated as: TFS Build (a service account)

2019-04-26T17:31:30.8723871Z This Octopus Server supports channels

2019-04-26T17:31:30.8724282Z Finding project: Deploy TotalView

2019-04-26T17:31:30.9827530Z Building release plan for channel ‘Main’…

2019-04-26T17:31:31.0432388Z Finding deployment process…

2019-04-26T17:31:31.7765280Z Finding release template…

2019-04-26T17:31:31.7765629Z The package version for some steps was not specified. Going to try and resolve those automatically…

2019-04-26T17:31:31.7765808Z Finding latest package for step: Deploy Placeholder Package

2019-04-26T17:31:31.7765987Z Selected ‘Merchants.TotalView.Deploy’ version ‘2019.4.26.3-main’ for ‘Deploy Placeholder Package’

2019-04-26T17:31:31.7768133Z Finding latest package for step: Deploy Octo Command Line Tool

2019-04-26T17:31:31.7768299Z Selected ‘OctopusTools’ version ‘4.5.0’ for ‘Deploy Octo Command Line Tool’

2019-04-26T17:31:32.0221870Z

2019-04-26T17:31:32.0222380Z System.NullReferenceException: Object reference not set to an instance of an object.

2019-04-26T17:31:32.0222688Z at Octopus.Cli.Commands.Releases.ReleasePlan.<>c__DisplayClass26_0.<GetActionVersionNumber>b__0(ReleasePlanItem s) in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\Commands\Releases\ReleasePlan.cs:line 210

2019-04-26T17:31:32.0222939Z at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)

2019-04-26T17:31:32.0223197Z at Octopus.Cli.Commands.Releases.ReleasePlan.GetActionVersionNumber(String packageStepName, String packageReferenceName) in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\Commands\Releases\ReleasePlan.cs:line 210

2019-04-26T17:31:32.0223938Z at Octopus.Cli.Commands.Releases.CreateReleaseCommand.<Request>d__36.MoveNext() in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\Commands\Releases\CreateReleaseCommand.cs:line 94

2019-04-26T17:31:32.0224147Z — End of stack trace from previous location where exception was thrown —

2019-04-26T17:31:32.0224337Z at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

2019-04-26T17:31:32.0224513Z at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2019-04-26T17:31:32.0224737Z at Octopus.Cli.Commands.ApiCommand.<Execute>d__39.MoveNext() in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\Commands\ApiCommand.cs:line 224

2019-04-26T17:31:32.0224916Z — End of stack trace from previous location where exception was thrown —

2019-04-26T17:31:32.0225078Z at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

2019-04-26T17:31:32.0225253Z at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2019-04-26T17:31:32.0225507Z at Octopus.Cli.Commands.ApiCommand.<Execute>d__37.MoveNext() in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\Commands\ApiCommand.cs:line 213

2019-04-26T17:31:32.0225686Z — End of stack trace from previous location where exception was thrown —

2019-04-26T17:31:32.0225847Z at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

2019-04-26T17:31:32.0226035Z at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2019-04-26T17:31:32.0226226Z at Octopus.Cli.CliProgram.Run(String[] args) in C:\buildAgent\work\d8818cc5a2905d1\source\Octopus.Cli\CliProgram.cs:line 52

2019-04-26T17:31:32.0226374Z Exit code: -3

2019-04-26T17:31:32.0417506Z ##[error]Error: D:\do_Agent_work_tool\Octo\6.3.2\ia32\Octo.cmd failed with return code: 4294967293

2019-04-26T17:31:32.0418753Z ##[error]Failed to deploy release D:\do_Agent_work_tool\Octo\6.3.2\ia32\Octo.cmd failed with return code: 4294967293

2019-04-26T17:31:32.0503664Z ##[section]Finishing: Create Octopus Release: Deploy TotalView

1 Like

Hi Richard,

Thanks for getting in touch and I’m sorry to hear you’ve hit this issue.

We’ve raised this GitHub issue to have this bug resolved as soon as possible.

My apologies for the inconvenience caused.

Thank you and best regards,
Henrik

Hi @henrik, I notice that the issue has been fixed and merged in github. Can you give me an eta as to when it will be released?

This is currently disabling our deployment process.

Thanks and regards,
Christian

Hi Christian,

The fix should flow through all our release channels by today/tomorrow.

Thank you and best regards,
Henrik

Thanks Henrik, i appreciate the fast response. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.