Apr 18 09:38:27 production.log: Started POST "/fdroid/fdroidserver.git/git-upload-pack" for X.X.X.X at 2016-04-18 09:38:27 +00002016-04-18_09:38:27.90519 gitlab-workhorse: fatal: The remote end hung up unexpectedly2016-04-18_09:38:27.90623 gitlab-workhorse: 2016/04/18 09:38:27 error: handlePostRPC wait for [git upload-pack --stateless-rpc /var/opt/gitlab/git-data/repositories/fdroid/fdroidserver.git]: exit status 1282016-04-18_09:38:27.90627 gitlab-workhorse: gitlab.com @ - - [2016-04-18 09:38:27.731301767 +0000 UTC] "POST /fdroid/fdroidserver.git/git-upload-pack HTTP/1.1" 500 78 "" "git/2.1.4" 0.174936Apr 18 09:38:27 gitlab_access.log: 10.1.0.33 - - [18/Apr/2016:09:38:27 +0000] "POST /fdroid/fdroidserver.git/git-upload-pack HTTP/1.1" 500 78 "-" "git/2.1.4"
I've searched what exit status 128 means and as for now I only know it means "git command exited with an error".
I've tried the command git clone https://gitlab.com/fdroid/fdroidserver.git on my laptop and it worked without any problems.
I've realized that in your build the command has --depth=1 option so I executed:
$ git clone https://gitlab.com/fdroid/fdroidserver.git --depth=1Cloning into 'fdroidserver'...error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Errorfatal: The remote end hung up unexpectedly
So the problem is the --depth=1 option but I don't know yet why. I will search the cause, but you can temporarily remove the --depth=1 option to use your builds.
I can also confirm that this is failing for any git clone --depth=1 over HTTP (on any project). And it's working just fine when using SSH protocol instead.
Problem will be fixed with going back to GitLab Workhorse 0.7.1. The MR changing the version of Workhose was merged and it was picked into stable branch so it should be fixed on GitLab.com after the next deploy.
We will probably deploy some RC version before Friday but if not, then changes should be on GitLab.com on release day (22.04).
Please follow https://twitter.com/gitlabstatus to know when the deploy is done. I will close this issue. If the problem will exists after the deploy, then feel free to reopen it :)