cloning from gerrit times out in CI

Description

There are reports of job failures due to timeouts to clone ovirt-engine:
https://jenkins.ovirt.org/job/ovirt-engine_4.3_check-patch-el7-x86_64/399/console

> git fetch --tags --progress git://gerrit.ovirt.org/ovirt-engine.git +refs/heads/:refs/remotes/origin/
ERROR: Timeout after 10 minutes
ERROR: Error cloning remote repo 'origin'
...
Resolving deltas: 100% (617299/617299), done.
error: rev-list died of signal 15
error: git://gerrit.ovirt.org/ovirt-engine.git did not send all necessary objects

Opening ticket to investigate what's going on and if moving to HTTPS may help here (see )

Activity

Show:

Former user August 30, 2019 at 9:35 AM

Indeed, the root cause (hardware failure on an edge router in PHX) was identified and fixed, we can close this outage tracker now.

Eyal Edri August 29, 2019 at 2:21 PM

Seems its fixed, so can probably close this ticket.

Former user August 28, 2019 at 12:33 PM

IT reports there’s a fix implemented on the network side of things and my tests are showing much better performance now. please let me know if you still see any timeouts in CQ.

Dusan Fodor August 27, 2019 at 4:44 PM
Edited

I believe whole cloning might become more efficient, e.g. by cloning single branch using--branch=<branchname> --singlebranch, using shallow-clone (gerrit.ovirt.org’s JGit doesn’t support shallow-since, but we could use --depth option)

Here are my tries for ovirt-engine:

I think it’s worth the effort, WDYT ?

Former user August 27, 2019 at 12:47 PM

Bumped timeout to 30 minutes as this is still not solved:

https://gerrit.ovirt.org/#/c/102874/

Fixed

Details

Assignee

Reporter

Priority

Created July 17, 2019 at 1:53 PM
Updated August 30, 2019 at 9:35 AM
Resolved August 7, 2019 at 12:32 PM