From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfXZn-00060M-2Z for qemu-devel@nongnu.org; Wed, 09 Aug 2017 16:27:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfXZj-00029k-Ua for qemu-devel@nongnu.org; Wed, 09 Aug 2017 16:27:35 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:32868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfXZj-00029a-Pp for qemu-devel@nongnu.org; Wed, 09 Aug 2017 16:27:31 -0400 Received: by mail-qt0-x242.google.com with SMTP id u19so6907202qtc.0 for ; Wed, 09 Aug 2017 13:27:31 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Wed, 9 Aug 2017 17:27:01 -0300 Message-Id: <20170809202712.6951-6-f4bug@amsat.org> In-Reply-To: <20170809202712.6951-1-f4bug@amsat.org> References: <20170809202712.6951-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH for-2.11 v3 05/16] travis: retry if llvm.org timeouts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.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é Reviewed-by: Alex Bennée --- .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