[JIRA] (OVIRT-619) Jenkins times out when fetching from gerrit randomly
by eyal edri [Administrator] (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-619?page=com.atlassian.jira... ]
eyal edri [Administrator] updated OVIRT-619:
--------------------------------------------
Resolution: Fixed
Status: Done (was: To Do)
Wasn't seen since we upgraded gerrit VM to be x4 stronger with more mem & cpu.
> Jenkins times out when fetching from gerrit randomly
> -----------------------------------------------------
>
> Key: OVIRT-619
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-619
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Nadav Goldin
> Assignee: infra
> Priority: High
>
> At the first stage of ovirt-engine jobs, Jenkins attemps to fetch ovirt-engine, this sometimes fail with the following error:
> {quote}
> 12:55:02 hudson.plugins.git.GitException: Command "git fetch --tags --progress git://gerrit.ovirt.org/ovirt-engine.git +refs/heads/*:refs/remotes/origin/*" returned status code 143:
> {quote}
> It can time out while downloading(and then you see 'counting objects messages') or sometimes it simply fails after 10 times(which is set as the time out parameter for git)
> So far I've tested few issues:
> # Tried cloning ovirt-engine from one of the slaves for 300-500 times in a row, outside of Jenkins. This showed we have around a 6.5% failure rate with a time out of 90 seconds, which should be reasonable as the current engine is 244MB.
> # Some of the exceptions appear in the Gerrit error_log as:
> {quote}
> [2016-06-29 19:18:26,933] [NioProcessor-1] WARN com.google.gerrit.sshd.GerritServerSession : Exception caught org.apache.sshd.common.SshException: Received 97 on unknown channel 0
> at org.apache.sshd.common.session.AbstractConnectionService.getChannel(AbstractConnectionService.java:301){quote}
> however, there was no one-to-one match between failing to clone and the exceptions in gerrit.
> # Did the same test but from our github mirror, there were almost no failures at all(less than 1%)
--
This message was sent by Atlassian JIRA
(v1000.285.1#100011)