Git fetch hangs at "git-upload-pack" step
I use Gitlab 7.13.3 and git v2.5.0 .
I was originally having an issue with gitlab_ci_multi_runner that systematically failed to clone one very project, while I usually succeeds with other projects.
Then I found that the following test case always fails. git fetch
never ends.
$ mkdir test && cd test && git init
$ git remote add origin 'http://gitlab-ci-token:XXXXXXXXXXXXX@my.gitlab/my-group/my-project.git'
$ GIT_TRACE=1 git fetch -v origin
17:31:30.641438 git.c:349 trace: built-in: git 'fetch' '-v' 'origin'
17:31:30.642123 run-command.c:341 trace: run_command: 'git-remote-http' 'origin' 'http://gitlab-ci-token:XXXXXXXXXXXX@my.gitlab/my-group/my-project.git'
17:31:31.289195 run-command.c:341 trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
17:31:31.291515 run-command.c:341 trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--include-tag' '--thin' 'http://gitlab-ci-token:XXXXXXXXXXXX@my.gitlab/my-group/my-project.git/'
17:31:31.292008 exec_cmd.c:134 trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--include-tag' '--thin' 'http://gitlab-ci-token:XXXXXXXXXXXX@my.gitlab/my-group/my-project.git/'
17:31:31.293204 git.c:349 trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--include-tag' '--thin' 'http://gitlab-ci-token:XXXXXXXXXXXX@my.gitlab/my-group/my-project.git/'
POST git-upload-pack (152 bytes)
In unicorn.stderr.log I can read this
E, [2015-08-10T17:32:02.507397 #9441] ERROR -- : worker=0 PID:10247 timeout (31s > 30s), killing
E, [2015-08-10T17:32:02.578202 #9441] ERROR -- : reaped #<Process::Status: pid 10247 SIGKILL (signal 9)> worker=0
I, [2015-08-10T17:32:02.618676 #10472] INFO -- : worker=0 ready
error: git-upload-pack died of signal 13
Does somebody know what happens?