[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/12] acpi/tests/bits: disable smilatency test since it does not
From: |
Ani Sinha |
Subject: |
[PATCH 07/12] acpi/tests/bits: disable smilatency test since it does not pass everytime |
Date: |
Mon, 27 Jun 2022 12:58:51 +0530 |
smilatency test is latency sensitive and does not pass deterministically when
run in QEMU environment under biosbits. Disable the test suite for now.
Example failure:
==== SMI latency test ====
Warning: touching the keyboard can affect the results of this test.
Starting test. Wait here, I will be back in 15 seconds.
[assert] SMI latency < 150us to minimize risk of OS timeouts FAIL
1us < t <= 10us; average = 1372ns; count = 10912449
Times between first few observations: 176us 1646ns 1441ns 1450ns 1462ns
10us < t <= 100us; average = 16us; count = 1187
Times between first few observations: 15ms 3148us 5856us 49ms 33ms
100us < t <= 1ms; average = 259us; count = 8
Times between first few observations: 111ms 2227ms 1779ms 999ms 219ms
0 SMI detected using MSR_SMI_COUNT (MSR 0x34)
Summary of impact: observed maximum latency = 298us
Summary: 0 passed, 1 failed
Signed-off-by: Ani Sinha <ani@anisinha.ca>
---
tests/qtest/acpi-bits/bits-tests/smilatency.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/qtest/acpi-bits/bits-tests/smilatency.py
b/tests/qtest/acpi-bits/bits-tests/smilatency.py
index fb1b7228e3..53b5f820a5 100644
--- a/tests/qtest/acpi-bits/bits-tests/smilatency.py
+++ b/tests/qtest/acpi-bits/bits-tests/smilatency.py
@@ -33,8 +33,9 @@
import usb
def register_tests():
- testsuite.add_test("SMI latency test", smi_latency);
- testsuite.add_test("SMI latency test with USB disabled via BIOS handoff",
test_with_usb_disabled, runall=False);
+ pass
+ # testsuite.add_test("SMI latency test", smi_latency);
+ # testsuite.add_test("SMI latency test with USB disabled via BIOS
handoff", test_with_usb_disabled, runall=False);
def smi_latency():
MSR_SMI_COUNT = 0x34
--
2.25.1
- Re: [PATCH 00/12] Introduce new acpi/smbios qtests using biosbits, (continued)
[PATCH 00/12] Introduce new acpi/smbios qtests using biosbits, Ani Sinha, 2022/06/27
[PATCH 05/12] acpi/tests/bits: disable acpi PSS tests that are failing in biosbits, Ani Sinha, 2022/06/27
[PATCH 06/12] acpi/tests/bits: add smilatency test suite from bits in order to disable it, Ani Sinha, 2022/06/27
[PATCH 07/12] acpi/tests/bits: disable smilatency test since it does not pass everytime,
Ani Sinha <=
[PATCH 08/12] acpi/tests/bits: add biosbits config file for running bios tests, Ani Sinha, 2022/06/27
[PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Ani Sinha, 2022/06/27
- Re: [PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Thomas Huth, 2022/06/28
- Re: [PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Ani Sinha, 2022/06/28
- Re: [PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Thomas Huth, 2022/06/28
- Re: [PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Michael S. Tsirkin, 2022/06/28
- Re: [PATCH 09/12] acpi/tests/bits: add acpi and smbios python tests that uses biosbits, Thomas Huth, 2022/06/28
[PATCH 11/12] acpi/tests/bits: add README file for bits qtests, Ani Sinha, 2022/06/27