Push Package Error

usability
(Daanish) #1

Hi,
i am facing an issue while deploying the packages through CI/CD Azure Devops.
We are getting the below error ( Push packages to Octopus )

2019-06-19T10:17:35.6172486Z ##[section]Starting: Push Packages to Octopus
2019-06-19T10:17:35.6281519Z ==============================================================================
2019-06-19T10:17:35.6281618Z Task : Push Package(s) to Octopus
2019-06-19T10:17:35.6281665Z Description : Push your NuGet or Zip package to your Octopus Deploy Server
2019-06-19T10:17:35.6281712Z Version : 3.0.222
2019-06-19T10:17:35.6281790Z Author : Octopus Deploy
2019-06-19T10:17:35.6281835Z Help : Version: 3.0.222. More Information
2019-06-19T10:17:35.6281884Z ==============================================================================
2019-06-19T10:17:36.4152447Z 450b6219-f064-4bc4-bda1-f0ba2c8a7d62 exists true
2019-06-19T10:17:36.4376144Z [command]C:\windows\system32\cmd.exe /D /S /C “C:\hostedtoolcache\windows\Octo\6.8.0\x64\Octo.cmd push “–server=https://octopus-deploy.scjbrands.com/” “–apiKey=***” “–package=D:/a/2/a/packages/SCJ.Ziploc.Web.QA.2019.06.19.4.nupkg” --replace-existing”
2019-06-19T10:17:36.4488246Z
2019-06-19T10:17:36.4488985Z D:\a\2\s>dotnet “C:\hostedtoolcache\windows\Octo\6.8.0\x64/Octo.dll” push “–server=https://octopus-deploy.scjbrands.com/” “–apiKey=***” “–package=D:/a/2/a/packages/SCJ.Ziploc.Web.QA.2019.06.19.4.nupkg” --replace-existing
2019-06-19T10:17:36.8342015Z Octopus Deploy Command Line Tool, version 6.8.0
2019-06-19T10:17:36.8350448Z
2019-06-19T10:17:37.3356888Z Detected automation environment: “AzureDevOps”
2019-06-19T10:17:38.2475114Z Process will run in backwards compatible mode for older versions of Octopus Server
2019-06-19T10:17:38.2480158Z Handshaking with Octopus Server: https://octopus-deploy.scjbrands.com/
2019-06-19T10:17:38.3159440Z Handshake successful. Octopus version: 2018.10.0; API version: 3.0.0
2019-06-19T10:17:38.4410037Z Authenticated as: administrator
2019-06-19T10:17:38.4470047Z Pushing package: D:\a\2\a\packages\SCJ.Ziploc.Web.QA.2019.06.19.4.nupkg…
2019-06-19T10:17:38.4632822Z Requesting signature for delta compression from the server for upload of a package with id ‘SCJ.Ziploc.Web.QA’ and version ‘2019.06.19.4’
2019-06-19T10:17:41.6195923Z Calculating delta
2019-06-19T10:17:43.4595770Z The delta file (1,810,706 bytes) is 2.47 % the size of the orginal file (73,189,435 bytes), uploading…
2019-06-19T10:17:47.6781545Z Something went wrong while performing a delta transfer: Unable to process response from server: String was not recognized as a valid DateTime… Response content: {
2019-06-19T10:17:47.6782898Z “Id”: “packages-SCJ.Ziploc.Web.QA.2019.06.19.4”,
2019-06-19T10:17:47.6782966Z “PackageSizeBytes”: 73189435,
2019-06-19T10:17:47.6783022Z “Hash”: “2b1e3929381b32bd291e42de68e30b1623e37ef6”,
2019-06-19T10:17:47.6783096Z “NuGetPackageId”: “SCJ.Ziploc.Web.QA”,
2019-06-19T10:17:47.6783148Z “PackageId”: “SCJ.Ziploc.Web.QA”,
2019-06-19T10:17:47.6783200Z “NuGetFeedId”: “feeds-builtin”,
2019-06-19T10:17:47.6783267Z “FeedId”: “feeds-builtin”,
2019-06-19T10:17:47.6783314Z “Title”: null,
2019-06-19T10:17:47.6783375Z “Summary”: null,
2019-06-19T10:17:47.6783641Z “Version”: “2019.06.19.4”,
2019-06-19T10:17:47.6783697Z “Description”: “A deployment package created from files on disk.”,
2019-06-19T10:17:47.6783753Z “Published”: “Wednesday, June 19, 2019 5:17 AM”,
2019-06-19T10:17:47.6783823Z “ReleaseNotes”: null,
2019-06-19T10:17:47.6783869Z “FileExtension”: “.nupkg”,
2019-06-19T10:17:47.6783921Z “Links”: {
2019-06-19T10:17:47.6783995Z “Self”: “/api/packages/packages-SCJ.Ziploc.Web.QA.2019.06.19.4”,
2019-06-19T10:17:47.6784052Z “AllVersions”: “/api/packages?nuGetPackageId=SCJ.Ziploc.Web.QA”,
2019-06-19T10:17:47.6784105Z “Feed”: “/api/feeds/feeds-builtin”,
2019-06-19T10:17:47.6784174Z “Raw”: “/api/packages/packages-SCJ.Ziploc.Web.QA.2019.06.19.4/raw”
2019-06-19T10:17:47.6784221Z }
2019-06-19T10:17:47.6784264Z }
2019-06-19T10:17:47.6784329Z Falling back to pushing the complete package to the server
2019-06-19T10:18:04.2036043Z Unable to process response from server: String was not recognized as a valid DateTime… Response content: {
2019-06-19T10:18:04.2038419Z “Id”: “packages-SCJ.Ziploc.Web.QA.2019.06.19.4”,
2019-06-19T10:18:04.2038472Z “PackageSizeBytes”: 73189435,
2019-06-19T10:18:04.2038521Z “Hash”: “2b1e3929381b32bd291e42de68e30b1623e37ef6”,
2019-06-19T10:18:04.2038588Z “NuGetPackageId”: “SCJ.Ziploc.Web.QA”,
2019-06-19T10:18:04.2038652Z “PackageId”: “SCJ.Ziploc.Web.QA”,
2019-06-19T10:18:04.2038696Z “NuGetFeedId”: “feeds-builtin”,
2019-06-19T10:18:04.2038969Z “FeedId”: “feeds-builtin”,
2019-06-19T10:18:04.2039013Z “Title”: null,
2019-06-19T10:18:04.2039056Z “Summary”: null,
2019-06-19T10:18:04.2039118Z “Version”: “2019.06.19.4”,
2019-06-19T10:18:04.2039347Z “Description”: “A deployment package created from files on disk.”,
2019-06-19T10:18:04.2039401Z “Published”: “Wednesday, June 19, 2019 5:18 AM”,
2019-06-19T10:18:04.2039466Z “ReleaseNotes”: null,
2019-06-19T10:18:04.2039512Z “FileExtension”: “.nupkg”,
2019-06-19T10:18:04.2039562Z “Links”: {
2019-06-19T10:18:04.2039629Z “Self”: “/api/packages/packages-SCJ.Ziploc.Web.QA.2019.06.19.4”,
2019-06-19T10:18:04.2039684Z “AllVersions”: “/api/packages?nuGetPackageId=SCJ.Ziploc.Web.QA”,
2019-06-19T10:18:04.2039735Z “Feed”: “/api/feeds/feeds-builtin”,
2019-06-19T10:18:04.2039804Z “Raw”: “/api/packages/packages-SCJ.Ziploc.Web.QA.2019.06.19.4/raw”
2019-06-19T10:18:04.2039859Z }
2019-06-19T10:18:04.2039901Z }
2019-06-19T10:18:04.2039967Z Error from Octopus Server (HTTP 201 Created)
2019-06-19T10:18:04.2040012Z Exit code: -7
2019-06-19T10:18:04.2112198Z ##[error]Error: C:\hostedtoolcache\windows\Octo\6.8.0\x64\Octo.cmd failed with return code: 4294967289
2019-06-19T10:18:04.2113036Z ##[error]Failed to push package. C:\hostedtoolcache\windows\Octo\6.8.0\x64\Octo.cmd failed with return code: 4294967289
2019-06-19T10:18:04.2205626Z ##[section]Finishing: Push Packages to Octopus

(Justin Walsh) #3

This is entirely our fault, we released a new version of our Octopus command-line tool (Octo.exe) this morning (US-time) that had a bug when dealing with versions of Octopus before 2019.2.

The Octopus AzureDevops/TFS extension will automatically attempt to download the latest version of this tool when it starts up as part of a task, and it looks like you were unlucky enough to pull this version down before we could remove the bugged release.

We have fixed this issue (https://github.com/OctopusDeploy/OctopusClients/issues/432), and have released 6.8.1 of the Octo.exe, which resolves the issue. The next time the ADO/TFS plugin runs a task, it should download the new version.

We sincerely apologize for the inconvenience caused by this situation.