Simple linux deployment that is supposed to unpack the nupkg to /var/dir just takes forever and doesn’t finish.
This is what’s showing on the task log:
Task ID: ServerTasks-3246
Task status: Executing
Task queued: Thursday, November 5, 2015 6:56 PM
Task started: Thursday, November 5, 2015 6:56 PM
Task duration: 14 seconds
Server version: 3.2.0+Branch.master.Sha.391e7e2a161abf18405930022a65470fbfeb195d
18:56:53 Verbose | Guided failure is not enabled for this task
|
| == Running: Acquire packages ==
18:56:53 Info | Acquiring packages
18:56:53 Info | Making a list of packages to download
18:56:53 Verbose | Checking package cache for package SangLucci.RocketChat 1.0.0.9
18:56:55 Verbose | Package X version 1.0.0.9 was found in cache. No need to download. Using file: C:\Octopus\OctopusServer\PackageCache\feeds-teamcity\X.1.0.0.9_4711B6167A447A44B52522451628C9B7.nupkg
18:56:55 Verbose | SHA1 hash of package X is: 03dc4301bb8fcaf308cce59584567475183f32cc
|
| Running: X.cloudapp.net
|
| Running: Upload package X 1.0.0.9
18:56:55 Verbose | Requesting upload…
18:56:55 Verbose | Establishing SSH connection…
18:56:55 Verbose | SSH connection established
18:56:56 Info | Beginning streaming transfer of calamari-find-package.sh to .octopus\OctopusServer\Work\20151105185653-4
18:56:56 Verbose | Establishing SFTP connection…
18:56:57 Verbose | SSFTP connection established
18:56:57 Info | Stream transfer complete
18:56:58 Info | This server does not have version 3.1.2 of the Calamari package. It will be pushed automatically.
18:57:04 Verbose | Requesting upload…
18:57:04 Info | Beginning streaming transfer of calamari.3.1.2.tar.gz to .octopus\OctopusServer\Work\20151105185653-4
18:57:05 Info | Stream transfer complete
18:57:05 Verbose | Requesting upload…
18:57:06 Info | Beginning streaming transfer of extract-calamari-package.sh to .octopus\OctopusServer\Work\20151105185653-4
18:57:06 Info | Stream transfer complete
|
| == Pending: Step 1: Deploy package ==
It got a bit further after a long time but only up to the unpacking step and froze again - took about 10 minutes which is still unreasonable as both are Azure servers in the same region - SSH transfer between them can’t be that slow (pkg is 22MB)
Thanks for getting in touch and I’m sorry to hear you are having these issues!
To help me troubleshoot the slowness you are experiencing, could you please tell me a bit more about your current setup you is in Azure?
VM sizes, OS (both OD server and Linux server) installed
Mono version
Could you also provide us with your NuGet package that you are trying to deploy? If you can I will provide you with a link to a secure upload as the package is a bit big for sending through the forum.
I had to custom compile Octo.exe with this patch to successfully package the meteor app.
Doubtful though - it’s just a different way of loading the file stream. I went through the relevant usages and FileStream.Name which is the only place affected by this patch, is not used anywhere.
I can’t think of anything else, I hope you have some ideas…
It seems that the Mono 4.0.1 NRE is related to this issue: https://bugzilla.xamarin.com/show_bug.cgi?id=26205 - it’s supposed to be resolved in 4.0.3.17 which is why it doesn’t appear in 4.0.4 but there’s obviously another issue there that makes mono take forever.
I have created an area for you to upload your package here so that I can try and replicate this issue, let me know if you have any issues accessing or uploading your files there.