Hi Octopus gurus,
We’re currently having issues with octo.exe commands taking a long time to execute. It looks like the “Handshaking with Octopus server” step is taking about 20 seconds to complete. Because we have a large number of packages, releases etc. this has added around 20 minutes total to our build process.
The issue started quite suddenly with all of our step times jumping from ~2 seconds per octo.exe command to ~22 seconds per octo.exe command.
I’ve included sample logs below from a couple of different octo.exe commands. You can see from the timestamps on each line that there is a significant delay between “Handshaking with Octopus server” and “Handshake successful”.
Any ideas what might be causing this?
Thanks,
Wayne.
Pushing a nuget package manually from the command line:
c:\Temp>octo push --server=http://server/ --apiKey=(key) --package=TestNugetPackage.1.0.0.nupkg --replace-existing
2017-01-18 14:44:58.436 - Octopus Deploy Command Line Tool, version 3.3.16+Branch.master.Sha.47e0e502fcd994db2415887dc3bf8b3f248962a7
2017-01-18 14:44:58.438 -
2017-01-18 14:44:58.586 - Handshaking with Octopus server: http://server/
2017-01-18 14:45:28.255 - Handshake successful. Octopus version: 3.7.12; API version: 3.0.0
2017-01-18 14:45:28.301 - Authenticated as: Octopus Deploy od@domain (a service account)
2017-01-18 14:45:28.301 - Pushing package: c:\Temp\TestNugetPackage.1.0.0.nupkg…
2017-01-18 14:45:29.420 - Push successful
Creating a release through the TeamCity runner:
[Octopus Deploy] Running command: octo.exe create-release --server http://server/ --apikey=(key) --project Full Deploy --enableservicemessages --version 1.0.0.948 --channel 1.0.0 --packageversion=1.0.0.948 --releasenotesfile=C:\Win32App\BuildAgent\temp\buildTmp\releasenotesfile_111.txt --ignoreexisting
[12:50:50][Octopus Deploy] Creating Octopus Deploy release
[12:50:50][Octopus Deploy] Octopus Deploy Command Line Tool, version 3.4.2+Branch.master.Sha.869d64eaf5d2657a5daadda886a2dd697e2a024c
[12:50:50][Octopus Deploy]
[12:50:50][Octopus Deploy] Build environment is NoneOrUnknown
[12:50:50][Octopus Deploy] Handshaking with Octopus server: http://server/
[12:51:11][Octopus Deploy] Handshake successful. Octopus version: 3.7.12; API version: 3.0.0
[12:51:11][Octopus Deploy] Authenticated as: “Octopus Deploy” <“od@domain”> “(a service account)”
[12:51:11][Octopus Deploy] This Octopus Server “supports” channels
…