Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592370 - dev-vcs/git-2.9.3 hangs while cloning a repository
Summary: dev-vcs/git-2.9.3 hangs while cloning a repository
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-29 09:38 UTC by PM
Modified: 2016-08-29 10:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2016-08-29 09:38:34 UTC
When I try doing 'git clone https://code.qt.io/cgit/qt/qtbase.git' it hangs indefinitely with 100% cpu usage on one core. Specifically, the process 'git-remote-https origin https://code.qt.io/cgit/qt/qtbase.git'. This happens for all qt repos, couldn't reproduce elsewhere (e.g. github). 

Can someone reproduce this?
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-29 09:43:38 UTC
=dev-vcs/git-2.3.9 is not even in portage anymore.
The latest stable version is =dev-vcs/git-2.7.3-r1, the oldest available (unstable) version is =dev-vcs/git-2.4.11

Please test with one of the available versions and only re-open this bug if one of these versions fail as well.
Comment 2 PM 2016-08-29 09:45:39 UTC
Sorry, meant 2.9.3
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-29 10:01:59 UTC
Well, it's quite slow here but there's definitely activity in the repo's target directory. 
I see the .git/objects directory getting constantly filled with content.

Have you tried letting it sit for let's say a couple of hours? ;)
Comment 4 PM 2016-08-29 10:08:58 UTC
You're right, something seems to be happening, but it shouldn't be this slow, right? And it should display some progress updates? Syncing the same repository from github completes in a matter of seconds.

$ time git clone https://github.com/qt/qtbase
Cloning into 'qtbase'...
remote: Counting objects: 426214, done.
remote: Compressing objects: 100% (309/309), done.
remote: Total 426214 (delta 94), reused 0 (delta 0), pack-reused 425905
Receiving objects: 100% (426214/426214), 262.99 MiB | 24.45 MiB/s, done.
Resolving deltas: 100% (331271/331271), done.
Checking connectivity... done.

real	0m18.546s
user	0m17.159s
sys	0m1.699s
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-29 10:29:39 UTC
I went to the shopping mall and after I've returned the clone was finished. So I'd say this is an error with qt's git service.