From patchwork Tue Feb 4 18:40:13 2020 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: 1233520 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=TcqPClgF; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Btq95hVMzB3yc for ; Wed, 5 Feb 2020 05:42:45 +1100 (AEDT) Received: from localhost ([::1]:36094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz39n-0005Y3-ML for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:42:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49460) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37i-00024W-PN for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37h-0002Zm-7M for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:34 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:37866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37h-0002Vt-0K for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:33 -0500 Received: by mail-wm1-x333.google.com with SMTP id f129so4963927wmf.2 for ; Tue, 04 Feb 2020 10:40:32 -0800 (PST) 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=rST6tFVQTqWbD+QqeoDfczv9Lm2rErRT3V/6XpdY0A0=; b=TcqPClgFI/hgd9+2RSFXjw4nH/VWPZhTiqXKQpohKmVo9ZUDVUnjBXuW6uqAWC0L25 Gw5bOm3SrLrkw0JilResC+N3d71m7Z6dzwpSYJvIYnip8Vt78ROWV2jz//sFOTkL1yXH O2CrgFSYSUAe5HASARA6BA4nzvI3JehzhUi3o3SEF+ErRw0047GWTRJ3d7PyFulwYvzT Uhsc40DubEHqqdFDWW9bwS3D/mzlqJZUwVkF4l4OIPYLgfOYeEjWnyl+22zs9x0OkJ+P sGDlO+oveZg58vHeDr4d+/8t0cTGZbwSdIA5j09QsVkKnyMWFrexOSsMIugV7GulO/UI 1VtQ== 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=rST6tFVQTqWbD+QqeoDfczv9Lm2rErRT3V/6XpdY0A0=; b=UUZt3cVq2Jr0vlsygoCWZziCLAYU2ArCav2T5ly+39EfboANz+uqlUCbHid7GwUrIL k0hELme8eZ02vIXxjFk9hEbTMYntVJpnaUw6Ncnbq5nyXUYvPiWAgsFHQMyumdP1hxla +dtH1QujW7brCM5eFRhrXT21w1eOL64Zszh7dZuzyccsqz8fP9b4foyxgHxR+y0b4LL3 c6RQ/VnztvVlfWQJxjFmRwzoJBBJVJjX09/gAaV70Ox2UTE2ul/xvx/PjedBcSQD5EzK M763fF745Wect5s3IcQOPdcAJItvFxN5rnplYyDHhJ7HEosDQMc2CHJugE7EoWT/tdwg 2+7g== X-Gm-Message-State: APjAAAUgYzd5uQhEKQ+sktKNJT1gx6yFKPYiBhBnNFTFYeUw9PB4AU7L IIdJMbWgS/6IwaokZ8hpc/g4CA== X-Google-Smtp-Source: APXvYqy5Q8wMOoFbBl3BK3wi2AntFp/YsI3wzsAOGF+pP+SB/7f2B6jQ6EdM1sFbbMotarez1lHH2Q== X-Received: by 2002:a1c:1f56:: with SMTP id f83mr342802wmf.93.1580841631835; Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y6sm30929847wrl.17.2020.02.04.10.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:29 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8068B1FF8C; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 01/16] tests/docker: move most cross compilers to buster base Date: Tue, 4 Feb 2020 18:40:13 +0000 Message-Id: <20200204184028.13708-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::333 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This includes fixing up the dependencies (Which were already wrong for one of the mips variants). Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-2-alex.bennee@linaro.org> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 19dbe261699..43a86786882 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -91,19 +91,12 @@ endif # Enforce dependencies for composite images docker-image-debian9-mxe: docker-image-debian9 ifeq ($(HOST_ARCH),x86_64) -docker-image-debian-amd64: docker-image-debian9 +docker-image-debian-amd64: docker-image-debian10 DOCKER_PARTIAL_IMAGES += debian-amd64-cross else docker-image-debian-amd64-cross: docker-image-debian10 DOCKER_PARTIAL_IMAGES += debian-amd64 endif -docker-image-debian-armel-cross: docker-image-debian9 -docker-image-debian-armhf-cross: docker-image-debian9 -docker-image-debian-mips-cross: docker-image-debian9 -docker-image-debian-mipsel-cross: docker-image-debian9 -docker-image-debian-mips64el-cross: docker-image-debian9 -docker-image-debian-ppc64el-cross: docker-image-debian9 -docker-image-debian-s390x-cross: docker-image-debian9 docker-image-debian-win32-cross: docker-image-debian9-mxe docker-image-debian-win64-cross: docker-image-debian9-mxe @@ -118,12 +111,19 @@ endif docker-image-debian-alpha-cross: docker-image-debian10 docker-image-debian-arm64-cross: docker-image-debian10 +docker-image-debian-armel-cross: docker-image-debian10 +docker-image-debian-armhf-cross: docker-image-debian10 docker-image-debian-hppa-cross: docker-image-debian10 docker-image-debian-m68k-cross: docker-image-debian10 +docker-image-debian-mips-cross: docker-image-debian10 docker-image-debian-mips64-cross: docker-image-debian10 +docker-image-debian-mips64el-cross: docker-image-debian10 +docker-image-debian-mipsel-cross: docker-image-debian10 docker-image-debian-powerpc-cross: docker-image-debian10 docker-image-debian-ppc64-cross: docker-image-debian10 +docker-image-debian-ppc64el-cross: docker-image-debian10 docker-image-debian-riscv64-cross: docker-image-debian10 +docker-image-debian-s390x-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker index 431e947ebd5..3b860af1068 100644 --- a/tests/docker/dockerfiles/debian-amd64.docker +++ b/tests/docker/dockerfiles/debian-amd64.docker @@ -4,7 +4,7 @@ # This docker target builds on the debian Stretch base image. Further # libraries which are not widely available are installed by hand. # -FROM qemu:debian9 +FROM qemu:debian10 MAINTAINER Philippe Mathieu-Daudé RUN apt update && \ diff --git a/tests/docker/dockerfiles/debian-armel-cross.docker b/tests/docker/dockerfiles/debian-armel-cross.docker index 15378f8ea2c..e3794a61c95 100644 --- a/tests/docker/dockerfiles/debian-armel-cross.docker +++ b/tests/docker/dockerfiles/debian-armel-cross.docker @@ -3,7 +3,7 @@ # # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 MAINTAINER Philippe Mathieu-Daudé # Add the foreign architecture we want and install dependencies diff --git a/tests/docker/dockerfiles/debian-armhf-cross.docker b/tests/docker/dockerfiles/debian-armhf-cross.docker index 4a20af6fe1a..e163b8b9569 100644 --- a/tests/docker/dockerfiles/debian-armhf-cross.docker +++ b/tests/docker/dockerfiles/debian-armhf-cross.docker @@ -3,7 +3,7 @@ # # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 # Add the foreign architecture we want and install dependencies RUN dpkg --add-architecture armhf diff --git a/tests/docker/dockerfiles/debian-mips64el-cross.docker b/tests/docker/dockerfiles/debian-mips64el-cross.docker index 2fca1124053..453b53ef72c 100644 --- a/tests/docker/dockerfiles/debian-mips64el-cross.docker +++ b/tests/docker/dockerfiles/debian-mips64el-cross.docker @@ -4,7 +4,7 @@ # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 MAINTAINER Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker index 4abf7832ac6..3b6e975c686 100644 --- a/tests/docker/dockerfiles/debian-mipsel-cross.docker +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker @@ -3,7 +3,7 @@ # # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 MAINTAINER Philippe Mathieu-Daudé diff --git a/tests/docker/dockerfiles/debian-ppc64el-cross.docker b/tests/docker/dockerfiles/debian-ppc64el-cross.docker index 9973df9ff74..cd386f01d93 100644 --- a/tests/docker/dockerfiles/debian-ppc64el-cross.docker +++ b/tests/docker/dockerfiles/debian-ppc64el-cross.docker @@ -3,7 +3,7 @@ # # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 # Add the foreign architecture we want and install dependencies RUN dpkg --add-architecture ppc64el && \ diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/docker/dockerfiles/debian-s390x-cross.docker index eb73c988559..43fe59836f2 100644 --- a/tests/docker/dockerfiles/debian-s390x-cross.docker +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -3,7 +3,7 @@ # # This docker target builds on the debian Stretch base image. # -FROM qemu:debian9 +FROM qemu:debian10 # Add the s390x architecture RUN dpkg --add-architecture s390x From patchwork Tue Feb 4 18:40:14 2020 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: 1233525 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=oyKYCS0z; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Bts30JY1zB3xG for ; Wed, 5 Feb 2020 05:44:23 +1100 (AEDT) Received: from localhost ([::1]:36148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3BM-0000dw-T3 for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:44:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49475) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37j-00025P-8f for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37i-0002d4-2v for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:35 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:43574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37h-0002Zy-Sc for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:34 -0500 Received: by mail-wr1-x42b.google.com with SMTP id z9so12177883wrs.10 for ; Tue, 04 Feb 2020 10:40:33 -0800 (PST) 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=Gg/XtyPCs1CXTqUK/3D+DzFT3m2+PS5I1o/WnkdvJRI=; b=oyKYCS0z+xgNk7ImOLEqMWJ/LgRalju3lYTtK8cxJsFs7psIIQEqJXCw7qOokuqgcV SBpuVBcbvY0nMZ81VkuqiRfetp+nZpvHyZSAlyRy0JUEl9lzS+t9c5KHXqxhwyRIQpaE AkTuvjPCzVKkd381jcG58xNbx53i6Gb2Zr4rwY4VlWxBimCBq6vq4BUT/L/AA+ZIly7e X3lY3dbZTroDK0k/F4RWI9CUquxN9/DTmhmKcYNW52o0OU4wVwvZLmmTmL8pplNyAMRM 9s7eVJFj+KnSc22JeOn7sihmL3NSP/Xf7obb0UGsZmcGnhd6XnWHwvod74QzKcs5M3Um fXnA== 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=Gg/XtyPCs1CXTqUK/3D+DzFT3m2+PS5I1o/WnkdvJRI=; b=I0/ebDd/1Q5a5v1WcYfe4Sk/iKer4E9MoDa17j77LQbJhR6e1dJmTy+sk8e81p47MR nJmO50XwBjJq53C3FW/5n6QAOyLmvS5XE96q8XCSIUg1t4P5MM+uAvxBYa4KWLajWdWC C/cnSnbpnIy0HefrnD2mYmYsv8y6NCcSOEpPJZFoYcic1vhLCz2wRKkf5fBmB8X7v5Ht FC9LzucQN6OzXKJHT3NOmMn+ceifkN1qVRpskV8y4wiHUsUzD0I4AR+ccr9Lj0ixMk/+ z4sVXSODFX6XnjEKsLerS1PkRL/SRFn8ISiIIPVlVwLRMLizEvCMdfFNqAPLsUClZH5H lJqA== X-Gm-Message-State: APjAAAUvyAf/AWfUKJAwEyyHHgPUsAbWLA1svYk0SyLnuts7KEjarA6r +iT01+rgSsK9ZjkBBpsL9LwQLA== X-Google-Smtp-Source: APXvYqzk+oX5ozijvMbH/V/3nRmTdPsAjGxaDsu8eyxwAdq9bb/Nmfp/M/sVaJDuULGeeEm7vuRnxQ== X-Received: by 2002:a5d:4692:: with SMTP id u18mr23563229wrq.206.1580841632902; Tue, 04 Feb 2020 10:40:32 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v22sm4698925wml.11.2020.02.04.10.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 98C1C1FF8F; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 02/16] tests/docker: better handle symlinked libs Date: Tue, 4 Feb 2020 18:40:14 +0000 Message-Id: <20200204184028.13708-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Robert Foley Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" When we are copying we want to ensure we grab the first resolution (the found in path section). However even that binary might be a symlink so lets make sure we chase the symlinks to copy the right binary to where it can be found. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Robert Foley Message-Id: <20200203090932.19147-3-alex.bennee@linaro.org> diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 31d8adf836e..d8268c11117 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -106,18 +106,19 @@ def _get_so_libs(executable): """Return a list of libraries associated with an executable. The paths may be symbolic links which would need to be resolved to - ensure theright data is copied.""" + ensure the right data is copied.""" libs = [] - ldd_re = re.compile(r"(/.*/)(\S*)") + ldd_re = re.compile(r"(?:\S+ => )?(\S*) \(:?0x[0-9a-f]+\)") try: ldd_output = subprocess.check_output(["ldd", executable]).decode('utf-8') for line in ldd_output.split("\n"): search = ldd_re.search(line) - if search and len(search.groups()) == 2: - so_path = search.groups()[0] - so_lib = search.groups()[1] - libs.append("%s/%s" % (so_path, so_lib)) + if search: + try: + libs.append(s.group(1)) + except IndexError: + pass except subprocess.CalledProcessError: print("%s had no associated libraries (static build?)" % (executable)) @@ -145,7 +146,8 @@ def _copy_binary_with_libs(src, bin_dest, dest_dir): if libs: for l in libs: so_path = os.path.dirname(l) - _copy_with_mkdir(l, dest_dir, so_path) + real_l = os.path.realpath(l) + _copy_with_mkdir(real_l, dest_dir, so_path) def _check_binfmt_misc(executable): From patchwork Tue Feb 4 18:40:15 2020 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: 1233519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=rlqRYHxS; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtnP32t9zB3yf for ; Wed, 5 Feb 2020 05:41:13 +1100 (AEDT) Received: from localhost ([::1]:36044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz38J-0002Qa-B1 for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:41:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37l-000280-Fp for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37k-0002lS-DN for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:37 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:38575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37k-0002hz-5q for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:36 -0500 Received: by mail-wr1-x42a.google.com with SMTP id y17so24423967wrh.5 for ; Tue, 04 Feb 2020 10:40:36 -0800 (PST) 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=estnIhq8TRY8F3NiEtejikn6q73HGRAUwgi56gyOW/4=; b=rlqRYHxScAGaIcbp/SXoGD7e3FboDOgJkuX8+yXDIm/4mXgVIpL3ibK4ezsuCOT997 lWlYNeQNTyIuBK9fnx3mp8cwrHPAqWOpEz109STjxEr1X6cv980kcV3ZPvDCL/WuFd9e ZOEShVvqWw3x/1PDyqEtAWQN7qnCoUZpkUAWiKt2kwERveX35Rr2QGXpccWiujeUlL1h MGn/zWwAntbiSOJCnWtDAE5v6yjQlwTZq5lMSq0iVuquSqCxl2yI7Zm/haSLec0ygoAS QoaoW+IXoep/lmy53kljxZ8cFonqwikWhb8Uk7XBtER6fgTUR9KBiLiuV63Q7xPZdAdB 9ZxA== 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=estnIhq8TRY8F3NiEtejikn6q73HGRAUwgi56gyOW/4=; b=VuCLtypX0P2xbPMITqSTohTteZoH3p9X3oBjcNTcAbwt3k8Eg5V9amJbN2fNEqFo5K cYkUPgWjaL5/1U3L53W9v5xhG8hwrPwrTYnMR+rDn69L4Q56ASPQMlyvpCxUWWpKp+aV T/uE0KZ9hk79aNUmSK8N4V25Ri21CC+S8J5RjSTQRGAHHZBPHm4wPntJK6UwsqHAJBKw VhCwCDraqj0/NoTjycByyouK6WtMCBSD5KUZqW1q83jbEcHddCZXcCeClGNUV5FpGFzC E9QgESQgjR7Oi4E9W9RiTr7WqZQNVGY+2UCmeYcBT6kq194rEPNnyLWfSMS8GVcpHhCj osrg== X-Gm-Message-State: APjAAAWtbgdZ1bqjjlK+wuUN/yr7WLNhFsOYzVWZaIeccaAA/FaSGrS+ 2sLgNgSccc2Z4aoppZ5K+RMdzg== X-Google-Smtp-Source: APXvYqzz63TOAgei7hj3xt/wj2WQafpRXy5lXnWfKHpppjgj6qqFLEEXTGoOq0zpXoA9UNvShHCf9A== X-Received: by 2002:a05:6000:10d1:: with SMTP id b17mr20774408wrx.298.1580841635181; Tue, 04 Feb 2020 10:40:35 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v22sm4698930wml.11.2020.02.04.10.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id ADE961FF90; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 03/16] travis.yml: Install genisoimage package Date: Tue, 4 Feb 2020 18:40:15 +0000 Message-Id: <20200204184028.13708-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::42a X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Alex_Ben?= =?utf-8?q?n=C3=A9e?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Wainer dos Santos Moschetta The genisoimage program is required for tests/cdrom-test tests, otherwise they are skipped. The current Travis environments do not provide it by default, so let's explicitly require the genisoimage package. Signed-off-by: Wainer dos Santos Moschetta Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20200110191254.11303-2-wainersm@redhat.com> Message-Id: <20200203090932.19147-5-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 1ae645e9fce..e75c979b6c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,6 +51,8 @@ addons: - sparse - uuid-dev - gcovr + # Tests dependencies + - genisoimage # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu @@ -383,6 +385,8 @@ matrix: - libusb-1.0-0-dev - libvdeplug-dev - libvte-2.91-dev + # Tests dependencies + - genisoimage env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}" @@ -412,6 +416,8 @@ matrix: - libusb-1.0-0-dev - libvdeplug-dev - libvte-2.91-dev + # Tests dependencies + - genisoimage env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},ppc64le-linux-user" @@ -441,6 +447,8 @@ matrix: - libusb-1.0-0-dev - libvdeplug-dev - libvte-2.91-dev + # Tests dependencies + - genisoimage env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user" From patchwork Tue Feb 4 18:40:16 2020 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: 1233517 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=H5AVIYE4; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtnG1cWtzB3yh for ; Wed, 5 Feb 2020 05:41:04 +1100 (AEDT) Received: from localhost ([::1]:35994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz38A-00028f-6T for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:41:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49504) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37k-00026O-7q for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37j-0002hK-8p for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:36 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:39824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37j-0002dh-1z for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:35 -0500 Received: by mail-wr1-x430.google.com with SMTP id y11so24406994wrt.6 for ; Tue, 04 Feb 2020 10:40:34 -0800 (PST) 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=X/6RO0ey6PmRf1muRhvDBqcqrauxivbgrnnnZr0f7Aw=; b=H5AVIYE4YvEbYA/rwUakt3sK0btGZJPqsGuh4mJAaxfWIyFU0yKJSRiQs/dBayjQt/ M2D5AF9fQKfgZ1rfmznGM5WxZvBWC6nu4qO3wWTylc9jjmCcoYeuW9SO7/7nNWCU2yWV JHJ+TJZaGUiNKZnx7RypuqE52gYkl+hDzEIWvsH/iUtnaWjikWRTJU5H6Nwbns/VrnWu 016AfBESZcjv7IYMLMzu49qTJOMjvFZaTK3XfZaT4hKh/eqsYiPJAGJXO4Gu13ZHxMU5 7lA/OfPo8lL6ATq10LJTK4yFQB0ZRvkNkYaoKVwOqXbwuy2aYGCmL0MmZIT8X5F4MZnC kDAQ== 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=X/6RO0ey6PmRf1muRhvDBqcqrauxivbgrnnnZr0f7Aw=; b=XvQ9nMiAttWVF0pAJX8AFLZlmchrPAYALBGGmqRR9WFQ8pOeLPn24r3eqbKrd2sG4u +0bW5jUVCTAXCB0UZI4e869PKlMSRcdR/sMxm0XFmLdme1/f+cZPjtYDCM6e+37C+Oq1 3E8sYFNh8VypgPCSQiRia9ng1VmF706rlMQ4vo81rIJPCDyZWpQtoh02qSbAVZycqLew R3S0v0tWcf1cUVIlJ0B+m3si1KB8QkbQ8G7CD+DABBhtDBf1HvQIJf+b7aDc/rg1B2N/ 5KJFxhModo0oAjvn94kC/1k9WMEamGm4FklwBta/DRq1fa1FFVsKQTXQDnQ5ABHE3Vxn qmRw== X-Gm-Message-State: APjAAAXPoCE87/2n/dU6F5Rdh4bOyHC/7gttYVXkCJRENFoqlO9tuE4z 6bY9FxZfHr/de4FkRySzFfDxNA== X-Google-Smtp-Source: APXvYqxXrDRXEbBNPL5A8YT53rf+apAqICzQnR9K7Rm/a2J5W84LNLbwlD/Z5mvX7YnErPfLcZPMzg== X-Received: by 2002:adf:dd4d:: with SMTP id u13mr25178720wrm.394.1580841634080; Tue, 04 Feb 2020 10:40:34 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y185sm5051757wmg.2.2020.02.04.10.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C28D61FF91; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 04/16] .shippable: --disable-docs for cross-compile tests Date: Tue, 4 Feb 2020 18:40:16 +0000 Message-Id: <20200204184028.13708-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::430 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The sphinx support is fairly new and we don't seem to have all the bugs worked out for cross development environments right now. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-6-alex.bennee@linaro.org> diff --git a/.shippable.yml b/.shippable.yml index 83aae08bb4c..2cce7b56890 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -37,5 +37,5 @@ build: - unset CC - mkdir build - cd build - - ../configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST} + - ../configure --disable-docs ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST} - make -j$(($(getconf _NPROCESSORS_ONLN) + 1)) From patchwork Tue Feb 4 18:40:17 2020 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: 1233523 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=p93AzM4T; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtqQ5yx1zB3yf for ; Wed, 5 Feb 2020 05:42:58 +1100 (AEDT) Received: from localhost ([::1]:36114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3A0-0005wY-HX for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:42:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49571) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37m-0002Aj-SA for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37l-0002rN-Jg for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:38 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:50791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37l-0002nF-CW for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:37 -0500 Received: by mail-wm1-x330.google.com with SMTP id a5so4463938wmb.0 for ; Tue, 04 Feb 2020 10:40:37 -0800 (PST) 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=L4X7cX+gH4YtMrZHTiaSgjBu9vQtfciJis+jW4CKLig=; b=p93AzM4TgdC14NnjSb1DfeYADoK8kBVJ29G+8pz9+LoHDiuxE1dqOIESk3nxHqlQWI e34nufYr/xmOMyRC84/n03aYxpMufzF+VwB0MFSQOR7+K2aECE4gAWR+CDX2WBvMx6kz uDfYrayhuaLs5STL14wXInpwJpQcgda9cLNgacsKth6V9k9DjRcjXc2kZTBGVygkxmcp cQLenTdvKzAb9mUfRFrRHqUGJhqgQP0EQbS4VzsVCnCOkuk67kRqaWTEGnYBA0bV+5nU hHJ55QWNdEnylafZ62bShKBqPlXEZ3SZgpRYEBzQsOdocKc0YEfEGQkGCkiZbWp8eIVX BT3Q== 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=L4X7cX+gH4YtMrZHTiaSgjBu9vQtfciJis+jW4CKLig=; b=SBCims2pig1dlXGTUTusSQy8HiUknD499mVbw+aMKkv45NQ1Xj6dYfWNH6ffYBMGDP Nn924NZQ9E6vCuZw3PmNdqSC8Axj7DBiMYh5GhCKkgq0cswEtcDYbwUtb8fwjxKw2muA Vxm7a0j/iF04uwoR64iufDFupjKrixYhKxhyhGRsDDcRMFLrCGPFC9K/tOyvFzFC629l Q0R0vYnZwOoxcQJ2nN5DElNjuydYBa0PAGCXMaXLjb/nm/ybPZuqLGrRzi0o06aFEi5q 2/KmQAE+7v6hA/Rem961FZDWrXWxeCIIMROiP7/KAk3UXa2/izNGaEf3amwuCIdMZZUc jV0A== X-Gm-Message-State: APjAAAXtQSk9q/0FmN3+j9wuvPzjFdyoYQ/EuSMrwjt6I1AzsKYL+SID S145dVByAllCuH9wvatYWIdq8A== X-Google-Smtp-Source: APXvYqy0eevZqVZCmrJ/XwhtqD6tx/1YF4satBaklXXJYLvFxuAlt4oDbyIPLaCz0M14hpxJtCoflQ== X-Received: by 2002:a1c:8156:: with SMTP id c83mr362636wmd.164.1580841636306; Tue, 04 Feb 2020 10:40:36 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 11sm5524304wmb.14.2020.02.04.10.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D62311FF92; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 05/16] .travis.yml: Drop superfluous use of --python=python3 parameter Date: Tue, 4 Feb 2020 18:40:17 +0000 Message-Id: <20200204184028.13708-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::330 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé As we require Python3 since commit ddf9069963, we don't need to explicit it with the --python=/usr/bin/python3 configure option. Reported-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20200125184217.30034-1-f4bug@amsat.org> Message-Id: <20200203090932.19147-8-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index e75c979b6c5..75269678476 100644 --- a/.travis.yml +++ b/.travis.yml @@ -270,7 +270,7 @@ matrix: # Acceptance (Functional) tests - env: - - CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu" + - CONFIG="--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu" - TEST_CMD="make check-acceptance" after_script: - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat From patchwork Tue Feb 4 18:40:18 2020 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: 1233521 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=xhOs4FSt; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtqF0j7mzB3yc for ; Wed, 5 Feb 2020 05:42:49 +1100 (AEDT) Received: from localhost ([::1]:36098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz39q-0005bE-Sn for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:42:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49601) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37p-0002Ey-0i for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37m-0002wm-TF for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:40 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:53251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37m-0002tC-Kh for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:38 -0500 Received: by mail-wm1-x329.google.com with SMTP id s10so4451468wmh.3 for ; Tue, 04 Feb 2020 10:40:38 -0800 (PST) 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=OxoHN2dLeLtwlF02D7y0hVOchLykVTRrCuzTiDCZZnA=; b=xhOs4FStpFRG/wMeENQuxf/oRhT2NEFBNbHztvim/77ywYgGb3ESBZIKbFyZiv3mUf t6SsePbHnAXiLDbLMpnCPYC2Mgm2MPJ5FRGqOS00OhJcLqkjZxPgWg/EUcRxFyu8yyUi d43aIrduFhM43yJ7G5ZUgWqHgYW0JAeW6YUwFlJufkbC0xCXLDpQ19lzLEXHdTp9Wazn iJzbrRXRmpk0P1uqnDJEwusSrHE2G56AMg+wZjPHj9dSqmYJyMeRTfzbrE2hA11bp2te d/9STh5yEAYKUFyAbgZ5uXI2P9/RabY4f6ZB6l21X1t4Feq4nGjsORrCZDdNnluGYGcC GbuA== 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=OxoHN2dLeLtwlF02D7y0hVOchLykVTRrCuzTiDCZZnA=; b=Nl5C9Wq6oYQ/69WXPuCMeY+ye1y6y/wn/TB8S6ap0PKx2GL6g396kZDmm3ZBAsYxu7 x6SefF7ez6tQfaW5QUHL5jfhoW0sg3StdDRcsPN/DGZzHpd7lBrUbxP2YG6R7o2pRkDi luvWWILIqlCP8TVyAIf+2vNBHMx2hrW+M2kJ3KQjIMDGC0idVPyu4wZHotndw4PGu/Xn ZMzvL77Ap8kiDGPVbrpLMAYunkmF++Su8wCqXzeRD6hCJoIPPB96hIT3oh6Rr0Rt2kwR ojTnb5MyseMaUp8lTXsS/Z0PnF+XWswoksOlhjKhag3MaoN3TuyXypJSohl5wzO+fRvK fk9A== X-Gm-Message-State: APjAAAVby8WcoDx0zchPG1eV3zkR6telFGmOQsmBrrnzFtMHL/cnjwn4 6dDCfGsuxDvfvKr9Z4sa45uZHgfMn0w= X-Google-Smtp-Source: APXvYqxoCFnZhjpNI1OVmji1Kkbl723gBtJCCFOFajVD+jPnZ9KjrUZIyOSuSMacMFnqWC1YDivphA== X-Received: by 2002:a1c:e3c2:: with SMTP id a185mr358233wmh.27.1580841637535; Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z21sm4925309wml.5.2020.02.04.10.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id ED6BA1FF93; Tue, 4 Feb 2020 18:40:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/16] .travis.yml: Add description to each job Date: Tue, 4 Feb 2020 18:40:18 +0000 Message-Id: <20200204184028.13708-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::329 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?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" From: Philippe Mathieu-Daudé The NAME variable can be used to describe nicely a job (see [*]). As we currently have 32 jobs, use it. This helps for quickly finding a particular job. before: https://travis-ci.org/qemu/qemu/builds/639887646 after: https://travis-ci.org/philmd/qemu/builds/641795043 [*] https://docs.travis-ci.com/user/customizing-the-build/#naming-jobs-within-matrices Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20200125183135.28317-1-f4bug@amsat.org> Message-Id: <20200203090932.19147-9-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 75269678476..3128eff7e01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,24 +96,28 @@ after_script: matrix: include: - - env: + - name: "GCC static (user)" + env: - CONFIG="--disable-system --static" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" # we split the system builds as it takes a while to build them all - - env: + - name: "GCC (main-softmmu)" + env: - CONFIG="--disable-user --target-list=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" - - env: - - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" + - name: "GCC (other-softmmu)" + env: + - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" # Just build tools and run minimal unit and softfloat checks - - env: + - name: "GCC check-softfloat (user)" + env: - BASE_CONFIG="--enable-tools" - CONFIG="--disable-user --disable-system" - TEST_CMD="make check-unit check-softfloat -j3" @@ -121,41 +125,48 @@ matrix: # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower - - env: + - name: "GCC debug (main-softmmu)" + env: - CONFIG="--enable-debug --target-list=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug" # TCG debug can be run just on its own and is mostly agnostic to user/softmmu distinctions - - env: + - name: "GCC debug (user)" + env: - CONFIG="--enable-debug-tcg --disable-system" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - - env: + - name: "GCC some libs disabled (main-softmmu)" + env: - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-libusb --disable-replication --target-list=${MAIN_SOFTMMU_TARGETS}" # Module builds are mostly of interest to major distros - - env: + - name: "GCC modules (main-softmmu)" + env: - CONFIG="--enable-modules --target-list=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" # Alternate coroutines implementations are only really of interest to KVM users # However we can't test against KVM on Travis so we can only run unit tests - - env: + - name: "check-unit coroutine=ucontext" + env: - CONFIG="--with-coroutine=ucontext --disable-tcg" - TEST_CMD="make check-unit -j3 V=1" - - env: + - name: "check-unit coroutine=sigaltstack" + env: - CONFIG="--with-coroutine=sigaltstack --disable-tcg" - TEST_CMD="make check-unit -j3 V=1" # Check we can build docs and tools (out of tree) - - env: + - name: "tools and docs" + env: - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." - BASE_CONFIG="--enable-tools --enable-docs" - CONFIG="--target-list=x86_64-softmmu,aarch64-linux-user" @@ -169,13 +180,15 @@ matrix: # Test with Clang for compile portability (Travis uses clang-5.0) - - env: + - name: "Clang (user)" + env: - CONFIG="--disable-system" - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default" compiler: clang - - env: + - name: "Clang (main-softmmu)" + env: - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} " - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize" compiler: clang @@ -184,52 +197,60 @@ matrix: - ${SRC_DIR}/configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; } - - env: + - name: "Clang (other-softmmu)" + env: - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default" compiler: clang # gprof/gcov are GCC features - - env: + - name: "GCC gprof/gcov" + env: - CONFIG="--enable-gprof --enable-gcov --disable-pie --target-list=${MAIN_SOFTMMU_TARGETS}" after_success: - ${SRC_DIR}/scripts/travis/coverage-summary.sh # We manually include builds which we disable "make check" for - - env: + - name: "GCC without-default-devices (softmmu)" + env: - CONFIG="--without-default-devices --disable-user" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" - TEST_CMD="" # Check the TCG interpreter (TCI) - - env: + - name: "GCC TCI" + env: - CONFIG="--enable-debug-tcg --enable-tcg-interpreter --disable-kvm --disable-containers --target-list=alpha-softmmu,arm-softmmu,hppa-softmmu,m68k-softmmu,microblaze-softmmu,moxie-softmmu,ppc-softmmu,s390x-softmmu,x86_64-softmmu" - TEST_CMD="make check-qtest check-tcg V=1" # We don't need to exercise every backend with every front-end - - env: + - name: "GCC trace log,simple,syslog (user)" + env: - CONFIG="--enable-trace-backends=log,simple,syslog --disable-system" - TEST_CMD="" - - env: + - name: "GCC trace ftrace (x86_64-softmmu)" + env: - CONFIG="--enable-trace-backends=ftrace --target-list=x86_64-softmmu" - TEST_CMD="" - - env: + - name: "GCC trace ust (x86_64-softmmu)" + env: - CONFIG="--enable-trace-backends=ust --target-list=x86_64-softmmu" - TEST_CMD="" # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode - - env: + - name: "OSX Xcode 10.3" + env: - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu" os: osx osx_image: xcode10.3 @@ -252,7 +273,8 @@ matrix: # Python builds - - env: + - name: "GCC Python 3.5 (x86_64-softmmu)" + env: - CONFIG="--target-list=x86_64-softmmu" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" language: python @@ -260,7 +282,8 @@ matrix: - "3.5" - - env: + - name: "GCC Python 3.6 (x86_64-softmmu)" + env: - CONFIG="--target-list=x86_64-softmmu" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" language: python @@ -269,7 +292,8 @@ matrix: # Acceptance (Functional) tests - - env: + - name: "GCC check-acceptance" + env: - CONFIG="--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu" - TEST_CMD="make check-acceptance" after_script: @@ -285,7 +309,8 @@ matrix: # Using newer GCC with sanitizers - - addons: + - name: "GCC9 with sanitizers (softmmu)" + addons: apt: update: true sources: @@ -333,7 +358,8 @@ matrix: # Run check-tcg against linux-user - - env: + - name: "GCC check-tcg (user)" + env: - CONFIG="--disable-system --enable-debug-tcg" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -341,26 +367,30 @@ matrix: # Run check-tcg against linux-user (with plugins) # we skip sparc64-linux-user until it has been fixed somewhat - - env: + - name: "GCC plugins check-tcg (user)" + env: - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" # Run check-tcg against softmmu targets - - env: + - name: "GCC check-tcg (some-softmmu)" + env: - CONFIG="--enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" # Run check-tcg against softmmu targets (with plugins) - - env: + - name: "GCC plugins check-tcg (some-softmmu)" + env: - CONFIG="--enable-plugins --enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - TEST_CMD="make -j3 check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - - arch: arm64 + - name: "[aarch64] GCC check-tcg" + arch: arm64 dist: xenial addons: apt_packages: @@ -391,7 +421,8 @@ matrix: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS}" - - arch: ppc64le + - name: "[ppc64] GCC check-tcg" + arch: ppc64le dist: xenial addons: apt_packages: @@ -422,7 +453,8 @@ matrix: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},ppc64le-linux-user" - - arch: s390x + - name: "[s390x] GCC check-tcg" + arch: s390x dist: bionic addons: apt_packages: @@ -456,7 +488,8 @@ matrix: # Release builds # The make-release script expect a QEMU version, so our tag must start with a 'v'. # This is the case when release candidate tags are created. - - if: tag IS present AND tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/ + - name: "Release tarball" + if: tag IS present AND tag =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/ env: # We want to build from the release tarball - BUILD_DIR="release/build/dir" SRC_DIR="../../.." From patchwork Tue Feb 4 18:40:19 2020 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: 1233518 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=HReE0Ogg; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtnN2QJ0zB3yf for ; Wed, 5 Feb 2020 05:41:12 +1100 (AEDT) Received: from localhost ([::1]:36024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz38I-0002Mu-8A for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:41:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49620) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37q-0002Hb-2t for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37p-0003A9-06 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:41 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:34843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37o-00033h-Oy for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:40 -0500 Received: by mail-wm1-x331.google.com with SMTP id b17so4996150wmb.0 for ; Tue, 04 Feb 2020 10:40:40 -0800 (PST) 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=NU0qWo97bX9PJ7TTtxC/vjgYMNLPxAXiNxqJmP7WyBc=; b=HReE0Oggfzpy2Qw8z+vyUPeocm9rcsbN9/MgDj+xeAzgMkJI4CXaobrDanTzJR68Tg 0FCtG1VfT27BQYTuuoJON2XdW2o8O1dLStOLKkmMtaPIsEWBKRrUQjjVSj32coMfx8rU v5aH7BJeq2ZIBFLyG76AY1ftOX+TE3FtUrfYR528nz5bV5A+bL3uXdtM7/klqtdzrFJ1 2CnfDyLxbH5cOMM679MvmvV7pcK31h6aia708igcT4oEdpsg4MhBlo+SMbSr+T8+TCZN aaXUP/fq3zFD2kwSUf2TSOOZlRsnzBjZug0abT+z6hb0P+gO+5kNjGzlZyYRTSF3H8QP NvoA== 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=NU0qWo97bX9PJ7TTtxC/vjgYMNLPxAXiNxqJmP7WyBc=; b=YL6TFhZtbTtKmr0oaWZG5S9ztfL87BaZ11QKOHMfbuDtJKBjSpZ7BEs6QpVyWz2YLX +4UOSp5YnVK/gioAJIQx7nGJcfcgTnKU94WYbWB3gI3dUuSo+/IHFS8H0v4Zjz5fKRw3 HmQcDRR1hAU8/rGdrixUehuszgVnlODOJDXfcG+9UHCDP0dEvQs/oiWxT+IAuxdMYOlE vSebFb+P+wC9xjsF4s6UDophBitGJe6P50X3WngohNdgKumBsc9CWUJlzV1IpC0bvP5x NhqSUYPF1aG4yMXof9Cwpo5IS784lRceaReZX4fDWdW+0G1e7QsSfAPvHpfnqLGAqM8Q V++A== X-Gm-Message-State: APjAAAWUozM04jMHcHiNui6AQiVBT9h21gPAcxTDWqEr5uCOFVw9iNXd fD+9GQwX9EfWOraYSZBvSiA6/Q== X-Google-Smtp-Source: APXvYqx6smpuJ2XUWfT7LAT6UO3jxd1DjMBiZVmR48dXoPg4ggednmEK7w6XwphekqLH6yW+h67P2Q== X-Received: by 2002:a1c:6408:: with SMTP id y8mr378043wmb.130.1580841639675; Tue, 04 Feb 2020 10:40:39 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e1sm9885995wrt.84.2020.02.04.10.40.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0C61A1FF96; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 07/16] .travis.yml: build documents under bionic Date: Tue, 4 Feb 2020 18:40:19 +0000 Message-Id: <20200204184028.13708-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::331 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" It looks like the xenial tooling doesn't like something in our setup. We should probably be moving to bionic for everything soon anyway (libssh aside). Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-10-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 3128eff7e01..f245765cfed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -165,7 +165,8 @@ matrix: # Check we can build docs and tools (out of tree) - - name: "tools and docs" + - name: "tools and docs (bionic)" + dist: bionic env: - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.." - BASE_CONFIG="--enable-tools --enable-docs" From patchwork Tue Feb 4 18:40:20 2020 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: 1233528 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=WsgQtKZO; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtvS23t2zB3yf for ; Wed, 5 Feb 2020 05:46:26 +1100 (AEDT) Received: from localhost ([::1]:36224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3DL-0004iR-2Y for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:46:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49675) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37s-0002N1-CQ for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37q-0003Go-Qe for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:44 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:45913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37q-0003EC-Jm for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:42 -0500 Received: by mail-wr1-x430.google.com with SMTP id a6so24376103wrx.12 for ; Tue, 04 Feb 2020 10:40:42 -0800 (PST) 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=YbdnoWYrcrFJCkRmA0BnB9+YlHXUY82nQYA3dnh99Us=; b=WsgQtKZOciuja1Lc87Hw+DFr+OrESuvVO4pv13Qd8Oouo0nGJ13JQsWj4+77CTezMw FbYA6RRZiktMGWiwkHYjkdBzzFElkG02hMnzBBm249DzZI3+wQt5akCmIdU0cnJf4Am3 TimutzkTirxBInV4VKyCqXgNzRt/I3UfXcsz5UPWWPMFkbQ/M6SsFzrg4gCu/ZOqBwvP 0qNaAho0leRWkc5IHDx1P2bB5+yK2M9qte53xbBIyGGr7nSf5iMYMCJIX1216UFu+gzB 4DduT66TEPbXlmHzDbF2na7HIAuV4xhhYq+Xwktv46sPzT7RQZkkiKz8dLnjuZVAE+M3 1JyQ== 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=YbdnoWYrcrFJCkRmA0BnB9+YlHXUY82nQYA3dnh99Us=; b=GXt1sJU0SwrIF9Ft/JsYT8Yjiz7uVpiMffz5M/jHS9xunPLLvMIHmW7lf2FOUSL+nU nQYHmoV7VbfjfKSNpgEFogn/hX9nFW5kk22H2gBy5yl3W4JlBwhyRnfeZ98mz4IOQmmI Fd1+Y3oCVkqMqKxQajoNLvhMI7RT+est4QtSvdO6Ur/VvasfpLqTUdPCaNgcvre41Gk0 tjrdMsNhevuNnpXbPlEiHwr+QWYndl7/XJI42zg3sFgTGmo0/vhm8nCxbGLIu+QWhddc BajlIloxbMjHPL3E8d8rCTaK4tSKHTEPJLdbWgSOjFwRSIWkpL9oYTDflyCzISnMacbh YXeA== X-Gm-Message-State: APjAAAUpK7OtK2HeEp7K/LFvRAZjJ7+lfiaqH2MVe7SXFYAQcPAC1w+x OYtcXdMIEmQy2drOIxWphkvQmg== X-Google-Smtp-Source: APXvYqwc22RxrykAtdFidxnAkp88lzmYkvIU8u7oKlc5iCUIwWJ7bqz0FB83XdlN+o/Tm+kmOXPkcQ== X-Received: by 2002:adf:f244:: with SMTP id b4mr22297562wrp.88.1580841641708; Tue, 04 Feb 2020 10:40:41 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b18sm31284711wru.50.2020.02.04.10.40.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2085E1FF98; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/16] .travis.yml: move cache flushing to early common phase Date: Tue, 4 Feb 2020 18:40:20 +0000 Message-Id: <20200204184028.13708-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::430 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We shall be adding more common early setup in a future commit. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-11-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index f245765cfed..1b92f40eab2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,11 +82,16 @@ git: # we want to do this ourselves submodules: false +# Common first phase for all steps +before_install: + - if command -v ccache ; then ccache --zero-stats ; fi +# Configure step - may be overridden before_script: - - if command -v ccache ; then ccache --zero-stats ; fi - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } + +# Main build & test - rarely overridden - controlled by TEST_CMD script: - BUILD_RC=0 && make -j3 || BUILD_RC=$? - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi @@ -268,7 +273,6 @@ matrix: before_script: - brew link --overwrite python - export PATH="/usr/local/opt/ccache/libexec:$PATH" - - if command -v ccache ; then ccache --zero-stats ; fi - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; } @@ -499,9 +503,6 @@ matrix: - TEST_CMD="make install -j3" - QEMU_VERSION="${TRAVIS_TAG:1}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" - before_script: - - command -v ccache && ccache --zero-stats - - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} script: - make -C ${SRC_DIR} qemu-${QEMU_VERSION}.tar.bz2 - ls -l ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 From patchwork Tue Feb 4 18:40:21 2020 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: 1233526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=eLqf5VbW; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtsC3FhCz9sXY for ; Wed, 5 Feb 2020 05:44:31 +1100 (AEDT) Received: from localhost ([::1]:36162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3BV-000110-BJ for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:44:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49771) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37w-0002Yp-0f for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37u-0003Wl-MQ for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:47 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37u-0003SR-Ek for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:46 -0500 Received: by mail-wr1-x42d.google.com with SMTP id y17so24424550wrh.5 for ; Tue, 04 Feb 2020 10:40:46 -0800 (PST) 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=0aVFKZb4dTY13AjtnctAI9fn5KF4XqDrO8C2sbD1mzs=; b=eLqf5VbWkA1vRchZe1PWt9FbID6f0n3cqK/h2QQA9P22kLnDfP7sLOpsPhf0aNUsHy dmZPf9kOjlOjBoYTDKBy64fs8f+xofmZ+r4vvl6bZ8VKqq0M8K9iJLb7P+YQ/EPZ1nys mmHcZigyoo/Hy5pfttN8Rs7bBw3fOPfmd5wcWEuZWtoIt29nUzRGXS1vjh+C6GI76O47 H7wT7leOucnOfl4X1rV3xa4+aQTkYhJn3iuopMIQoRv3vtkdNpk6DKQfry61GB6yMqYM G+ggfrngzo2SNzzbpjdGQehp04UU4Lu4PpH57CyLMJ2TwIe/3U0TJazlRF+Jg8sTVP0K HIjw== 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=0aVFKZb4dTY13AjtnctAI9fn5KF4XqDrO8C2sbD1mzs=; b=cwvxclfkE07bPuYunpuojRicueJhBfaRoAnb+mwqZEt2ZYPLNdZ/pRK68oXfi94sZV J8foB09CCVSesUwV+m7o0iBUnLOK8S7r6zJ6NC4R5Q0s7Sq/Bk3rfB7fu9pytsUqywYt 1k1slrOrhTWFWSO+e8aljv+DqB6F8hsjhxv9BBhWw3AaX0Vx5LRjYf4Poj6UJpwb4A1r j8fLCVJmqJIfWOdJhCAtdMZ8KaVsw87QjrZVb9E1CFAnoqLYiSvMWxujasfNBX0mMxZ1 gGb528EUOjMcu14qxJdiQcoPlidj7uSLVbCQrwNuCchW689pZzIYg6ygRg7lxE7B1K7Y 9TmA== X-Gm-Message-State: APjAAAVZERj/h/HaW6m/KEzezKnXHyX4La8FsI8+jhER5wdxJRHB7jlt b+suL/I036IIv2HQhKE/Qwiu0w== X-Google-Smtp-Source: APXvYqz33Ez1IH+/xwKiGltJasBmxBIGidss+0yJV21cBunuAM8WXjgW/tBs7UV8FJ/bcOobQkNnEw== X-Received: by 2002:a05:6000:1187:: with SMTP id g7mr23674290wrx.109.1580841645456; Tue, 04 Feb 2020 10:40:45 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x7sm31198259wrq.41.2020.02.04.10.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 34C611FF99; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 09/16] .travis.yml: probe for number of available processors Date: Tue, 4 Feb 2020 18:40:21 +0000 Message-Id: <20200204184028.13708-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::42d X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The arm64 hardware was especially hit by only building on 3 of the 32 available cores. Introduce a JOBS environment variable which we use for all parallel builds. We still run the main checks single threaded though so to make it easier to spot hangs. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-12-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 1b92f40eab2..a600f508b0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,6 +85,8 @@ git: # Common first phase for all steps before_install: - if command -v ccache ; then ccache --zero-stats ; fi + - export JOBS=$(($(getconf _NPROCESSORS_ONLN) + 1)) + - echo "=== Using ${JOBS} simultaneous jobs ===" # Configure step - may be overridden before_script: @@ -93,7 +95,7 @@ before_script: # Main build & test - rarely overridden - controlled by TEST_CMD script: - - BUILD_RC=0 && make -j3 || BUILD_RC=$? + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$? - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi after_script: - if command -v ccache ; then ccache --show-stats ; fi @@ -125,7 +127,7 @@ matrix: env: - BASE_CONFIG="--enable-tools" - CONFIG="--disable-user --disable-system" - - TEST_CMD="make check-unit check-softfloat -j3" + - TEST_CMD="make check-unit check-softfloat -j${JOBS}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" @@ -160,13 +162,13 @@ matrix: - name: "check-unit coroutine=ucontext" env: - CONFIG="--with-coroutine=ucontext --disable-tcg" - - TEST_CMD="make check-unit -j3 V=1" + - TEST_CMD="make check-unit -j${JOBS} V=1" - name: "check-unit coroutine=sigaltstack" env: - CONFIG="--with-coroutine=sigaltstack --disable-tcg" - - TEST_CMD="make check-unit -j3 V=1" + - TEST_CMD="make check-unit -j${JOBS} V=1" # Check we can build docs and tools (out of tree) @@ -366,7 +368,7 @@ matrix: - name: "GCC check-tcg (user)" env: - CONFIG="--disable-system --enable-debug-tcg" - - TEST_CMD="make -j3 check-tcg V=1" + - TEST_CMD="make -j${JOBS} check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -375,7 +377,7 @@ matrix: - name: "GCC plugins check-tcg (user)" env: - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user" - - TEST_CMD="make -j3 check-tcg V=1" + - TEST_CMD="make -j${JOBS} check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -383,7 +385,7 @@ matrix: - name: "GCC check-tcg (some-softmmu)" env: - CONFIG="--enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - - TEST_CMD="make -j3 check-tcg V=1" + - TEST_CMD="make -j${JOBS} check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -391,7 +393,7 @@ matrix: - name: "GCC plugins check-tcg (some-softmmu)" env: - CONFIG="--enable-plugins --enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - - TEST_CMD="make -j3 check-tcg V=1" + - TEST_CMD="make -j${JOBS} check-tcg V=1" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - name: "[aarch64] GCC check-tcg" @@ -500,7 +502,7 @@ matrix: - BUILD_DIR="release/build/dir" SRC_DIR="../../.." - BASE_CONFIG="--prefix=$PWD/dist" - CONFIG="--target-list=x86_64-softmmu,aarch64-softmmu,armeb-linux-user,ppc-linux-user" - - TEST_CMD="make install -j3" + - TEST_CMD="make install -j${JOBS}" - QEMU_VERSION="${TRAVIS_TAG:1}" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default" script: From patchwork Tue Feb 4 18:40:22 2020 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: 1233524 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=P7yUBhQ2; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Bts22XTGzB3vT for ; Wed, 5 Feb 2020 05:44:22 +1100 (AEDT) Received: from localhost ([::1]:36144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3BM-0000cS-7y for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:44:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49645) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37r-0002K3-1D for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37q-0003E6-10 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:42 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:39829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37p-0003B1-QN for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:41 -0500 Received: by mail-wr1-x434.google.com with SMTP id y11so24407395wrt.6 for ; Tue, 04 Feb 2020 10:40:41 -0800 (PST) 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=RGSEAwRzGquzo0z9rwho6pYbImwPBYk422V1NiGGQVw=; b=P7yUBhQ2fqZqgisIfBQns3BkLmZY+lwyi/+8vhdAEcijIedGnbKE4D5dZtWwFO+MoU LiBJjREJu4n7qygwGHIKwkt7gE+qSFozH94+ytJCREl4tlpCUxLU9Z7ijVtCFPlroNpm /babPlxv7LbJCIPLEb4gPhoeN9SL6aWyrb0IxFhWzfmeKKwsFn8Sjdr1gay4jHZwRiZo +Vg7D0IbS+QwTtPUsa0rYvRk4pWa1Hlt5o4SA+LfeEkNy1GFueVhIpIChzZkr9ArcMWJ IdnEe/b0W9vu5+utFGch9GiduuhVXiuxS13exNuxNurcfsQdeAxX1+dDf3ciKjElYe3q wRKA== 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=RGSEAwRzGquzo0z9rwho6pYbImwPBYk422V1NiGGQVw=; b=Ys53WqaMsgNZOB3UqzUUYrIA1DLrGoL81Wuprd/EYQ5he4j7jT0svgGg7xYqQLEARO f/uW/mYD0m4SSucNRVax0tOOi2FeLqrs23NY4sfgX9GJUmrn5nSTFs14NAXibgXC0tN/ isM+vECrxgM2QNkyH6zYDmm1iUHv0myrow+NDdSagdjlEskMnnX90MB0RM1Ey9WmpTCb I6dr5P9fSnOyREK0AunCKXBAZlURkvJnb1Bv0ve+DA6IFGwnKUjtUm7sw1Nl8rYPaqtF az1562+pYVfJv1wLz7tN5toxe6b2G+i1ZLhdwPfzdEVlGaGi40OwEBKalHXqh0RIvRkX LOTA== X-Gm-Message-State: APjAAAUByYLNXWNKKUjafAEZOIQiVKJAfXNFKG6Pnk/B9fieNUrZqkRt V+a+i+qbzFgYCpmgvEhRfpq6qg== X-Google-Smtp-Source: APXvYqxe7XHFumEicLtHyd4Uyw/5lu5nKTBwFcTrtHM6pGP4kfUb16ZgtP/LQf00bjGElioCHcKwqw== X-Received: by 2002:a5d:4b88:: with SMTP id b8mr23660394wrt.343.1580841640830; Tue, 04 Feb 2020 10:40:40 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g7sm30955462wrq.21.2020.02.04.10.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 495A11FF9A; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 10/16] tests/tcg: add a configure compiler check for ARMv8.1 and SVE Date: Tue, 4 Feb 2020 18:40:22 +0000 Message-Id: <20200204184028.13708-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::434 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We will need this for some tests later. The docker images already support it by default. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20200203090932.19147-13-alex.bennee@linaro.org> diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 210e68396f2..e0d1fbb182f 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -216,6 +216,20 @@ for target in $target_list; do echo "CROSS_CC_GUEST_STATIC=y" >> $config_target_mak fi echo "CROSS_CC_GUEST=$target_compiler" >> $config_target_mak + + # Test for compiler features for optional tests. We only do this + # for cross compilers because ensuring the docker containers based + # compilers is a requirememt for adding a new test that needs a + # compiler feature. + case $target in + aarch64-*) + if do_compiler "$target_compiler" $target_compiler_cflags \ + -march=armv8.1-a+sve -o $TMPE $TMPC; then + echo "CROSS_CC_HAS_SVE=y" >> $config_target_mak + fi + ;; + esac + enabled_cross_compilers="$enabled_cross_compilers $target_compiler" got_cross_cc=yes break From patchwork Tue Feb 4 18:40:23 2020 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: 1233522 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Glsj5X5B; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtqQ53MjzB3yc for ; Wed, 5 Feb 2020 05:42:58 +1100 (AEDT) Received: from localhost ([::1]:36110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3A0-0005vZ-Jt for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:42:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49699) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37t-0002Oh-3V for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37s-0003MD-0Y for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:45 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:39354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37r-0003I9-P8 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:43 -0500 Received: by mail-wm1-x332.google.com with SMTP id c84so4947190wme.4 for ; Tue, 04 Feb 2020 10:40:43 -0800 (PST) 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=L9HvZyNljZHrK9e1hH9vtDVXa3gENY0R3TzqxIQy+mE=; b=Glsj5X5B3HpHfSssSUXc+gB+PTp8p24Veify96KAXbRnkMnHESWFa0UqU1THIKfNCG TLuIK8fQRp2VX//JDNw1LrOuc0w+5c6ZKtzwmbJWdnnZtjF4WF+d9VwKCxxg4k2PfWkB dhtFU9vuouxGIVuQOudqCCb7YYXlNj6P63DGANN4E1Zhogss/Rd1WTd82idiCqwk8Xst 15Doe6eCtLCD250dAFa0cO39/n6IV05nBVFFHsZO04OdU8FrupqIQed1BXRJKwiAkimi 2RShcwzxBiajP6qGom8L+fCibCJnUriiJp6XAHEWU08M17/E/3odZPw8A9dV6/MC+MvN uXvQ== 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=L9HvZyNljZHrK9e1hH9vtDVXa3gENY0R3TzqxIQy+mE=; b=j9cTZYXCya9NQjH8gzqcICDpwoTX6hOjL5yktwIb0WwWxF1Syw3piXSkg9wi8uU6ZE i2lJLcqkO9wHoCqONXlS4L56gZMPnWFG9+L4XHj+ZE9I6KXs3aZJOJuldIE+FXlzbFXh vHS/IHlO2hYnJdqskLynt2vf8A2WsBeYUWmYEkSkfM5+nDZfIPdG0tMJUhANXbExRV4w oAd1PclOBKKcD3gH31BAVl+W6ugqCPPsJ79ycD+3snSz5oAD0xzjAl9Rntunjd5gG0ZE 8u/vICt49i0Xf1UAEMc2T6WmRjOtS5eRSN72Z41CV5ktaHL85ECOZcgOoQt1AU4IHZyM eFJA== X-Gm-Message-State: APjAAAUXqBVEP/pbHWSnvfmBFIBCTY+ejXNHhA/fqDgXSPgaIa2ilghD 7yLT+p2bYEUwe8GTh6NvIFDgmQ== X-Google-Smtp-Source: APXvYqwoArh4Q4wL7zmW/NG3TgJwq0J0UgwmdxV4+IgkkFYqel4v0VA6Cd2Kq8K3cnAV7SWtIdtHUA== X-Received: by 2002:a7b:c8d7:: with SMTP id f23mr324659wml.173.1580841642687; Tue, 04 Feb 2020 10:40:42 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c9sm4712061wmc.47.2020.02.04.10.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 60E371FF9B; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 11/16] tests/tcg: gate pauth-% tests on having compiler support Date: Tue, 4 Feb 2020 18:40:23 +0000 Message-Id: <20200204184028.13708-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::332 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:ARM TCG CPUs" , =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Otherwise we end up failing to build our tests on CI which may have older compilers that the user expects. We can get rid of this once we can fallback to multiarch containers. Signed-off-by: Alex Bennée Message-Id: <20200203090932.19147-14-alex.bennee@linaro.org> diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target index f6b5121f5ce..d2299b98b76 100644 --- a/tests/tcg/aarch64/Makefile.softmmu-target +++ b/tests/tcg/aarch64/Makefile.softmmu-target @@ -61,7 +61,13 @@ run-memory-replay: memory-replay run-memory-record $(QEMU_OPTS) memory, \ "$< on $(TARGET_NAME)") -run-pauth-3: pauth-3 -pauth-3: CFLAGS += -march=armv8.3-a +EXTRA_TESTS+=memory-record memory-replay -EXTRA_TESTS+=memory-record memory-replay pauth-3 +ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_ARMV8_3),) +pauth-3: CFLAGS += -march=armv8.3-a +else +pauth-3: + $(call skip-test, "BUILD of $@", "missing compiler support") +run-pauth-3: + $(call skip-test, "RUN of pauth-3", "not built") +endif diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile.target index efa67cf1e9e..8ed477d0d51 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -18,9 +18,11 @@ run-fcvt: fcvt $(call diff-out,$<,$(AARCH64_SRC)/fcvt.ref) # Pauth Tests +ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_ARMV8_3),) AARCH64_TESTS += pauth-1 pauth-2 pauth-4 run-pauth-%: QEMU_OPTS += -cpu max pauth-%: CFLAGS += -march=armv8.3-a +endif # Semihosting smoke test for linux-user AARCH64_TESTS += semihosting diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index e0d1fbb182f..9eb6ba3b7ea 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -227,6 +227,10 @@ for target in $target_list; do -march=armv8.1-a+sve -o $TMPE $TMPC; then echo "CROSS_CC_HAS_SVE=y" >> $config_target_mak fi + if do_compiler "$target_compiler" $target_compiler_cflags \ + -march=-march=armv8.3-a -o $TMPE $TMPC; then + echo "CROSS_CC_HAS_ARMV8_3=y" >> $config_target_mak + fi ;; esac From patchwork Tue Feb 4 18:40:24 2020 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: 1233527 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ZUFJ5IWB; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtsD4VVdzB3vT for ; Wed, 5 Feb 2020 05:44:32 +1100 (AEDT) Received: from localhost ([::1]:36166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3BW-00013C-HF for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:44:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49731) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37u-0002Rd-5S for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37s-0003PI-V5 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:46 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37s-0003Mk-Ow for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:44 -0500 Received: by mail-wr1-x42c.google.com with SMTP id c9so24407709wrw.8 for ; Tue, 04 Feb 2020 10:40:44 -0800 (PST) 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=8PJB/3wNiT3SG8Z/wz8oud6QTSe7SXUwd1RNLp8LyOI=; b=ZUFJ5IWBwpr4swokfP7og0e2ekmoZiT4tvyMFNMNT8LcKbg8CF5ZokUIXCp69Y7Z/T 3DcENDnmbeYd49l4p6Q8ihXKtT8qIwTQWDoKRIPeCg7jJwDt67LhhivitoVAQqmJMoT+ 1ZGgQyys6n1Ogx6H2iRlJExlbCo3CY0svXwcI4lm27W8erozrj2alpus1DUEhPxaPkWs vZSQgcJw9e+XWDhy6bhaTxcIaZ3C6F3Uaajb2Hz1BSnyoitafnB4O4WrHluAjee3Ju70 7NrGruE54XAcfhbWWsZqlaz3+sG9UpYISo84NxMt4DsnhFI1wKrgqKp1FKwqbuYnr7Ak UvRQ== 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=8PJB/3wNiT3SG8Z/wz8oud6QTSe7SXUwd1RNLp8LyOI=; b=At9S/DGxGxsSWso5LxavMsTFqUr6oFCNE+S7SJWA+qwlSwt5EqLCOzZR+hcPSLHUT8 E3hEL1C3FDVFapqXOc10vEmW6dymhqAA/O8loRpVPEfTIAAlG6WS9N5HwZwisbHdLNha drzuonhSzdF8E5bfs6l2Ai9EXcfPcrF3aozUqrTqVVuT44ULh4qoJtcBrm+zUWjSrPTY WDncPd9qdnOTmwt5+OOpt+DCoiosIit+4qHxvWvYnie9etCR+cVVLefLnPuLUW2YcS5r VFc/Pzc9486qRvDl29kUJFkYi8J2eRVXf/AFegK9VsHbTN4/EyFMrwO9ivnN2sVkKnxc ARjw== X-Gm-Message-State: APjAAAX06MYobug1xXBK0h3wKdUJzS5nDFDSfB/1zHKSFyQZoDP2qzd9 ZcG9kny8n/jKTXKz0KzXxmSf7w== X-Google-Smtp-Source: APXvYqxzGh87LgRg6vASv/z3e6MEVcTmXv/rRRK8A8TGtdoi06l4V/SSHI+Nqo+TVeOljQaSRny7Cg== X-Received: by 2002:a5d:6a83:: with SMTP id s3mr21950701wru.99.1580841643748; Tue, 04 Feb 2020 10:40:43 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b18sm31284817wru.50.2020.02.04.10.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7585A1FF9C; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 12/16] .travis.yml: introduce TEST_BUILD_CMD and use it for check-tcg Date: Tue, 4 Feb 2020 18:40:24 +0000 Message-Id: <20200204184028.13708-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::42c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" At least for check-tcg we can split the build phase from the test phase and do the former in parallel. While we are at it drop the V=1 for the check-tcg part as it just generates a lot more noise in the logs. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-15-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index a600f508b0a..022462f6981 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,6 +71,7 @@ env: - SRC_DIR=".." - BUILD_DIR="build" - BASE_CONFIG="--disable-docs --disable-tools" + - TEST_BUILD_CMD="" - TEST_CMD="make check V=1" # This is broadly a list of "mainline" softmmu targets which have support across the major distros - MAIN_SOFTMMU_TARGETS="aarch64-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" @@ -96,6 +97,12 @@ before_script: # Main build & test - rarely overridden - controlled by TEST_CMD script: - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$? + - | + if [ "$BUILD_RC" -eq 0 ] && [ -n "$TEST_BUILD_CMD" ]; then + ${TEST_BUILD_CMD} || BUILD_RC=$? + else + $(exit $BUILD_RC); + fi - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi after_script: - if command -v ccache ; then ccache --show-stats ; fi @@ -368,7 +375,8 @@ matrix: - name: "GCC check-tcg (user)" env: - CONFIG="--disable-system --enable-debug-tcg" - - TEST_CMD="make -j${JOBS} check-tcg V=1" + - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -377,7 +385,8 @@ matrix: - name: "GCC plugins check-tcg (user)" env: - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user" - - TEST_CMD="make -j${JOBS} check-tcg V=1" + - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -385,7 +394,8 @@ matrix: - name: "GCC check-tcg (some-softmmu)" env: - CONFIG="--enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - - TEST_CMD="make -j${JOBS} check-tcg V=1" + - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -393,7 +403,8 @@ matrix: - name: "GCC plugins check-tcg (some-softmmu)" env: - CONFIG="--enable-plugins --enable-debug-tcg --target-list=xtensa-softmmu,arm-softmmu,aarch64-softmmu,alpha-softmmu" - - TEST_CMD="make -j${JOBS} check-tcg V=1" + - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - name: "[aarch64] GCC check-tcg" From patchwork Tue Feb 4 18:40:25 2020 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: 1233531 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=pd7hDJjF; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Bv0T00mzzB3yc for ; Wed, 5 Feb 2020 05:50:48 +1100 (AEDT) Received: from localhost ([::1]:36358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3Ha-0003Qc-Su for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:50:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54428) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3Dy-0006vm-U3 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz3Dx-0003Y2-Ib for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:02 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:41642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz3Dx-0003Of-Bg for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:01 -0500 Received: by mail-wr1-x433.google.com with SMTP id c9so24429796wrw.8 for ; Tue, 04 Feb 2020 10:47:01 -0800 (PST) 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=rIHuVIbSJsbfCEGZb34sLirpxbWRjaj8BKp12hdsmGc=; b=pd7hDJjFR0meZ8D0HhLfyIlEREBdm5O3tF2Ab6ls+HQANbi0wghU8j1LfHEPzn9G6i EKwqFAxBqdeIIVSggqE/dXXETD1RzyonqwKornveiK3xTkd307fUrQs+hEdDHlnON2BU dsx6/lR4uHG3yKqSA+cts7cEhi4c+GeMtVL4n2wrZHx40P+ozYbbGMgAlRZxrroyeZz/ dr3hTPJjka1HdQ4qt4g5JAczOTVhf3TTWAS551QDP6WeTJ3ZczFXncxJL4Wy/Dwx6QCC 1Wi76FtcsCo1Bk3sCBudVn0Em4CY9D25INBGWq3d1mBw/KOCKDZqS/2uDMSjvzSR0Wmp njgw== 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=rIHuVIbSJsbfCEGZb34sLirpxbWRjaj8BKp12hdsmGc=; b=dJgCaZ0LVwcsvixgQUE5fXSp3yNlBt6DErjJz6n1zbvfk/hL8a9xZwaG306+aVLplY OEyk3I538VcCsX7KpANNP8hgPGH83xu58cHPRvrlZgdKUL1W50xd12sfNuXkrml8hAKR PeXFkoMRlT9phUypggFUXmjX2tF6vw3IlZfgs4ioFRHmILCOUcYOwEqAQTFKwaTIt1iL d6rOZ2usP4RasaG6pA5LGRnJMNHq25bIO5WfMWEMANQiiIU4c5DFU1VE/vssKeck/MJC fsmd4CkScxMxA3DkZb4gyA1Hkzyh5Z6o143E75Oxt49e01+/YSr/1XhSDd1uiaCHDUPf 4Zrw== X-Gm-Message-State: APjAAAXVaeRUO5TDRErYcWDWrMIjcZ2sJIy75UcXwEnDwUyyVP1Tb4Ek JKF9E36Of1gyl1Y356ktYITpog== X-Google-Smtp-Source: APXvYqxBNvwom6imZN1UORlEl8NTVP5gBAvjj36SWf+DJ/zkm01MiDprUO6AcjOYm2JrxMxbYhcWcQ== X-Received: by 2002:adf:df83:: with SMTP id z3mr23282447wrl.389.1580842018663; Tue, 04 Feb 2020 10:46:58 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t5sm30813085wrr.35.2020.02.04.10.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:46:57 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8B9231FF9D; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 13/16] .travis.yml: drop the travis_retry from tests Date: Tue, 4 Feb 2020 18:40:25 +0000 Message-Id: <20200204184028.13708-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::433 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This was a crutch when we introduced it - however it does have the disadvantage of causing tests to timeout with large amounts of logs. Lets drop it and see if the stability has improved since. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20200203090932.19147-16-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 022462f6981..875671325c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,7 +103,12 @@ script: else $(exit $BUILD_RC); fi - - if [ "$BUILD_RC" -eq 0 ] ; then travis_retry ${TEST_CMD} ; else $(exit $BUILD_RC); fi + - | + if [ "$BUILD_RC" -eq 0 ] ; then + ${TEST_CMD} ; + else + $(exit $BUILD_RC); + fi after_script: - if command -v ccache ; then ccache --show-stats ; fi From patchwork Tue Feb 4 18:40:26 2020 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: 1233529 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=r5GD4P0D; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BtvY5vqJzB3yf for ; Wed, 5 Feb 2020 05:46:33 +1100 (AEDT) Received: from localhost ([::1]:36236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3DT-000550-K4 for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:46:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz37x-0002bL-1h for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz37w-0003cx-1e for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:48 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:36592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz37v-0003Yh-Qa for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:40:47 -0500 Received: by mail-wr1-x435.google.com with SMTP id z3so24457865wru.3 for ; Tue, 04 Feb 2020 10:40:47 -0800 (PST) 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=/TV/N7OzCTJ9WVazwWcBCI64243f6rpQOW3yZSm6a4c=; b=r5GD4P0DimIAbKmKtJHnjxWYHjc3/0pdCnHHcYW38Ivre1MRjEn0u33XOgvQkZrXMI 8WxWAQh9MmYolKLW4149IXnjeguwYgLmi9iEdRem86fjV9a8sJB0hZU4LsmNo+P96j+J BmkvIiPrH6Z1iug68xICqfAuPYdJxgOGrX6iomOAzU+X8OsE188gTSKIl2C+agJJxAtQ 7H7HnAlbCfitOxhf+33YiF8Pa0BRBxs0/v4/7ki6Vub8DxW4hPtfjIZQ4PkkCbo213TO Pik2/qRe+ELftjqDKwOYhALlvGWTp+zlf2xaNQNGSP7Rhia5WO5uycrmqftF4h1zYh35 MCxg== 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=/TV/N7OzCTJ9WVazwWcBCI64243f6rpQOW3yZSm6a4c=; b=tW2wBeeqB8fwn4SHEpuGumjhC5ltaQP/VqXX/7g18LmMkQthmOtf9kjy1GgS+cYrKx 1EFzLKNtA2rX/r5fLPGdotyQIMHVo+WPrmB3zppw4K4alcyl1c1XvBMtOIueIiCmlyZz ifI4lbcyA6gOUwnTy3xfbBwZDJdYJxajkVoRsTpjXRCFPJhbpkO0W3AEBx7cxonk0ySi +QkYIu73ghoJCJIdgq8p5RNpL3SB+4Rkc7fi5DJlsc0hyQ0WHerplmLTd9QbGyeZllvC gTXzLW/OIGCBAb9t7WaR1EXh9kBFbaB8hzZiElHC9ltbwDGvr4PXfSQW5BES+Db4GoGx ntRA== X-Gm-Message-State: APjAAAVaN8X8/ZLC4igCkSE16mHnR9yoQzH+ctJOpQsbGcYjMndjhsJF Wd3fGdxfE3slFRX8r+5QB2hulg== X-Google-Smtp-Source: APXvYqwQvbDu3sBB6UDDiGh9g8TYm/FC8A1rJvFGgej7QShw+pgeVugMAj3TVf0YDtoCmWjtA9Mgpg== X-Received: by 2002:adf:fa50:: with SMTP id y16mr25096356wrr.204.1580841646771; Tue, 04 Feb 2020 10:40:46 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k13sm30410947wrx.59.2020.02.04.10.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:40:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A04BA1FF9E; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 14/16] .travis.yml: drop cris-linux-user from the plugins test Date: Tue, 4 Feb 2020 18:40:26 +0000 Message-Id: <20200204184028.13708-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" While it shouldn't cause problems we will never get useful information from cris as it has yet to be converted to the common translator loop. It also causes the Travis CI to fail for weird reasons which I have so far been unable to replicate on a normal Xenial system. Signed-off-by: Alex Bennée Message-Id: <20200203090932.19147-17-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 875671325c8..c1c6df475a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -387,9 +387,10 @@ matrix: # Run check-tcg against linux-user (with plugins) # we skip sparc64-linux-user until it has been fixed somewhat + # we skip cris-linux-user as it doesn't use the common run loop - name: "GCC plugins check-tcg (user)" env: - - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user" + - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user" - TEST_BUILD_CMD="make -j${JOBS} build-tcg" - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" From patchwork Tue Feb 4 18:40:27 2020 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: 1233530 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Uv7Ctlt+; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Btx237PszB3yc for ; Wed, 5 Feb 2020 05:47:50 +1100 (AEDT) Received: from localhost ([::1]:36280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3Ei-0007EF-9B for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:47:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54440) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3Dz-0006wc-5i for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz3Dy-0003aR-52 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:03 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:36642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz3Dw-0003Sy-UW for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:02 -0500 Received: by mail-wr1-x430.google.com with SMTP id z3so24479563wru.3 for ; Tue, 04 Feb 2020 10:47:00 -0800 (PST) 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=P4/xpMMF3K4/Oux9HJYkuwQlMciTvktcB7IAIMVNY54=; b=Uv7Ctlt+MI0FgJZTNuJP7eVKYOFUJVeqUGy86IyU/B5IzzHzbjV7kjyQ/NhSR2OEch GYnHeQT0GXN9rH3jKSdYbV+C4FcpbzcSxk0XgJNTF2GHB0asikIYHqmcsE3oxGxbuzCL a5JeO+i33wIYCveqElrnejqsiHA9B1kBD8oSC/fUpKXZV5213c4kVpo6DgqxpG41Y2y1 JZHitotzf/fG4IpFl4Dw2pL0PUuPmcshb/QPBMj42YL9OriT4YdbkbLUeaDQohl30L1j GpCPCcGNg34KgwDzASJKiAkCYaU+wxqXhvIOzElOxnKXgiE6Fh5jDgSuk0YclzRBdPgk 1igg== 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=P4/xpMMF3K4/Oux9HJYkuwQlMciTvktcB7IAIMVNY54=; b=UaVqxWqpaxmgxNeM7kMmk8o8p0WxmvX/sq1EmOGztXDxknTKthMzDKLCdiJvSaKjMa 2EZc5b2x5325QO1JIhFBzX0c2wEaxLUONa4ZotgVZclQEw4LWb9VnUlHe5FmA1Onrfhu DUIEVhvVjCoRWBVrZhM/Yr5UOAfh+m73sf1PEqj7fhSAEONvDdH3vC4xKSmSo1DpA0d3 wD7OM6tVmiP9pPMrGFliGB96OUZaAGkAZPmK6+nuxAjamfG6iZp9ajb/LoLZa32uoOjn ssSp2U6s1pD08Fq/Swjt5cqObp8dkB/49lntLPK/GMSOPQrWoFgFgKxmC9YM07NeKsfX nDpQ== X-Gm-Message-State: APjAAAXAbuC25zGglesimirLwFiEXp3el9vA9CNAwOhlUSTqbU6yLBuO cK3Vua18sofbyhZYvMjYqw2RZA== X-Google-Smtp-Source: APXvYqx6gWhVTY+V0Bhb1DFfARiANMe7qHmpGbHvX53s5R4ORgt5S0DKVcdrssIKjvWMPyiWusWYQQ== X-Received: by 2002:adf:e984:: with SMTP id h4mr23822819wrm.275.1580842019749; Tue, 04 Feb 2020 10:46:59 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s139sm4888005wme.35.2020.02.04.10.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:46:57 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B442B1FF9F; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 15/16] .travis.yml: single thread build-tcg Date: Tue, 4 Feb 2020 18:40:27 +0000 Message-Id: <20200204184028.13708-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::430 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" I've theorised that a parallel build-tcg is somehow getting confused when two fedora-30 based cross compilers attempt to build at the same time. From one data-point so far this may fix the problem although the plugins job runs quite close to timeout. Signed-off-by: Alex Bennée Message-Id: <20200203090932.19147-18-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index c1c6df475a8..3b35b7cf04d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -380,7 +380,7 @@ matrix: - name: "GCC check-tcg (user)" env: - CONFIG="--disable-system --enable-debug-tcg" - - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_BUILD_CMD="make build-tcg" - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" @@ -391,7 +391,7 @@ matrix: - name: "GCC plugins check-tcg (user)" env: - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user" - - TEST_BUILD_CMD="make -j${JOBS} build-tcg" + - TEST_BUILD_CMD="make build-tcg" - TEST_CMD="make check-tcg" - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" From patchwork Tue Feb 4 18:40:28 2020 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: 1233532 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; 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" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FTv6Lby9; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48Bv1X3xhgzB3yc for ; Wed, 5 Feb 2020 05:51:43 +1100 (AEDT) Received: from localhost ([::1]:36382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3IS-0004T4-TB for incoming@patchwork.ozlabs.org; Tue, 04 Feb 2020 13:51:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54435) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz3Dz-0006wM-1O for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz3Dx-0003ZU-W8 for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:02 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iz3Dx-0003XA-Ps for qemu-devel@nongnu.org; Tue, 04 Feb 2020 13:47:01 -0500 Received: by mail-wr1-x42c.google.com with SMTP id c9so24429905wrw.8 for ; Tue, 04 Feb 2020 10:47:01 -0800 (PST) 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=PRUtPn265vexHf4VVNiwt/Msvkmc1PvT0xeNxB5F/RM=; b=FTv6Lby9v2XCBqEpuSrxPvB7zU7rQP/Rbwu4qj0q0dChRbGF4+cGRYdGNnZdPKWhi0 oPKDtIav7BnzL8L9mI2YiltweU770REkxph3KatiBtJuyNbucYZk2lqowNaQ8xMVyVbE gRFhXdRW0bnsumFz2c2+KLNVqN0ia56VhQD2Fb/G8xp1PuDMBT4oIE+lJB0v5tqrecdb lPIS2n4pvkGeLaVyCAE/zkQxT9PwTL36nNho9fCEaX5JteDgMB7RMInxuEzScpavTUHq mlB2WE2Z0CiS8JDustJpHf9mLpB85iuwSYzMk3vYgoMBqWeYO0Ul+Sc/+jFaAz26AP3d 2MyA== 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=PRUtPn265vexHf4VVNiwt/Msvkmc1PvT0xeNxB5F/RM=; b=ZDVzzqEmH8mZ8XpqVvyPQWSWmNe9iCjvXNxeZLS43NEZ0LH1ufvMlGt4bA/awRuh3C f5LbbJ6n/PW+v5f2VbFMdooWXtyWNUxQ3Yx1wT8bDJUfqKgOOzIWunX4AuqP4r+G0UYs S4DRey3HojdGJxFFV61PZgWufqcPJEENdNKN7I7QpziFiekHWMn0BbgCMrYfPY3aBfS1 4y9HnX36MRVEHQjs1lA/tLZhGVuzY3jSKFL5nVNzDrAPQWl1npsCy6lOze/5dhob+ilX d+Xlvaz32qWwCZx7kFcCZ8CybTxW1v7imrpkMGr/0jxS5jHZymtlv2d3cHLN+f8PXAV1 U/mg== X-Gm-Message-State: APjAAAVQSv0iNpnViDjq3RmY9UBbo2VcXs45VA+uZ1Na0fpJmBjkasOH zlA249mG0ishLEC9lmlzNW2LAw== X-Google-Smtp-Source: APXvYqxlqp03gkY5bdBv+E70VxnfThBCkGoUoM9CgdkKMi8LRmUgzrXhHaMzkbFh9pZWVJzgJDGpDw== X-Received: by 2002:a5d:4ec2:: with SMTP id s2mr21986011wrv.291.1580842020818; Tue, 04 Feb 2020 10:47:00 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o4sm15929797wrw.15.2020.02.04.10.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 10:46:57 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id CA4221FFA5; Tue, 4 Feb 2020 18:40:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 16/16] .travis.yml: ensure python3-sphinx installed for docs Date: Tue, 4 Feb 2020 18:40:28 +0000 Message-Id: <20200204184028.13708-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200204184028.13708-1-alex.bennee@linaro.org> References: <20200204184028.13708-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::42c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200204105142.21845-1-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 3b35b7cf04d..6c0ec6cf69f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -194,7 +194,7 @@ matrix: addons: apt: packages: - - python-sphinx + - python3-sphinx - texinfo - perl