From nobody Tue Apr 23 10:50:35 2024 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610469725; cv=none; d=zohomail.com; s=zohoarc; b=iIQy8WdjtM1kUK2to/RbT1uUbUCiCwm1YqrvuNCv/dDv+fEi9ryamwYzXA5FHsNU161cQo9CHvY7t7g7TxFCCVwKldpCRg5+9k3Ez3CeuhQjzDbymaDUqsN9yDv4/7o9VN1WRghIi+wCP7JpgQO77WSYiwS+YPx8lcdydUBz350= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610469725; 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=wQAE34/wcGoIq5FcGNPB5UBknPdqvlONDso880sVFjQ=; b=fxV3C/KBxUCZaUD2NE+fR3dOBPzI1+dc/UuO2Bc5izRiKUlJyeuXgJhxTNg0idD2xHVSxqkwJOX305msuoHE6DFiUEOyMS/9mComCPuqEDMek1EcjiN+7e/lI0yqNBTIY9f3mmqwscrBZjCSUoNwyBGY7MXFNilLxcIwQ/BACgc= 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 161046972514692.08353760027796; Tue, 12 Jan 2021 08:42:05 -0800 (PST) Received: from localhost ([::1]:57340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzMk7-0004zs-OY for importer@patchew.org; Tue, 12 Jan 2021 11:42:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzMjD-0003kr-0M for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:07 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:55462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kzMj8-0000yr-Cl for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:06 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-531-8oY2MKOxPYik2g7shCIEng-1; Tue, 12 Jan 2021 11:40:58 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29226107ACFC; Tue, 12 Jan 2021 16:40:57 +0000 (UTC) Received: from thuth.com (ovpn-112-184.ams2.redhat.com [10.36.112.184]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5A32C5D9CD; Tue, 12 Jan 2021 16:40:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610469661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wQAE34/wcGoIq5FcGNPB5UBknPdqvlONDso880sVFjQ=; b=XT9REpOQoxhDPljVsaDMNN29iKbw83Nm2fyfhclVkTWLs6afOUKmLe7Zelv08xa7KwVZkm SS8rQvS93zjKdskxZWZVHYszzmik6fMiPoLiY6G/gIVHdmzrWq5XFG62Aau9nAxP6CT63C yfQ1Hx8NI6P2qcTje4yhjs5PGIWYxLg= X-MC-Unique: 8oY2MKOxPYik2g7shCIEng-1 From: Thomas Huth To: qemu-devel@nongnu.org, David Gibson , Greg Kurz Subject: [PATCH 1/3] tests/acceptance: Move the pseries test to a separate file Date: Tue, 12 Jan 2021 17:40:43 +0100 Message-Id: <20210112164045.98565-2-thuth@redhat.com> In-Reply-To: <20210112164045.98565-1-thuth@redhat.com> References: <20210112164045.98565-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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=216.205.24.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.251, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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=20Mathieu-Daud=C3=A9?= , qemu-ppc@nongnu.org, Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Let's gather the POWER-related tests in a separate file. Signed-off-by: Thomas Huth Acked-by: David Gibson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo --- MAINTAINERS | 1 + tests/acceptance/boot_linux_console.py | 19 -------------- tests/acceptance/machine_ppc.py | 34 ++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 19 deletions(-) create mode 100644 tests/acceptance/machine_ppc.py diff --git a/MAINTAINERS b/MAINTAINERS index 4be087b88e..189776a036 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -280,6 +280,7 @@ F: target/ppc/ F: hw/ppc/ F: include/hw/ppc/ F: disas/ppc.c +F: tests/acceptance/machine_ppc.py =20 RISC-V TCG CPUs M: Palmer Dabbelt diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index fb41bb7144..41d2c86e98 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -976,25 +976,6 @@ class BootLinuxConsole(LinuxKernelTest): console_pattern =3D 'Kernel command line: %s' % kernel_command_line self.wait_for_console_pattern(console_pattern) =20 - def test_ppc64_pseries(self): - """ - :avocado: tags=3Darch:ppc64 - :avocado: tags=3Dmachine:pseries - """ - kernel_url =3D ('https://archives.fedoraproject.org/pub/archive' - '/fedora-secondary/releases/29/Everything/ppc64le/os' - '/ppc/ppc64/vmlinuz') - kernel_hash =3D '3fe04abfc852b66653b8c3c897a59a689270bc77' - kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) - - self.vm.set_console() - kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' - self.vm.add_args('-kernel', kernel_path, - '-append', kernel_command_line) - self.vm.launch() - console_pattern =3D 'Kernel command line: %s' % kernel_command_line - self.wait_for_console_pattern(console_pattern) - def test_m68k_q800(self): """ :avocado: tags=3Darch:m68k diff --git a/tests/acceptance/machine_ppc.py b/tests/acceptance/machine_ppc= .py new file mode 100644 index 0000000000..51bbfd411c --- /dev/null +++ b/tests/acceptance/machine_ppc.py @@ -0,0 +1,34 @@ +# Test that Linux kernel boots on ppc machines and check the console +# +# Copyright (c) 2018, 2020 Red Hat, Inc. +# +# This work is licensed under the terms of the GNU GPL, version 2 or +# later. See the COPYING file in the top-level directory. + +from avocado_qemu import Test +from avocado_qemu import wait_for_console_pattern + +class PpcMachine(Test): + + timeout =3D 90 + KERNEL_COMMON_COMMAND_LINE =3D 'printk.time=3D0 ' + panic_message =3D 'Kernel panic - not syncing' + + def test_ppc64_pseries(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:pseries + """ + kernel_url =3D ('https://archives.fedoraproject.org/pub/archive' + '/fedora-secondary/releases/29/Everything/ppc64le/os' + '/ppc/ppc64/vmlinuz') + kernel_hash =3D '3fe04abfc852b66653b8c3c897a59a689270bc77' + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash) + + self.vm.set_console() + kernel_command_line =3D self.KERNEL_COMMON_COMMAND_LINE + 'console= =3Dhvc0' + self.vm.add_args('-kernel', kernel_path, + '-append', kernel_command_line) + self.vm.launch() + console_pattern =3D 'Kernel command line: %s' % kernel_command_line + wait_for_console_pattern(self, console_pattern, self.panic_message) --=20 2.27.0 From nobody Tue Apr 23 10:50:35 2024 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610469828; cv=none; d=zohomail.com; s=zohoarc; b=TOmHIqsvjqSgNz0QiyUt8IopFacXcG6kUi0M1/MqFYK5hRwn8R68Y0zo+Nyie8o6oFPn4wCflNg+ABQvmsvTX1O2p1CFg9OiEje1XBKZvcKlFd4RTIvHVzF4QiXCD2sj1ahCV74tYJG0bw9LQqKP0Z4nw3CPnsvFilUm5vuhN7M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610469828; 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=xXN9vVLewkzbL9wmvBzcl4gcikVgxRbDhv/q8McEeHQ=; b=H0JHsd3r7X3v9RVpwCbI5dQxoXRhHS3iiDiuAt/5AK1UbEecbqtqZj4jylFd0SP+6crnTLBJ/gOXkd5IldEcPKFJh/y8LExdlxNPNYmMvmuGeFeYKiQfaLxdf4ZFhLljPAuMQp1Hs2JZJPCNvSokwtStUs+T1JOiwf8WAXk7G4U= 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 1610469828140298.8175268973205; Tue, 12 Jan 2021 08:43:48 -0800 (PST) Received: from localhost ([::1]:34314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzMln-00076z-03 for importer@patchew.org; Tue, 12 Jan 2021 11:43:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzMjD-0003ky-CQ for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:07 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kzMj9-0000z1-7Y for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:07 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-269-zD13f1ldO7iUqIjRybvH0A-1; Tue, 12 Jan 2021 11:41:00 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 14812814505; Tue, 12 Jan 2021 16:40:59 +0000 (UTC) Received: from thuth.com (ovpn-112-184.ams2.redhat.com [10.36.112.184]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7B8015D9CD; Tue, 12 Jan 2021 16:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610469662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xXN9vVLewkzbL9wmvBzcl4gcikVgxRbDhv/q8McEeHQ=; b=Dq736eAxxtumkMy3sH0O0L22EL0UhhnE9CxHw0bb+StMSgdknHwhiqipGmR8lTq+H6tpT/ AJXE0xj1QscdfrGijq1ElQtTQX5Py5Sphkdcx/k4B0+evDohTMibaIDvfvjYjVu0LPekwx coMcn96npH9+FrlGEmf97g+7lRmjVa4= X-MC-Unique: zD13f1ldO7iUqIjRybvH0A-1 From: Thomas Huth To: qemu-devel@nongnu.org, David Gibson , Greg Kurz Subject: [PATCH 2/3] tests/acceptance: Test the mpc8544ds machine Date: Tue, 12 Jan 2021 17:40:44 +0100 Message-Id: <20210112164045.98565-3-thuth@redhat.com> In-Reply-To: <20210112164045.98565-1-thuth@redhat.com> References: <20210112164045.98565-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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=216.205.24.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.251, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=20Mathieu-Daud=C3=A9?= , qemu-ppc@nongnu.org, Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" We can use the "Stupid creek" image to test the mpc8544ds ppc machine. Signed-off-by: Thomas Huth Acked-by: David Gibson Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo --- tests/acceptance/machine_ppc.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/acceptance/machine_ppc.py b/tests/acceptance/machine_ppc= .py index 51bbfd411c..71025d296c 100644 --- a/tests/acceptance/machine_ppc.py +++ b/tests/acceptance/machine_ppc.py @@ -5,6 +5,7 @@ # This work is licensed under the terms of the GNU GPL, version 2 or # later. See the COPYING file in the top-level directory. =20 +from avocado.utils import archive from avocado_qemu import Test from avocado_qemu import wait_for_console_pattern =20 @@ -32,3 +33,19 @@ class PpcMachine(Test): self.vm.launch() console_pattern =3D 'Kernel command line: %s' % kernel_command_line wait_for_console_pattern(self, console_pattern, self.panic_message) + + def test_ppc_mpc8544ds(self): + """ + :avocado: tags=3Darch:ppc + :avocado: tags=3Dmachine:mpc8544ds + """ + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2020/download/day17.tar.gz') + tar_hash =3D '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + archive.extract(file_path, self.workdir) + self.vm.set_console() + self.vm.add_args('-kernel', self.workdir + '/creek/creek.bin') + self.vm.launch() + wait_for_console_pattern(self, 'QEMU advent calendar 2020', + self.panic_message) --=20 2.27.0 From nobody Tue Apr 23 10:50:35 2024 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610469911; cv=none; d=zohomail.com; s=zohoarc; b=kTc/pfjqockdZ+8EEurgjw3Zx600mbRlFjzYZ+q5L+eB7hKpkYYV+P01MpJh4Z5qWwNa68si+vULz7NSfJ53SvAgokymNUPuRHKg7aOPBOHj4KA8WH9iZRjQIXdhW5phCAmgF03xfgTyvVHxf8Qz6KeWwueiSCBCMZZqe3vW4i0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610469911; 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=ElPS/L46AyPPgIP7hzlOqkVhWoHQ6xUx/U5otR12FKQ=; b=b7OudVHpQa4xb3lSX6/lyc3fnRocltFnFCIKb3Z3wXUwfjCVd8aa/MA5EFeOmwb1S0Yuob23iX1gSKHCM/PVkxjN/IAUeoHKFm+ZJ2Sz0YxsczUX9C8KVTt6/Vsrci2658wMkqSD0EzCtffkyWIENnFdRy8xUmSwa830+4UeVu4= 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 161046991151516.097560508648712; Tue, 12 Jan 2021 08:45:11 -0800 (PST) Received: from localhost ([::1]:37764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzMn8-00007J-Dj for importer@patchew.org; Tue, 12 Jan 2021 11:45:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzMjF-0003os-NR for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:09 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:52918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kzMjD-00011c-So for qemu-devel@nongnu.org; Tue, 12 Jan 2021 11:41:09 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-138-e-TPr4ohP4ez-K8bjLIrdQ-1; Tue, 12 Jan 2021 11:41:03 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 497E0805EE3; Tue, 12 Jan 2021 16:41:01 +0000 (UTC) Received: from thuth.com (ovpn-112-184.ams2.redhat.com [10.36.112.184]) by smtp.corp.redhat.com (Postfix) with ESMTP id 736885D9CD; Tue, 12 Jan 2021 16:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610469667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElPS/L46AyPPgIP7hzlOqkVhWoHQ6xUx/U5otR12FKQ=; b=LiAYnawxlFd38ilkia5mpz2CXoX/TllafuPmWoLfUDthO2Kdni2B/dgGcPtcC7dxAOIcKR g1DsZqzlfiWJ6IOJVIvOwCxuTy1cWU8DZaEVr5TWxv/CXZ6aFl/l2c61QMDjDNigeMwk6x DJlU0ABGEa4ud8IkiDrY4lfcyZPIbIY= X-MC-Unique: e-TPr4ohP4ez-K8bjLIrdQ-1 From: Thomas Huth To: qemu-devel@nongnu.org, David Gibson , Greg Kurz Subject: [PATCH 3/3] tests/acceptance: Add a test for the virtex-ml507 ppc machine Date: Tue, 12 Jan 2021 17:40:45 +0100 Message-Id: <20210112164045.98565-4-thuth@redhat.com> In-Reply-To: <20210112164045.98565-1-thuth@redhat.com> References: <20210112164045.98565-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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=63.128.21.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.251, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=20Mathieu-Daud=C3=A9?= , qemu-ppc@nongnu.org, Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The "And a hippo new year" image from the QEMU advent calendar 2020 can be used to test the virtex-ml507 ppc machine. Signed-off-by: Thomas Huth Acked-by: David Gibson Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo --- tests/acceptance/machine_ppc.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/acceptance/machine_ppc.py b/tests/acceptance/machine_ppc= .py index 71025d296c..a836e2496f 100644 --- a/tests/acceptance/machine_ppc.py +++ b/tests/acceptance/machine_ppc.py @@ -49,3 +49,21 @@ class PpcMachine(Test): self.vm.launch() wait_for_console_pattern(self, 'QEMU advent calendar 2020', self.panic_message) + + def test_ppc_virtex_ml507(self): + """ + :avocado: tags=3Darch:ppc + :avocado: tags=3Dmachine:virtex-ml507 + """ + tar_url =3D ('https://www.qemu-advent-calendar.org' + '/2020/download/hippo.tar.gz') + tar_hash =3D '306b95bfe7d147f125aa176a877e266db8ef914a' + file_path =3D self.fetch_asset(tar_url, asset_hash=3Dtar_hash) + archive.extract(file_path, self.workdir) + self.vm.set_console() + self.vm.add_args('-kernel', self.workdir + '/hippo/hippo.linux', + '-dtb', self.workdir + '/hippo/virtex440-ml507.dt= b', + '-m', '512') + self.vm.launch() + wait_for_console_pattern(self, 'QEMU advent calendar 2020', + self.panic_message) --=20 2.27.0