From patchwork Wed Feb 24 11:49:20 2021 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: 386792 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp306204jap; Wed, 24 Feb 2021 03:50:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPkLYVtTh07dc6uZg+hgFnXZrXG4rtWGJipTGC+iVz4FydPhx7goKYqeMeO6Av9WgOjaqZ X-Received: by 2002:a25:2f43:: with SMTP id v64mr46697029ybv.302.1614167423066; Wed, 24 Feb 2021 03:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167423; cv=none; d=google.com; s=arc-20160816; b=yY84/I1iNQbnjQ/4MUrd5JKAZQ1Kj7UugFbAP3E0PJ6PnLZps337YDx+QCozbXUVkq 6VjfAo8Fz22gm0nmfvEARXBbuGzI2X6AXZ9gpAzRnlRTaLIrfTPmn3L0kZ8y9HPRkF3J Fh81m8IhvR34efaVhDnituuo5c9+YpxmZwxq5RyhFtr6dS7aE9tfmOfsQ8pid+oBJQ4b 5BrABH9NnfpWMHMFbjdA5JWKOmyJPqkwhOy2ADs+5HTiTaVfwYIJE+I1AoFykw9CwsP4 yltnyLJxbjwgTTa9N4dvUxNHMZpdihxyLjar+3VUKkSaJvh8xf8UHj6p8qaE5eCuI5kD ocJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=yl9N9f02916jOdl75tlt9hwNyZRHfETE4hJ5ov352dM=; b=UvCxvRJuHDcEv2Y+d3DUzvlWLKAV0fywfKYg7mxzNZkp5Ry+XS0YXnDiLBCLSz96p4 RMSFDOq1xQzaRaC35SOUpfGfMvtWHcgtCjXULdvbuVTmyPfjkzoJh0BV5g4Q88/gNXyj 0/269+Z8MtHdLT5qfjWuftBvc51PkBbz1zq2bSMd/RzTi4WAX5qGe0A6RSd5DPeyMeE5 IxQfHEaO5NvEnk9YEFguvN4BAER0Xfzm1BvZPCKGyduRZjd6E0sRfBe2DlqnO+n2rd8h oDPWU+yjgrNsZvbcrLOHPefCDzFcYQnQ2HeL64Ysc9B+r5Zd7jUHc97umWXhWpTB1FB2 9PvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CBGfjhb6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p16si1958524ybg.295.2021.02.24.03.50.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:50:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CBGfjhb6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEsgQ-0005rw-GM for patch@linaro.org; Wed, 24 Feb 2021 06:50:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfe-0005qr-Ps for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:34 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:42868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfd-0002Tc-37 for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:34 -0500 Received: by mail-wr1-x431.google.com with SMTP id r3so1589311wro.9 for ; Wed, 24 Feb 2021 03:49: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=yl9N9f02916jOdl75tlt9hwNyZRHfETE4hJ5ov352dM=; b=CBGfjhb6iZASoXsJ+gzezw1cNHGK19HiG6oS/htS/RrYT7u+1QE47t+X0kOL90YwQe yRAf5HhUAhG4Jo7rVE1zGHnRlyKcBokF6k5dqjqZixd5jqdIjxyIol//uEGPGBX2J61V nM19yqcL5IXCGtzyU/7sdeVB7Av4NV+HrWPOwQMW0zhEz8FFfarWqorKQ/z4Z+mi89LG stXdoTeeOSmWqs5oltfyS05GVtcIigLM+pRww0KVL7sXmSDJuNzsl/usjWD0yLhmqjR4 4xkUdB0EayJ0t+XEPsVGlqTzBmTCkBbZfxUXixIbrhoNuZfijDIvNVvpEF3yKnDTtUNx N+mA== 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=yl9N9f02916jOdl75tlt9hwNyZRHfETE4hJ5ov352dM=; b=t647MpjAPbSH3wUpgRUUHcwTYo4LeUeJrhMcwDkwtXpppgweyEFwGcMffXCBW9nHPN HRI/CmP72cKYaZT2cV0obXcw6sCGFI7G6DjH+gZ4iuHHmqOYQ/FIeyTxaSh4JP0W8cDF 8a6+lrDF2U7Wjjgkm8YLbciryMbms2BBK8np6Qq+pUTh6qrUZ3WnlKAiVqkXN60WD/bI 52vejJaH7VR+WY73V/wPwTfOjuu34UWYIQut+hy9FEAEUu6KwS68fUJznbIQChOoJlLJ YKmBkoausVtYByr8drl6nR0NPmz55nzeCiSvtxe8RoFKgJfLy0acr/YDRwVzhaEVWh7V hwVQ== X-Gm-Message-State: AOAM5314AaGDx2atahwecBqELF5QawDhb0XSq3XqfhignciJmCdUbQAP SB+i1jbIjCLvl+ZungkW0p756g== X-Received: by 2002:a5d:4705:: with SMTP id y5mr24069032wrq.313.1614167371593; Wed, 24 Feb 2021 03:49:31 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z13sm3071189wrh.65.2021.02.24.03.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:27 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 75F0C1FF87; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 1/7] meson.build: expose TCG cross compiler information in summary Date: Wed, 24 Feb 2021 11:49:20 +0000 Message-Id: <20210224114926.6303-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Blink and you miss the cross TCG compiler stuff so lets display it with the rest of the compiler information. Signed-off-by: Alex Bennée Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Acked-by: Paolo Bonzini Message-Id: <20210222101455.12640-2-alex.bennee@linaro.org> -- 2.20.1 diff --git a/meson.build b/meson.build index 05a67c20d9..f3db83e974 100644 --- a/meson.build +++ b/meson.build @@ -2509,6 +2509,24 @@ endif summary_info += {'strip binaries': get_option('strip')} summary_info += {'sparse': sparse.found() ? sparse.full_path() : false} summary_info += {'mingw32 support': targetos == 'windows'} + +# snarf the cross-compilation information for tests +foreach target: target_dirs + tcg_mak = meson.current_build_dir() / 'tests/tcg' / 'config-' + target + '.mak' + if fs.exists(tcg_mak) + config_cross_tcg = keyval.load(tcg_mak) + target = config_cross_tcg['TARGET_NAME'] + compiler = '' + if 'DOCKER_CROSS_CC_GUEST' in config_cross_tcg + summary_info += {target + ' tests': config_cross_tcg['DOCKER_CROSS_CC_GUEST'] + + ' via ' + config_cross_tcg['DOCKER_IMAGE']} + elif 'CROSS_CC_GUEST' in config_cross_tcg + summary_info += {target + ' tests' + : config_cross_tcg['CROSS_CC_GUEST'] } + endif + endif +endforeach + summary(summary_info, bool_yn: true, section: 'Compilation') # Targets and accelerators diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 551c02f469..36b8a73a54 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -263,11 +263,3 @@ for target in $target_list; do echo "DOCKER_CROSS_CC_GUEST=$container_cross_cc" >> $config_target_mak fi done - -# report container support state -echo "cross containers $container" - -if test -n "$enabled_cross_compilers"; then - echo - echo "NOTE: guest cross-compilers enabled:$enabled_cross_compilers" -fi From patchwork Wed Feb 24 11:49:21 2021 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: 386794 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp307501jap; Wed, 24 Feb 2021 03:52:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtzR1j6FOlDTdW7N2vNAqBq0R2EZAS50P3M3mjHKxX3f+DoGA79Js/Oy+KMWzsdSV7WLhV X-Received: by 2002:a25:dc85:: with SMTP id y127mr45927118ybe.198.1614167548817; Wed, 24 Feb 2021 03:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167548; cv=none; d=google.com; s=arc-20160816; b=WwgckcMa71G2YzpAJSNAieSpx8Yc6+ZqatD6sbBs7qCCnB3WO5nVbII9CXWl3Swuex lNY18H3FltGBF2TDmKgcO6TYouWU958xXqkHvr8ZfR9tEaZqmrmBogxrTCNaJXIMqwng KDUgz/pk0DhaNOyNWV0NG9mGjGZc0Sy310iAb1dfcHWN6Qq5CrfXRwHOIjAsGfJXniwH T4XUTvPlQ61zaBeJKNpNijo+Dt6jHnoLcEJuvkO0t2Z6O8WMnZbX1vncGdxuNr3yFvcc gF6Labnz1sYVtCp+hWYDuk2mJujLcLOVZuoqZ4zWe3Eziwr0TQ7N3xJBHR9+bcMbtEtg kphA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=5J+h2qu1UVArHEoKx2foQ1Hwm3QIMxAkKu6EvQL389s=; b=Hn8O/rPzqoxJlgd4pLRZQwI3vHQpkPh8KRznHGOgPs+CIsdX/t1xazHJAzdanEmvAF Rk3STNq6xKZWs0MuCvftGng8cfo0x1mFwsh0qL4yUwo1wX7NEeK4WSSbQGGV5cqymKPa nwOLyUufhfe1E9vqk1GY2F3KdzzshR48pNHS8x1ssTP5v9Ja3sM0xZMhpZYTbwir/RmC S70B/8PZ2ZTY6gX3YbQQEAaVQeV2nt5lyPWbVeq46v3IgmnYJtJxL/g9l4ggEqYPezvw ASgcAnNOzDyGnCpKNb7rOi3PkxiHdvRH4h2SSAGjQhkg9zoD2bDWDy8G5HU9Z7us/xOw M/OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uEtFHNU1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x71si2011553ybg.103.2021.02.24.03.52.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:52:28 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uEtFHNU1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEsiS-0000Aa-2A for patch@linaro.org; Wed, 24 Feb 2021 06:52:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfg-0005sC-Ep for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:36 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:39046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfe-0002UN-NV for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:36 -0500 Received: by mail-wr1-x431.google.com with SMTP id v1so1595592wrd.6 for ; Wed, 24 Feb 2021 03:49: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=5J+h2qu1UVArHEoKx2foQ1Hwm3QIMxAkKu6EvQL389s=; b=uEtFHNU15b/hrndoz/Dv/H+VTaax5+1X8bKVngoOKKINspvx2pOZj+SS+XauC0wGK+ lz2nOv79MDyYdJEvdVpZhZrF0vRErtBNno53oPXUM0dP3ygYjw5IHF+NoRlICQNdEwJR Q+I5EUNo5wIhyZRYWOb7YY23ihRZNeyNaSPIdgY2aP8HL68NACZjXcX2Dco7qUsRYMY1 V24ob5ylpLpwBEKGgk3+tGXR2ELhmo2Y227WShWP9Bijt5m+L28Ff+mam43X3B3W6q4N r9P4E2HIzxWHcb14X/iEIkMT0xJGt92xxuFr1X4Sat4NMgWd6CzKoasovn5YWr/nepSO 57mQ== 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=5J+h2qu1UVArHEoKx2foQ1Hwm3QIMxAkKu6EvQL389s=; b=Y75CEI899eyj9zXj56W5Xz30zS449qYf4mqGgUcf7oLQ8VPh9c41LbI8A5bVh9qjlF RSngA2HijlIbYSQMjkZFrPo6DPzH+J6QulXs4N+K4QlB9sc8UF6xm6AGTQyph0ZTN8BD Z/J2ivzannieU91HjzwengqAmyNrYRjsb3itrQ++Gpdbnvy1PZ26njnu32dbfwjFLal5 fhgRnH2/AZkpqbRKKKE7n4vn0zwmqqQofCc281qc1r5h+I0QVchszR7LRRCx6b+Tz6Gx LkgYIo5wcwD0nlEpyAmKSQSKdwAx7LeYJF90BykzH3pEL0gjtEePlDIHtFvvZN+1Sk6a SAsg== X-Gm-Message-State: AOAM531K9EoBq/0jNIi+tVLSvJcEMAfrKW42UzOIRE9GDiQXlLNgrY3G W92QS5hvS4wVNuul/sO1hFQMqw== X-Received: by 2002:a5d:610a:: with SMTP id v10mr32014181wrt.334.1614167373480; Wed, 24 Feb 2021 03:49:33 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 36sm3382901wrh.94.2021.02.24.03.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 93ADF1FF8C; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 2/7] docker: Bump Fedora images to release 33 Date: Wed, 24 Feb 2021 11:49:21 +0000 Message-Id: <20210224114926.6303-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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?Daniel_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , qemu-devel@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Fedora 33 was released on October 27, 2020. Update all the Fedora 32 images to this new release. Suggested-by: Daniel Berrangé Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20210118181255.314672-1-philmd@redhat.com> Message-Id: <20210222101455.12640-3-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/dockerfiles/fedora-cris-cross.docker b/tests/docker/dockerfiles/fedora-cris-cross.docker index 09e7e449f9..1dfff6e0b9 100644 --- a/tests/docker/dockerfiles/fedora-cris-cross.docker +++ b/tests/docker/dockerfiles/fedora-cris-cross.docker @@ -2,7 +2,7 @@ # Cross compiler for cris system tests # -FROM fedora:30 +FROM fedora:33 ENV PACKAGES gcc-cris-linux-gnu RUN dnf install -y $PACKAGES RUN rpm -q $PACKAGES | sort > /packages.txt diff --git a/tests/docker/dockerfiles/fedora-i386-cross.docker b/tests/docker/dockerfiles/fedora-i386-cross.docker index a6e411291b..966072c08e 100644 --- a/tests/docker/dockerfiles/fedora-i386-cross.docker +++ b/tests/docker/dockerfiles/fedora-i386-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:31 +FROM fedora:33 ENV PACKAGES \ bzip2 \ diffutils \ diff --git a/tests/docker/dockerfiles/fedora-win32-cross.docker b/tests/docker/dockerfiles/fedora-win32-cross.docker index 087df598a0..81b5659e9c 100644 --- a/tests/docker/dockerfiles/fedora-win32-cross.docker +++ b/tests/docker/dockerfiles/fedora-win32-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:32 +FROM fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker b/tests/docker/dockerfiles/fedora-win64-cross.docker index d5d2f5f00d..bcb428e724 100644 --- a/tests/docker/dockerfiles/fedora-win64-cross.docker +++ b/tests/docker/dockerfiles/fedora-win64-cross.docker @@ -1,4 +1,4 @@ -FROM fedora:32 +FROM fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index 0d7602abbe..915fdc1845 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -1,4 +1,4 @@ -FROM fedora:32 +FROM fedora:33 # Please keep this list sorted alphabetically ENV PACKAGES \ From patchwork Wed Feb 24 11:49:22 2021 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: 386790 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp305840jap; Wed, 24 Feb 2021 03:49:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwb0TaWEGVaEBUS6MrkVhrBlLAB6qKtbmYnBSoMNhs+QW/yi9QhA/0N4MeeJ7XrBMVgLRg6 X-Received: by 2002:a92:c54b:: with SMTP id a11mr24206232ilj.208.1614167389841; Wed, 24 Feb 2021 03:49:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167389; cv=none; d=google.com; s=arc-20160816; b=1HDbqz4MIU82dXiI0Splc/Xk7aTqsfyIBqUOr6LqFpfW/brgIB8MtyQv0T+3IQWS9s pA9uLPaz9UbnmI6uzyveIN1pL5DxY30L5/t5VoAPqtxWADnRgyztx9Syv03wA4vjPAtu Vw4MU+VoZGg7IeWMhT8lxk/WTmOKxL8A/JbithECB0j33SzmxCTXvwxoheWIeTxJMpCI wczZRD3DhQP1hOvg+MZ+JOIfMwbjfrxlWR+SD5OHgErLWvlVe6S1JmeJv8DXhtMODZRh d/+YnPlaA924pm4aheL1690jw89PflE+4KrHCgqM3jJWecqAjmnir+8704fhv4Lt1+7Y h0LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=eoIdMvHWxMQbDl3UBMTrBtc6tQc91c3mmdrnsIe6cmw=; b=Fryplq960NWGiUt+yFWLSJ8l7H+licMaKITDsSA/rjd0A71m5CbLik0Wa+vz7v6ba6 JbGJDSgRgRFmm1xqt48SDrVkBW4BHqgnv7fKmq9In1mCmfKV8bLISEtFVLBE9MPExel5 Wt3O23V/65e6TubMGLzvAbbndhQ/TviiU7XkaW8YpsGXp/XewsUHU9X3NEsIlGBC8crQ FEsqLRC0U48lpLmzFgaNXjcm6+ppd0sA0UFeF3Im4/fohA+Rb0VefPDVKqsUKrlobgJa TqtHp5WCSmTQ3y8kCsWBEjEuO5ze9LrMMLdCe25YkL4gjChkpC+cruV6CNwjQcJsd5J4 7Vtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SzfTz6lF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r13si1883706ill.105.2021.02.24.03.49.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:49:49 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SzfTz6lF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEsft-0005vo-AJ for patch@linaro.org; Wed, 24 Feb 2021 06:49:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfg-0005t5-Ug for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:36 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:38086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsff-0002V3-Ii for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:36 -0500 Received: by mail-wm1-x332.google.com with SMTP id n4so115663wmq.3 for ; Wed, 24 Feb 2021 03:49:35 -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=eoIdMvHWxMQbDl3UBMTrBtc6tQc91c3mmdrnsIe6cmw=; b=SzfTz6lFjhcF2CnQ3opsnFVQLpJmJ7i3s1RD5N0oYaRAaB+jLEIJ2Bl6jMvM4S0r0j 60ljvkVcxfnrkHGgc/qnPAIT/xI5Wh1SIn1XoYQOKggM76XMvwCo1U+6r9Y4t/opuutj 1ejFpD67PauFrw+GSd0brOjMJwxYMyqGC745EAUm1HDmALNcGGWJgEFXmcLgyFtTCfOF uzzBGojpv6p1cpjctmF5N8YiSKiCoaCyDAa+O9v5VNAzinGR6o4/B+I7wUk/OZRYXi02 cow2Es/zip/oZ8TRYEQQMu7wuS3SadypKPHBclCn8WOPZ2orSBBpeOU2NoWJ2NVx6zsD B/aQ== 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=eoIdMvHWxMQbDl3UBMTrBtc6tQc91c3mmdrnsIe6cmw=; b=lw18acbuIWCh/pQ1iI575QMi61b1izDdwlPNdTSK++U14D763gUQb6JE6jvORs2z9Z G3UHlpjUT9/3qyHTs4iWO4bnv0vdZJP+Akx0q4023Cj3xuv80gEYEaZSRVF/LOp9SVdS UVS59ii+Ehv6SUPtTQlGgVA/iUlCCQHsWdoxWcuMraEwmGD6sRPi4Vy1ItmLJcqRbaH1 rsSVma9Sy650CXo58+TZ/aVFGkx5nUNEv2QOjaYEEipQvdAWt1kJ+tVPRVcXlQno41v+ gyDNsVE8n5VCFnUbZiSIV3YwxDReQxTU3s2mKpj46gy7saTTL1LCWdryZAW4HZrrNGwr hWOA== X-Gm-Message-State: AOAM531WCP8Eo04iF1COKohe/daFxUPvEccBIxpd0N7esAyzM5JpkqOj jPhgF4pWoOVS843Ervj8D6mUYw== X-Received: by 2002:a05:600c:4ba2:: with SMTP id e34mr2555597wmp.121.1614167374339; Wed, 24 Feb 2021 03:49:34 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b7sm3142799wrv.6.2021.02.24.03.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AA71B1FF8F; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 3/7] tests/acceptance: allow a "graceful" failing for virtio-gpu test Date: Wed, 24 Feb 2021 11:49:22 +0000 Message-Id: <20210224114926.6303-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , Willian Rampazzo , Cleber Rosa , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is a band-aid with a TODO for cases when QEMU doesn't start due to missing VirGL. Longer term we could do with some proper feature probing. Signed-off-by: Alex Bennée Reviewed-by: Marc-André Lureau Reviewed-by: Willian Rampazzo Reviewed-by: Richard Henderson Message-Id: <20210222101455.12640-4-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/acceptance/virtio-gpu.py b/tests/acceptance/virtio-gpu.py index ab1a4c1a71..ab18cddbb7 100644 --- a/tests/acceptance/virtio-gpu.py +++ b/tests/acceptance/virtio-gpu.py @@ -85,7 +85,12 @@ def test_virtio_vga_virgl(self): "-append", kernel_command_line, ) - self.vm.launch() + try: + self.vm.launch() + except: + # TODO: probably fails because we are missing the VirGL features + self.cancel("VirGL not enabled?") + self.wait_for_console_pattern("as init process") exec_command_and_wait_for_pattern( self, "/usr/sbin/modprobe virtio_gpu", "" From patchwork Wed Feb 24 11:49:23 2021 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: 386797 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp308830jap; Wed, 24 Feb 2021 03:54:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeRAyskaQPq0VZCbqnYMMWrJCsZDS+jnIL0BIJknWRNmIJ4FlZFhWVRiob66QTD07ypUJb X-Received: by 2002:a02:cadd:: with SMTP id f29mr5105995jap.48.1614167679946; Wed, 24 Feb 2021 03:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167679; cv=none; d=google.com; s=arc-20160816; b=k2AsmZoT5cNw9yCVwhYD7eh1PYABmT4sB/TBCqzuph/TD+AR2jHg91B97hETZBxgoo VXsyoMQlvsw90cgYJMY+ywej99t3SY5Oe/Vz8wQRwtLbaTxSgIJnd6i3tT2Q+oPJUr/E lDJPf8VSEgGm/8eSPZqD3CQL0dBf1x85JCPXKFKO3XB3wLTkRO1ieUsw/K64lv/KOlSI HBRZyDJn0aEnb01ge/RqyA24XHz8dHJkdytT3R5VPSmLIjdpShgKYY1fX2AdIRb44e3N b2EvkCpbzjsn0+QbHl52o2qkbPYFT6y3dGYYRWD6oH3usezsfLFUDTIIBZmNBp3ylVhH ywhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=hPNIwQ4zhm1AK5NXAwaoNz0ED39G8E1PPFGRzykjq6M=; b=YP6kF1RhvlqcIqTs8XOxMVyu+J/xb0WB7YEPIf+Gou2FuOaap3+teH8w3qcrV3JPE7 LZZlgsk1MAhq20etsrOgnlIPhkQp7AAXK9MsHzGK30yVQttOGhNbE8fzsMR7O56Vdcyx 5qF5NQfUTNU46MQbIBI89II+9+bGSjzUsFtibsoXHZu2DtWESQQoOEJw9r9e64ryC59i iL4UKch1K3UXwK2QmhkobUBEnQVB4q7+UxhjQimwC2PXD9AwtwSzH/TdwkZazPekcVz6 cUy5XiWyl84DiK8s1RYtqZ1hWlzkqQIf+g55N5UplsAII29gJ0WLCmEBjpPR/ybr7Elg ASXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=wuzMHzrw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a11si1860973ilb.95.2021.02.24.03.54.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:54:39 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=wuzMHzrw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEskZ-00032H-CU for patch@linaro.org; Wed, 24 Feb 2021 06:54:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfm-00063i-7d for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:42 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:46075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfk-0002XH-Kj for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:42 -0500 Received: by mail-wr1-x42a.google.com with SMTP id e10so1379443wro.12 for ; Wed, 24 Feb 2021 03:49: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=hPNIwQ4zhm1AK5NXAwaoNz0ED39G8E1PPFGRzykjq6M=; b=wuzMHzrwBGydPTJkiOWYktfhgld6rLQOtsxLQH5aAuIosAC6vYJB//qwGY6YEyo5td V6+G8+t7x7BmqJRp3Cia+vMNs6YOmHgrrTxXt45BJQtkC99n5UHCSsh+b3plYjWhn/MF JYPOhOVX3lfu6u6ZQphRMCB1EOrmXtyAg+wvIYghBe0Ix95cDcTfgB/WqnOiIsOMeTgv 6QiHMlPMHszNTUXrFi60mH69X3Wo3GfmbTSJ16W2TpRzj/CHPcRFmlDNC30Q7KKgUgtZ k0GvrkY4Tu3WkB9X2Y6mT4WWYSywBnoLAeTTgIGkGvLVu8U6Iy114PaXRS843LxqlaEa GZDw== 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=hPNIwQ4zhm1AK5NXAwaoNz0ED39G8E1PPFGRzykjq6M=; b=V9frVCJnEnwtkjUfmi+Bcw8Fi9h8M0CCI+l2kNJiCMZHdc00CZzIGvgu5r/k6yyfAn UlLqqMoUnfHLRz1G9UxkXJz6fE9QL18tT32ja1CDEv/PDBfGXHxWeJZPa4PUuHyCd9i/ s+SSQxVXwswhCb3lJ+zluBqOrADh9NvQrA4O5xs51FO2tZlDPcJQYxyaBrHgwVGejZek uj2PTD/ivzfuaTZek/6HQdJkORIHDMVPW3ru5S/f/CYAq8550heDE9Z8c5kN8dwK8C1z XWdZVNF89KUyueErLwX3qGwfrMAjhixOhsJB3LklFnlou9JMRrottM3hUfqKbwMBc2JH 2eew== X-Gm-Message-State: AOAM532wAd2phL62IFAjLTkztTEyHd9ZzOTapBY/kaKFuKO9DtGHG2qI PJRBdnvpiGOHxPm8/PoSL4NCkA== X-Received: by 2002:a5d:4a88:: with SMTP id o8mr28325141wrq.155.1614167379287; Wed, 24 Feb 2021 03:49:39 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a3sm2964038wrt.68.2021.02.24.03.49.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BEF4C1FF90; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 4/7] docs/devel: expand on use of containers to build tests Date: Wed, 24 Feb 2021 11:49:23 +0000 Message-Id: <20210224114926.6303-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Expand on the usage of containers for building tests and why we have some that are not used to build QEMU itself. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Cc: Thomas Huth Message-Id: <20210222101455.12640-5-alex.bennee@linaro.org> -- 2.20.1 diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 00ce16de48..488d4e3537 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -272,10 +272,10 @@ Note that the following group names have a special meaning: - disabled: Tests in this group are disabled and ignored by check. -.. _docker-ref: +.. _container-ref: -Docker based tests -================== +Container based tests +===================== Introduction ------------ @@ -1001,10 +1001,17 @@ for the architecture in question, for example:: There is also a ``--cross-cc-flags-ARCH`` flag in case additional compiler flags are needed to build for a given target. -If you have the ability to run containers as the user you can also -take advantage of the build systems "Docker" support. It will then use -containers to build any test case for an enabled guest where there is -no system compiler available. See :ref:`docker-ref` for details. +If you have the ability to run containers as the user the build system +will automatically use them where no system compiler is available. For +architectures where we also support building QEMU we will generally +use the same container to build tests. However there are a number of +additional containers defined that have a minimal cross-build +environment that is only suitable for building test cases. Sometimes +we may use a bleeding edge distribution for compiler features needed +for test cases that aren't yet in the LTS distros we support for QEMU +itself. + +See :ref:`container-ref` for more details. Running subset of tests ----------------------- From patchwork Wed Feb 24 11:49:24 2021 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: 386793 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp307482jap; Wed, 24 Feb 2021 03:52:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJys5xT9wkllIkUL7eUEKO+gbdaSc/FqT495NCWOpAx4dwiwcAO0KnHUuiQ0PAxyqCUaLbOg X-Received: by 2002:a05:6e02:12a8:: with SMTP id f8mr9287919ilr.174.1614167546834; Wed, 24 Feb 2021 03:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167546; cv=none; d=google.com; s=arc-20160816; b=sA+IfNsiSExne2DAUXlny4SNq/T0kzu/8hkGoo9zs8hXD4bPpYxynOt2NfmbD0YvAN oOHzGn3mud1BSs5EVloPydqzv15Ua7ZmoITUHEp6cYAYThrnHbyVGO/AafxEWw/pUIgh TK5Q3RsueW5+3d5fGA70s0cLLXYCWYe0u0uwXi4LL80mc1LpE4ZDh1rCzVUECizL1Dp3 ampNRNpDVej/btuUur2rAlEKpuJ9YcUAUQkbONfwDs5pvQqg0QhVF7Lt/FCE1rxt98BZ n38YR6+u/tkaCVt7ljtfK37YZuuB2+TGNk80ye/adgplbNzsm/T/ifv4BSoovrCPzBbu pV3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=fVmTUTItvD8Y9XDlb1Vri2ktpu4ZNI+gRqGqx4eqPS4=; b=gZ8yvACIb/bxD2ZKwXYd0mgYm1U51nse6Ccli6M50DtpfJ9LjkPyUirWEVUbhO7myh EAUMxkm2Z+q8SJ1S2uy/7oICFx1WJzfStIQS/7WjwceOIUPsXjOWSXxQxZ0RrJGssvMM LZCbsq2LdSzy16jxKZyUd+KB2lxiJ13TpqGZEGw02dtpQUtmBRdXCzv4a7uBD51hg7mk Vu95pyV8xLa69kzfFRaPQs1AXIfX2d4SR46y8A9goJlzzUnMewEQ+MzWkZ+t/EBnrYP+ mqeT/o4vXtqs3u6wsmeEX5i9laSkJqIdfPu4LbK8UMf8nbGfJFKVb5eWx8ngA7MxZluY cM6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="sIp/mNBp"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b5si1585958ilj.34.2021.02.24.03.52.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="sIp/mNBp"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEsiQ-000083-8Y for patch@linaro.org; Wed, 24 Feb 2021 06:52:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfl-00062X-MO for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:41 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfj-0002X9-R6 for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:41 -0500 Received: by mail-wr1-x42c.google.com with SMTP id c7so1593385wru.8 for ; Wed, 24 Feb 2021 03:49:39 -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=fVmTUTItvD8Y9XDlb1Vri2ktpu4ZNI+gRqGqx4eqPS4=; b=sIp/mNBpQOkMZZ8VjCOpgePMhMOP5AABOefQ688/03tj7VDawEVxMrl4eD4RkfS8FD 9xc5A5FqAtl12qpOt8dDHw2vpbEpW7JiuJ486/JsiIuzqUMMHRi3/BU5BXda0lCcpfxN Gf6LHu5n1LCdG5IuV6UYGT8lkaZ2C8rf075y1hq4w4sTb91xJYXZ/DwYHcdWUVZEoBTE nFJdE04TVO1E/Wnc6H9gDubhzt4SyvD3DOQwhvfJ17EQqyKpSkn0q1oeZ1AMIjk1uOOn y8h647TjzdfRqfL5CpOuRfGaCWxTH9Xn3rc3SUjQlrD7ky+Y2J/QVK4OkLEAMbMATnJq v3IQ== 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=fVmTUTItvD8Y9XDlb1Vri2ktpu4ZNI+gRqGqx4eqPS4=; b=KaJEImK7fLqHLRceU9X7rJsWm9C1u3ff+sPhlQUv077+6RKy8gXGJcxPyAsavpwcUj ZFfvgM7J9qaL8q+72pOWAvOyV69ZskQ2Eb1jmzZ2kVDbUebgWbWM/8sm//s9DWibUBIt Wl7lsXbNJZ/MXVqt+QpShgDU7uOCtORkgf7jCORG3qqNWuCLwnqOz9HgSc9pfhfIZ3oK 73iISehvSZOYAIjaTMvj1qyiZayJGdTlX6CSFGfCtuStazEUIKcS+o0VGciWWWg/C6Bc S/hoYFfabFPnAIVfHhHwLgeM3QUFae/rAaiNyxalBUgDkikrEZZu0IwWNCg2pIo5/IuH jZRQ== X-Gm-Message-State: AOAM530AODLVOjSy4rpXq0YQoS6uNKq5DjsnjIZ3NrFm8UU/TIjnQy3a eu4bo1xmi3MBsEjOfQ3/Dw2AhQ== X-Received: by 2002:a5d:4cd0:: with SMTP id c16mr31196259wrt.84.1614167378507; Wed, 24 Feb 2021 03:49:38 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c6sm3008164wrt.26.2021.02.24.03.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D4D3E1FF91; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 5/7] docs/devel: update the container based tests Date: Wed, 24 Feb 2021 11:49:24 +0000 Message-Id: <20210224114926.6303-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This section has grown a little stale so clean-up the language and examples for current usage: - refer to containers at the top - mention podman can also be used - add podman prerequisites section - move to using "docker-help" for online help - mention the registry and it's purpose - don't refer to out-of-date min-glib image Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20210222101455.12640-6-alex.bennee@linaro.org> -- 2.20.1 diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 488d4e3537..e57260478a 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -280,13 +280,17 @@ Container based tests Introduction ------------ -The Docker testing framework in QEMU utilizes public Docker images to build and -test QEMU in predefined and widely accessible Linux environments. This makes -it possible to expand the test coverage across distros, toolchain flavors and -library versions. - -Prerequisites -------------- +The container testing framework in QEMU utilizes public images to +build and test QEMU in predefined and widely accessible Linux +environments. This makes it possible to expand the test coverage +across distros, toolchain flavors and library versions. The support +was originally written for Docker although we also support Podman as +an alternative container runtime. Although the many of the target +names and scripts are prefixed with "docker" the system will +automatically run on whichever is configured. + +Docker Prerequisites +-------------------- Install "docker" with the system package manager and start the Docker service on your development machine, then make sure you have the privilege to run @@ -316,26 +320,53 @@ Note that any one of above configurations makes it possible for the user to exploit the whole host with Docker bind mounting or other privileged operations. So only do it on development machines. +Podman Prerequisites +-------------------- + +Install "podman" with the system package manager. + +.. code:: + + $ sudo dnf install podman + $ podman ps + +The last command should print an empty table, to verify the system is ready. + Quickstart ---------- -From source tree, type ``make docker`` to see the help. Testing can be started -without configuring or building QEMU (``configure`` and ``make`` are done in -the container, with parameters defined by the make target): +From source tree, type ``make docker-help`` to see the help. Testing +can be started without configuring or building QEMU (``configure`` and +``make`` are done in the container, with parameters defined by the +make target): .. code:: - make docker-test-build@min-glib + make docker-test-build@centos8 -This will create a container instance using the ``min-glib`` image (the image +This will create a container instance using the ``centos8`` image (the image is downloaded and initialized automatically), in which the ``test-build`` job is executed. +Registry +-------- + +The QEMU project has a container registry hosted by GitLab at +``registry.gitlab.com/qemu-project/qemu`` which will automatically be +used to pull in pre-built layers. This avoids unnecessary strain on +the distro archives created by multiple developers running the same +container build steps over and over again. This can be overridden +locally by using the ``NOCACHE`` build option: + +.. code:: + + make docker-image-debian10 NOCACHE=1 + Images ------ -Along with many other images, the ``min-glib`` image is defined in a Dockerfile -in ``tests/docker/dockerfiles/``, called ``min-glib.docker``. ``make docker`` +Along with many other images, the ``centos8`` image is defined in a Dockerfile +in ``tests/docker/dockerfiles/``, called ``centos8.docker``. ``make docker-help`` command will list all the available images. To add a new image, simply create a new ``.docker`` file under the @@ -355,7 +386,7 @@ QEMU. Docker tests are the executables under ``tests/docker`` named library, ``tests/docker/common.rc``, which provides helpers to find the QEMU source and build it. -The full list of tests is printed in the ``make docker`` help. +The full list of tests is printed in the ``make docker-help`` help. Debugging a Docker test failure ------------------------------- From patchwork Wed Feb 24 11:49:25 2021 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: 386796 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp308794jap; Wed, 24 Feb 2021 03:54:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv96gsbDIuZtysfJWvMFTyrcfqogi5bmNYLou8JC3cbIyHuKZFpygAyt60ZlU+aiPAETRN X-Received: by 2002:a6b:e609:: with SMTP id g9mr23335562ioh.160.1614167676859; Wed, 24 Feb 2021 03:54:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167676; cv=none; d=google.com; s=arc-20160816; b=cf0MKl5ZG7S94SISSn3xBQEDJo7sKtZdeCaHFdGU8CDgIU+MqD+UgprTp4sphHCA1K wY3goN1QGlwC0UgKWbuaR85vGMg1+2hY2DEyQwYMigX5fdidhtW8MhZamg6QKRBwxC9V IWokH1ItM4mDgKQ07CwF3EbMNj4X/Z5rHhP/z5L3kp8FLgqsVaR+SDuJXZHA1rgwy18C cgtamzcEvD3HY2a+jMd7NxT1GR9tuOPi8A+YrhGtC1uMp+ew6n2bShr6q0iPtnmeP8Ju BRe4w8JGOKVh/Ka6ATlyF3ZOW+Sf4Qrj317YGMqZtUK5+N9VyXcceUUhn3yty/hCzE+R IT4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Y8B1vPXzRBogm2IsyqC82CLwOzScpQxFfMMP8XRknLE=; b=KmuougtUKK8GkGUf24eC2rqr/eKlNs072HXoYfK8LExW7HXPXGp/ephmgghXgforjQ eh4xPAs/t9YB670DW9pLSAa8IRBbPHAGj62k44J2jXizNPmvyyCHrxnVermIW3XWu2fm Yjo+gxgwQCZFOJ+AuG5TaYIOBMtqKGuJ4KAhpCOXRGrDJI/V5FZ8eccEMK1VURW2cQPP 1l4z0/CdBA8faDogDZBzEHiyiSuev4wNTpblUcyR4cVNrKcmR1s10Xm3/uC3dJ9sj5PQ z2EbfNsgWBQOscEiTCArQpzUlrgeNj5H365uzzgT/bQ4ocLi0STK7IUUusPBpSpdaLxU PTQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bJDuRvfu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t7si1882016ilu.70.2021.02.24.03.54.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:54:36 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=bJDuRvfu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEskW-0002wL-Aw for patch@linaro.org; Wed, 24 Feb 2021 06:54:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfi-0005wp-Rv for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:38 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfh-0002Vm-AG for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:38 -0500 Received: by mail-wr1-x429.google.com with SMTP id v1so1595731wrd.6 for ; Wed, 24 Feb 2021 03:49: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=Y8B1vPXzRBogm2IsyqC82CLwOzScpQxFfMMP8XRknLE=; b=bJDuRvfuf51Z9ZDi8nNjGm1+uRGvjKsC6fNSsWZjSQ5ll79KqV6x2vRiBF8cx2w2Wj 5Iy/cKUxlQbzGGtFOB6zx5NaOJZpDNgNFNibCEPG7XGSg7f+LIcCCkdgQvKrNU4sfUNv zsKCx0Lq2nwFVZH3HOwYyD0EvR9A++QfPjHevA5nMrMezFaBsyCExJtGFDSSafviWIIP d+0P9v0iDLNzoHioVFFb6hR6KcYVjeu17YtHg7ta/2Qpn1dSFbuhvrdRq3U9Dqut/MfD Z0HH9oqc2gR6zsy/1gizqYO3yArbGgzzRecsQqsadslWPJGOVFCa1bRrHOgQHffImvUs SdcA== 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=Y8B1vPXzRBogm2IsyqC82CLwOzScpQxFfMMP8XRknLE=; b=YETiN7JKZIfeDJhC6vlGYhnIeo3hYd2X0Bb0D/FXtq9XhB2b4aT5+O9dC+YTjPtnaD GHJWUQnKCSCcju2LiPg1mdKGzd7NW0dUlPxkw2W0+FbsNqH40z4ZzQBqM58KHJhw72Pt uypOjLJoP5DOXqj8T3PscGM+aaH6Ba9GFQdX4LBDzSQi82EECdLTJ89hoFrgU39oG/Zz FhPRQ7F2X6ehw39Zq9De+OA+960WMIrU6eAra09rf/pbcM5m+4BmoQd0l+Ba6FRqraoI tr5so4ljXpIuVu5cK562FflCWPVN/ZYhk90mr8gKpOH3GS0PYsYbAvaYzWfx4UD942DE tw3Q== X-Gm-Message-State: AOAM532BvfWEGW9E56rHhnjmfYM8HewZssFwCp6AWo4RYW9FpKV4CnEa hYBt+1pVvn2eO82sF5SPq0bi4Q== X-Received: by 2002:a5d:6281:: with SMTP id k1mr4912114wru.405.1614167376061; Wed, 24 Feb 2021 03:49:36 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id w4sm2548314wmc.13.2021.02.24.03.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E8CE01FF92; Wed, 24 Feb 2021 11:49:26 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 6/7] docs/devel: add forward reference to check-tcg Date: Wed, 24 Feb 2021 11:49:25 +0000 Message-Id: <20210224114926.6303-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" For completeness reference the check-tcg tests in the container preamble text. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Cc: Thomas Huth Message-Id: <20210222101455.12640-7-alex.bennee@linaro.org> -- 2.20.1 diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index e57260478a..1434a50cc4 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -289,6 +289,9 @@ an alternative container runtime. Although the many of the target names and scripts are prefixed with "docker" the system will automatically run on whichever is configured. +The container images are also used to augment the generation of tests +for testing TCG. See :ref:`checktcg-ref` for more details. + Docker Prerequisites -------------------- @@ -1011,6 +1014,8 @@ And remove any package you want with:: If you've used ``make check-acceptance``, the Python virtual environment where Avocado is installed will be cleaned up as part of ``make check-clean``. +.. _checktcg-ref: + Testing with "make check-tcg" ============================= From patchwork Wed Feb 24 11:49:26 2021 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: 386795 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp307527jap; Wed, 24 Feb 2021 03:52:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyjg/Ta+tq8RE3pru9Ygil6fGVr+pl4eqLdTvnWbVk2wgKM81lIVRkYmkfboNXtr85UMKl X-Received: by 2002:a5b:690:: with SMTP id j16mr48802293ybq.251.1614167553012; Wed, 24 Feb 2021 03:52:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614167553; cv=none; d=google.com; s=arc-20160816; b=0gwmTIDGCj8+K2PkBx+wApYEqkPNBh4o1cmhfgWYSKh+dj3v/5cy4VqJRt23LojgLN KyBXf1qXx35jTQJxHYtwcZf/XZgNuNfYKltYxYT/yPZEPGh99zg79kcKQ7X4O1OcY2zq j6Ck9eVvkDY/ke+/c8bgD736JSgdNxmddZieDstCF+g1htgl3wu2/rlJsyjZxfQ2bREP /DVL//lzk9nkqu8Nn4V/QFfcFP+TTUPzAlngIQN8xpVjGWubmVr4u2u7e3UzGLErlfc1 +3YhESzVq6XgSYnIldqKvXtaEVeMaoTKbvhRjWsHKbfrD9PvbTrXezYf+5Lp3jfVyQtI YDjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Y3+FxSWPTBVmvCmaxvS+5zSnQOKO5uWtcRTHkxOmIUk=; b=p18IWzFfW52qszf+uIKwvF9IDPL5/oCzmH4ew10UW1yXOF2XYYUPlJQxH15N4/dnyJ avpJclZ8qEnzkrcIS10uCXjVnNyGKCBBXxtAxKFyxrfq0hOrQ9qjWe1ANiIqoMudJ/dY LqHM70ZyWicrwJsJ+fgWhricd9BnEZdZyH/IMQGJxp3zEhOErOLG2bcnoNEDFYiKxrn2 6xmQLY/beuwezw7acHECzAxLnMPLdHmqRg8b89xg9L9BP3M3EZsJpVsU4pEXvndT6As7 qEVDod35EpoO+wi476kQ715b4s7m8ukSwgQ4s6lKthT+hTTW8DOHoIfB8GMmm7RvAd0P Kp0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=L+45VmDn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o10si1900977ybk.317.2021.02.24.03.52.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Feb 2021 03:52:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=L+45VmDn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEsiW-0000GY-EL for patch@linaro.org; Wed, 24 Feb 2021 06:52:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEsfj-0005yt-Ne for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:39 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:54752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEsfh-0002WA-Sd for qemu-devel@nongnu.org; Wed, 24 Feb 2021 06:49:39 -0500 Received: by mail-wm1-x332.google.com with SMTP id v21so1535416wml.4 for ; Wed, 24 Feb 2021 03:49: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=Y3+FxSWPTBVmvCmaxvS+5zSnQOKO5uWtcRTHkxOmIUk=; b=L+45VmDnMDz80wfoAUg5qOiyhHP0ELQA8awrLLft66s9TE87zY278qxvxQDgo3qc+r g2WdI18VKAdgZ9t6DvKtMqjkvLIBybXyZvnZ5xJY5j7eH+Lfr98TTst4znsF2t10nvkh s9zny0+qV54cUDz6/6Thu2LEdSskEvrx52ffn4tQOik5RpryTri1zRy//PXi9iRB1YEE Tp1xusCSiossnJ13vtnK6inXBfjkPCfXExzEdyakhYCmMs0f3yBO/fVs1h5Go7abuLjY ARr7Zc8KkBnLdFYHZLp+ay4qv1f/j311cm6nUD5zaGFOdJvvnoLaY7aPLCw3BRsaPkda gSqQ== 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=Y3+FxSWPTBVmvCmaxvS+5zSnQOKO5uWtcRTHkxOmIUk=; b=Wbhvkju74GhphfrCIub2r0OdYL03762JlogpB7Jfa7CLqtA+ybbOOunFfezeQ5W+5J 139uE63eITyyKOf4XsjmybUqgika4a7etf9wpfgiKLh30CYY4BYkDPmxukj2ByNi9Cwi obN/JtGrRPynQcFf+qUDmQDPXuceYt7HNB9yUXW5/AYt040VD8Q8TZDSHdoEdNWC2RRw +a+r2rKF3WL9iRCyBuNIm4P3cRUPv8MW7KRiBiV8AE73LDccnm8/J/eikhnQysIz5KIG 4taly7yfblbRMOlL9vKbgrJcDVKDtmXrnvsJw1KCsACMgwpyN6SYEwtT5SrDUL8XYcXX jWeQ== X-Gm-Message-State: AOAM533BT1DPJi6gr4DK2GxqtFyi4vb3aGaUTFwoowN7L1z4ZHtBiQ0L 7eqQzdUWAbhjOkAQiNFYpE5BA+rqqGAwEA== X-Received: by 2002:a05:600c:2149:: with SMTP id v9mr1669798wml.102.1614167376721; Wed, 24 Feb 2021 03:49:36 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z18sm3056063wrs.19.2021.02.24.03.49.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:49:32 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0F68B1FF93; Wed, 24 Feb 2021 11:49:27 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 7/7] docs: move CODING_STYLE into the developer documentation Date: Wed, 24 Feb 2021 11:49:26 +0000 Message-Id: <20210224114926.6303-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224114926.6303-1-alex.bennee@linaro.org> References: <20210224114926.6303-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, Claudio Fontana Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" There is no particular reason to keep this on it's own in the root of the tree. Move it into the rest of the fine developer manual and fixup any links to it. The only tweak I've made is to fix the code-block annotations to mention the language C. Signed-off-by: Alex Bennée Reviewed-by: Claudio Fontana Message-Id: <20210223095931.16908-1-alex.bennee@linaro.org> -- 2.20.1 diff --git a/docs/devel/index.rst b/docs/devel/index.rst index 22854e334d..ae664da00c 100644 --- a/docs/devel/index.rst +++ b/docs/devel/index.rst @@ -14,6 +14,7 @@ Contents: :maxdepth: 2 build-system + style kconfig testing fuzzing diff --git a/CODING_STYLE.rst b/docs/devel/style.rst similarity index 99% rename from CODING_STYLE.rst rename to docs/devel/style.rst index 7bf4e39d48..8b0bdb3570 100644 --- a/CODING_STYLE.rst +++ b/docs/devel/style.rst @@ -641,7 +641,7 @@ trace-events style In trace-events files, use a '0x' prefix to specify hex numbers, as in: -.. code-block:: +.. code-block:: c some_trace(unsigned x, uint64_t y) "x 0x%x y 0x" PRIx64 @@ -649,14 +649,14 @@ An exception is made for groups of numbers that are hexadecimal by convention and separated by the symbols '.', '/', ':', or ' ' (such as PCI bus id): -.. code-block:: +.. code-block:: c another_trace(int cssid, int ssid, int dev_num) "bus id: %x.%x.%04x" However, you can use '0x' for such groups if you want. Anyway, be sure that it is obvious that numbers are in hex, ex.: -.. code-block:: +.. code-block:: c data_dump(uint8_t c1, uint8_t c2, uint8_t c3) "bytes (in hex): %02x %02x %02x" diff --git a/README.rst b/README.rst index ce39d89077..91aa1e314c 100644 --- a/README.rst +++ b/README.rst @@ -66,7 +66,9 @@ When submitting patches, one common approach is to use 'git format-patch' and/or 'git send-email' to format & send the mail to the qemu-devel@nongnu.org mailing list. All patches submitted must contain a 'Signed-off-by' line from the author. Patches should follow the -guidelines set out in the CODING_STYLE.rst file. +guidelines set out in the `style section +` of +the Developers Guide. Additional information on submitting patches can be found online via the QEMU website diff --git a/scripts/fix-multiline-comments.sh b/scripts/fix-multiline-comments.sh index 93f9b10669..c15a041272 100755 --- a/scripts/fix-multiline-comments.sh +++ b/scripts/fix-multiline-comments.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# Fix multiline comments to match CODING_STYLE +# Fix multiline comments to match docs/devel/style.rst # # Copyright (C) 2018 Red Hat, Inc. #