qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
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 05/16] travis: retry if llvm.org timeouts
Date: Wed,  9 Aug 2017 17:27:01 -0300	[thread overview]
Message-ID: <20170809202712.6951-6-f4bug@amsat.org> (raw)
In-Reply-To: <20170809202712.6951-1-f4bug@amsat.org>

example of failure: https://travis-ci.org/qemu/qemu/jobs/243232857

    $ sudo apt-get update -qq
    W: Failed to fetch http://llvm.org/apt/trusty/dists/llvm-toolchain-trusty-3.9/Release.gpg  Connection failed
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    The command "sudo apt-get update -qq" failed and exited with 100 during .
    Your build has been stopped.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d622d8c433..82c1819c93 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -143,10 +143,10 @@ matrix:
         - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
         - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9"
       before_install:
-        - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
-        - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
-        - sudo apt-get update -qq
-        - sudo apt-get install -qq -y clang-3.9
+        - travis_retry wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
+        - travis_retry sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
+        - travis_retry sudo apt-get update -qq
+        - 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
@@ -163,10 +163,10 @@ matrix:
         - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
         - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9"
       before_install:
-        - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
-        - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
-        - sudo apt-get update -qq
-        - sudo apt-get install -qq -y clang-3.9
+        - travis_retry wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
+        - travis_retry sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
+        - travis_retry sudo apt-get update -qq
+        - 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
-- 
2.13.3

  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 ` Philippe Mathieu-Daudé [this message]
2017-08-09 20:27 ` [Qemu-devel] [PATCH for-2.11 v3 06/16] travis: retry when git submodules initialization fails Philippe Mathieu-Daudé
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-6-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).