Page MenuHomePhabricator

[Regression] Git clone times out for php-composer-package-validate on mediawiki-core
Closed, DuplicatePublic

Description

Tagging as regression since this used to work fine (either it didn't time out before, or the job wasn't there before, or somehow it was faster in the past).

https://integration.wikimedia.org/ci/job/php-composer-package-validate/697/console in test pipeline for https://gerrit.wikimedia.org/r/259162

Note that it runs on a precise machine as well.

22:30:42 Building remotely on integration-slave-precise-1013 ...
..
22:30:43 Cloning repository git://gallium.wikimedia.org/mediawiki/core
22:44:38 ERROR: Timeout after 10 minutes

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle subscribed.
Krinkle renamed this task from Git clone times out for php-composer-package-validate on mediawiki-core to [Regression] Git clone times out for php-composer-package-validate on mediawiki-core.Dec 15 2015, 2:19 AM
Krinkle added a project: Regression.
Krinkle set Security to None.

I guess the repository on gallium has grown out of control. I did a git gc on it which removed a bunch of old objects and delta:

Total 609781 (delta 506318), reused 604155 (delta 501707)

I have deleted old branches and old references then Repacked both objects and references. That should help.

And I just remembered that cloning the whole mediawiki/core on Precise never really worked. It takes ages to write the pack file which is/was T110512.

In such a case I just manually git fetch the repo in the workspace until we get a change to clone from a local mirror.

fetch has completed and took way more than 10 minutes to write the pack file :(