From patchwork Mon Jul 9 15:21:08 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: 141427 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2795305ljj; Mon, 9 Jul 2018 08:24:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdBb5rGATANJfO2kd8Gfp4jBDo9CXbi56jDJKGQaXxt48ASR8wWJKvhLWAwjQLtrMMsima/ X-Received: by 2002:a37:8e87:: with SMTP id q129-v6mr18348076qkd.76.1531149854939; Mon, 09 Jul 2018 08:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149854; cv=none; d=google.com; s=arc-20160816; b=QzBGXPA43xC0jHdZXRkUqU82PZXYZbvOWfAcEytVxCnlh/R9YWOGxIl7EejgFl2zGh /DfYoVoB50oE0JGZ+5hJwjTyB5AVhZdHCLKP8qSe5NqmLrmZ5V+mss5V/xEC3ZXJLeha dYPPdaAQ+gyzQf84rWoQXeFlcQV6plvlzluytlwBjxqf9pumbWdDSj5gE7Vs7u+J3/wc MUcfhSqKCmVVZm3PxkSd/kPx1TLI+u+hpUOXuhAszAwFQzkEhqwW8h+QhTYuWVVOz/ih BooYYks0dPkUsvo9Hm6E6w/Z4dsJn0IE2E5gqP79FK5OpUx3HlDim8q0nO1334BQzk3j Eanw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=0UHU577fSDSNVJke4W/2yRquwbIYaYbcs2vSxpdakA8=; b=PtVRVQbEQEspGXyRGbkKklP3HBE6Su0G5qBURN2CwaBuBjEPsKe6jUnrcD0uc45VZZ hTogudT4NwbNm4y1kQfw9BvVkglvX7JfxFCeYlVNSCZVzR+gPEmTgVlYM+Ef3PIUrNEx smg9J6rmoywx8PsDmCwRo4zwpUSkAHMU98m9Q2UFihPh67kuG7ZaGh11m5M6b9atJWBZ 72Rxr+zjOH4Qy1wkRL1hM+j9k+9A+gEJciHddAUhRTtZZCmNaJEuzZLsswpHpNKlu5SY VYcNLpB4/bB0I1ILOZCpqMyeKtq3rx/oqGhAned7MLAmDmWL+HUg53euop5EfcreRnxC BwkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hhOj10TF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e36-v6si13509313qtc.139.2018.07.09.08.24.14 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:24:14 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=hhOj10TF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY1O-0001ur-5F for patch@linaro.org; Mon, 09 Jul 2018 11:24:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lU-Ij for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXya-0005UN-HR for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:39980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXya-0005U4-AO for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:20 -0400 Received: by mail-wr1-x436.google.com with SMTP id t6-v6so11417697wrn.7 for ; Mon, 09 Jul 2018 08:21:20 -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=0UHU577fSDSNVJke4W/2yRquwbIYaYbcs2vSxpdakA8=; b=hhOj10TFnHSwMy6smupWJ5GnP8zMef+JACWx8IVpm2ZAw6GHAG4ic0Sjih4aKJgx1f IxBXpgilqwEAODIfWzBA2fS3gDwA5ad21MQA5T/qcdn4mDDNrRasBx3WE1p4btnC8Y8K 4My8oIqskKH7CarcR7NHoJ6WgMZO4gRxARumg= 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=0UHU577fSDSNVJke4W/2yRquwbIYaYbcs2vSxpdakA8=; b=dKaD1LyoV4Kaq9aU+pey0GFdN2gtzrryLL/QIcOYT7qJBzHtFwu5HuEcD6Wk+kvag8 O1CaCuFffiKTyFHX8R9B3bh/K4m7jk7mT61YLY7xvkCed2eAcMf0ginmVA6u8At5U5pP oUHBrXhz+brqQhW08BdWzoQyhryOdd9Yr+jx6k4dxDmeDoqu9IPESFhJzVwkF5c8Bb64 pDS2a/Fy/9q6MZ+Ijiae8y0K7uaw4mAsDSXIew+vKex6auINDRIyrKMVjY3PswASo8wR gDUM3MnMhI7xCSbR22xi1SZ/WR8spjs2vlEkleWY2oDbaTcsqDWgcmeoVvWqY80/BtTG K2bQ== X-Gm-Message-State: AOUpUlFcdDVNkliHhydvv1Pp/Diw2YxjR4d9b2lmljLh06L+qTSTz6+4 rmrrTK8BT1LatXg1w8FOlXrDgA== X-Received: by 2002:adf:b842:: with SMTP id u2-v6mr4410870wrf.162.1531149679105; Mon, 09 Jul 2018 08:21:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c7-v6sm29418928wre.73.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:18 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E9FBB3E06C8; Mon, 9 Jul 2018 16:21:17 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:08 +0100 Message-Id: <20180709152117.21585-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:4864:20::436 Subject: [Qemu-devel] [PATCH for 3.0 01/10] tests/.gitignore: don't ignore docker tests 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This was being a little over enthusiastic hiding files. Signed-off-by: Alex Bennée --- tests/.gitignore | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/.gitignore b/tests/.gitignore index 08e2df1ce1..72c18aaab0 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -9,6 +9,7 @@ qht-bench rcutorture test-* !test-*.c +!docker/test-* test-qapi-commands.[ch] test-qapi-events.[ch] test-qapi-types.[ch] From patchwork Mon Jul 9 15:21:09 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: 141425 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2793913ljj; Mon, 9 Jul 2018 08:22:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcm8g/ZxqqGcLHqdLAqDMKVhtAVHDyPf4Xy6zfyUOfMUIuFjBydr+Hof2b42svrvKc61qF2 X-Received: by 2002:ac8:3094:: with SMTP id v20-v6mr8268943qta.313.1531149766197; Mon, 09 Jul 2018 08:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149766; cv=none; d=google.com; s=arc-20160816; b=s3DUGNqVIu/LOvw4UTJTMkibJpR6+tm4NYO8EvPAT8xnCZOGIb/bOWfqiq5QQRbnUU qRdHtCeuFRjyZJTLrHVGPzEj5GCx3Vn80C4AMJnstZbV/X8zKzFfzhXtXwawXt6r32+d NxXy16stc7XfAHpv9YjmknZG6aD34VvHLqWyVCXldjlLMNtxaXwJTr5K6GTQILaMz4oC KuGQqJnLDo7s9D9Kd2Px3X8e74SAiTCwjbThAeII1WWdLMkRJuJhAVWpumWwdERzxUXz U/iHpv/XP/OhjIzuVi/szCgJfQfElna/1QbwZmNLKgQVorS/r53GJaP8h1HX/puN5TrU a1iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=7vIVXa2Dwq661/R9ypMMs1Y1I+gNYdwX1zOr7orFxPM=; b=nTKcA+0aCeQL9dlaRvIO24cC5zaTIzrkte5WYI7IBbL5ceuo5Io52WEJvaObUQbzKp jk8rEbZLSJnwSwNKC53s5aUYYGZLiKnYnUC7cgQRUNTr3cW/CUbB78Eg6MQLUDarlw/Q FB6n94xjpQVCyHM//cK7NVzfnNM9c8MdCRUGnXc3anqA1hZLG16MYSipIjML9C1yqV38 ZqpoeWnGT7Lnlc/t/UUMa3DcJdHxZYJkzRXoSRPKqojNtSLOZ5mYf1btYyBtbmyr6srC njUQqSOgU5LWnI54kyXhdlnh5wfixGQl8UNFHLIfXdD/IytI8dd7GkbPPwvyyN3PEmrw kBdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JZNd61Bd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z31-v6si2588971qkg.223.2018.07.09.08.22.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:22:46 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JZNd61Bd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXzx-0001Xc-GO for patch@linaro.org; Mon, 09 Jul 2018 11:22:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lT-Ib for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyc-0005Uy-44 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:34106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyb-0005UY-Ty for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:22 -0400 Received: by mail-wr1-x435.google.com with SMTP id c13-v6so11370430wrt.1 for ; Mon, 09 Jul 2018 08:21:21 -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=7vIVXa2Dwq661/R9ypMMs1Y1I+gNYdwX1zOr7orFxPM=; b=JZNd61BdmcpFNxGxEEIsh0Vo2tYmNycXLCBZEdu5NEvo2ZR0gL7IVQDOBdf4Xr7uQi rZ+UeFegYgVVt+wbmeM4G8mnbkUnm2sjntEIrZB4OjaaPbKzo86qPcCY6wS3X3FH1HeL 3x4UImT+y9AdT2C8SQo/YeV7YkTFovCUglivI= 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=7vIVXa2Dwq661/R9ypMMs1Y1I+gNYdwX1zOr7orFxPM=; b=e/cSYWFgAowMcqnJvJ6OigZt9LqeyQdSvqPvi/1Q9vd73dLS8CH+XjWvxpauT5BVUL Jf/BiHURnXoOK9WzPWglU6/VNdDaDIZYItB5lhYlDI4iC76BmwiPX58g2Q05W4xDWR+N Uw/GQMkdAmagrqe1OhVtxgs69C8+CTPjO7xcEdEis2gZ5G5uM5DmNjof9GpInCwT2Nuq Ag3qY3piNcKNhuQvr3RD0SNj77tqvMRxf2zrr7eTpXc7E8t1SmQg2pDzit0RTdEoHikr vM8C9HouxtlSGAp5Br8Nh58GQtuBBg4S038UDN+GKMUQ6AnqhJPenSxgwdngUTgLRzcl 0uRQ== X-Gm-Message-State: APt69E2RXoCMwiQvM0In1BLN1Fvs5CV0FBo7wYhWE5KMt/GRpppGloM8 T9qOIf6oQ9SETobCX9xcJJQ6iA== X-Received: by 2002:adf:b8ad:: with SMTP id i42-v6mr14240673wrf.163.1531149680918; Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id q17-v6sm18209762wrr.7.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 08D253E06DE; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:09 +0100 Message-Id: <20180709152117.21585-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:4864:20::435 Subject: [Qemu-devel] [PATCH for 3.0 02/10] docker: debian-tricore add git tools 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As we check out we need git installed before we start. We would have had this based on the heavier qemu:debian9 image but we only use plain debian:9 here. Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/debian-tricore-cross.docker | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker index 898b8dd511..5ba3ca88a7 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -11,6 +11,9 @@ FROM debian:9 MAINTAINER Philippe Mathieu-Daudé +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -yy git + RUN git clone --single-branch \ https://github.com/bkoppelmann/tricore-binutils.git \ /usr/src/binutils && \ From patchwork Mon Jul 9 15:21:10 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: 141432 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2798276ljj; Mon, 9 Jul 2018 08:27:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdb1JqWfsvR73BIeiFMZiRzC/2qL57i80IlUrrktbnKvUyEs8kmf7lqRwbaJJw0VW+qEM6v X-Received: by 2002:aed:3d95:: with SMTP id i21-v6mr19482770qtf.232.1531150035281; Mon, 09 Jul 2018 08:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150035; cv=none; d=google.com; s=arc-20160816; b=lF+eervSp+Zm0u+fj5Z8hU5r2PQLS6hXL116XljGUfeNR8ZbTkeR7JWS9lMo8YtpSF NrhxcAEqp/L+g6L/J5IDAjIJaGoZ1zReIMSiFixB/0vK9NxGe4lJp6Z/efdNCrzaqF6x sNN4iOaKhcwkY79Ib4GmvZEzhkmZLjuObNDNmr1mamzOLHooiZ7UcGnOAtxoKNUK89F9 3ydUm8Xdm4/+8hQRFPoZiGOC8V7IcmXAchqx/6lbGso5pupoE/h5oKrE4+IM0dwJgrL1 Jop9tSl/naVmmGPiHtp5IOtaY8Rx+04Qk0g7m7GrvEewu6e8fQUeaDnJtHWpYithc+JL 9ywA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=b9dwgQE+jSaWHFqJ6A4rb3x0Ow71/8K1IvfxEN0HeeM=; b=DDNcdn3wBWIb26p6S5/PMV8tmjyecdmbjzofYYdI12BD+9IeqzXlBlQ/BlkufS6G9N 9DAcachLVzhbnKUS3xe0/EEW/dKhTzoPUAoE5X9oE8Nn0FfqP2gd3TFGpD8XS9CTWSac rwjEbPNy3sFC0r8VdbwUZ5NkKDK7pTNw4mhhVYulZQPpDvp/n6D2dPJguNpJikILGuhX ULpSbz3aQ3esJ0xK1sjPXBk7Vk/nkbWghQReGc6oexrevfRnZL0CSUriFFE/8MfxRdz/ 8vF3CQQU7fIt+r/BwW7P5n5Kh7qv2e1jpHOufYMOlDtPnDY0qUlh5M1HlYPEJCC6Ko25 21OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ctIM3vqp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b184-v6si2420015qkd.69.2018.07.09.08.27.15 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ctIM3vqp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY4I-0005K7-LQ for patch@linaro.org; Mon, 09 Jul 2018 11:27:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lZ-Jd for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyc-0005VE-Vj for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:36056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyc-0005Uw-OO for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:22 -0400 Received: by mail-wr1-x42f.google.com with SMTP id h9-v6so11417103wro.3 for ; Mon, 09 Jul 2018 08:21:22 -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=b9dwgQE+jSaWHFqJ6A4rb3x0Ow71/8K1IvfxEN0HeeM=; b=ctIM3vqpc7cHgoM2DpDbnFZpRo+YyP9eeaUPiwfNQ4RGwlRFiHJgoi9EY5uDKXwMPj QJO168SxVRpBy7y74TvDqvj+HPSVau8U04AN0/0Mh2uLJ9Ku2yxYu8UDWu7/7ammjHTI MVUA2EmtdFB1TrnhJmGBuZX7j2wu3dyTPKV2Q= 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=b9dwgQE+jSaWHFqJ6A4rb3x0Ow71/8K1IvfxEN0HeeM=; b=Jd3Vn9NtfAYKxKWM3HImT2AuYuGEn86ULo7DoIfyb89twqPpsCQ6yTzWysrfYpyNED H9meb2WaTppUQdJeZAyTYdl/AJbtubKCrbNJrmI21wuzzdsMLCDmRdEx/6EnbmHvnFzP f+nTMVPjGm0B3qNXMTl7O9CODeY9LwGrAAst9Qe51g20YtgMTMKnd7g56PPa/Qi9f+tX oZdvcLk3jmkFDuVMe0kKY5BNIbOjPU/dTmOT6pWOZLYFSQAMnDfIKDfU/HV5VtqJgUul aXJ4wyTV0e8XyPvLpxfgSUfvrDgR54KDdr/xAxaqF68oxXmVVY21yd6XawhhdXmKjMDv 3zBw== X-Gm-Message-State: APt69E0wajfCAgZatGhx6DCFIMTcYGx+0g4i0+Bmp/H/TbKzWGGBWUvO fTNML3DLoxca2x6tyg8aqzFX3g== X-Received: by 2002:adf:ad38:: with SMTP id p53-v6mr15881384wrc.10.1531149681703; Mon, 09 Jul 2018 08:21:21 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j43-v6sm31513211wrj.1.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 1D3C73E0719; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:10 +0100 Message-Id: <20180709152117.21585-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:4864:20::42f Subject: [Qemu-devel] [PATCH for 3.0 03/10] docker: fail more gracefully on docker.py check 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As this is called directly from the Makefile while determining dependencies and it is possible the user was configured in one window but not have credentials in the other. Let's catch the Exceptions and deal with it quietly. Signed-off-by: Alex Bennée Reported-by: Peter Maydell --- tests/docker/docker.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 69e7130db7..2f81c6b13b 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -479,7 +479,12 @@ class CheckCommand(SubCommand): def run(self, args, argv): tag = args.tag - dkr = Docker() + try: + dkr = Docker() + except: + print("Docker not set up") + return 1 + info = dkr.inspect_tag(tag) if info is None: print("Image does not exist") From patchwork Mon Jul 9 15:21:11 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: 141435 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2801116ljj; Mon, 9 Jul 2018 08:30:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfNMxnW+LjQVHsze4a4D/+dN3l9hXBE4GJsk34WJFwNwxCKt6HDmtf7bbmYFFzHt/GH6U6v X-Received: by 2002:ac8:16dd:: with SMTP id y29-v6mr4681453qtk.34.1531150205111; Mon, 09 Jul 2018 08:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150205; cv=none; d=google.com; s=arc-20160816; b=rk0w5quWVDLqeGhOHmrRx2HJ0BLxaPgSeJPR9mczIJWh9eTYb5mQJsHItRi6ZshxNn 90DBq7KaQxbReh244dCF0zTAAkfPbtdb9xPKgDtQ2leOWYUNm7qCMFFkJ9D2qgQh+hqf T0rMbwGdfwPr7lTq+h/BU4uk5YSnTrY12Ur/UTnXL0NJYvCi19kkOC5fj50OuKhqxlSb OAp4/V0PgabcDbbILFh5aEUldUyDpdos3uYyffPL2Tf/SC99NxhYsAB7YpQvgCjZflJD V0D3MFzYjJNnzyPsBuUfAuEMBwrqIb57faAako1dfL712vRQvnWyMnGcV5pQOxRX9mvB NWBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=P20MluO2E5yR9x9Zk/bmh2TWQ8Nn7VAUItZ/upms7Yq+nFEejz2gt7y9XhbDuiQ7BO ax9PiyJCkFY4CRFFrdJWWvEnnkDBTqaNmWDjFaHV99qZIgIXdE++GxnCGOpZf2E1aisj nykYX3LtuWG5Gs6zfFBs4tdPemQxTMTuaugPZqLr0aswCwg+O9fsW4hGMT+6gmaO2Vk0 qBsA7RDvpuDwu2nMBXh/TCNzEQOeh8CcHvA8zqmDr/Tl1LEx3gGBX6vB7ZZL/uvRVAPn ZJqL9b+DpZBL8Dqh6ujfp/fW1hf4XJiT6mDGL4hpanfne2Ts/JnISfUNh+UDw3yS6PhE dbAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aqe3o+1H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p3-v6si1489897qtk.371.2018.07.09.08.30.04 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:30:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aqe3o+1H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY72-00076F-GM for patch@linaro.org; Mon, 09 Jul 2018 11:30:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXye-0000lm-Rr for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyd-0005VW-T3 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:38564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyd-0005VI-MS for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:23 -0400 Received: by mail-wm0-x234.google.com with SMTP id 69-v6so21053857wmf.3 for ; Mon, 09 Jul 2018 08:21:23 -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=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=aqe3o+1HL0Oud1FknMm8f54hhlmAE+lP9cqwSFfEqYcPaxkCnC2kM/7G1pJdjnkjJV hx3rzbaFi2M2s5l/hDz2c1BnD25oeocuE6cCZfHUzikI5UzSCfuxJoK1LXu2VwbEhVUE zqGWaSWTpzhMwXUFTAo90sO4gNkVG625YZ5qs= 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=cZvGLZaeX60iECR4raSzIBtQrWPg9NgJvjlux5QKEWQ=; b=B//kkAPpTtVzWdLUOMOheijGAyQPdVlthj3MiErK+iAzMFqFpbsGNqMLEf+h6aUmdV qEbnlI6yVeBdhsULtwnVTrRUt1Gn46lhMb5Vh3ty9PuyCx0nQMnqzgDFLuVbSG3daMNO gqIYGxNpUpBbrIfrsAU29sPFCQomujELn/wKLA+Ae04Vl4GwL4cJTbqTbf+FjcNXcjJB 8Az9esdH883qcyNBudqRoyNxI1iK/20Jibfn2EO2ZdPDEyZSjmZSHap89iSstDQ3vhCv wIPYs9z7VTs75yeYmi75Lb0f1DxpcDXIJ90Vox2QF8nhHT7tJZ6EMQ2meKJZux5LQAtX 98RA== X-Gm-Message-State: APt69E2SjjC13m5n08hy1b78jYsWoBU6uIoFWauCay1D5dxDpuJpPJG0 YabeNqjFqbxFzuAv83C1IT2OHw== X-Received: by 2002:a1c:9290:: with SMTP id u138-v6mr13665346wmd.52.1531149682674; Mon, 09 Jul 2018 08:21:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z193-v6sm20752176wmc.14.2018.07.09.08.21.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 331E13E075D; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:11 +0100 Message-Id: <20180709152117.21585-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::234 Subject: [Qemu-devel] [PATCH for 3.0 04/10] docker: split configure_qemu from build_qemu 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows some tests that just want to configure QEMU's source tree to do so. Signed-off-by: Alex Bennée --- tests/docker/common.rc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 046f8a5921..ba1f942328 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -21,7 +21,7 @@ requires() done } -build_qemu() +configure_qemu() { config_opts="--enable-werror \ ${TARGET_LIST:+--target-list=${TARGET_LIST}} \ @@ -32,6 +32,11 @@ build_qemu() echo $config_opts $QEMU_SRC/configure $config_opts || \ { cat config.log && test_fail "Failed to run 'configure'"; } +} + +build_qemu() +{ + configure_qemu $@ make $MAKEFLAGS } From patchwork Mon Jul 9 15:21:12 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: 141428 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2795369ljj; Mon, 9 Jul 2018 08:24:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3HFwt3JbpGOs32W8s1qE2cDJqrDsimA1AXiwl8VxlDAP/GOL81O22mceUO9dUPeYqrXTG X-Received: by 2002:ac8:2696:: with SMTP id 22-v6mr18806085qto.304.1531149857687; Mon, 09 Jul 2018 08:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149857; cv=none; d=google.com; s=arc-20160816; b=QN+CZ+5oKiytKAsRO6U96OlZCQRt7bUO+Ara5fB5cXHO9D6mG3nKeCUWxi+YP8rMhv XoOZoPP/VRbYBCXLcxNuQAU69aXaNyb9+OK/zTQtu978lojdu7sybU0aA4jETk8ubnmS aVeaLJveqi1SmSzzRGhU8GQ7PWBeuLp2QSnbmj/IkJYFrSbc24F8G+x6i6ZTJNzofeXq eayAKKRZX4u7t/zWS7UnFX4VqPUOnDKR2OQtnBzFWvESrZ9k3KC7q39BGsr6s1ehT44I ugL+jEPOiu40eZouXQLidWfUyz6L3uceiyHxxpvQvycfUFBGDXTpWuoIngN8gVRaQUqe QnNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=emf9SSVeraO6trKb5MUg4R4/JCmRNeG1mF3NKe/lntc=; b=SZQzzmuyQ5ooAuvFo+WmR+fvwffbh1SUx0NZd/xm5jstuITHxqeZOxGeIFFy85RxaR 9ST3rHl5x0oKn2eSNJInNIbXA6BAgRWNcEKULjETBb8GoASWvmnKV+bwDGP8O4RR7amn 8t6QGFEcrnEajFl6eBUi8dZfzZwypflLM4dCsBATYaFC+7buhz3DLYibsJgNUCfRXW+g Kye8Ozf1X3W67QvsLBU0no63piSnqd5hJVINfgOGratXOZHhGVa2vrKR1dIVTYjlY4qz MbB55MZNOvdmBUTNxEU1vknnaI5My5dOmzflBH6R86UYA9UsPcbLHUtJ2AqctaeLWNpG 2cRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EaqkgJrx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id r25-v6si9708424qve.261.2018.07.09.08.24.17 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:24:17 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EaqkgJrx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY1R-0001xW-4L for patch@linaro.org; Mon, 09 Jul 2018 11:24:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyf-0000mb-Kk for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXye-0005WG-OU for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:34097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXye-0005Va-Ij for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:24 -0400 Received: by mail-wr1-x42b.google.com with SMTP id c13-v6so11370600wrt.1 for ; Mon, 09 Jul 2018 08:21:24 -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=emf9SSVeraO6trKb5MUg4R4/JCmRNeG1mF3NKe/lntc=; b=EaqkgJrx9J9ESXztOR2Xd/M/czyipO9gWvksMmt2MpNtXnzz9YFm63r7lk/Xs1FkKz DA9ufYAcMm8NOGz2szn9rr6a2XrDqSQjF9C44WrZZbEoUO3dtWwg+BQlqF8fY9f4sDpn bUnOECl1LYUGpcd2kSUR/dRHoJ4S1P3kDb5yI= 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=emf9SSVeraO6trKb5MUg4R4/JCmRNeG1mF3NKe/lntc=; b=O37nGx4046f/C36u8zb6VVmKpFwDYhr2J5b4ZjXMWt3HmsF6gkNGAUKq8Zq3Se4ASs hIYQPo2rCqwU0JNxD6JS9C/hA/ifenhy/1cu8C/7YPwaZ9VIMiPqiKZDE1mLsPoO2WMb 0Cb/L+ejrjy8e/p//0vgq/Ipp59Ici8WuYuOJ5gFTG2xrnDFV1mbcr+u/5RSNU95dG4R f7jP7Dy53i8sQjBNMD48k0DEpjLRwyvOdCGo0pqGImI2vZ+/78FtdEgfFJc4cBMBN3BT onV77reVZCT/4SsCCaF1sZzy2Jr3e8T75c77Q02ukdLWYaJsg//SvmOjRn80PaRqOBz3 /y0Q== X-Gm-Message-State: APt69E1FCYqrGLK9AXxyWowqtZ2/xVURV3LfEhY5+yZiNQkUbLnuZotl vmDOFTU3iGHegF4YvXTT/uzktKqnTv0= X-Received: by 2002:adf:c4a7:: with SMTP id m36-v6mr14871180wrf.103.1531149683561; Mon, 09 Jul 2018 08:21:23 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 5-v6sm33092816wmv.48.2018.07.09.08.21.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 4B0713E0775; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:12 +0100 Message-Id: <20180709152117.21585-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:4864:20::42b Subject: [Qemu-devel] [PATCH for 3.0 05/10] docker: move make check into check_qemu helper 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Not all docker images can run the check step. Let's everything into a common helper so we don't need to replicate checks in the future. Signed-off-by: Alex Bennée --- tests/docker/common.rc | 10 ++++++++++ tests/docker/test-clang | 2 +- tests/docker/test-debug | 2 +- tests/docker/test-full | 2 +- tests/docker/test-quick | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/tests/docker/common.rc b/tests/docker/common.rc index ba1f942328..cfc620d554 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -40,6 +40,16 @@ build_qemu() make $MAKEFLAGS } +check_qemu() +{ + if test -z "$@"; then + TEST="check" + else + TEST="$@" + fi + make $MAKEFLAGS $TEST +} + test_fail() { echo "$@" diff --git a/tests/docker/test-clang b/tests/docker/test-clang index e90a793178..324e341cea 100755 --- a/tests/docker/test-clang +++ b/tests/docker/test-clang @@ -23,5 +23,5 @@ OPTS="--cxx=clang++ --cc=clang --host-cc=clang" #OPTS="$OPTS --extra-cflags=-fsanitize=undefined \ #--extra-cflags=-fno-sanitize=float-divide-by-zero" build_qemu $OPTS -make $MAKEFLAGS check +check_qemu install_qemu diff --git a/tests/docker/test-debug b/tests/docker/test-debug index d3f9f70d01..137f4f2ddc 100755 --- a/tests/docker/test-debug +++ b/tests/docker/test-debug @@ -22,5 +22,5 @@ OPTS="--cxx=clang++ --cc=clang --host-cc=clang" OPTS="--enable-debug --enable-sanitizers $OPTS" build_qemu $OPTS -make $MAKEFLAGS V=1 check +check_qemu check V=1 install_qemu diff --git a/tests/docker/test-full b/tests/docker/test-full index b4e42d25d7..aadc0f00a2 100755 --- a/tests/docker/test-full +++ b/tests/docker/test-full @@ -15,4 +15,4 @@ cd "$BUILD_DIR" -build_qemu && make check $MAKEFLAGS && install_qemu +build_qemu && check_qemu && install_qemu diff --git a/tests/docker/test-quick b/tests/docker/test-quick index 3b7bce6105..eee59c55fb 100755 --- a/tests/docker/test-quick +++ b/tests/docker/test-quick @@ -18,5 +18,5 @@ cd "$BUILD_DIR" DEF_TARGET_LIST="x86_64-softmmu,aarch64-softmmu" TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \ build_qemu -make check $MAKEFLAGS +check_qemu install_qemu From patchwork Mon Jul 9 15:21:13 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: 141436 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2803357ljj; Mon, 9 Jul 2018 08:32:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedxfvt3LdrOtpkcSWgkw7T0NYmfrxJ0ST4bdIyhsSz39R719sJmg+xu2+3AsY8KZMG3KG/ X-Received: by 2002:a37:6544:: with SMTP id z65-v6mr17618234qkb.307.1531150321479; Mon, 09 Jul 2018 08:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150321; cv=none; d=google.com; s=arc-20160816; b=Xd2FOusjnRCzU/tsabCzo9qixegB93XkWTPAbbllmE1ElOGfWKaPfFIDdfHUl3oqGp SZx+mTFVC/dU0vBvSN3YBnSVPJPPW9lQNNab+SHew6r8oIF5+LIaPuWGiivj6+zlrt0K 26WuYhlprIPgFgP2/rGoRpYufO1/d5tz2qTzVwj/KBCQuguEaSSXZ2eZAh1dl1c76Nwc UWq/f7EnmH0TkPEUHAeMGrRNfOPymPkLuUuOOknvgmrN4ZHGcDYcm9GdOUZD8jLailz/ bGgp5HMqoWsPyP4+9lvuoA2RgaQUlaZB/7UDKhV21+yCAqkOnuxWxTEPswlKxtLGlZZ0 1wtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=CHEqP8ha/5EYy230az8lKvyT5NxMzNHd1GA3GVinFbFKeg9sSXFGTuqpggGuB9jvvD aeBu11fjoxwbLCJe7hpGImcc9Yg5YUYGTNqN2rSmwPnRYN+R89X32H4nGYRi2NvtLzGH qsPFXTzhIkypufcOTjT3PQ5klVSGGzOtLVorSr0WMV55Mhfar4ec36D3Sw28rBlw9GCh xNNHqf2zqpzBVwUlqJZNwno5lZFNCDeNw/bZltrhOkO06yfKllt8julgTKqRRJPtBtt7 QzJ4dayjwIYCbgCvMW6bwFQUUd28LTiXaajZDkQMgUjnrUSezvJfNIl4J9AFNrs2Kue4 j8GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RUO+5ulb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q50-v6si4132683qtj.253.2018.07.09.08.32.01 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:32:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RUO+5ulb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY8v-0008L0-1M for patch@linaro.org; Mon, 09 Jul 2018 11:32:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyg-0000nd-Nz for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyf-0005Wp-Qe for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:26 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:40856) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyf-0005WP-Jd for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:25 -0400 Received: by mail-wm0-x22d.google.com with SMTP id z13-v6so21177154wma.5 for ; Mon, 09 Jul 2018 08:21:25 -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=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=RUO+5ulb1LvCEv0BscxHAB/+3Xx7F+8pB/wMVTDtMhP0FBg4GhDNS7LoE6yR0a1NiD 4Av9xOigMscJONNfwCoLGFgVp1NlfNwSsQNLhuuPqsBPOMi/n9GfRLbVriYulIRrTDzZ AuUTUNrjE7wumaJvDLPYlrzkr/U+PlsuUqn+s= 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=AlTddQpaOXQWaw8ed9X7T+byMnYHXmjFINOkVJ22/bY=; b=o+iU7R0JA+Ff+o8p00xQHlFnHL7b6KubGhi6pEYZTvivdRNMEwIV/ZFR7h7lmi/wGz cNGoWjtWb0s0tZm6Qv8bGsT+rLdvtO91bOifs8qeaFgIqy7fqJ4hPvc77SKk9KdCWvtD AxfrKHEJPZ45Tosu9DRo63s9yMNBo1O5JAQlG26vbo8RK31ueKLyZs6mhlD2R0ZjeMgX 9GlWH7TxDzifnotdixmcjKzGhGBlpmWTj93PeAYYHpHIe2Jvy51qq+bhU7V3FuInoE+U aAFvVNNCRDtceu5Hn+3LZks9q+HyEy0+3ZGkSUQ3wC2xjGd/qGykqzf1MqvfviW1TteR spOA== X-Gm-Message-State: APt69E3Hdbc+R18OfS2XjnS+ynJQBZshgJtzoE/5SEuoKF9CDzwe3x+G vbFLDjlTKkfPuqGr6vJ4RYbkAQ== X-Received: by 2002:a1c:3610:: with SMTP id d16-v6mr13466389wma.126.1531149684534; Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id i9-v6sm12211134wrs.92.2018.07.09.08.21.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5D6703E07B9; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:13 +0100 Message-Id: <20180709152117.21585-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::22d Subject: [Qemu-devel] [PATCH for 3.0 06/10] docker: gracefully skip check_qemu 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Not all our images are able to run the tests. Rather than use features we can just check for the existence and run-ability of gtester. If the image has been setup for binfmt_misc it will be able to run anyway. Signed-off-by: Alex Bennée --- tests/docker/common.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/tests/docker/common.rc b/tests/docker/common.rc index cfc620d554..6df431eb72 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -47,7 +47,13 @@ check_qemu() else TEST="$@" fi - make $MAKEFLAGS $TEST + + if type gtester > /dev/null 2>&1 && \ + gtester --version > /dev/null 2>&1; then + make $MAKEFLAGS $TEST + else + echo "No working gtester, skipping make $TEST" + fi } test_fail() From patchwork Mon Jul 9 15:21:14 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: 141433 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2798563ljj; Mon, 9 Jul 2018 08:27:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpes5rEymydNK/MPSPGqODKRsww8EL2U6OGy7D+PGHrd8TU5VKXfcA774WvP6iJPLa+WHmIb X-Received: by 2002:a37:3ca:: with SMTP id 193-v6mr11268760qkd.363.1531150055419; Mon, 09 Jul 2018 08:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150055; cv=none; d=google.com; s=arc-20160816; b=Zcv5qDMoVkij8+teQOEH2D+VtitcFjHcDrphhH2u5WLbzkdiTFGKaKj6zp7TxZt+DJ C46r5U9+98HsyPb+ufuhnsd//vAcTl15M9SGPBTwbhxKgK6oMDVdtcNqwa8csAedLye+ udecHJbl3e+sAvEr/45H/JfXuH2HjB45mHAAYOCHRyW7RAsvzE9SAGMhDxKQRXwjZqWO Nt887Bn1d3y6Gyt2cZc0migDR0szfb53u2/+xzawal9mAi45/tYm03HvJFWdb+I4DjHs avAb5AU/Bc0jTOmjm82YuJXEdtZAMJAOuoSVAl1rFcA3LUa52Za6ZO/04TmosvETLa47 h6Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=eoyy3Wy3Mc5dV4JmhofWEk82dgPmWbPSQUVZEWqTswgJcRMEKTPqqOyJHgqh/ctnIM fbmXgYSGocg8fV7nBCeP5adMm7fF6jKhursoWm1BLas1Rhp2OZKhuNSkW4TjXdxH7/nG /RCEvWdKMzh9F0pBZzH71MGWT/GojpgpfPB2lPI2rec84CV8QD06gqu0gIFEswNLepaI 2mRIDY21/4qZLsxMDTj9td6mq/JIGcvUJT8SRvmZT2lqP3Lmwsyi+rMISzqnSW8F9tx1 35HNDK9c8AAvc4GB4+q9wlPk7Jxo3r3RhX/HRZoH64f/5ZKzpXOmfVsEwZRs/txcGMp3 F6vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DUx2GIwp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o5-v6si11236542qti.383.2018.07.09.08.27.35 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DUx2GIwp; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY4c-0004x3-Ol for patch@linaro.org; Mon, 09 Jul 2018 11:27:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyi-0000pH-8m for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyh-0005Xh-Bp for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:28 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:43166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyh-0005XN-4i for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:27 -0400 Received: by mail-wr1-x431.google.com with SMTP id b15-v6so11419664wrv.10 for ; Mon, 09 Jul 2018 08:21:27 -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=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=DUx2GIwptwl++sSQ7UlVM99WnZtHm3PXV4YeHkSAeLvDoPk+L1bWpcdZosYjbq0K6A uhTv9G8frRnD2qpJ1e8ChHCYPmpuEYQ23RJcvbHfitIg7FwNCg2DogoQ+ipnokLN0LR9 AO01gGf3R0mQJ9ihnwt4xukU3Nkqt+XZ4eM/g= 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=s1tjMEdyx3m/WM9lUdoC7txnYwG7NnrJqQuuANHk608=; b=bP9JCh6BdkZ3POCdtStazQiGyAE1k0MYnQXs+fm0jeGK1Oo3GNmjev2inj6KWibbe0 /86iGpKL8G2Qn2CUP0stcyJXOwdTe9LUnY0z3aFfAfHyCMeJnz7TqfTZ+dVBloMMc0ca wdB5pgDAED9W9VCQfhErEzTl5wiwwtgxxr6a+eLamL+KYGBQNfB6djXurR9BYJuq0X2Q Vi6cQAahmBalni7H2CWts5I/qg8/cADXwvt7H0uOYWH6ZC2/x2iv+NfDjVg+L/IPnOyl 9EaemULH6j8mRBM+MFpHxobzw6c6Qmvl/bdGBokDKwbLzwAvMP8lbZyYL5rWV2rOblQw r85g== X-Gm-Message-State: APt69E19B7ZdzVpro8HK6UW/Dk0jnEMaixV0ArBy+E22hEHrqmng44kL OERLP55pEuiHuBK3a1+v98dHjQ== X-Received: by 2002:adf:967d:: with SMTP id c58-v6mr14794556wra.197.1531149686134; Mon, 09 Jul 2018 08:21:26 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id k36-v6sm19710626wrk.93.2018.07.09.08.21.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6FDE23E07D1; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:14 +0100 Message-Id: <20180709152117.21585-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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:4864:20::431 Subject: [Qemu-devel] [PATCH for 3.0 07/10] docker: Makefile.include don't include partial images 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Rename DOCKER_INTERMEDIATE_IMAGES to DOCKER_PARTIAL_IMAGES and add the incomplete cross compiler images that can build tests but can't build QEMU itself. We also add debian, debian-bootstrap and the tricode images to the list. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index b2a7e761cc..09fb7db7fa 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -6,7 +6,7 @@ DOCKER_SUFFIX := .docker DOCKER_FILES_DIR := $(SRC_PATH)/tests/docker/dockerfiles DOCKER_DEPRECATED_IMAGES := debian # we don't run tests on intermediate images (used as base by another image) -DOCKER_INTERMEDIATE_IMAGES := debian8 debian9 debian8-mxe debian-ports debian-sid +DOCKER_PARTIAL_IMAGES := debian debian8 debian9 debian8-mxe debian-ports debian-sid debian-bootstrap DOCKER_IMAGES := $(filter-out $(DOCKER_DEPRECATED_IMAGES),$(sort $(notdir $(basename $(wildcard $(DOCKER_FILES_DIR)/*.docker))))) DOCKER_TARGETS := $(patsubst %,docker-image-%,$(DOCKER_IMAGES)) # Use a global constant ccache directory to speed up repetitive builds @@ -121,6 +121,11 @@ docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools docker-image-tricore-cross: docker-image-debian9 +# These images may be good enough for building tests but not for test builds +DOCKER_PARTIAL_IMAGES += debian-alpha-cross debian-hppa-cross debian-m68k-cross debian-sh4-cross +DOCKER_PARTIAL_IMAGES += debian-sparc64-cross debian-mips64-cross debian-riscv64-cross +DOCKER_PARTIAL_IMAGES += debian-tricore-cross debian-powerpc-cross fedora-i386-cross + # Rules for building linux-user powered images # # These are slower than using native cross compiler setups but can @@ -137,7 +142,7 @@ docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user DOCKER_USER_IMAGES += debian-powerpc-user # Expand all the pre-requistes for each docker image and test combination -$(foreach i,$(filter-out $(DOCKER_INTERMEDIATE_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ +$(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ $(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \ $(eval .PHONY: docker-$t@$i) \ $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \ From patchwork Mon Jul 9 15:21:15 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: 141431 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2797974ljj; Mon, 9 Jul 2018 08:26:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeU9GxUq4Q7YgC4OZiWHy3+Ht+BKk96JnRz3scoGoHjDBTE9Mb8ZC8rp4cAMgeI+jQA+mvt X-Received: by 2002:a37:ba02:: with SMTP id k2-v6mr18536176qkf.134.1531150016235; Mon, 09 Jul 2018 08:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150016; cv=none; d=google.com; s=arc-20160816; b=uuFAptq3p8327HMGBr8spIiQZRuZrn8gO4LPwd0RrX+OWLaWMbAI+Qo0xyb7wJ1PwH +iF/QvmcVdIbnCrjDH/TfUGuFXTxgl96LeGpTtoLHLSEiA4LwYl13WCOBqzURVHiRQkf h1Wayut+MpPuZy7oltfy10Ns5TnxFvrpwCo019Ks5gWN2T2/M2coxBGIUutA5gPg9MDo YPuYNWOdCw77AZkLr54eEK7rmZCHKO+U3Edf+ons86wOoCrWFyXbD+5QA6UdP5KbWiC6 7Ig4BQpI58DhM4XeQ5wBZFEqcHyc1NAlFiVbWZMkmHHAAAmLhygSPkzii+r1eia2G2ZO G6Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=bsepKZEoo6gGMTnHoJgYp1VFonM06DjEtd7uJ8T5MMeTQFlFTcHbBMOnfQpEMNSXu7 xp6Q4jKZs2ZNFPNtYbUgG14rTqfYqj3C1BhGTjYt2gcFbUzmpxwbjwz/CcAXZXvMTWBC DY+k2qhN2OuiaWm50NPhWae/TQu+LnH0ddq3Kf9CVG/+Lp+OcVH9OjeXYAKEiqWHPJM0 /bnmanOO2oXDJc8jAC2CU2HMG6j4KKAIsOZeYzQg878X1g+HA7AYUPpETXY5MCifc2xZ JyjgaWyfw/SuFw2jHNPL583+uq1DaO7xEjPWOh60E4m0ltCY9IGqI54a3WKiH8eHIg3B 3N8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=gT5+2oBG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v39-v6si5696403qtj.354.2018.07.09.08.26.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=gT5+2oBG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY3z-0004KQ-GP for patch@linaro.org; Mon, 09 Jul 2018 11:26:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyj-0000qE-4t for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyi-0005Xz-4s for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:29 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:39904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyh-0005Xd-UY for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:28 -0400 Received: by mail-wm0-x243.google.com with SMTP id h20-v6so5276045wmb.4 for ; Mon, 09 Jul 2018 08:21:27 -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=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=gT5+2oBG7RZS5QRvm8QaHyHpr121IJdlvhR9yso8bJnsf5ooDvRWI9QlD8IHL90vWe EmmapeURUM9pT3obmXuf90unRLOmSBPROGdZ4TEDLoYpSEJ16kSVmmBkewK5z7LpZu2E xiCiTwAoUTuyKc3Ff9u+xWn7SZ3OMzJ5m2J1s= 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=U6GtpVtbDq17OA0Ei3lJ1l3+LBmH8b9w4i8EYqWsp6I=; b=NcLvtZH3esG2PU1fcSrVHyMguxKuhqRB15GlaavVG9N1jwwCuhjT6Qxorw2VWXKcqH G0SGi17qpbJDyh006PghLj/QxF/m7PqiLrTD3R54KwK8r1gP6uhArN/Ug2WctQKlCGSs m+UoleDbXdRNBxOnn2Nc1KUv9dj/nvrBTOaW1JdGNtH9An7FD/j3jG4EKCUH/XkcGvcN 8KKOb60+mt2cTtPSOUxEvnNbSvLeF/L4ek2/mV+u4y2jy0tkQh3ZrWzJrVXNQrmqsRx7 PJse1F/KKrxkMTpymUUMkwDDTdo8z43o1oQeZFr6PCKdTRhJIVx3d24tgGW27aUYGZI2 K40A== X-Gm-Message-State: APt69E2dU5AIxRbZE9Sd08pFjmDwTjxQxNf3YYp/t/Hkwt5rBK4kTebi 6ErrcKPpFh3ua5RZA8pDUnSHhQ== X-Received: by 2002:a1c:aa8f:: with SMTP id t137-v6mr11964392wme.54.1531149686887; Mon, 09 Jul 2018 08:21:26 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f76-v6sm19613012wme.30.2018.07.09.08.21.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 832333E07E6; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:15 +0100 Message-Id: <20180709152117.21585-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::243 Subject: [Qemu-devel] [PATCH for 3.0 08/10] docker: disable debian-powerpc-user-cross 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: qemu-ppc@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While we can build we can't run the unit tests due to a missing system call (249 - swapcontext). This could be a code generation issue as other architectures don't seem to have this system call. Signed-off-by: Alex Bennée Cc: David Gibson Cc: Alexander Graf Cc: qemu-ppc@nongnu.org --- tests/docker/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 09fb7db7fa..fe63aacf69 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -140,6 +140,9 @@ docker-binfmt-image-debian-powerpc-user: QEMU_TARGET = ppc-linux-user docker-binfmt-image-debian-powerpc-user: EXECUTABLE = ${BUILD_DIR}/ppc-linux-user/qemu-ppc docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user DOCKER_USER_IMAGES += debian-powerpc-user +# Unfortunalty while we can build with this image we can't run unit +# tests due to missing system call: 249 which causes an abort +DOCKER_PARTIAL_IMAGES += debian-powerpc-user-cross # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \ From patchwork Mon Jul 9 15:21:16 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: 141426 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2794836ljj; Mon, 9 Jul 2018 08:23:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpec6wtD9hRISsIoePXqLT4F8XTdfCaPupMvdR2V2N2AOUNIdSxzXyF9eK1SaESDodFn62EX X-Received: by 2002:a37:6446:: with SMTP id y67-v6mr17983815qkb.309.1531149823001; Mon, 09 Jul 2018 08:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531149822; cv=none; d=google.com; s=arc-20160816; b=nKm9XBcpCU4/1dK2XOAAfbLGbyK6nDsqvhTWmkgDWQL7kfmRcJ3T5Kj4feTp0TaL1Z iV9nQc0hqgoF7Jot3vZzp5hx0u021ZjR7OFiAdAtvF9OLe4qDMqBJDSkWuHscYUPL/CM ekk9NdDcqXNCa1G8u7H3sXE5Xyn7RCCQpeUfrGCiEd4Du5wBPLlpUZ/Ap8rUFmZtpCsu Aw1liGhgj78k8qsnnDHUcgGDMLNo1eX0M4ujFtGlM9uH77ko14a+tpMd5q1y9JS5TCk9 4kT6W3OgGyR0tc5BC6tGWl+bxSZuVpktMtz+GMMWf1iWOy8i2oxotQvM1cTmux7IMaI3 k+Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=u4OSqz4e2RI/Ry1Bva8MAl3gbIgvXaIjrx0JU7meR2ErfDx8xt5RSpLRKoWaKj53IT VKAIoEZQb23zidB0UKuI54WKbS3Ic4TrLG9WgIxEwtpy9+4oe4WnDBgrywaPkpK1zu4b QBW7E7Iw3ewlCSJE+L4DYwmzLVxK43KMihE7k6te/4smmyXxZoHmM9aXXm4hAJcx5nto voaErlPhNnozTJD/wYSuZFI5ONkIC1IZKsTUzcppBYMnO4EpCpkmzsxhQ8K4IRg4HpaI r/S7xa+sdMH/FDEkIqCK5TbGTlWf4DLPRUE8pY4ebm/jfC089c9gxNdf9CofxkCMYPcs Cl5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hg1l1kc2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g4-v6si505853qth.293.2018.07.09.08.23.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hg1l1kc2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY0s-0002HT-C2 for patch@linaro.org; Mon, 09 Jul 2018 11:23:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyo-0000ui-15 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyj-0005Z5-VA for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:34 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:39905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyj-0005YW-OW for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:29 -0400 Received: by mail-wm0-x244.google.com with SMTP id h20-v6so5276149wmb.4 for ; Mon, 09 Jul 2018 08:21:29 -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=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=Hg1l1kc2FxBYWMTZhN/vr0dFmO5mFoY1I+EsxFUucQuuAVOyseLARARwwm5tkGy8De HRt4oGoOwyIPku29t+gh1i8iMwBXn91QZH4UALWHF/FfiKWdne2t2vtPrZpVDi28Zr6L vmL6tGzHr9IZILOrzh0zyuaTAj9y9xi6L7UTU= 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=hORM7Y1zg9T2NJY7awYlMYRimjcSPccXy/Fjtb1dz98=; b=Iax0XLthzJjprtmirAEBytuwgCZoD6idWEs+HxesoCaISe6B9EkEDMciZC83XP+YD+ ODIs6wgYwoz/l7eQwoZKP++RHkHnrhSJfRaJMA4Go9zr1KqDuPddM1Pt1kwPM6kIji7b DLNhIZACr/KILWmZAQMczxRo8ainBUDw5O5P4zX5h88ZnJWEXJgqktEFJFL83VuliOpU 7ppuUzJJuWROrNaKf4kOReY+86JxP4LPztJZLTyj6HtPI4thkv95nCa+YeYP3NOW769d Lzb28U5PTZIiTFCEFFrf7Gt1BINvXdGOowWj32/TKSmYBxRyPxy3/y6LlRacWRrk25hw KRrg== X-Gm-Message-State: APt69E24mnHaPJ60m9XYdK2MAmFp05KjR5QeBzGL5Q6KHTEGHjFFo03q zZWyfuHtoG74e8oQTgooX4tXyg== X-Received: by 2002:a1c:8b81:: with SMTP id n123-v6mr12205790wmd.142.1531149688734; Mon, 09 Jul 2018 08:21:28 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm16270664wmy.4.2018.07.09.08.21.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 9606A3E085B; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:16 +0100 Message-Id: <20180709152117.21585-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::244 Subject: [Qemu-devel] [PATCH for 3.0 09/10] docker: add test-unit runner 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This test doesn't even build QEMU, it just runs all the unit tests. Intended to make checking unit tests on all docker images easier. Signed-off-by: Alex Bennée --- tests/docker/test-unit | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tests/docker/test-unit -- 2.17.1 diff --git a/tests/docker/test-unit b/tests/docker/test-unit new file mode 100755 index 0000000000..be0d90d748 --- /dev/null +++ b/tests/docker/test-unit @@ -0,0 +1,19 @@ +#!/bin/bash +# +# Build and run the unit tests +# +# Copyright (c) 2018 Linaro Ltd. +# +# Authors: +# Alex Bennée +# +# This work is licensed under the terms of the GNU GPL, version 2 +# or (at your option) any later version. See the COPYING file in +# the top-level directory. + +. common.rc + +cd "$BUILD_DIR" + +configure_qemu +check_qemu check-unit From patchwork Mon Jul 9 15:21:17 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: 141434 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2799866ljj; Mon, 9 Jul 2018 08:28:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcUbBPZB1ED48+PVvSO3eBOl4+303L2tYcdL9DznIzOgJh+pTrlPihLOSU4cV9AhWIA8l4Y X-Received: by 2002:a37:1a4c:: with SMTP id a73-v6mr17741298qka.77.1531150130069; Mon, 09 Jul 2018 08:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531150130; cv=none; d=google.com; s=arc-20160816; b=Tji2Hd9CXmH3Fb8mYcekWA/h2FkpouzOwf7aR7f88j0klUg0N12KTnCgH0OseJRq4i PHntlNDSootqcH5g3rvK9gJ3mlXWFlsvKF0fEk6PcS07O9arPZdcHvuV7S52hpuPtI2g OQ958VBiq03j8AHsOGgfosj1cike8G33/JYzroK7ymdPSeUlQu1fthLJ0Qvu3ZWcrLAp C2Z6D5xfd1ERmKURUUQpUCft+zcWW8AFDAHw5+k9XhFaOItjDIwyppDJLM50ovpDwGXo TLnOKl5P0yjMaEEh3ClvUliT249NcgoZu1ZUo5PMXQRdIJ3VHRJvCF8l+4Rgqq0TgSK1 6X+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=/QfRv3qVwb0EIYHyMG3otJr+4xunDtP13WkOjD564to=; b=nneBLHULnh8lqHiylqLLrGQqAfqFuNosLEukIrcYsYeVDjCu0f7Ku2NqdjAqlOvWjE xqn7Bc9Ik91Agr5sg0T9acg5pZHkVg5LjjG3HYrMql0BIKvDkFW1r5SncmrVTxQ2BjNg Y/S8U96bP4zGZbzqcy1dKJOR9QiZuc0UBNxW5OzmS6rpmUltDyEFVPl2N+saRfsicyn1 DoK+hd2XaQx15Ul78V3kygSJuk96uDNevm7fbz9cGRwCzEi/3ffo/pfrrSz77il2QjzU fm7UButyeWOUGeW14y1cY2m6NsZzRhj0aFv6WqOR45GzSwbfdpsg+d9zpCF6F86kK9UB gL9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kWE7i6Av; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o56-v6si1590936qtj.204.2018.07.09.08.28.49 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:28:50 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kWE7i6Av; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcY5p-0006BB-Fz for patch@linaro.org; Mon, 09 Jul 2018 11:28:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcXyk-0000rV-43 for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcXyj-0005YT-3u for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:30 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcXyi-0005Y8-Ss for qemu-devel@nongnu.org; Mon, 09 Jul 2018 11:21:29 -0400 Received: by mail-wm0-x22f.google.com with SMTP id v3-v6so17577213wmh.0 for ; Mon, 09 Jul 2018 08:21:28 -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=/QfRv3qVwb0EIYHyMG3otJr+4xunDtP13WkOjD564to=; b=kWE7i6AvNoiC9vRcQS5jHGxAtiyyRneZLkjECkxuqfgCcKc7Sx5yJ+K6C0agPPrJHQ JTvaNblNhpSfcSQJeWwdEYMpwCtqI+xO7+sTjHwhjIP0y69WVJZHVmGt1UI2GestNXTE iGlR0UB3bzHviPMPQms9DaIJ7S+Sy27ip0Rus= 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=/QfRv3qVwb0EIYHyMG3otJr+4xunDtP13WkOjD564to=; b=kJHOzjuP177TPiDewzcPXHuEace9hhJearKV420M3Z7D7w8w3Az5nPRP1HsN8SKU3f 3u9ChuZMK+IboNRqKVXt9SDvohgZPCVnTc/qdw89t99A10AT8FeHNZyV9LF7qZqTKJmN OsEZSPf2/v6+KV8NIB2aG7q883tesZKT52H+TzIoY1Dy/pcSd3A4kvsdRU+mCn9X2C01 NcA58JDt8LCqxA2GzDSL6n0bFdYlPoTTmLI93V+bri/O0cAXlSw2ZOGoo8s/fVTO2JfV nzJEh74dm6dnDMdZ5kMuBVb9HPeVKJZzBVnZnPMp5F4wUCXv0YF0MZ6wtlXm6SyzV6fD bspA== X-Gm-Message-State: APt69E2jRAIAk2yF4FVZanvdO8n+VEQNIt8sy05uiYeqcfOnINUoed6U Lr4u451VisjR45KTyGHnvTn3kA== X-Received: by 2002:a1c:7eca:: with SMTP id z193-v6mr12269368wmc.139.1531149687833; Mon, 09 Jul 2018 08:21:27 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm16270665wmy.4.2018.07.09.08.21.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 08:21:24 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A86E93E0971; Mon, 9 Jul 2018 16:21:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Mon, 9 Jul 2018 16:21:17 +0100 Message-Id: <20180709152117.21585-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709152117.21585-1-alex.bennee@linaro.org> References: <20180709152117.21585-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::22f Subject: [Qemu-devel] [PATCH for 3.0 10/10] docker: add expansion for docker-test-FOO to Makefile.include 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This allows us to run a particular test on all docker images. For example: make docker-test-unit Will run the unit tests on every supported image. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fe63aacf69..765b2c36f2 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -152,6 +152,7 @@ $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPR ) \ $(foreach t,$(DOCKER_TESTS), \ $(eval docker-test: docker-$t@$i) \ + $(eval docker-$t: docker-$t@$i) \ ) \ ) @@ -162,6 +163,7 @@ docker: @echo @echo ' docker: Print this help.' @echo ' docker-test: Run all image/test combinations.' + @echo ' docker-TEST: Run TEST on all image combinations.' @echo ' docker-clean: Kill and remove residual docker testing containers.' @echo ' docker-TEST@IMAGE: Run "TEST" in container "IMAGE".' @echo ' Note: "TEST" is one of the listed test name,'