Running 'gdk update' hangs at 'Updating gitlab-org/gitlab' section
Overview
When running a gdk update
, it was observed the process hung at the section:
--------------------------------------------------------------------------------
Updating gitlab-org/gitlab
--------------------------------------------------------------------------------
After some debugging (export GDK_DEBUG=true ; gdk update
) it was determined the git fetch
operation for the gitlab-org/gitlab
project was hanging:
--------------------------------------------------------------------------------
Updating gitlab-org/gitlab
--------------------------------------------------------------------------------
support/component-git-update gitlab "gitlab" master master
DEBUG: command=[git stash save -u], opts=[{:chdir=>#<Pathname:/Users/user/gitlab-development-kit/gitlab>}], display_output=[false], retry_attempts=[3]
DEBUG: result: success?=[true], stdout=[No local changes to save], stderr=[]
DEBUG: command=[git rev-parse --is-shallow-repository], opts=[{:chdir=>#<Pathname:/Users/user/gitlab-development-kit/gitlab>}], display_output=[false], retry_attempts=[3]
DEBUG: result: success?=[true], stdout=[false], stderr=[]
DEBUG: command=[git fetch --all --tags --prune], opts=[{:chdir=>#<Pathname:/Users/user/gitlab-development-kit/gitlab>}], display_output=[false], retry_attempts=[3]
Ideally the git fetch
should fail and the command should be retried and ultimately fail but it hung indefinitely.
cc @.luke
Impacted categories
The following categories relate to this issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Steps to replicate
TBD