[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 15/21] travis: retry when git submodules init
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PATCH v2 15/21] travis: retry when git submodules initialization fails |
Date: |
Thu, 22 Jun 2017 11:24:07 +0100 |
User-agent: |
mu4e 0.9.19; emacs 25.2.50.3 |
Philippe Mathieu-Daudé <address@hidden> writes:
> example of failure: https://travis-ci.org/philmd/qemu/jobs/245612939
>
> $ git submodule update --init --recursive
> [...]
> Submodule 'pixman' (git://anongit.freedesktop.org/pixman) registered for
> path 'pixman'
> Cloning into 'pixman'...
> fatal: unable to connect to anongit.freedesktop.org:
> anongit.freedesktop.org[0: 131.252.210.161]: errno=Connection timed out
> anongit.freedesktop.org[1: 2610:10:20:722:a800:ff:fe24:61cf]: errno=Network
> is unreachable
> Clone of 'git://anongit.freedesktop.org/pixman' into submodule path
> 'pixman' failed
> The command "git submodule update --init --recursive" failed and exited
> with 1 during .
> Your build has been stopped.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
> ---
> .travis.yml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index bac5bea744..34391722a2 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -85,7 +85,7 @@ git:
> before_install:
> - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
> - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib
> pixman ccache ; fi
> - - git submodule update --init --recursive
> + - travis_retry git submodule update --init --recursive
> before_script:
> # https://docs.travis-ci.com/user/caching#ccache-on-os-x
> - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export
> PATH=/usr/local/opt/ccache/libexec:$PATH ; fi
--
Alex Bennée
- Re: [Qemu-devel] [PATCH v2 10/21] travis: increase S3 cache timeout, (continued)
- [Qemu-devel] [PATCH v2 12/21] travis: build using all available cores, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 13/21] travis: improve ccache use, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 11/21] travis: cache git submodules, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 14/21] travis: dump config.log if ./configure script fails, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 15/21] travis: retry when git submodules initialization fails, Philippe Mathieu-Daudé, 2017/06/21
- Re: [Qemu-devel] [PATCH v2 15/21] travis: retry when git submodules initialization fails,
Alex Bennée <=
- [Qemu-devel] [PATCH v2 16/21] travis: split the gprof/gcov job, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 17/21] travis/osx: don't update Homebrew cache, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 18/21] travis/osx: silent texinfo warnings, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 19/21] travis/osx: build using more Xcode versions, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [PATCH v2 20/21] MAINTAINERS: self-appoint me as reviewer in build/test automation, Philippe Mathieu-Daudé, 2017/06/21
- [Qemu-devel] [RFC PATCH v2 21/21] ui/vnc: silent unuseful OSX clang warning, Philippe Mathieu-Daudé, 2017/06/21