Not sure its possible, but definitely worth investigating, 
opened [1] to track it.

[1] https://ovirt-jira.atlassian.net/browse/OVIRT-562

On Sun, May 22, 2016 at 5:35 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Sun, May 22, 2016 at 11:01 AM, Eyal Edri <eedri@redhat.com> wrote:
> Looks like gerrit.ovirt.org is having network issues from old jenkins.
>
> Nadav, do we have network monitoring to see what might causing it?
> Also, we need to find away not to give -1 if git clone fails,

YES!

Please find a way do this.

Nir

> not sure its
> possible with the gerrit trigger plugin.
>
> On Sun, May 22, 2016 at 10:58 AM, Allon Mureinik <amureini@redhat.com>
> wrote:
>>
>> Hi Infra,
>>
>> My patch https://gerrit.ovirt.org/#/c/57819/ got flagged as failing CI
>> with the message
>> :
>> "
>> "
>> "
>>
>> http://jenkins-old.ovirt.org/job/ovirt-engine_master_find-bugs_gerrit/45479/
>> : There was an infra issue, please contact infra@ovirt.org
>> ""
>> "
>>
>> The console output from the jenkins job (
>>
>> http://jenkins-old.ovirt.org/job/ovirt-engine_master_find-bugs_gerrit/45479/console
>> ) is as follows:
>> """
>>
>> 04:02:33 Triggered by Gerrit: https://gerrit.ovirt.org/57819
>> 04:02:33 Building remotely on fc21-vm01.phx.ovirt.org (vm phx nested fc21)
>> in workspace /home/jenkins/workspace/ovirt-engine_master_find-bugs_gerrit
>> 04:02:34  > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
>> 04:02:34 Fetching changes from the remote Git repository
>> 04:02:34  > /usr/bin/git config remote.origin.url
>> git://gerrit.ovirt.org/ovirt-engine # timeout=10
>> 04:02:34 Pruning obsolete local branches
>> 04:02:34 Fetching upstream changes from
>> git://gerrit.ovirt.org/ovirt-engine
>> 04:02:34  > /usr/bin/git --version # timeout=10
>> 04:02:34  > /usr/bin/git -c core.askpass=true fetch --tags --progress
>> git://gerrit.ovirt.org/ovirt-engine refs/changes/19/57819/1 --prune
>> 04:12:34 ERROR: Timeout after 10 minutes
>> 04:12:34 ERROR: Error fetching remote repo 'origin'
>> 04:12:34 hudson.plugins.git.GitException: Failed to fetch from
>> git://gerrit.ovirt.org/ovirt-engine
>> 04:12:34 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:766)
>> 04:12:34 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1022)
>> 04:12:34 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1053)
>> 04:12:34 at
>> org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:129)
>> 04:12:34 at hudson.scm.SCM.checkout(SCM.java:485)
>> 04:12:34 at
>> hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
>> 04:12:34 at
>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
>> 04:12:34 at
>> jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>> 04:12:34 at
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
>> 04:12:34 at hudson.model.Run.execute(Run.java:1738)
>> 04:12:34 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>> 04:12:34 at
>> hudson.model.ResourceController.execute(ResourceController.java:98)
>> 04:12:34 at hudson.model.Executor.run(Executor.java:410)
>> 04:12:34 Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git
>> -c core.askpass=true fetch --tags --progress
>> git://gerrit.ovirt.org/ovirt-engine refs/changes/19/57819/1 --prune"
>> returned status code 143:
>> 04:12:34 stdout:
>> 04:12:34 stderr:
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
>> 04:12:34 at hudson.remoting.UserRequest.perform(UserRequest.java:120)
>> 04:12:34 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
>> 04:12:34 at hudson.remoting.Request$2.run(Request.java:326)
>> 04:12:34 at
>> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
>> 04:12:34 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> 04:12:34 at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> 04:12:34 at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> 04:12:34 at java.lang.Thread.run(Thread.java:745)
>> 04:12:34 at ......remote call to fc21-vm01.phx.ovirt.org(Native Method)
>> 04:12:34 at
>> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
>> 04:12:34 at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
>> 04:12:34 at hudson.remoting.Channel.call(Channel.java:781)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
>> 04:12:34 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
>> 04:12:34 at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 04:12:34 at java.lang.reflect.Method.invoke(Method.java:606)
>> 04:12:34 at
>> org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
>> 04:12:34 at com.sun.proxy.$Proxy59.execute(Unknown Source)
>> 04:12:34 at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:764)
>> 04:12:34 ... 12 more
>> 04:12:34 ERROR: null
>> 04:12:34 [FINDBUGS] Skipping publisher since build result is FAILURE
>> 04:12:34 Build step 'Groovy Postbuild' marked build as failure
>> 04:12:34 Finished: FAILURE
>>
>> """
>>
>> Can you please assist?
>>
>>
>> Thanks,
>> Allon
>>
>>
>> _______________________________________________
>> Infra mailing list
>> Infra@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/infra
>>
>
>
>
> --
> Eyal Edri
> Associate Manager
> RHEV DevOps
> EMEA ENG Virtualization R&D
> Red Hat Israel
>
> phone: +972-9-7692018
> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>
> _______________________________________________
> Infra mailing list
> Infra@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra
>



--
Eyal Edri
Associate Manager
RHEV DevOps
EMEA ENG Virtualization R&D
Red Hat Israel

phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)