From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989013; cv=none; d=zohomail.com; s=zohoarc; b=jvQ0I10haP8UvkFvRYPGPLMmg+Duxi0+fdF/32JBv8zQJ4M8dsUGq9txMi38YNNSlo2JlO4ZRK4f2OWEQnhgvW6ZonpgzQpS8mfzy7MBfmRr1j4m/9aYe3ywrGlYl6U1puGTL4XKvXFrF5/fiNue+eYuIfqV3pk8coPFip7VOrA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989013; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qWQxTTJ9yHrhgADq5YDj18MKlBZV63tENXZ5aJU0qpw=; b=DdlD0G7iOHBsoF5GDz+0ED0/9oEi5M7BPHxOx1q68qmchh1KR7JHvqzyDotu65hh3ejzRjPQYnzbccKyVu7KQbLk6zQQdWgeO0Fg2ch1uUfinJMj06HQMHwJYe6ar1VsPjKBwzXHs75jqF7/7k6BZOxMOQRjqEUSzrtJdm1b82E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989013407288.61477930370677; Mon, 22 Feb 2021 02:16:53 -0800 (PST) Received: from localhost ([::1]:41444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8Gp-00017N-HQ for importer@patchew.org; Mon, 22 Feb 2021 05:16:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8F3-0007uf-Ou for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:02 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:56245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F1-0005F8-BU for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:00 -0500 Received: by mail-wm1-x336.google.com with SMTP id i9so3028112wml.5 for ; Mon, 22 Feb 2021 02:14:58 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q140sm31545021wme.0.2021.02.22.02.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:14:56 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D7C8E1FF87; Mon, 22 Feb 2021 10:14:55 +0000 (GMT) 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=qWQxTTJ9yHrhgADq5YDj18MKlBZV63tENXZ5aJU0qpw=; b=ob4rT3hhhwv7nLPFnXrM25XRnIRyZkiVhfRBdEoJBvdNegrazWcLDJ9W5H3iZmtLUj oaTCd1a0g+EkmX5M11nFp6Ml++NCZKcyVwqM05sLqlX+DmLLzAqjk33H0PB345QMagV2 wKMk59QYmxBggGgrKUx0tcPtItdddWsXMP/PK7/3KKdJa09g/MJli6aTK/n2R2mvDvwW 3Ck70HisQ7sN+LM+fhVTZLB21Aj+uV1ja3VLczJHlUJiquDNWwQz9ot6SfvPz8OZ89dm 3nmMqurKYDYrD+Y7l0hiLbfVoMyiNtfFeVh3u2sR+ru6Fxogjro02oIEUZBgmPWziVMh wiOg== 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=qWQxTTJ9yHrhgADq5YDj18MKlBZV63tENXZ5aJU0qpw=; b=jVb6RehH20ds/omafgMFY4Des7wa1fuahXtUWfJMLWxIDU7EK+v5nvdSEpRk5lanHE U0E+89CUGmHX6ACTAVnZVM7e9qHLWlCWnAEuhjG/b+ybOVZkzuEmUmDTqz6YfTGSYvMY 1PvBqMSbovHJ2o/p0/fdjn/kUkeyML7rzI97NAj/8zxdYygRCmHopbcQbrVOJG7jVyNE 1eV4+fgwv4YU+XO09IJFsbeTHl4NR7MD7Mw7gpcY/74dl+kbKmF3LH9hLenNzH6Xn37e lgABy0Rdo7crwCcc2WJz2bcO/2S78+3m6ovcrp2+ilkwAAVz0j2iR2krSTcohpClswDz Pt5g== X-Gm-Message-State: AOAM531pjW0zUPLPZUuijufS4sHbMMS2RL2vDXpmd0ZD2R1jwBkaf42E neSPvQwME86kafqsSpycZGCnIQ== X-Google-Smtp-Source: ABdhPJw3RUeI0zH3ktMCVUBJwcybauBHPvZdszjT2hRG1RImPQlWNGzLm4btDbb4Mvuo6m3vfCaAAg== X-Received: by 2002:a1c:f019:: with SMTP id a25mr9379644wmb.125.1613988898057; Mon, 22 Feb 2021 02:14:58 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 1/6] meson.build: expose TCG cross compiler information in summary Date: Mon, 22 Feb 2021 10:14:50 +0000 Message-Id: <20210222101455.12640-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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@euphon.net, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e Tested-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Paolo Bonzini Message-Id: <20210216102522.6279-1-alex.bennee@linaro.org> Message-Id: <20210217121932.19986-2-alex.bennee@linaro.org> Reviewed-by: Richard Henderson --- meson.build | 18 ++++++++++++++++++ tests/tcg/configure.sh | 8 -------- 2 files changed, 18 insertions(+), 8 deletions(-) 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 +=3D {'strip binaries': get_option('strip')} summary_info +=3D {'sparse': sparse.found() ? sparse.full_path(= ) : false} summary_info +=3D {'mingw32 support': targetos =3D=3D 'windows'} + +# snarf the cross-compilation information for tests +foreach target: target_dirs + tcg_mak =3D meson.current_build_dir() / 'tests/tcg' / 'config-' + target= + '.mak' + if fs.exists(tcg_mak) + config_cross_tcg =3D keyval.load(tcg_mak) + target =3D config_cross_tcg['TARGET_NAME'] + compiler =3D '' + if 'DOCKER_CROSS_CC_GUEST' in config_cross_tcg + summary_info +=3D {target + ' tests': config_cross_tcg['DOCKER_CROSS= _CC_GUEST'] + + ' via ' + config_cross_tcg['DOCK= ER_IMAGE']} + elif 'CROSS_CC_GUEST' in config_cross_tcg + summary_info +=3D {target + ' tests' + : config_cross_tcg['CROSS_CC_GUEST'] } + endif + endif +endforeach + summary(summary_info, bool_yn: true, section: 'Compilation') =20 # 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=3D$container_cross_cc" >> $config_target_m= ak 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 --=20 2.20.1 From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989018; cv=none; d=zohomail.com; s=zohoarc; b=heamEYqOcvFcRnVxvXQpBzBvwNRXbCz6M6NccBKhekQF1mf4eIi3eGT0vSyb7WaOOZHq5Bo4jiEB7x57fLwaJStJw0rP/5exzwc1RJbxjX1TLiR65Lk49s6QGtJxyDRTlYasZrh55r/OYz9zzWzP4HxYK2MvEZV4S8+Vz4q5U4o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989018; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=yf/JtQTyTXasemVYJ9Cbb67wN/v6OrbvEPyAgKanodc=; b=V4sYdtKjcs924qSrCUeN6z5HqF75YPLuTiPshVpIvhHqGLB9ijPPPvNh77p+TfQkDD7wuh0YbY0RZGwEmf746SiZ3faf1KDTjdxYSY/Mg1e3vMzACtYpe7qbGF/rblXDPKWrkB3d4+sQKnd6Hi99+/W/PKL15kGV+UGsvmjMRRQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989018061817.5017821325183; Mon, 22 Feb 2021 02:16:58 -0800 (PST) Received: from localhost ([::1]:41772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8Gu-0001Fa-1m for importer@patchew.org; Mon, 22 Feb 2021 05:16:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8F6-0007uz-20 for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:04 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:37562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F3-0005GU-GU for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:03 -0500 Received: by mail-wm1-x336.google.com with SMTP id m1so13785037wml.2 for ; Mon, 22 Feb 2021 02:15:01 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b83sm21275122wmd.4.2021.02.22.02.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:14:56 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 010261FF8C; Mon, 22 Feb 2021 10:14:56 +0000 (GMT) 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=yf/JtQTyTXasemVYJ9Cbb67wN/v6OrbvEPyAgKanodc=; b=u+0Xa/b168OBCmdWdRA+1awLOHobx8rOsODL7nSn34sa0OJHfk0WzJD1d8k3ah8OX1 r+qhhs4Z99ZNFL9IQTdgqfZs2p25LCOwzV5l+ID+wkyjgXWYK0EBvBvMfvNpC8Dzz5CT yZzRAq5ilFM4sahQnr1jAonrWZkxX/lYfulhFJF2LxS5NMnes/H1B0VPVFwfEnihJ+Ff EoFZblos9KzLZzxBnIVaPKaGJirXgFT5EvpHqpbZHKn8JcAlWcmyG64jvisTq2fwRs9r T406vW2RZ3t5+maobz1TjjpjBh3vZFO2CcQ66RAdqe/VLyxzwXQn9WWowy7nkmEaxP7y tJHQ== 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=yf/JtQTyTXasemVYJ9Cbb67wN/v6OrbvEPyAgKanodc=; b=WeC23W2GZj+kEmUR7wUc7CCA23hd2wrIh+TJwqKbDEgq9pUG0V6y4A4uZOcyovVsYY 5VCka+6zpS3PFO+09QIzpWy7gmQKjdSCf0CrvjTniPAZHVmYBT/MxZ6l+T0v/p1LRUjW kLA/i4ySTMyMkAxTmJjfvVIQ11Ul0Iuz49hJgQ2Ly+8izh9ECl6bc7YEV6c7jN+d1THV Stugt6mIUDVhBI3fBBJcNpqlYYSQqVVbGEXkeBXBf5njLXOsquVfJ2hFAiylt/hWampO 8gOovD16OR0gko5Hvp9jusE3vEsqdX8bTXyaLJvpsKO0ntQ1JzR1YCDUaojJiOVnWDQN XTFw== X-Gm-Message-State: AOAM533OPM54IqKdlkz0j0KOMH11Uklaw2wgRgLqmav9lj7AYZYRay5h TqOYsv1kMiO0y7tyFYpwxqA6ww== X-Google-Smtp-Source: ABdhPJwDqjZIOCSw5wHcdPDQXko8oCU31EXr6seylxKMamyNp2NNysR4EZ2aukYLOuw9wWZhNFwxIg== X-Received: by 2002:a1c:e905:: with SMTP id q5mr19718672wmc.84.1613988900071; Mon, 22 Feb 2021 02:15:00 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 2/6] docker: Bump Fedora images to release 33 Date: Mon, 22 Feb 2021 10:14:51 +0000 Message-Id: <20210222101455.12640-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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@euphon.net, berrange@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Fedora 33 was released on October 27, 2020. Update all the Fedora 32 images to this new release. Suggested-by: Daniel Berrang=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210118181255.314672-1-philmd@redhat.com> Message-Id: <20210217121932.19986-5-alex.bennee@linaro.org> Reviewed-by: Richard Henderson --- tests/docker/dockerfiles/fedora-cris-cross.docker | 2 +- tests/docker/dockerfiles/fedora-i386-cross.docker | 2 +- tests/docker/dockerfiles/fedora-win32-cross.docker | 2 +- tests/docker/dockerfiles/fedora-win64-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/docker/dockerfiles/fedora-cris-cross.docker b/tests/dock= er/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 # =20 -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/dock= er/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/doc= ker/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 =20 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora-win64-cross.docker b/tests/doc= ker/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 =20 # Please keep this list sorted alphabetically ENV PACKAGES \ diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfi= les/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 =20 # Please keep this list sorted alphabetically ENV PACKAGES \ --=20 2.20.1 From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989017; cv=none; d=zohomail.com; s=zohoarc; b=NVP49Q4EZdnyNHNx+6xq+1zNFEB1C9nQCy/do4MqzFqGzu9Vo65jZ2zagXD3jla+FNKndrwDuB40KY25FH6RZ8NUV1tiYHcQOh+vE6eD1PR/l3jvIdqJNG0CGmknYzKnpYWRisDmQj5QG3OH2ZT/os+tdNreiFTWkalhztQ8OUQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989017; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=oJMafUOam+Pe3hXKN8vqOtvg4QC9jgWNymkevszRItM=; b=dxa2ZQBzeVzMO9kY3AKr/QIzhXGdg14cORlX36a5R8upFp9V3O/x7mq3O9wDazRg4AIwAIkhoQdZu7yspe+pXuoJHWacMCsrVp8ZRDaV+55NJAw0164k4OkBCqFMmuyGWQMHw1w9QCeYlxaNaz9GF5H23kVcGzawHkYCT+yuZ7w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989017349739.8950506738255; Mon, 22 Feb 2021 02:16:57 -0800 (PST) Received: from localhost ([::1]:41750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8Gu-0001FF-A3 for importer@patchew.org; Mon, 22 Feb 2021 05:16:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8F7-0007wC-1V for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:05 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:33085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F5-0005HW-8l for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:04 -0500 Received: by mail-wm1-x32a.google.com with SMTP id i7so7141612wmb.0 for ; Mon, 22 Feb 2021 02:15:02 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l1sm25120370wmi.48.2021.02.22.02.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:14:59 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 167081FF8F; Mon, 22 Feb 2021 10:14:56 +0000 (GMT) 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=oJMafUOam+Pe3hXKN8vqOtvg4QC9jgWNymkevszRItM=; b=Pbumq3fWF/3Ef+3p6T9ZaD12cSSVoXp1n+1AuP+7O9Fr2dL/EzV86kZBnpq+tRTLMb 0iRmCqw6RhkFb4OG1Nrgo3KWhp9Ug782vheUcjOw7IErL5bzQ5aHLMlI4MlPahJdVn8F 6GKL4I5A1yYudq6dS9jSj5i4Ecu7droaggl3g5YEkH5T+Dl+waVAmpgl8nirmzEmTBOG t0hFybbDf67ZRsWERsEqm/3tvTzUVTJIJ79KbpmZaOA7pb6ahD9UJNbr5akEBpKe9Ggw FmoJ78uCgcJJucrPr34DmIyQjMS+UlpERsVfTSJ4rcE2r4asWl+H8uh8WxHqR10C9pXd Nu2A== 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=oJMafUOam+Pe3hXKN8vqOtvg4QC9jgWNymkevszRItM=; b=mMDxs7MMl7pawMLAbtXqr/L5YsBzj4oeaKmuJ63NyF6KrywEq0ar7FdA02dDGVVB7B C4NbPNTh1FGPO0BCa/CTqCDK1dPLek7VnKwfuuth76DD6GKWt0xUbrGRRjgs8KHwIEEr ATnToDDDOW8kJQLDMrbsOkFPZqTGE2HvSGYb2j+GU9lspin0vbQ14ZCjepBbbASMEVoG oKtt/U4n8IBfqiyaBTEZyVeIGKlbzWs+MmE3L9OnzpxGKyqRlc28vQh3qVDkrPL7hHHh mItR1PHlfKLRpngSvJ3d+Gi+typiQuxOxWlozuaXpbDHs5rHzB9aEW+0atZHihc9geRt v/Ww== X-Gm-Message-State: AOAM5309r7ehcT6LPb5QprHd9l2jmShXnI7H9hpp2FyZASEpi3eFtbX7 FGMlEG4AW9LiI0dLlEQ9grcvFA== X-Google-Smtp-Source: ABdhPJyneYZJw9dY+HdyUwbxz3zl6toNt5Jou/ZO7EG7zItjj02G8lrBtRHxlTcfQWdNscAsR5ZmSA== X-Received: by 2002:a1c:1dcc:: with SMTP id d195mr19977308wmd.42.1613988902026; Mon, 22 Feb 2021 02:15:02 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 3/6] tests/acceptance: allow a "graceful" failing for virtio-gpu test Date: Mon, 22 Feb 2021 10:14:52 +0000 Message-Id: <20210222101455.12640-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.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@euphon.net, berrange@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , f4bug@amsat.org, Wainer dos Santos Moschetta , Willian Rampazzo , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Willian Rampazzo Cc: Marc-Andr=C3=A9 Lureau Message-Id: <20210217121932.19986-7-alex.bennee@linaro.org> Reviewed-by: Richard Henderson --- tests/acceptance/virtio-gpu.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 featur= es + 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", "" --=20 2.20.1 From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989023; cv=none; d=zohomail.com; s=zohoarc; b=Iht0y1xcuo9jONK9et3O3pkrBqwalV630TXYlaRCL99acRdZ9LS2ge+PgVJgYN6c4iV9PGhbXIXLOifnqWC0V4S+1ECel7rPzU5SW/ml5exHOpfBoYuIzLAlbQkobPoleQD5jp+OegDcq/JkucV7UFxXgtm6c8BCGkqsTYHnl/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989023; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=aZFusUpUE78KLOYcTH3N+BBSwwTvd1bK6WCbPQhEmJo=; b=G08cvKK0Koets/aMK3bowjD6q58QMe0Dpg1D4UMJpkPIU74LWcqaHt6w2kPJTssRtrZ+6AkUYjx/pKQwHzX8HHiyxJiZdb7p+vNRMQ3zRnd1xHK/l6Zkyr5snC70ANkgQXuxJABfewT4uOpNln8N6d2WNh0QIeAj3ZfWZwmds9g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989023837399.03685373342626; Mon, 22 Feb 2021 02:17:03 -0800 (PST) Received: from localhost ([::1]:41930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8H0-0001JI-Rw for importer@patchew.org; Mon, 22 Feb 2021 05:17:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8F8-0007xW-52 for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:06 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F6-0005ID-DK for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:05 -0500 Received: by mail-wr1-x42c.google.com with SMTP id c7so1669240wru.8 for ; Mon, 22 Feb 2021 02:15:03 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c12sm16967453wru.71.2021.02.22.02.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:15:00 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2CDA81FF90; Mon, 22 Feb 2021 10:14:56 +0000 (GMT) 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=aZFusUpUE78KLOYcTH3N+BBSwwTvd1bK6WCbPQhEmJo=; b=d3EbQ6Uq20yorzzDIp28h/72I2c6AzI8pm66HAAr+/qlwILvv1FfpxH9OaSqusEt1s tbYO8XQiGEZGvzaMn9JLidqzVkMcSdVopP0F1GS8Dap8b+dWmL7N+Dyw0VifPgi4N63n CG/yMANdLDMbGoJy8IGBFbFRsvZ6Lbnm3Y0EkjIvna2ny1ddBQXdZaes4/jAFIDg1wwG ExbE4R6Ka62L4WbGZPqEGSRELC5CaPbrVvLMGHphcJRbaGCpG/GSSVuTEuZYV+kQMV8g kqHCMTRLgV0Rl6LlKTBFOHyXWJU8WJOL874LJS5YWOlZHoGKbNhu9gY/f70/t7kkV5kP 4gXQ== 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=aZFusUpUE78KLOYcTH3N+BBSwwTvd1bK6WCbPQhEmJo=; b=dCzFe5OTjxcIPN79XShQ+IoOfebKmB0ZSMBzvIyO3ivP1muqTW1VDrzXS8uktQYdpo vdf5QV9C9FzEdhLbmMzL9gBCcOa7UD053HO8F98Zc13ydDBJqVSD6WTqgCF0ZzGnDj+E XEIBXW7GiVQmrx03gPSvakDmHGYOVycK2WwD6nck9QvCt2drCzrUuvGi7wQUVXXPKD6D tdObrAy7C0ZKguMk4jG+rZYjIHUV89izW2Wwan0BRvRXdZ33pMlLPSQkwH6CX5OssnAS pgKWbld9GMQS5Dt7+kVZv0P7ZCqW1ezJFAjLu6pd8bDwXmasC0chPzUYOsO7jaX+uLPk VeWA== X-Gm-Message-State: AOAM533IRJZuszLlVBqwGkOFgFl5+mMtzDiUdrQZR4/A/affo1Mws/Jt SniUYVqxJZzCwdt1RVaM42Wbxg== X-Google-Smtp-Source: ABdhPJzMnCL5U/dwm/N3dlUS7TgIktnbgBL391Y7AVVYP7u9h9OiqfYODxY6ujyRC/Wol4Fg6XO1UA== X-Received: by 2002:adf:dd41:: with SMTP id u1mr10075756wrm.190.1613988902946; Mon, 22 Feb 2021 02:15:02 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 4/6] docs/devel: expand on use of containers to build tests Date: Mon, 22 Feb 2021 10:14:53 +0000 Message-Id: <20210222101455.12640-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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: fam@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e Cc: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- docs/devel/testing.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) 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 me= aning: =20 - disabled: Tests in this group are disabled and ignored by check. =20 -.. _docker-ref: +.. _container-ref: =20 -Docker based tests -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +Container based tests +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 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. =20 -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. =20 Running subset of tests ----------------------- --=20 2.20.1 From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989282; cv=none; d=zohomail.com; s=zohoarc; b=WOZ1YZ4h0Qd/Bw0ai7hlFCdyGuR0b8U8PFVhKjPQjC8dbOWLuk7z2eJlAxgJ0vveyJN36VoiaQz6X/8e+YEyr/NWC3GexDUeG5ZGWru5ki2sbPa95U/p4qWF5HrSxh0V2DJd1y76yUjwfkbSmgpnyQ9yTVwodGHVg9b8CDlMelk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989282; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=bgfArHb7p3k3YdV0HiKtW1aTNXdvm5THpfAW3dQ7N4A=; b=eODX0UA7h/y7cafK83MrUPjdGbrXiGyOPrNbzR7wtCSJI2uOzwDSkS0DPy9a3o2sdKI2iGoWW6suEAasD+jzau9Dw85sxjeLkRMCgksqjUSqPk7fJT416XBy0AQf7iFKS5sHLo8WJiVD192CuAxie7wysKEVjrnbhLJ02MYpvPc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989282447371.13783281934207; Mon, 22 Feb 2021 02:21:22 -0800 (PST) Received: from localhost ([::1]:52712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8LB-0005rQ-F4 for importer@patchew.org; Mon, 22 Feb 2021 05:21:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8FB-00082q-2e for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:09 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:36174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F9-0005JH-0n for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:08 -0500 Received: by mail-wm1-x32e.google.com with SMTP id a207so13799284wmd.1 for ; Mon, 22 Feb 2021 02:15:06 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t11sm17165846wmb.32.2021.02.22.02.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:15:00 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 430E21FF91; Mon, 22 Feb 2021 10:14:56 +0000 (GMT) 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=bgfArHb7p3k3YdV0HiKtW1aTNXdvm5THpfAW3dQ7N4A=; b=rJdfAWCgDqkrlaF80XIQy6mDujgHUFFyvQf1mhqilZuXUCZiRcsihGWuJk3Xo8+0hz /rVWpbGJ4pfXnZ0RwfLBjmAKYSg9qHy4Y47pWRNrNhpZo+qcP5/32WMfdmChvuJwSSB5 7DivS+zFZm5SB+euetsqlOUVUobczXZ1kx7b0Rbd0tE2Dbu5objR9eDL6ubmxGjpMx7M OyRqDgcx/ekXU0TGOKBs76nYaItWjzsWVYtoq5jAO/ZFsw+TKuWHmQCCEWPGqljRwO8v lqoHzCqOaVJzssjzxTiUg9x8DpDFWEfP3avW+zOaeV1AlYVsBkuaMbDduGT8wkrCDabk PKLg== 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=bgfArHb7p3k3YdV0HiKtW1aTNXdvm5THpfAW3dQ7N4A=; b=tOWputQ1bytBZlIxCumQpqUzl5XgL/2r2RWCOy9EAKspPnEIjnorOcSHmGzla5F5x+ G2QaVkxDqc4RB4d/TQ87GBtf+/lhW+Jn7GLoBFnFMYLklL5a+xKU2VNXJk+YbpkITYn2 +j0lhx/lYKMq7hvZX7mmRIeeilXbxIlCL6h7HgJMQEdlLzzQJdSGWpUhvnmcgvLtzogo oWm1JItgoaXLLID8uMAmHgDBAIndIGGG97xjuVqhABIw1YlyURFEEJmmSdLzY93wi0/d Ja3FQSlbqLipweUN5FeQtwSo/rbAoj6dkTdBy6tLqEhKJMugt3MtA49JnuSzAkV9uwCk f+Hg== X-Gm-Message-State: AOAM533VGBK4axW0VHjRQYunog5sfzkdQYhSl/vvq3xnLj+hmNHcho3l 1qMaxYXISRniklMGWvAeiWLM2Q== X-Google-Smtp-Source: ABdhPJwtph261QYAD1OiIoNqelKwqqM6wbx5x8eHE7vt+NQK77g7aRasoGygJRMVAaaERm2cI4XlYA== X-Received: by 2002:a05:600c:47c4:: with SMTP id l4mr19336965wmo.83.1613988905652; Mon, 22 Feb 2021 02:15:05 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 5/6] docs/devel: update the container based tests Date: Mon, 22 Feb 2021 10:14:54 +0000 Message-Id: <20210222101455.12640-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e Cc: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- docs/devel/testing.rst | 61 +++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 488d4e3537..e43c992f21 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -280,13 +280,17 @@ Container based tests Introduction ------------ =20 -The Docker testing framework in QEMU utilizes public Docker images to buil= d and -test QEMU in predefined and widely accessible Linux environments. This ma= kes -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 +-------------------- =20 Install "docker" with the system package manager and start the Docker serv= ice 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 po= ssible for the user to exploit the whole host with Docker bind mounting or other privileged operations. So only do it on development machines. =20 +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 read= y. + Quickstart ---------- =20 -From source tree, type ``make docker`` to see the help. Testing can be sta= rted -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): =20 .. code:: =20 - make docker-test-build@min-glib + make docker-test-build@centos7 =20 -This will create a container instance using the ``min-glib`` image (the im= age +This will create a container instance using the ``centos7`` image (the ima= ge is downloaded and initialized automatically), in which the ``test-build`` = job is executed. =20 +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=3D1 + Images ------ =20 -Along with many other images, the ``min-glib`` image is defined in a Docke= rfile -in ``tests/docker/dockerfiles/``, called ``min-glib.docker``. ``make docke= r`` +Along with many other images, the ``centos7`` image is defined in a Docker= file +in ``tests/docker/dockerfiles/``, called ``centos7.docker``. ``make docker= -help`` command will list all the available images. =20 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/d= ocker`` named library, ``tests/docker/common.rc``, which provides helpers to find the QE= MU source and build it. =20 -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. =20 Debugging a Docker test failure ------------------------------- --=20 2.20.1 From nobody Mon Feb 9 06:50:58 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613989202; cv=none; d=zohomail.com; s=zohoarc; b=GsX6oCLYTqXSgFZ/+sWkfXdMLWWomrzjl1NHOKPXiuLALxrTHVcitQMAT3hTHiyhbw+5aDNQcySODt2Ee2OPWOSnpbSci3h/c6yq7wOPc2XTllv/g1j6s3wA4ycMz1FLYm33kUxYuhbA/7GTybXZ/h2HaPvAeRrFJlJ5LIZ+u/0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613989202; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=R4WDCDJCZFc7Rv2pOdA5J+1cdyXSasBpQj/RQiguMQU=; b=j0w6mGLt9ByemCg5vbRvqyPBMLbxZZHaB9qWR/sN7aZ3e8o0h490lJx2OX7isi8+PF62JAcG8f58ekLLC+hok07p4mTbAxz4bc/cwBcsSMeKjIsov7wA63vg0fqkly0S+67squjQTKBzxYnfJm+2Y21C1o2Lksf4VR1EESoEAWA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613989201956704.335668648097; Mon, 22 Feb 2021 02:20:01 -0800 (PST) Received: from localhost ([::1]:48446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8Js-00043u-Pi for importer@patchew.org; Mon, 22 Feb 2021 05:20:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8FA-00080v-9g for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:08 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:51122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8F8-0005It-FH for qemu-devel@nongnu.org; Mon, 22 Feb 2021 05:15:08 -0500 Received: by mail-wm1-x32f.google.com with SMTP id a132so13011981wmc.0 for ; Mon, 22 Feb 2021 02:15:05 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h17sm20101496wrw.74.2021.02.22.02.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 02:15:00 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 578421FF92; Mon, 22 Feb 2021 10:14:56 +0000 (GMT) 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=R4WDCDJCZFc7Rv2pOdA5J+1cdyXSasBpQj/RQiguMQU=; b=B8n/eIhqzNGvjsuusv+Kl1oJ28riz34WUdW464T1zxF84WCpLJ2R1tvwlBYyZG+qxT SPu10F43PmplVygKK5UR0m8aqw9nm8K4Gx2CFL+ugBou59vjLMeUSFpQHbPZAdQrJejN 6u/OuBxyY5fnYBNJchfs33BAB/qj9agaep8nCJTj3eBFNd8AYvhCA95c0ZZUeGSMm3Bh VyFcbEkvf3vlq/NgVgsCZg7751Yyr82E2o+d0UNJ06ZbgYbJuooOu571oHEde3kg629a 0c/pcN07txAvVKRrT6zKGyztaY1rufSjvw5hAPK6nPF0T6R0sJVxyVDned6tLUJFA/xb QtQQ== 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=R4WDCDJCZFc7Rv2pOdA5J+1cdyXSasBpQj/RQiguMQU=; b=OKSBel4K8O5L0IHJAxSA8cvi0c2AdIPPCCHs7SGllDEyYCQHhQnOrFnuqWYQwVBuFl sMNLHj3oBqTbUR8JGWG9fooa8VkS6yV5IURFh3S9blbek6nfyc9Df8lM9yhxojFqxCAk ElRYA32cAUFYBxNxZYDxYO4KkWfctsWZHwn6jM5UtPmn3ti50t6nwlXRQ7BXP0RUPxjF LcE4rJ16FYAGHGzza54Kt9Kd7YFbsfyRugYzTRQxDXgiZggMznTqi189tRA8aWMPZVA7 TPef/mjU+F12SjaHdQvgeG1MfsHdamDLNqEXy9XoI2714icHh9sUX21Q93GFFZ0CJ0l/ wg/Q== X-Gm-Message-State: AOAM5336ghzcmoJKVc7VUaNVKRAHan07s0EGfXiUE2WL6M7tqn0US5oE A8pUreyy4Iq2C827hpCNJzMcCg== X-Google-Smtp-Source: ABdhPJziJr5NuQ+GnhYoZJ38ROVLsd0yJWA0cpkZI6xaf/upIki7IDF5KvPlsmb3TPbvV2vI3H3eJw== X-Received: by 2002:a1c:1d42:: with SMTP id d63mr18973548wmd.26.1613988905013; Mon, 22 Feb 2021 02:15:05 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 6/6] docs/devel: add forward reference to check-tcg Date: Mon, 22 Feb 2021 10:14:55 +0000 Message-Id: <20210222101455.12640-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210222101455.12640-1-alex.bennee@linaro.org> References: <20210222101455.12640-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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@euphon.net, Thomas Huth , berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) For completeness reference the check-tcg tests in the container preamble text. Signed-off-by: Alex Benn=C3=A9e Cc: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- docs/devel/testing.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index e43c992f21..3124ee2470 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. =20 +The container images are also used to augment the generation of tests +for testing TCG. See :ref:`checktcg-ref` for more details. + Docker Prerequisites -------------------- =20 @@ -1011,6 +1014,8 @@ And remove any package you want with:: If you've used ``make check-acceptance``, the Python virtual environment w= here Avocado is installed will be cleaned up as part of ``make check-clean``. =20 +.. _checktcg-ref: + Testing with "make check-tcg" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =20 --=20 2.20.1