Git-clone/submodule update hangs indefinitely

Description of the issue

Starting from yesterday, we have been experiencing indefinite hangs on Git Clone step. We limited the clone step to the last commit for both repo and submodule. While it seems like it solved the fetch for the main repo, it still happens periodically for random submodules. I have to admit that our repo is quite large and is around 2GB after clone together with submodules and a .git folder.

Environment:

Stack: Xcode 13.2.x on macOS 12.0 (Monterey)

Which build Step causes the issue and which version of the step?

Git Clone v6.1.2

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Sporadically
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : 12/26/21

Local reproduction

The step was tested on Bitrise CLI. Works every time.

Build log

....
Cloning into '/Users/vagrant/git/Modules/HouzzFoundation/Dependencies/CompactConstraint'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
Cloning into '/Users/vagrant/git/Modules/HouzzFoundation/Dependencies/FloatingPanel'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
timeout after 5400 seconds

Additional notes

It seems like there’s an inconsistency in network connectivity on building machines in general. For instance, it also takes time sometimes for Updating StepLib to complete:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.