From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, "Fam Zheng" <famz@redhat.com>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH for-2.11 v3 06/16] travis: retry when git submodules initialization fails
Date: Wed, 9 Aug 2017 17:27:02 -0300 [thread overview]
Message-ID: <20170809202712.6951-7-f4bug@amsat.org> (raw)
In-Reply-To: <20170809202712.6951-1-f4bug@amsat.org>
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é <f4bug@amsat.org>
---
.travis.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 82c1819c93..196412f5be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -76,7 +76,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
- wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- - git submodule update --init --recursive
+ - travis_retry git submodule update --init --recursive
before_script:
- ./configure ${CONFIG}
script:
@@ -119,7 +119,7 @@ matrix:
- sudo apt-get update -qq
- sudo apt-get build-dep -qq qemu
- wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- - git submodule update --init --recursive
+ - travis_retry git submodule update --init --recursive
# Plain Trusty Linux User Build
- env: CONFIG="--disable-system"
sudo: required
@@ -131,7 +131,7 @@ matrix:
- sudo apt-get update -qq
- sudo apt-get build-dep -qq qemu
- wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- - git submodule update --init --recursive
+ - travis_retry git submodule update --init --recursive
# Trusty System build with latest stable clang
- sudo: required
addons:
@@ -149,7 +149,7 @@ matrix:
- travis_retry sudo apt-get install -qq -y clang-3.9
- sudo apt-get build-dep -qq qemu
- wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- - git submodule update --init --recursive
+ - travis_retry git submodule update --init --recursive
before_script:
- ./configure ${CONFIG} || cat config.log
# Trusty Linux User build with latest stable clang
@@ -169,7 +169,7 @@ matrix:
- travis_retry sudo apt-get install -qq -y clang-3.9
- sudo apt-get build-dep -qq qemu
- wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- - git submodule update --init --recursive
+ - travis_retry git submodule update --init --recursive
before_script:
- ./configure ${CONFIG} || cat config.log
# Using newer GCC with sanitizers
--
2.13.3
next prev parent reply other threads:[~2017-08-09 20:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-09 20:26 [Qemu-devel] [PATCH for-2.11 v3 00/16] travis: speedup to reduce failures Philippe Mathieu-Daudé
2017-08-09 20:26 ` [Qemu-devel] [PATCH for-2.11 v3 01/16] travis: update sudo-enabled Trusty images Philippe Mathieu-Daudé
2017-09-15 15:22 ` Alex Bennée
2017-08-09 20:26 ` [Qemu-devel] [PATCH for-2.11 v3 02/16] travis: install more library dependencies Philippe Mathieu-Daudé
2017-08-09 20:26 ` [Qemu-devel] [PATCH for-2.11 v3 03/16] travis: enable multiple caching features Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 04/16] travis: increase S3 cache timeout Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 05/16] travis: retry if llvm.org timeouts Philippe Mathieu-Daudé
2017-08-09 20:27 ` Philippe Mathieu-Daudé [this message]
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 07/16] travis: split the gprof/gcov job Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 08/16] travis: reorder matrix to speedup failure Philippe Mathieu-Daudé
2017-09-15 15:24 ` Alex Bennée
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 09/16] travis: reduce git clone depth Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 10/16] travis: check ./configure outcome, dump config.log on failure Philippe Mathieu-Daudé
2017-09-15 15:26 ` Alex Bennée
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 11/16] travis/osx: use readable YAML Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 12/16] travis/osx: silent texinfo warnings Philippe Mathieu-Daudé
2018-12-19 21:34 ` Philippe Mathieu-Daudé
2018-12-19 22:42 ` Peter Maydell
2018-12-19 23:12 ` Philippe Mathieu-Daudé
2018-12-19 23:22 ` Peter Maydell
2017-08-09 20:27 ` [Qemu-devel] [RFC PATCH for-2.11 v3 13/16] travis: use gcc-6 sanitizers Philippe Mathieu-Daudé
2017-08-09 20:27 ` [Qemu-devel] [RFC PATCH for-2.11 v3 14/16] travis: allow_failures for gprof/gcov Philippe Mathieu-Daudé
2017-09-15 15:51 ` Alex Bennée
2017-08-09 20:27 ` [Qemu-devel] [RFC PATCH for-2.11 v3 15/16] travis/osx: build using more Xcode versions Philippe Mathieu-Daudé
2017-09-15 15:54 ` Alex Bennée
2017-08-09 20:27 ` [Qemu-devel] [NOTFORMERGE PATCH for-2.11 v3 16/16] travis/osx: build using bleeding Xcode Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170809202712.6951-7-f4bug@amsat.org \
--to=f4bug@amsat.org \
--cc=alex.bennee@linaro.org \
--cc=famz@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).