From nobody Thu May 9 08:18:45 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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 ARC-Seal: i=1; a=rsa-sha256; t=1668663507; cv=none; d=zohomail.com; s=zohoarc; b=QWctCsMMi9du/ba+c4GZ9WmBAUmvCMwL+3xASWpdBnTk0xp8gFOl49ZcRoIRR9dR2XuiM+86Z1AVJy+YtDQf7w0VX0lgi3F7a++a96XPk/ypdkQOkjkkNcZFY7ZRTZqo1d1FKDc67Mfdn4k2DOx4T9RRVSEYFMDemiui/fk6cqk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1668663507; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=PNJskpCv5bZH7FJsEWQg4Ok2Mg4NZEtrtXSnwsK7iFg=; b=Ih3A/suMT9XITCx8ial4hB6lbaS2oZ1QnhZq9uW7h4RrCS5J97j3pFV/z7PTB3p+/b0q69tXxrvjYx6OZD5GVrVrYIIt6QzPQYFHgB4z3bSfTb5uEKDrW7DsX1Gr8cseDkMmy5jwhZ0PKwMhvdhZ9W/T8RQJB2MBnH289ya8wKM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1668663507377545.6606013284181; Wed, 16 Nov 2022 21:38:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovXaF-0005gc-5P; Thu, 17 Nov 2022 00:37:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovXa9-0005fa-NZ for qemu-devel@nongnu.org; Thu, 17 Nov 2022 00:37:01 -0500 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovXa7-00072v-TK for qemu-devel@nongnu.org; Thu, 17 Nov 2022 00:37:01 -0500 Received: by mail-qv1-xf36.google.com with SMTP id h10so543630qvq.7 for ; Wed, 16 Nov 2022 21:36:59 -0800 (PST) Received: from anisinha-lenovo.apac.nsn-net.net ([131.228.104.90]) by smtp.googlemail.com with ESMTPSA id de43-20020a05620a372b00b006fbb4b98a25sm1708299qkb.109.2022.11.16.21.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 21:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anisinha-ca.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PNJskpCv5bZH7FJsEWQg4Ok2Mg4NZEtrtXSnwsK7iFg=; b=RwaXxBJymzsMH4BU6IC0jKI483hLzpcbTyBcWCGq339LGPH8P1sLHOfe87XC0yszsj I8PJT7eEj8+1sL9prdlM4z0hbwCNHM0X6wNoB+X2J+J7Ns3EA9G2xKA22JduS0VNtCWp yweASgUia7gyBWejkB6cyb6gqbFjtbSo33lb3dR5GNZ9KSLcnslga/QK4edTGVnwXh70 cfnFl2WijFUET5I/aPlh1lfzL5qEURa2jzPTopONHYiSNgOMv9WqKDejEIbn2aZvtEzN b7GxF56kkmRhFxW6HyU2n/pzVRbyKP4z4sDzYzv0qYRzGqwQDB8YF/MgKhJoHeG4XU96 Gg1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PNJskpCv5bZH7FJsEWQg4Ok2Mg4NZEtrtXSnwsK7iFg=; b=lrhXubiv15+Vpf1W8BOM8VhVR+/e2fXt4SEDZk2clEfouExt83PsLMT/Vqyb+MMiD6 w03Lqyy/PPCwv5dDZK1WTjN4ndh2RQr8mUs/XXpf9ICrMdMldC68F7rpLjAMzwlretb8 94JElr5N9LKxwOcBuYooBsrDXUzn14CAdaajmTYPIf0d6UBCnIZpKL8S8dvLp3PS545M qvRWrzc72Xp3z7igHx/TCMNhp7d0uFhfKDFtQFNMEm3yvnL164CZun4k+H8h3JwQoQcW YYdPgMiso0UAsPDht2i/+Mti4mo/Rj6399ouF+EBgkFaBbNQ6nj8rXEX2AgpgThVKYZy 0ETg== X-Gm-Message-State: ANoB5pm+f/7LenTUw5DDVGdMqbwE3Q2kZX0gC9yLSrpHOwrMZTBmeVI9 Q1bGGaX3P18iP0QceK0KhZ9pyg== X-Google-Smtp-Source: AA0mqf5ShAm7t9HHtz7qYe1g4YDE9LcUUU1K+iOJ/S+qS5p13V1FaynjrGxCeksJjCGXQclQizzriw== X-Received: by 2002:a0c:f208:0:b0:4b1:ae16:ee41 with SMTP id h8-20020a0cf208000000b004b1ae16ee41mr1366133qvk.0.1668663418499; Wed, 16 Nov 2022 21:36:58 -0800 (PST) From: Ani Sinha To: Ani Sinha , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Cc: Thomas Huth , "Michael S . Tsirkin" , qemu-trivial@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH v5] acpi/tests/avocado/bits: some misc fixes Date: Thu, 17 Nov 2022 11:06:44 +0530 Message-Id: <20221117053644.516649-1-ani@anisinha.ca> X-Mailer: git-send-email 2.34.1 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: none client-ip=2607:f8b0:4864:20::f36; envelope-from=ani@anisinha.ca; helo=mail-qv1-xf36.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @anisinha-ca.20210112.gappssmtp.com) X-ZM-MESSAGEID: 1668663509715100003 Most of the changes are trivial. The bits test timeout has now been increas= ed to 200 seconds in order to accommodate slower systems and fewer unnecessary failures. Removed of the reference to non-existent README file in docs. Some minor corrections in the doc file. CC: Thomas Huth CC: Michael S. Tsirkin CC: qemu-trivial@nongnu.org Signed-off-by: Ani Sinha Reviewed-by: Thomas Huth --- docs/devel/acpi-bits.rst | 12 ++++-------- tests/avocado/acpi-bits.py | 3 +++ 2 files changed, 7 insertions(+), 8 deletions(-) changes from v1: address Thomas' suggestions. changes from v2: more minor corrections in doc, tags added. changes from v3: raised timeout to 200 secs overriding the default avocado timeout of 120 secs. changes from v4: rebased to adjust for changes from john's patch=20 https://www.mail-archive.com/qemu-devel@nongnu.org/msg921975.html diff --git a/docs/devel/acpi-bits.rst b/docs/devel/acpi-bits.rst index c9564d871a..56e76338c3 100644 --- a/docs/devel/acpi-bits.rst +++ b/docs/devel/acpi-bits.rst @@ -16,11 +16,8 @@ end user. The other is that we have more control of what= we wanted to test and how by directly using acpica interpreter on top of the bios on a runni= ng system. More details on the inspiration for developing biosbits and its re= al life uses can be found in [#a]_ and [#b]_. -This directory contains tests written in python using avocado framework th= at -exercises the QEMU bios components using biosbits and reports test failure= s. For QEMU, we maintain a fork of bios bits in gitlab along with all the -dependent submodules: -https://gitlab.com/qemu-project/biosbits-bits +dependent submodules here: https://gitlab.com/qemu-project/biosbits-bits This fork contains numerous fixes, a newer acpica and changes specific to running this avocado QEMU tests using bits. The author of this document is the sole maintainer of the QEMU fork of bios bits repo. @@ -38,10 +35,9 @@ Under ``tests/avocado/`` as the root we have: =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 bits-config =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 bits-cfg.txt =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 bits-tests - =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 smbios.py2 - =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 testacpi.py2 - =E2=94=82 =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 testcpuid.py2 - =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 README + =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 smbios.py2 + =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 testacpi.py2 + =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 testcpuid.py2 =E2=94=9C=E2=94=80=E2=94=80 acpi-bits.py =20 * ``tests/avocado``: diff --git a/tests/avocado/acpi-bits.py b/tests/avocado/acpi-bits.py index dd1f238ae2..ec2261893d 100644 --- a/tests/avocado/acpi-bits.py +++ b/tests/avocado/acpi-bits.py @@ -134,6 +134,9 @@ class AcpiBitsTest(QemuBaseTest): #pylint: disable=3Dto= o-many-instance-attributes :avocado: tags=3Dacpi =20 """ + # in slower systems the test can take as long as 3 minutes to complete. + timeout =3D 200 + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._vm =3D None --=20 2.34.1