From patchwork Fri Jun 1 16:20:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 924166 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="O0VvwKy6"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40y8jc5gnxz9rxs for ; Sat, 2 Jun 2018 02:21:56 +1000 (AEST) Received: from localhost ([::1]:56533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOmoL-0005rH-T4 for incoming@patchwork.ozlabs.org; Fri, 01 Jun 2018 12:21:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOmnd-0005qf-Do for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOmnc-0003oo-4h for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:09 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:56090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOmnb-0003o0-UW for qemu-devel@nongnu.org; Fri, 01 Jun 2018 12:21:08 -0400 Received: by mail-wm0-x22c.google.com with SMTP id a8-v6so4056922wmg.5 for ; Fri, 01 Jun 2018 09:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=77ZOxWc9Gyj9168gPwLW44QXKnH+xdWFrCZIv8nlwI4=; b=O0VvwKy6VHn3AIBlhr/fAmMlE8CiTnMJONVsKLTErRPfJHE3m+d9vVQjTMoZ5SBxuw VOK9buLUK7FFBsVKnl/Pj8jqpSjydvCWVBcj97CqzR3DKF9f0XWupeRSH3k+xE3nH9nw nRTpvKpB1BdiMbIL+dNVNB5e8b/5xytYgtCHU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=77ZOxWc9Gyj9168gPwLW44QXKnH+xdWFrCZIv8nlwI4=; b=PmAJEuzi8j6KTjHxFJgT+Jr3q9Unm7tdPHJ2w1EXNhaE6g3l1ZMSuVf6i7rQAGCCaM 5iRxNXcFq3iZYX+WXXcCiNpg8UACUMKWfo5qMzlNv69Xgteke6lInTFEht0nYtNaHyIj pNsOPt0OGff9mknJjuWG2O93NX/LeondI8cTae4uJgZfzpZGsuG2kxN7xwAb5cV/S5rn JZAceIk12TZnDPpFejnIPjivx3b4fAtj3b9gxNHs46sq6o5wvk3UK3LT3F0drSQdVFWN 7/b4YsWhLeLwprkXtd9hdyUiE85+O9RNPXBuZ2TW47IFuLpUmQ5IKP0QTzNzx2+HKCbV yESQ== X-Gm-Message-State: APt69E3y8cuYBAKx+2mT96xRMT+mz5aS5POB172koksaR89ds5f+Xnpz k/EExTBo97kPkERP0vEt0MT6zQ== X-Google-Smtp-Source: ADUXVKKYAhMO6LwmzUrQPW3fH5MdVZTASazyFEJlTwbQbO+SHwu2jnthe4o06XLND0E1aisR35+zlQ== X-Received: by 2002:a1c:5ec9:: with SMTP id s192-v6mr2976240wmb.54.1527870066866; Fri, 01 Jun 2018 09:21:06 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o12-v6sm56845304wrf.30.2018.06.01.09.21.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jun 2018 09:21:04 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 25E103E0703; Fri, 1 Jun 2018 17:21:02 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 1 Jun 2018 17:20:58 +0100 Message-Id: <20180601162101.895-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180601162101.895-1-alex.bennee@linaro.org> References: <20180601162101.895-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c Subject: [Qemu-devel] [PULL 4/7] docker: update Travis docker image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This is still poorly documented by Travis but according to: https://docs.travis-ci.com/user/common-build-problems/#Running-a-Container-Based-Docker-Image-Locally their reference images are now hosted on Docker Hub. So we update the FROM line to refer to the new default image. We also need a few additional tweaks: - re-enable deb-src lines for our build-dep install - add explicit PATH definition for tools - force the build USER to be Travis - add clang to FEATURES for our test-clang machinery Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker index 605b6e429b..c5ad39b533 100644 --- a/tests/docker/dockerfiles/travis.docker +++ b/tests/docker/dockerfiles/travis.docker @@ -1,8 +1,13 @@ -FROM quay.io/travisci/travis-ruby +FROM travisci/ci-garnet:packer-1512502276-986baf0 ENV DEBIAN_FRONTEND noninteractive ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 +RUN cat /etc/apt/sources.list | sed "s/# deb-src/deb-src/" >> /etc/apt/sources.list RUN apt-get update RUN apt-get -y build-dep qemu RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools -ENV FEATURES pyyaml +# Travis tools require PhantomJS / Neo4j / Maven accessible +# in their PATH (QEMU build won't access them). +ENV PATH /usr/local/phantomjs/bin:/usr/local/phantomjs:/usr/local/neo4j-3.2.7/bin:/usr/local/maven-3.5.2/bin:/usr/local/cmake-3.9.2/bin:/usr/local/clang-5.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV FEATURES clang pyyaml +USER travis