Files
Filip Gołaś 6bb23b0023 Sync with internal develop (#1258)
commit 11383f4f295d0a1511344eff4f52acd167f02687
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 10 06:22:24 2026 +0100

    fwupd-support.robot: Add missing Power On in local firmware update

    Only affects devices with power control which might stay powered off
    after the update

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a94c0b091355a0e383a8db54ee8bdb4b01ac1448
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 10:29:00 2026 +0100

    fwupd tests: Workaround for changing system firmware device name

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a0138c9c59f712f1ff6704fff1907e675ae8af5e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Mar 4 06:41:51 2026 +0100

    fwupd.resource: Fix AC detection workaround for laptop & no battery

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a866fa664a1a86bc12241cb3422d734b81e1ce2c
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 09:53:34 2026 +0100

    Qubes OS: Replace all occurrences of 'QubesOS' with 'Qubes OS'

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit fdc00c8dade6c0714ae3016466f5d22bfc773d53
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 09:00:24 2026 +0100

    fwupd-support.robot: Add workaround for get-updates asking for uploading results

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 61b618223e1743f8c63a6e97893c1c2691026ef2
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 08:42:58 2026 +0100

    scripts/lib/robot.sh: Fix no tags producing `[""]` instead of `[]`

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 27e51ad032e7d4d79131ee817bf48693a496bd8d
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 08:20:47 2026 +0100

    fwupd tests: Add dynamic semiauto tags checks

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 67c12fdafea6c81fa4565e58b4bc78db09141411
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 07:59:12 2026 +0100

    lib/fwupd.resourc: Add output for ac not connected in  subcommand

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b26e21cfe3399e364917d4465f572abc9c662c31
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 07:36:44 2026 +0100

    fwupd tests: Separate common battery workaround code into lib

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit abb84d7f5c4ea778df688b53d580017cea91038a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 07:09:09 2026 +0100

    squash! fwupd tests: Add battery discharge workaround

    Unify battery discharge time in both fwupd suites

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 67e9e08463ef7dad0084bf02afabce8d75146775
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 25 08:22:49 2026 +0100

    fwupd tests: Add battery discharge workaround

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7b9359a09c7cc45c951525550807c2b671919050
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 25 08:22:02 2026 +0100

    fwupd-support.robot: Add more test cases

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 27780e1bdfc740c03f35a25d39da696c9b004eb2
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Mar 11 14:03:08 2026 +0100

    README.md: Replace instability warning with suggestion to use release tags

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1c9d25621f
Author: Michał Kopeć <michal.kopec@3mdeb.com>
Date:   Thu Feb 12 12:28:22 2026 +0100

    docs/novacustom.md: add link to ec downgrade procedure

    Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>

commit fe73d19deb
Author: Michał Kopeć <michal.kopec@3mdeb.com>
Date:   Thu Oct 30 13:13:02 2025 +0100

    docs/novacustom.md: document v0.9.0 downgrade bug

    Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>

commit 2e517d8a46
Author: Wiktor Mówiński <wiktor.mowinski@3mdeb.com>
Date:   Tue Feb 24 14:44:42 2026 +0100

    test_cases.json:fix net spd test (#1247)

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

commit e11604b03a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 10:58:52 2026 +0100

    test_cases.json: Add missing tests and fix changed_to's (#1246)

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b9fb65a212
Author: Wiktor Mówiński <wiktor.mowinski@3mdeb.com>
Date:   Mon Feb 23 09:38:58 2026 +0100

    test_cases.json: fix spelling and such (#1244)

    * test_cases.json: fix spelling and such

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    test_cases.json: fix

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * test_cases.json: fixname

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * test_cases.json:remaining tests

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * test_cases.json: add WLE

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * check_tests_consistency.py: script lists diffs in test_cases.json and modules

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * dasharo-compatibility/*:fix

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    * test_cases.json: fix

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

    ---------

    Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>

commit 9d2f1c6e64
Merge: ac35515f21 c62f6e7283
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 09:17:16 2026 +0100

    Merge pull request 'osfv-stable-release-improvements' (#3) from osfv-stable-release-improvements into develop

    Reviewed-on: https://git.3mdeb.com/dasharo/open-source-firmware-validation/pulls/3

commit c62f6e7283
Merge: a8a11ed08e ac35515f21
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 09:16:09 2026 +0100

    Merge branch 'develop' into osfv-stable-release-improvements

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a8a11ed08e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 08:44:50 2026 +0100

    Login To Booted OS: Fix continuing on fail to login

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d1f032a006
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 08:34:25 2026 +0100

    cpu-performance: Fix FORCE_TIMES_TO_RUN envvar set command

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit cd3c48cf53
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Mar 6 06:48:37 2026 +0100

    scripts/regression.sh: Fix scope change

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 23334fa5c9
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 14:38:10 2026 +0100

    release_tests_devices.tst: Revert using temporary desk setup devices

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 89be9ac5b8
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Mar 3 09:39:29 2026 +0100

    osfv_stability_reports.py: Differentiate run dates in caches and reports

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 5862e59fe0
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 26 20:28:15 2026 +0100

    osfv_stability_reports.py: Add per-suite cache

    For suites which take a long long time to process,
    to not lose the time spent processing it if the
    processing is interrupted

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 9b2f3dd458
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 10:36:43 2026 +0100

    release_tests_rules.json: Add automated tag filter

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 42197f4b4d
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 10:33:40 2026 +0100

    develop_pr_auto_regression.py: Fix orphan robot processes

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit c025d2a2a4
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 10:07:57 2026 +0100

    scripts/ci/regression-scope: Preserve suites order

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7f2743c744
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 09:43:57 2026 +0100

    osfv_stability_run.py: Fix logs_base undefined on custom logs dir

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1ea7418873
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 09:42:31 2026 +0100

    develop_pr_auto_regression.py: Only compare revs if files list not overridden

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 5dc73bf952
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 09:40:43 2026 +0100

    dts-lib.robot: Add semiauto test skip for flashing kwd

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d28043c8df
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 08:48:40 2026 +0100

    release_tests_suite_list.txt: Use util/prepare-platform instead of module inits

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit fd6c5030d5
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 08:47:34 2026 +0100

    util/prepare-platform.robot: Add util test for running Prepare Platform

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 813e27fe1c
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 08:47:02 2026 +0100

    lib/prepare-platform.resource: Unify redundant Prepare Platform definitions

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 8433e4fa3a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 23 06:39:23 2026 +0100

    release_tests_suite_list.txt: Remove duplicated __init__s

    robot crashes otherwise

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 4c7fbb3181
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 20 15:09:20 2026 +0100

    SSH Login keywords: Limit retries to 5m instead of fixed try count

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 0059a2c65a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 20 12:57:03 2026 +0100

    keywords.robot: Fix ssh_retries being passed as timeout

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d23fe71cd3
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 20 11:46:24 2026 +0100

    release_tests_devices.txt: Remove nucbox

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 03c100ef32
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 19 21:27:22 2026 +0100

    Login To Booted OS: Fix infinite recovery loop

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a71088123f
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 09:14:46 2026 +0100

    novacustom-nuc_box-155H_00254.json: Update device IP

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 64a2212ef8
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 08:57:15 2026 +0100

    novacustom-v540tnd_00266.json: Update device ip

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b534fb4461
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 08:40:22 2026 +0100

    manual_cpu_performance.robot: Limit runs to 3

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 9d77293ff3
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 08:29:48 2026 +0100

    cpu-performance.robot: Limit test runs to 3

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a696e896f9
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 07:56:06 2026 +0100

    SSH Boot System: Always reinit connection to fix 'No open connections' errors

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit ae8e33eedb
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 07:28:13 2026 +0100

    lib/flash.robot: Read Firmware include ME and IFD

    We might assume the read firmware contains some IFD
    or ME later, not reading them would result in a brick
    and doesn't increase the read time that much.

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 37daf5a624
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 07:17:41 2026 +0100

    BPS006: Put temp tiles in /tmp to prevent littering if cleanup fails

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e182f312fc
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Wed Feb 18 07:17:16 2026 +0100

    lib/dcu.robot: Put temp tiles in /tmp to prevent littering if cleanup fails

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 51d341c107
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 16:09:16 2026 +0100

    platform-configs/novacustom: Update dmidecode values

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit cb7e258cc2
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 16:07:43 2026 +0100

    platform-configs/pcengines: Update dmidecode values

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 0e19931887
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 16:02:24 2026 +0100

    verified-boot.robot: Run DCU locally to keep DUT from downloading containers

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit c47d9a8358
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 12:45:57 2026 +0100

    tpm-support.robot: Add missing skips for serial-only tests

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 3b11971f16
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 12:37:33 2026 +0100

    osfv-test-data: Bump version

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d860093340
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 10:11:42 2026 +0100

    uefi-shell.robot: Use library keywords to perform test

    Otherwise it was failing on MSI z690.
    It's always better to use common and working
    keywords instead of reinventing the wheel.

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 951b42230b
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 09:27:40 2026 +0100

    msi-z690-common.robot: Change keyboard model to fit hardware matrix

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 82bff0f0c2
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 17 09:19:36 2026 +0100

    novacustom-nu_box-155H_00254.json: Update device IP

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b065131117
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 12:33:29 2026 +0100

    release_tests_devices.txt: Fix protectli vp6650 filename

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 2c21040937
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 12:32:22 2026 +0100

    BPS006: Add workaround for sudo-rs which is incompatible with ansible

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 468c722fca
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 12:30:23 2026 +0100

    linux-packages-playbook.yaml: accept gsettings modifications to fail

    will fail if Gnome is not installed (server OSes)

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 5df4832616
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 12:29:00 2026 +0100

    menus.robot: Add warning if OS not found and will try to boot the default disk

    Otherwise leads to cryptic fails failing because some disk name was not
    found, while the real culprit is the OS not being installed.

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 57a10e20ff
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 10:17:45 2026 +0100

    ci//pcengines-apu3_00252.json: Update device IP address

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 201c4b231a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 09:44:22 2026 +0100

    keys-and-keywords/ubuntu-keywords.robot: Fix applying log level immediately

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e6ed2a1adf
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 09:10:28 2026 +0100

    protectli-vp6650_00002.json: Update sonoff ip

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 4327625702
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 08:25:32 2026 +0100

    platform-configs/protectli: Reduce repeated DMIDECODE values

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 57ae4c7f56
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 16 08:10:05 2026 +0100

    ci//pcengines-apu3_00252.json: Fix FW file apu variant

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 6ee3180ee9
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Sat Feb 14 19:20:02 2026 +0100

    capsule-update.robot: Fix mismatch in waiting for tianocore string

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit ac70cd4b5e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Sat Feb 14 14:45:57 2026 +0100

    capsule-update.robot: Make FUM screen optional, it depends on FW version

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 556c750018
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Sat Feb 14 14:45:20 2026 +0100

    lib/network.robot: Add sync on the end to prevent interrupting the file transfer

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 080a47375b
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Sat Feb 14 12:03:01 2026 +0100

    Revert "lib/network.robot: Rm target path before moving"

    This reverts commit 3bca42177f528f17eba13095dff0189a932fce8d.

commit d696e942dd
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 17:32:54 2026 +0100

    lib/network.robot: Rm target path before moving

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 45f892d25c
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 17:00:26 2026 +0100

    capsule_update_tests.sh: Remove only previous run files of the same name

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d32f0be6d1
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 16:50:00 2026 +0100

    capsule-update.robot: Adjust for execution on both serial and ssh

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit fe86280f3c
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 15:26:02 2026 +0100

    capsule-update.robot: Restore FUM dialog handling when serial console supported

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 8c3377c627
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 11:36:49 2026 +0100

    keywords.robot: Login To Booted OS: Only attempt recover when via pure SSH

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7909028153
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 10:17:18 2026 +0100

    keywords.robot: Fix Login To Linux With Root Priviledges doing nothing on serial

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit f0f79b38eb
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 09:34:29 2026 +0100

    lib/flash.robot: Increase response timeout after flash to 300s

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7c31ddcfa2
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 09:09:13 2026 +0100

    msi-pro-690-a-wifi-ddr4_00039.json: change fw version to support custom logo

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit fb462a29ba
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 08:44:51 2026 +0100

    lib/dcu.robot: Prevent temp file collisions with uuids

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit da5a7d4865
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 08:34:25 2026 +0100

    requirements.txt: Bump osfv-scripts to fix time import

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit f4c7a10498
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 13 07:38:41 2026 +0100

    capsule-update.robot: Restore custom logo checking

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit cc4bd2981e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 19:00:58 2026 +0100

    release_tests_suite_list*: Add Basic Platform Setup to release tests

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a30afe2d55
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 18:42:54 2026 +0100

    capsule-update.robot: Remove redundant serial console test flow

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 73c3f50c4e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 18:40:51 2026 +0100

    keyword & options-lib_dcu: Remove redundant Login To Windows keyword variant

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 870a899283
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 18:03:50 2026 +0100

    capsule-update.robot: Remove manual step from Flash Firmware If Not QEMU

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 12f0437d73
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 17:21:07 2026 +0100

    regression-scope/configs/devices: Add capsule update env vars

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 9a8b614abb
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 17:20:42 2026 +0100

    flash.robot: Flash FD using internal programmer to avoid FD mismatch bricks

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1841da3665
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 17:19:15 2026 +0100

    novacustom-nuc_box.robot: Remove capsule update support: No capsules published

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 79efc50191
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 15:18:44 2026 +0100

    capsule-update.robot: Rework suite to work without additional manual setup steps

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a89dae5b81
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 14:54:35 2026 +0100

    keywords.robot: Fix Login To Linux Via SSH not doing retries

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7961884d86
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 14:54:05 2026 +0100

    lib/flash.robot: Increase timeouts a bit to compensate for large RAM training

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 68cf70bc11
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:30:38 2026 +0100

    lib/flash.robot: Flash ME in BTG supported devices

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b75a681a80
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:30:00 2026 +0100

    keywords.robot: Load OS Credentials: Remove redundant OS login

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e3b4f853c4
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:29:30 2026 +0100

    options-lib_dcu.robot: Remove redundant sleep in Set UEFI Option

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 738c518ca9
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:28:47 2026 +0100

    platform-configs: Update INTEL_CBNT_BOOTGUARD_FUSING_SUPPORT state

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 9c375275ba
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:27:12 2026 +0100

    lib/network.robot: Send File To DUT: check hashes, rm before send

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1cc26c8c8a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 13:26:09 2026 +0100

    lib/dcu.robot: Remove redundant sleep after flashing

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit c28a691773
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 12:57:14 2026 +0100

    Revert "TMP TEST: reduce trials for linux login"

    This reverts commit d41693da2a3a600beb7a4a26d95f6e7f90a2430a.

commit 31558818c9
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Thu Feb 12 10:51:33 2026 +0100

    capsule-update.robot: Flash rc0 before tests, update instructions

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit a93ad4dfc3
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 14:56:20 2026 +0100

    Login To* kwds: Add configurable retries amount for ssh variants

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 798f414c57
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 13:30:24 2026 +0100

    lib/flash.robot: Fix missing 'x' in Wait Unil KW Succeeds

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 5112388285
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 13:28:57 2026 +0100

    options-lib_dcu.robot: Boot System... Do not assume default_boot is the target

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit cd218ea212
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 13:03:46 2026 +0100

    Recover Broken Bootorder: resume login after recover

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1ec4d06a06
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 13:01:19 2026 +0100

    Load OS Credentials: Create keyword for flaky repeated import

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 68c227185a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 12:59:49 2026 +0100

    Set Nextboot Bootentry: Move implementation to lib/custom_boot_entries

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e1617a7bb5
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 12:26:42 2026 +0100

    basic-platform-setup.robot: Normalize Boot&Login keyword variants usage in suite

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e72ade0798
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 12:22:15 2026 +0100

    TMP TEST: reduce trials for linux login

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit b53c7638cb
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 12:15:55 2026 +0100

    Login To Windows Via SSH: Fail if login fails

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 43a852d863
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:55:58 2026 +0100

    linux-packages-playbook.yaml: Add systemwide update task

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 2bc0735e7a
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:55:11 2026 +0100

    BPS010: Deploy UEFI Shell: Add

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 6ea5a15f91
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:25:50 2026 +0100

    Ensure Custom Bootentry: fix indexing empty list

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 91b5b8f675
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:17:07 2026 +0100

    keywords.robot: Implement login to OS recovery

    When the boot order unexpectedly changes and testing via SSH,
    the whole regression will start failing.

    With this fallback, after we fail to log in to an OS, there
    will at least be the hope of recovering the regression
    eventually.

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 31d92cc5dc
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:01:06 2026 +0100

    Login To Windows Via SSH: Reduce login timeout from 1h@20 tries to 5m@5 tries

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit c97145ea33
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 09:34:58 2026 +0100

    fix login ssh timeouts

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit e25474b8b0
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:56:29 2026 +0100

    Login To Linux: Remove retrials of Login To Linux Via SSH

    Login To Linux Via SSH already retries all its code,
    so this is redundant and multiplies the wait time

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 2799ff26d4
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:35:46 2026 +0100

    Serial User Login Linux: Remove dead code

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 2200998119
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:33:11 2026 +0100

    Logint To Booted OS: Add keyword

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 6eb605d36e
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:28:58 2026 +0100

    Login To Windows: Add keyword

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 87a80967db
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:27:02 2026 +0100

    Login To Windows: Rename to Boot And Login To Windows

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit d76007a0a3
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 10 08:22:38 2026 +0100

    Login To OS: Rename to Boot And Login To OS

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 4b2acd2e51
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Mon Feb 9 17:22:30 2026 +0100

    os-specific-tasks/201.yml: Remove uefi shell installation

    it breaks bootorder and tests deploy it anyway

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 7d98f4d870
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Fri Feb 6 13:14:28 2026 +0100

    Deploy Uefi Shell: Ensure it doesnt break the bootorder

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

commit 1eda44fda0
Author: Filip Gołaś <filip.golas@3mdeb.com>
Date:   Tue Feb 3 13:32:10 2026 +0100

    osfv_stability_{run,reports}.py: Add

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_run: add release rules file

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports: add run count

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports: Fix: account for parallelism in total run time

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_run.py: accept env vars

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports.py: save logs to dirs depending on date and revision

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_run.py: Save results in paths per run date and rev

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports.py: Parse date, revision, branch and support json output

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_*.py: Allow configurable LOGS_DIR using env vars

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports.py: Handle broken robot xmls

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports.py: Unpack merged results

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

    osfv_stability_reports.py: Add suites to skip config

    Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-03-17 10:10:34 +01:00

355 lines
16 KiB
Plaintext

*** Settings ***
Library Collections
Library OperatingSystem
Library Process
Library String
Library Telnet timeout=20 seconds connection_timeout=120 seconds
Library SSHLibrary timeout=90 seconds
Library RequestsLibrary
# TODO: maybe have a single file to include if we need to include the same
# stuff in all test cases
Resource ../variables.robot
Resource ../keywords.robot
Resource ../keys.robot
# TODO:
# - document which setup/teardown keywords to use and what are they doing
# - go through them and make sure they are doing what the name suggest (not
# exactly the case right now)
Suite Setup Run Keywords
... Prepare Test Suite
... AND
... Skip If not ${CPU_TESTS_SUPPORT} CPU tests not supported
# ... AND
# ... Reset UEFI Options To Defaults
Suite Teardown Run Keyword
... Log Out And Close Connection
Default Tags automated
*** Variables ***
${PACKAGE_IDS_COUNT}= 0
${CACHE_REGEX}=
... (?s)[ ]+L2 Cache Size:
... \\d+\\r?\\n[ ]+L2 Cache Associativity:
... \\d+\\r?\\n[ ]+L2 Cache Line Size:
... \\d+\\r?\\n[ ]+L2 Cache CPU Count:
... \\d+\\r?\\n[ ]+L3 Cache Size:
... \\d+\\r?\\n[ ]+L3 Cache Associativity:
... \\d+\\r?\\n[ ]+L3 Cache Line Size:
... \\d+\\r?\\n[ ]+L3 Cache CPU Count:
... \\d+\\r?\\n[ ]+L2 Cache Size: \\d+
*** Test Cases ***
CPU001.201 CPU works (Ubuntu)
[Documentation] Check whether the CPU mounted on the DUT works.
... Previous IDs: CPU001.001
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} CPU001.201 not supported
Skip If '${ENV_ID_UBUNTU}' not in ${TESTED_LINUX_DISTROS} CPU001.201 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
Login To Linux
CPU001.401 CPU works (ESXi)
[Documentation] Verify that the CPU on the DUT is functional and boots the ESXi OS.
... The test passes if the ESXi login screen (DCUI) is visible after boot.
... Previous IDs: CPU001.011
Skip If not ${TESTS_IN_ESXI_SUPPORT} CPU001.401 not supported
Power On
IF ${HAS_E_CORES} Set UEFI Option ActiveECores 0
Boot And Login To OS ${ENV_ID_ESXI}
CPU002.201 CPU cache enabled (Ubuntu)
[Documentation] Check whether the all declared for the DUT cache levels
... are enabled.
... Previous IDs: CPU002.001
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} CPU002.201 not supported
Skip If '${ENV_ID_UBUNTU}' not in ${TESTED_LINUX_DISTROS} CPU001.201 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
Login To Linux
CPU Cache Enabled Linux
CPU002.401 CPU cache enabled (ESXi)
[Documentation] Verify that all CPU cache levels are detected and reported by ESXi.
... Expected output includes L2 and L3 cache size, associativity, and CPU count.
... Previous IDs: CPU002.011
Skip If not ${TESTS_IN_ESXI_SUPPORT} CPU002.401 not supported
Power On
IF ${HAS_E_CORES} Set UEFI Option ActiveECores 0
Boot And Login To OS ${ENV_ID_ESXI}
Sleep 5s
${out}= Execute Command In Terminal esxcli hardware cpu list | grep Cache
${count}= Evaluate
... len(re.findall(r'''${CACHE_REGEX}''', '''${out}'''))
... re
IF ${count} < 2 FAIL There are no multiple cache levels detected.
CPU003.201 Multiple CPU support (Ubuntu)
[Documentation] Check whether the DUT has multiple CPU support.
... Previous IDs: CPU003.001
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} CPU003.201 not supported
Skip If '${ENV_ID_UBUNTU}' not in ${TESTED_LINUX_DISTROS} CPU003.201 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
Login To Linux
Multiple CPU Support Linux
CPU003.401 Multiple CPU support (ESXi)
[Documentation] Verify that ESXi detects more than one CPU core, indicating multi-CPU support.
... Previous IDs: CPU003.011
Skip If not ${TESTS_IN_ESXI_SUPPORT} CPU003.401 not supported
Power On
IF ${HAS_E_CORES} Set UEFI Option ActiveECores 0
Boot And Login To OS ${ENV_ID_ESXI}
Sleep 5s
${out}= Execute Command In Terminal esxcli hardware cpu global get
${cores_match}= Get Regexp Matches ${out} CPU Cores:\\s*(\\d+) 1
${core_str}= Get From List ${cores_match} 0
${cores}= Convert To Integer ${core_str}
IF ${cores} < 2 Fail Quantitty of cores less than 2.
CPU004.201 Multiple-core support (Ubuntu)
[Documentation] Check whether the DUT has multi-core support.
... Previous IDs: CPU004.001
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} CPU004.201 not supported
Skip If '${ENV_ID_UBUNTU}' not in ${TESTED_LINUX_DISTROS} CPU004.201 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_UBUNTU}
Login To Linux
Multiple-Core Support Linux
CPU004.401 Multiple-core support (ESXi)
[Documentation] Verify that the system supports multiple CPU cores using Package ID mapping.
... Previous IDs: CPU004.011
Skip If not ${TESTS_IN_ESXI_SUPPORT} CPU004.401 not supported
Power On
IF ${HAS_E_CORES} Set UEFI Option ActiveECores 0
Boot And Login To OS ${ENV_ID_ESXI}
Sleep 5s
${out}= Execute Command In Terminal esxcli hardware cpu list | grep Id
${lines}= Split To Lines ${out}
@{package_ids}= Get Regexp Matches ${out} Package Id:
FOR ${item} IN @{package_ids}
${package_ids_count}= Evaluate ${PACKAGE_IDS_COUNT} + 1
END
IF ${package_ids_count} < 2 FAIL There Are No Multiple Package Ids.
CPU001.202 CPU works (Fedora)
[Documentation] Check whether the CPU mounted on the DUT works.
Skip If '${ENV_ID_FEDORA}' not in ${TESTED_LINUX_DISTROS} CPU001.202 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_FEDORA}
Login To Linux
CPU002.202 CPU cache enabled (Fedora)
[Documentation] Check whether the all declared for the DUT cache levels
... are enabled.
Skip If '${ENV_ID_FEDORA}' not in ${TESTED_LINUX_DISTROS} CPU001.202 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_FEDORA}
Login To Linux
CPU Cache Enabled Linux
CPU003.202 Multiple CPU support (Fedora)
[Documentation] Check whether the DUT has multiple CPU support.
Skip If '${ENV_ID_FEDORA}' not in ${TESTED_LINUX_DISTROS} CPU003.202 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_FEDORA}
Login To Linux
Multiple CPU Support Linux
CPU004.202 Multiple-core support (Fedora)
[Documentation] Check whether the DUT has multi-core support.
Skip If '${ENV_ID_FEDORA}' not in ${TESTED_LINUX_DISTROS} CPU004.202 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_FEDORA}
Login To Linux
Multiple-Core Support Linux
CPU001.301 CPU works (Windows)
[Documentation] Check whether the CPU mounted on the DUT works.
... Previous IDs: CPU001.002
Skip If not ${TESTS_IN_WINDOWS_SUPPORT} CPU001.301 not supported
Power On
Boot And Login To Windows
Execute Shutdown Command
CPU002.301 CPU cache enabled (Windows)
[Documentation] Check whether the all declared for the DUT cache levels
... are enabled.
... Previous IDs: CPU002.002
Skip If not ${TESTS_IN_WINDOWS_SUPPORT} CPU002.301 not supported
Power On
Boot And Login To Windows
${mem_info}= Execute Command In Terminal
... Get-Wmiobject -class win32_cachememory | fl Purpose, CacheType, InstalledSize
Should Contain ${mem_info} CACHE1
Pass Execution If not ${L2_CACHE_SUPPORT} DUT supports only L1 cache
Should Contain ${mem_info} CACHE2
Pass Execution If not ${L3_CACHE_SUPPORT} DUT supports only L1 and L2 cache
Should Contain ${mem_info} CACHE3
Pass Execution If not ${L4_CACHE_SUPPORT} DUT supports only L1, L2 and L3 cache
Should Contain ${mem_info} CACHE4
Execute Shutdown Command
CPU003.301 Multiple CPU support (Windows)
[Documentation] Check whether the DUT has multiple CPU support.
... Previous IDs: CPU003.002
Skip If not ${TESTS_IN_WINDOWS_SUPPORT} CPU003.301 not supported
Power On
Boot And Login To Windows
${cpu_info}= Execute Command In Terminal (Get-CimInstance -ClassName Win32_Processor).NumberOfCores
${cpu_count}= Get Line ${cpu_info} -1
${cpu_count}= Convert To Number ${cpu_count}
Should Be True ${cpu_count} > 1
Execute Shutdown Command
CPU004.301 Multiple-core support (Windows)
[Documentation] Check whether the DUT has multi-core support.
... Previous IDs: CPU004.002
Skip If not ${TESTS_IN_WINDOWS_SUPPORT} CPU004.301 not supported
Power On
Boot And Login To Windows
${cpu_info}= Execute Command In Terminal
... Get-CimInstance -ClassName Win32_Processor | Select-Object -Property NumberOfCores
${cpu_count}= Get Line ${cpu_info} -1
${cpu_count}= Convert To Number ${cpu_count}
${socket_count}= Execute Command In Terminal
... (Get-CimInstance -ClassName Win32_ComputerSystem).NumberOfProcessors
${socket_count}= Get Line ${socket_count} -1
${socket_count}= Convert To Number ${socket_count}
Should Be True ${cpu_count} / ${socket_count} > 1
Execute Shutdown Command
CPU001.203 CPU works (Qubes OS)
[Documentation] Check whether the CPU mounted on the DUT works.
... Previous IDs: CPU001.010
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} CPU001.203 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_QUBES}
Login To Linux
CPU002.203 CPU cache enabled (Qubes OS)
[Documentation] Check whether all declared for the DUT cache levels
... are enabled.
... Previous IDs: CPU002.010
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} CPU002.203 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_QUBES}
Login To Linux
CPU Cache Enabled Linux
CPU003.203 Multiple CPU support (Qubes OS)
[Documentation] Check whether the DUT has multiple CPU support.
... Previous IDs: CPU003.010
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} CPU003.203 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_QUBES}
Login To Linux
Multiple CPU Support Qubes OS
CPU004.203 Multiple-core support (Qubes OS)
[Documentation] Check whether the DUT has multi-core support
... Previous IDs: CPU004.010
Skip If '${ENV_ID_QUBES}' not in ${TESTED_LINUX_DISTROS} CPU004.203 not supported
Power On
Boot System Or From Connected Disk ${ENV_ID_QUBES}
Login To Linux
Multiple-Core Support Linux
CPU001.205 CPU works (XCP-NG)
[Documentation] Check whether the CPU mounted on the DUT works.
... Previous IDs: CPU001.010
Skip If not ${TESTS_IN_XCP_NG_SUPPORT} CPU001.205 not supported
Skip If '${ENV_ID_XCP_NG}' not in ${TESTED_LINUX_DISTROS} CPU001.205 not supported
Power On
Boot And Login To OS ${ENV_ID_XCP_NG}
CPU002.205 CPU cache enabled (XCP-NG)
[Documentation] Check whether all declared for the DUT cache levels
... are enabled.
... Previous IDs: CPU002.010
Skip If not ${TESTS_IN_XCP_NG_SUPPORT} CPU002.205 not supported
Skip If '${ENV_ID_XCP_NG}' not in ${TESTED_LINUX_DISTROS} CPU002.203 not supported
Power On
Boot And Login To OS ${ENV_ID_XCP_NG}
CPU Cache Enabled Linux
CPU003.205 Multiple CPU support (XCP-NG)
[Documentation] Check whether the DUT has multiple CPU support.
... Previous IDs: CPU003.010
Skip If not ${TESTS_IN_XCP_NG_SUPPORT} CPU003.205 not supported
Skip If '${ENV_ID_XCP_NG}' not in ${TESTED_LINUX_DISTROS} CPU003.205 not supported
Power On
Boot And Login To OS ${ENV_ID_XCP_NG}
Multiple CPU Support Linux
CPU004.205 Multiple-core support (XCP-NG)
[Documentation] Check whether the DUT has multi-core support
... Previous IDs: CPU004.010
Skip If not ${TESTS_IN_XCP_NG_SUPPORT} CPU004.205 not supported
Skip If '${ENV_ID_XCP_NG}' not in ${TESTED_LINUX_DISTROS} CPU004.205 not supported
Power On
Boot And Login To OS ${ENV_ID_XCP_NG}
Multiple-Core Support Linux
*** Keywords ***
Check Cache Support
[Arguments] ${string} ${cache}
${lines}= Get Lines Containing String ${string} ${cache}
${lines}= Get Lines Containing String ${lines} CACHE_SIZE
@{lines}= Split To Lines ${lines}
FOR ${line} IN @{lines}
${cache_string} ${cache_size}= Split String ${line} ${SPACE} 1
${cache_size}= Replace String ${cache_size} ${SPACE} ${EMPTY}
IF '${cache_size}' == '' Fail Cache size can't be empty
${mem}= Convert To Integer ${cache_size}
IF '${mem}'=='0' Fail ${line} ELSE Log ${line}
END
CPU Cache Enabled Linux
[Documentation] Check whether the all declared for the DUT cache levels
... are enabled.
${mem_info}= Execute Linux Command getconf -a | grep CACHE
Check Cache Support ${mem_info} LEVEL1
Pass Execution If not ${L2_CACHE_SUPPORT} DUT supports only L1 cache
Check Cache Support ${mem_info} LEVEL2
Pass Execution If not ${L3_CACHE_SUPPORT} DUT supports only L1 and L2 cache
Check Cache Support ${mem_info} LEVEL3
Pass Execution If not ${L4_CACHE_SUPPORT} DUT supports only L1, L2 and L3 cache
Check Cache Support ${mem_info} LEVEL4
Multiple CPU Support Linux
[Documentation] Check whether the DUT has multiple CPU support.
Skip If not ${TESTS_IN_UBUNTU_SUPPORT} CPU003.001 not supported
${cpu_info}= Execute Linux Command lscpu
${cpu}= Get Lines Matching Regexp ${cpu_info} ^CPU\\(s\\):\\s+\\d+$ flags=MULTILINE
Should Contain ${cpu} ${DEF_THREADS_TOTAL} Different number of CPU's than ${DEF_THREADS_TOTAL}
${online}= Execute Linux Command cat /sys/devices/system/cpu/online
Should Contain ${online} ${DEF_ONLINE_CPU} There are more than ${DEF_ONLINE_CPU[2]} on-line CPU's
Multiple CPU Support Qubes OS
[Documentation] Check whether the DUT has multiple CPU support.
${online}= Execute Linux Command cat /sys/devices/system/cpu/online
Should Contain (${online}-1) ${DEF_ONLINE_CPU} There are more than ${DEF_ONLINE_CPU[2]} on-line CPU's
Multiple-Core Support Linux
[Documentation] Check whether the DUT has multi-core support.
${cpu_info}= Execute Linux Command lscpu
${sockets}= Get Lines Containing String ${cpu_info} Socket(s):
Should Contain ${sockets} ${DEF_SOCKETS} Different number of sockets than ${DEF_SOCKETS}
${cores}= Get Lines Containing String ${cpu_info} Core(s) per socket:
Should Contain
... ${cores}
... ${DEF_CORES_PER_SOCKET}
... Different number of cores per socket than ${DEF_CORES_PER_SOCKET}
${threads}= Get Lines Containing String ${cpu_info} Thread(s) per core:
Should Contain
... ${threads}
... ${DEF_THREADS_PER_CORE}
... Different number of threads per core than ${DEF_THREADS_PER_CORE}