From patchwork Mon Jun 7 14:32:59 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: 455292 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2800385jae; Mon, 7 Jun 2021 07:33:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3z+QvSrsGHnoGPsaLLz5jYwd28+yHM9AeZiQ9ZBc5uma3D8xNQYGeKQ1D2Ji2Bz2VdskG X-Received: by 2002:a92:dd89:: with SMTP id g9mr15888939iln.209.1623076414007; Mon, 07 Jun 2021 07:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623076414; cv=none; d=google.com; s=arc-20160816; b=ctFcyg1cS9Vu2grLiBeMuv6MvBezE1TCx4IpVxT+xfhLTZv5BgAzGyQ/kooHGjt9DV uIZhen2Rg/PqtjAk6k6Yu6fTL10pm5rylhXHDpaPShn9xRwUYRu32nHyCm8rzdWqefHQ R0QGYKpYRoq+i0gBI6C5ex0TUl49/V4sp1sjy5uSRILJsRKM1OBe8aPN7CDpKn2QveQ6 U6GfetlkqfxE3pKE6BpHkHsahyc0W6DLhcUsRzliYapPh/NrNF+p+npxQCXTGnUnhT+L U9ggxrOiM6mlIli0f/K23iCt0ymMOA9Ni2lL8Xc+IPY5hZ+ZFkh0H+AZ+K9ZOZ/vfYOJ RZ3g== 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=rI0R4bYUescEvm/efc4mHQ4PtU1tZsq80hE1w0dikSA=; b=rUPeFzCHPxGMGHKVXGpkmXTW+KKx9lLc3dHXQQROOCUGL+nveyt4WRyXJUN5b3qBdz TE6nT/TI8DeiUMAxDmItjlkLpR0jpgOvugdjiOC4mNNPBk3QAP4lNCIulkhWRVZdzDD+ tF9hCX+hInrvqg/2CrA99dvsCIjfaBOYMg2rELIiAXlAqmUW3h8pvyeYapeNeQ1roaFs sBCWQgaJYVf2TR5RzXUs5GSQ4Z6wXw/3jkNTK/1jyxFXdEr00RcjdgQ/Q1NnNmjS9t5L cUzaq+BruEsBjHd4GV53rvTpBIMPnGTKyzigk/v2l2TADxCteLKSScrjHKtlaCLNzb/B p5BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=jTj+49Cm; 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 13si15820123ilx.46.2021.06.07.07.33.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Jun 2021 07:33:33 -0700 (PDT) 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=jTj+49Cm; 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]:36430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqGJp-000391-FN for patch@linaro.org; Mon, 07 Jun 2021 10:33:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqGJY-000348-5L for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:16 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:37475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqGJU-0000Lw-Q0 for qemu-devel@nongnu.org; Mon, 07 Jun 2021 10:33:15 -0400 Received: by mail-wm1-x332.google.com with SMTP id f16-20020a05600c1550b02901b00c1be4abso2505039wmg.2 for ; Mon, 07 Jun 2021 07:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rI0R4bYUescEvm/efc4mHQ4PtU1tZsq80hE1w0dikSA=; b=jTj+49CmrF0Bpd7w92PvAGhREAFj3MCbj/cR0PpArEt2SkHIU/henAbpaSU92gKU8v RT9RfFdIEsK86N4O9dGj2+lRvzS4wkvMaHDCfi5jNa8aoqtRmDxnOK75hvb/2VGTFlKj xcu21ey30Iv+NauqbAOeYO2HaSArEwcr6P6PK43KRDJWwZIeZMQAzghEZZoHvsaYNQ+a gxW5BopsvOuEQ0DrW5nPQ2kcAkXXeieT0kAKnQFXg5o9NGFPwdA8e2zXXZYE2I3FI9Xa j6looGx0BLwKKnaqnGGx6dpxiVCR5Ew4gEvVqLgqC226i0gVYpnUC7sHiO0eF00v5ihn 87lA== 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=rI0R4bYUescEvm/efc4mHQ4PtU1tZsq80hE1w0dikSA=; b=OuZiv4Ewi9K3n8zvCgBGZTtasNSb0Sb+QtXjFN2DQfa72ne/2vseqy0KdkGZCmmyrs UpM2Ozmg/LHWNRQ3JDFVIJl0j15qvLV14O6isAmYrTiuCM5P1UwjqmxEoMCid4/v3zy2 9i24UIKtoTdb26tSc6QN+TwBwmK4Qdi48ACL3ykoTpFLXLXTS5Nxc6Kyb2R/hgk9eJEN n2EsoiUdqxVEXBDglOZArza8pzXMG33WxH5EW5OAPaiku8zZUNWGzOMK7keIQyY8bUDq fTk27wQhvGLWo9LawL7gS8qLzGkzhXSV/DP4Qnxiz/FyG1ue2Oi8A0YHKHvrTgvWQwQA XA3A== X-Gm-Message-State: AOAM532Kb1tu94crjBhg0SC2+jCfSrEi3+lYADeLyMIwWM01EDPe03s6 bu23NuBgSuyYVMJwtlMF2BvxaA== X-Received: by 2002:a05:600c:4e8e:: with SMTP id f14mr891502wmq.172.1623076391501; Mon, 07 Jun 2021 07:33:11 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l16sm18144201wmj.47.2021.06.07.07.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 07:33:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E98B01FF90; Mon, 7 Jun 2021 15:33:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 4/8] tests/acceptance: tag various arm tests as TCG only Date: Mon, 7 Jun 2021 15:32:59 +0100 Message-Id: <20210607143303.28572-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210607143303.28572-1-alex.bennee@linaro.org> References: <20210607143303.28572-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, Wainer dos Santos Moschetta , Willian Rampazzo , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We should never be trying to run most of these models under a KVM environment. Signed-off-by: Alex Bennée Tested-by: Willian Rampazzo Message-Id: <20210527160319.19834-7-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py index 276a53f146..cded547d1d 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -333,6 +333,7 @@ def test_aarch64_virt(self): """ :avocado: tags=arch:aarch64 :avocado: tags=machine:virt + :avocado: tags=accel:tcg """ kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora' '/linux/releases/29/Everything/aarch64/os/images/pxeboot' @@ -343,7 +344,9 @@ def test_aarch64_virt(self): self.vm.set_console() kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyAMA0') + self.require_accelerator("tcg") self.vm.add_args('-cpu', 'cortex-a53', + '-accel', 'tcg', '-kernel', kernel_path, '-append', kernel_command_line) self.vm.launch() @@ -356,6 +359,7 @@ def test_aarch64_xlnx_versal_virt(self): :avocado: tags=machine:xlnx-versal-virt :avocado: tags=device:pl011 :avocado: tags=device:arm_gicv3 + :avocado: tags=accel:tcg """ images_url = ('http://ports.ubuntu.com/ubuntu-ports/dists/' 'bionic-updates/main/installer-arm64/' @@ -370,6 +374,7 @@ def test_aarch64_xlnx_versal_virt(self): self.vm.set_console() self.vm.add_args('-m', '2G', + '-accel', 'tcg', '-kernel', kernel_path, '-initrd', initrd_path) self.vm.launch() @@ -379,6 +384,7 @@ def test_arm_virt(self): """ :avocado: tags=arch:arm :avocado: tags=machine:virt + :avocado: tags=accel:tcg """ kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora' '/linux/releases/29/Everything/armhfp/os/images/pxeboot' @@ -401,6 +407,7 @@ def test_arm_emcraft_sf2(self): :avocado: tags=machine:emcraft-sf2 :avocado: tags=endian:little :avocado: tags=u-boot + :avocado: tags=accel:tcg """ uboot_url = ('https://raw.githubusercontent.com/' 'Subbaraya-Sundeep/qemu-test-binaries/' @@ -429,6 +436,8 @@ def test_arm_emcraft_sf2(self): def do_test_arm_raspi2(self, uart_id): """ + :avocado: tags=accel:tcg + The kernel can be rebuilt using the kernel source referenced and following the instructions on the on: https://www.raspberrypi.org/documentation/linux/kernel/building.md @@ -464,6 +473,7 @@ def test_arm_raspi2_uart0(self): :avocado: tags=arch:arm :avocado: tags=machine:raspi2 :avocado: tags=device:pl011 + :avocado: tags=accel:tcg """ self.do_test_arm_raspi2(0) @@ -471,6 +481,7 @@ def test_arm_exynos4210_initrd(self): """ :avocado: tags=arch:arm :avocado: tags=machine:smdkc210 + :avocado: tags=accel:tcg """ deb_url = ('https://snapshot.debian.org/archive/debian/' '20190928T224601Z/pool/main/l/linux/' @@ -511,6 +522,7 @@ def test_arm_cubieboard_initrd(self): """ :avocado: tags=arch:arm :avocado: tags=machine:cubieboard + :avocado: tags=accel:tcg """ deb_url = ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_armhf.deb') @@ -551,6 +563,7 @@ def test_arm_cubieboard_sata(self): """ :avocado: tags=arch:arm :avocado: tags=machine:cubieboard + :avocado: tags=accel:tcg """ deb_url = ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_armhf.deb') @@ -595,6 +608,7 @@ def test_arm_quanta_gsj(self): """ :avocado: tags=arch:arm :avocado: tags=machine:quanta-gsj + :avocado: tags=accel:tcg """ # 25 MiB compressed, 32 MiB uncompressed. image_url = ( @@ -642,6 +656,7 @@ def test_arm_quanta_gsj_initrd(self): """ :avocado: tags=arch:arm :avocado: tags=machine:quanta-gsj + :avocado: tags=accel:tcg """ initrd_url = ( 'https://github.com/hskinnemoen/openbmc/releases/download/' @@ -678,6 +693,7 @@ def test_arm_orangepi(self): """ :avocado: tags=arch:arm :avocado: tags=machine:orangepi-pc + :avocado: tags=accel:tcg """ deb_url = ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_armhf.deb') @@ -702,6 +718,7 @@ def test_arm_orangepi(self): def test_arm_orangepi_initrd(self): """ :avocado: tags=arch:arm + :avocado: tags=accel:tcg :avocado: tags=machine:orangepi-pc """ deb_url = ('https://apt.armbian.com/pool/main/l/' @@ -744,6 +761,7 @@ def test_arm_orangepi_initrd(self): def test_arm_orangepi_sd(self): """ :avocado: tags=arch:arm + :avocado: tags=accel:tcg :avocado: tags=machine:orangepi-pc :avocado: tags=device:sd """