From patchwork Fri Nov 11 12:31:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ani Sinha X-Patchwork-Id: 13040277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BBC3C433FE for ; Fri, 11 Nov 2022 12:32:03 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otTBy-00008u-27; Fri, 11 Nov 2022 07:31:30 -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 1otTBv-00008Y-9M for qemu-devel@nongnu.org; Fri, 11 Nov 2022 07:31:27 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otTBt-0004np-Jb for qemu-devel@nongnu.org; Fri, 11 Nov 2022 07:31:27 -0500 Received: by mail-pf1-x430.google.com with SMTP id z26so4806620pff.1 for ; Fri, 11 Nov 2022 04:31:24 -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=LFR6YxEE4rEtvs8RF1SO5pq8xTjjIT/h7YDoNcp+bW0=; b=LehIN7KZKl7ndDb50VRFfSUCPlOOhy1J2TXGpzc2L1rTUhIPbaUqoblaCYCLrXqzFW 1FbbxCxh/L41gljA0iphUJzF2vKtjdupWOrEk3MqZSEG/8Zc4arsH9sTu0kNcwFw51tR B6d0NI80XriJMRQf1jlGJrNOGg52rAoeZUw2J68/C6A1myRCfKYUP2pDo72Bw5gSRxnc gbnMcUDudzxz8bepqTovHNWJ9ynS7wNMDDwY9bpAM9/cJ3d4Fr0HYFIKK9WDjRDYRK3o 9HNIHV9F1w2Jg/lbvc3KL6bhs52b8KMib3gv+bwdIZI6FW3Qb2E5WRSYWbdMFReEo+Rt VlMg== 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=LFR6YxEE4rEtvs8RF1SO5pq8xTjjIT/h7YDoNcp+bW0=; b=lYbO6foXJaqoHcf5xczv5s7rmJzw5E1nwZy3DMAROZEqm6eCUHd1fr87J+TMtgdxGS +WhaLT/r7Gn/D5vgKYbn+IIvCWfrWDywqLqFjg2JEBkF3VlYxOYn+HeMRPzdRexffiaa Zi2DSN9r4hCxLKMcbJV7V+bN2npQs1Ny5LEbzFSXKXuc1BKcF+yupR7ayeYURURabI2s Dfn+KSnPK0wRwCXOhGReVmqJGquhKli6CElvKbw2cjgUzFZlKxaQtyZh5Wt7Yv4cF21k n7g6WPRnKfwawtV6v8ZRh/4MKM3BaMRCzhaMpYOfPPDYrwXKD8stSYRXsUgCdzLAfjsd fldA== X-Gm-Message-State: ANoB5pm3kWOZHoO4QqRyQ1d9i/VRlBDpTZymwOwdtpqDiCn56xk573bJ c8ZekGJrN81AzVCi0kQs8pF7Eg== X-Google-Smtp-Source: AA0mqf5nikmw782+/MDCAkLJqXRuTJ3wcpwTUoGBL/HhUDCyGd9DGnkof0IE3byv9YM5e9b3gMFvSg== X-Received: by 2002:a05:6a00:10c8:b0:56d:2317:4565 with SMTP id d8-20020a056a0010c800b0056d23174565mr2417226pfu.54.1668169883321; Fri, 11 Nov 2022 04:31:23 -0800 (PST) Received: from anisinha-lenovo.ba.nuagenetworks.net ([115.96.143.216]) by smtp.googlemail.com with ESMTPSA id v129-20020a622f87000000b0056bf24f0837sm1465453pfv.166.2022.11.11.04.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 04:31:22 -0800 (PST) From: Ani Sinha To: Ani Sinha , Cleber Rosa , =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Cc: Thomas Huth , qemu-trivial@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH v2] acpi/tests/avocado/bits: some misc fixes Date: Fri, 11 Nov 2022 18:01:08 +0530 Message-Id: <20221111123108.1231451-1-ani@anisinha.ca> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::430; envelope-from=ani@anisinha.ca; helo=mail-pf1-x430.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=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Most of the changes are trivial. The bits test timeout has now been increased to 110 seconds in order to accommodate slower systems and fewer unnecessary failures. Removed of the reference to non-existent README file in docs. CC: Thomas Huth CC: qemu-trivial@nongnu.org Signed-off-by: Ani Sinha Reviewed-by: Thomas Huth --- changed from v1: address Thomas' suggestions. docs/devel/acpi-bits.rst | 7 +++---- tests/avocado/acpi-bits.py | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/devel/acpi-bits.rst b/docs/devel/acpi-bits.rst index c9564d871a..2c776ab166 100644 --- a/docs/devel/acpi-bits.rst +++ b/docs/devel/acpi-bits.rst @@ -38,10 +38,9 @@ Under ``tests/avocado/`` as the root we have: │ ├── bits-config │ │ └── bits-cfg.txt │ ├── bits-tests - │ │ ├── smbios.py2 - │ │ ├── testacpi.py2 - │ │ └── testcpuid.py2 - │ └── README + │ ├── smbios.py2 + │ ├── testacpi.py2 + │ └── testcpuid.py2 ├── acpi-bits.py * ``tests/avocado``: diff --git a/tests/avocado/acpi-bits.py b/tests/avocado/acpi-bits.py index 8745a58a76..2edc36fc26 100644 --- a/tests/avocado/acpi-bits.py +++ b/tests/avocado/acpi-bits.py @@ -385,8 +385,9 @@ def test_acpi_smbios_bits(self): self._vm.launch() # biosbits has been configured to run all the specified test suites # in batch mode and then automatically initiate a vm shutdown. - # sleep for maximum of one minute - max_sleep_time = time.monotonic() + 60 + # sleep for maximum of a minute and 50 seconds in order to accommodate + # even slower test setups. + max_sleep_time = time.monotonic() + 110 while self._vm.is_running() and time.monotonic() < max_sleep_time: time.sleep(1)