[openstack-dev] [OpenStack-Infra] Intermittent failures cloning noVNC from github.com/kanaka
Sukhdev Kapur
sukhdevkapur at gmail.com
Wed Mar 12 00:07:10 UTC 2014
Hey Monty,
The issue is when we are using stack.sh, how do we use cache dir as oppose
to going at git?
Is there any option which can be set to utilize this feature?
-Sukhdev
On Tue, Mar 11, 2014 at 4:42 PM, Monty Taylor <mordred at inaugust.com> wrote:
> Honestly not being snarky here ... The reason is that github if quite
> flaky. We try very hard to never touch it in infra. And by try, I mean we
> NEVER clone from it live, and if we absoluely can't avoid it for some
> reason, we are clone into a cache dir.
>
> On Mar 11, 2014 4:28 PM, "Dane Leblanc (leblancd)" <leblancd at cisco.com>
> wrote:
> >
> > Apologies if this is the wrong audience for this question…
> >
> >
> >
> > I’m seeing intermittent failures running stack.sh whereby ‘git clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC’ is returning
> various errors. Below are 2 examples.
> >
> >
> >
> > Is this a known issue? Are there any localrc settings which might help
> here?
> >
> >
> >
> > Example 1:
> >
> >
> >
> > 2014-03-11 15:00:33.779 | + is_service_enabled n-novnc
> >
> > 2014-03-11 15:00:33.780 | + return 0
> >
> > 2014-03-11 15:00:33.781 | ++ trueorfalse False
> >
> > 2014-03-11 15:00:33.782 | + NOVNC_FROM_PACKAGE=False
> >
> > 2014-03-11 15:00:33.783 | + '[' False = True ']'
> >
> > 2014-03-11 15:00:33.784 | + NOVNC_WEB_DIR=/opt/stack/noVNC
> >
> > 2014-03-11 15:00:33.785 | + git_clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC master
> >
> > 2014-03-11 15:00:33.786 | + GIT_REMOTE=
> https://github.com/kanaka/noVNC.git
> >
> > 2014-03-11 15:00:33.788 | + GIT_DEST=/opt/stack/noVNC
> >
> > 2014-03-11 15:00:33.789 | + GIT_REF=master
> >
> > 2014-03-11 15:00:33.790 | ++ trueorfalse False False
> >
> > 2014-03-11 15:00:33.791 | + RECLONE=False
> >
> > 2014-03-11 15:00:33.792 | + [[ False = \T\r\u\e ]]
> >
> > 2014-03-11 15:00:33.793 | + echo master
> >
> > 2014-03-11 15:00:33.794 | + egrep -q '^refs'
> >
> > 2014-03-11 15:00:33.795 | + [[ ! -d /opt/stack/noVNC ]]
> >
> > 2014-03-11 15:00:33.796 | + [[ False = \T\r\u\e ]]
> >
> > 2014-03-11 15:00:33.797 | + git_timed clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC
> >
> > 2014-03-11 15:00:33.798 | + local count=0
> >
> > 2014-03-11 15:00:33.799 | + local timeout=0
> >
> > 2014-03-11 15:00:33.801 | + [[ -n 0 ]]
> >
> > 2014-03-11 15:00:33.802 | + timeout=0
> >
> > 2014-03-11 15:00:33.803 | + timeout -s SIGINT 0 git clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC
> >
> > 2014-03-11 15:00:33.804 | Cloning into '/opt/stack/noVNC'...
> >
> > 2014-03-11 15:03:13.694 | error: RPC failed; result=56, HTTP code = 200
> >
> > 2014-03-11 15:03:13.695 | fatal: The remote end hung up unexpectedly
> >
> > 2014-03-11 15:03:13.697 | fatal: early EOF
> >
> > 2014-03-11 15:03:13.698 | fatal: index-pack failed
> >
> > 2014-03-11 15:03:13.699 | + [[ 128 -ne 124 ]]
> >
> > 2014-03-11 15:03:13.700 | + die 596 'git call failed: [git clone'
> https://github.com/kanaka/noVNC.git '/opt/stack/noVNC]'
> >
> > 2014-03-11 15:03:13.701 | + local exitcode=0
> >
> > 2014-03-11 15:03:13.702 | [Call Trace]
> >
> > 2014-03-11 15:03:13.703 | ./stack.sh:736:install_nova
> >
> > 2014-03-11 15:03:13.705 |
> /var/lib/jenkins/devstack/lib/nova:618:git_clone
> >
> > 2014-03-11 15:03:13.706 |
> /var/lib/jenkins/devstack/functions-common:543:git_timed
> >
> > 2014-03-11 15:03:13.707 |
> /var/lib/jenkins/devstack/functions-common:596:die
> >
> > 2014-03-11 15:03:13.708 | [ERROR]
> /var/lib/jenkins/devstack/functions-common:596 git call failed: [git clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC]
> >
> >
> >
> >
> >
> > Example 2:
> >
> >
> >
> > 2014-03-11 14:12:58.472 | + is_service_enabled n-novnc
> >
> > 2014-03-11 14:12:58.473 | + return 0
> >
> > 2014-03-11 14:12:58.474 | ++ trueorfalse False
> >
> > 2014-03-11 14:12:58.475 | + NOVNC_FROM_PACKAGE=False
> >
> > 2014-03-11 14:12:58.476 | + '[' False = True ']'
> >
> > 2014-03-11 14:12:58.477 | + NOVNC_WEB_DIR=/opt/stack/noVNC
> >
> > 2014-03-11 14:12:58.478 | + git_clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC master
> >
> > 2014-03-11 14:12:58.479 | + GIT_REMOTE=
> https://github.com/kanaka/noVNC.git
> >
> > 2014-03-11 14:12:58.480 | + GIT_DEST=/opt/stack/noVNC
> >
> > 2014-03-11 14:12:58.481 | + GIT_REF=master
> >
> > 2014-03-11 14:12:58.482 | ++ trueorfalse False False
> >
> > 2014-03-11 14:12:58.483 | + RECLONE=False
> >
> > 2014-03-11 14:12:58.484 | + [[ False = \T\r\u\e ]]
> >
> > 2014-03-11 14:12:58.485 | + echo master
> >
> > 2014-03-11 14:12:58.486 | + egrep -q '^refs'
> >
> > 2014-03-11 14:12:58.487 | + [[ ! -d /opt/stack/noVNC ]]
> >
> > 2014-03-11 14:12:58.488 | + [[ False = \T\r\u\e ]]
> >
> > 2014-03-11 14:12:58.489 | + git_timed clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC
> >
> > 2014-03-11 14:12:58.490 | + local count=0
> >
> > 2014-03-11 14:12:58.491 | + local timeout=0
> >
> > 2014-03-11 14:12:58.492 | + [[ -n 0 ]]
> >
> > 2014-03-11 14:12:58.493 | + timeout=0
> >
> > 2014-03-11 14:12:58.494 | + timeout -s SIGINT 0 git clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC
> >
> > 2014-03-11 14:12:58.495 | Cloning into '/opt/stack/noVNC'...
> >
> > 2014-03-11 14:14:02.315 | error: The requested URL returned error: 403
> while accessing https://github.com/kanaka/noVNC.git/info/refs
> >
> > 2014-03-11 14:14:02.316 | fatal: HTTP request failed
> >
> > 2014-03-11 14:14:02.317 | + [[ 128 -ne 124 ]]
> >
> > 2014-03-11 14:14:02.318 | + die 596 'git call failed: [git clone'
> https://github.com/kanaka/noVNC.git '/opt/stack/noVNC]'
> >
> > 2014-03-11 14:14:02.319 | + local exitcode=0
> >
> > 2014-03-11 14:14:02.321 | [Call Trace]
> >
> > 2014-03-11 14:14:02.322 | ./stack.sh:736:install_nova
> >
> > 2014-03-11 14:14:02.323 |
> /var/lib/jenkins/devstack/lib/nova:618:git_clone
> >
> > 2014-03-11 14:14:02.324 |
> /var/lib/jenkins/devstack/functions-common:543:git_timed
> >
> > 2014-03-11 14:14:02.326 |
> /var/lib/jenkins/devstack/functions-common:596:die
> >
> > 2014-03-11 14:14:02.327 | [ERROR]
> /var/lib/jenkins/devstack/functions-common:596 git call failed: [git clone
> https://github.com/kanaka/noVNC.git /opt/stack/noVNC]
> >
> >
> >
> > Thanks,
> >
> > Dane
> >
> >
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140311/cf662ee0/attachment.html>
More information about the OpenStack-dev
mailing list