From patchwork Wed Oct 3 18:30:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10625173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3564418A7 for ; Wed, 3 Oct 2018 18:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2563428FDC for ; Wed, 3 Oct 2018 18:38:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18FEA28FE8; Wed, 3 Oct 2018 18:38:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BF30B28FEA for ; Wed, 3 Oct 2018 18:38:45 +0000 (UTC) Received: from localhost ([::1]:51860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7m2n-0008Ln-0X for patchwork-qemu-devel@patchwork.kernel.org; Wed, 03 Oct 2018 14:38:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7m16-0006oB-I8 for qemu-devel@nongnu.org; Wed, 03 Oct 2018 14:37:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7lvG-0000kg-NT for qemu-devel@nongnu.org; Wed, 03 Oct 2018 14:31:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54592) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7lvG-0000jz-FA for qemu-devel@nongnu.org; Wed, 03 Oct 2018 14:30:58 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BA9E983F3D for ; Wed, 3 Oct 2018 18:30:57 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-135.brq.redhat.com [10.40.204.135]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 497F984F8; Wed, 3 Oct 2018 18:30:44 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Cleber Rosa , Eduardo Habkost , Caio Carrara Date: Wed, 3 Oct 2018 20:30:33 +0200 Message-Id: <20181003183036.6716-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 03 Oct 2018 18:30:57 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [RFC PATCH v2 0/3] acceptance tests: Test firmware checking debug console output X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Laszlo Ersek , Gerd Hoffmann Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, This RFC series add simple acceptance tests which boot SeaBIOS and EDK2 on the pc and virt/aarch64 default machines Still PoC but can be useful for the Avocado team to test the multi-arch targets. Since v1: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg03780.html - more Pythonic context managers (Cleber) - use wait_for (Cleber) - use workdir (Cleber) - use Avocado 65.0 "-p" option for aarch64 (Cleber) - fixed Q35 incorrect description in cover (Laszlo) - use ArmVirtQemu name (Laszlo) Next: - address Laszlo comments about correct QEMU options and flash images - use FDDrainer - refactor common code in setUp() - use new avocado.utils.archive gzip features (Cleber) - test x86_64/aarch64 'arch' tags (Cleber) - build EDK2 flash images (Laszlo) - include variable store flash image (Laszlo) - use virtual disk with UEFI shell script (Laszlo) - improve OVMF binary selection (releases / snapshots) (Laszlo) - check ISO images (Laszlo -> Cleber) - add aexpect tests (Cleber?) Regards, Phil. Philippe Mathieu-Daudé (3): acceptance tests: Add SeaBIOS boot and debug console checking test acceptance tests: Add EDK2 OVMF boot and debug console checking test acceptance tests: Add EDK2 ArmVirtQemu boot and console checking test tests/acceptance/boot_firmware.py | 159 ++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 tests/acceptance/boot_firmware.py