57 Commits

Author SHA1 Message Date
Filip Gołaś dbfb729875 Creating custom linux bootentries (#1221)
* util/bootentries-fix.robot: Add PoC for adding bootentries

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

* options-lib_dcu.robot: Fix faulty comparison of bootid to empty

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

* lib/flash.robot: Add bootorder replacement when flashing fw and tesing via ssh

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

* Execute Reboot Command: Use BOOTED_OS_ID to determine reboot type

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

* novacustom-v540tu.robot: Resture Ubuntu as default boot os

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

* lib/custom_bootentries.robot: Add library for managing bootorder

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

* lib/flash.robot: Migrate smmstore when flashing without access to serial

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

* util/bootentries-fix.robot: Clean up the suite

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

* util/bootentries-fix.robot: Move to self-tests/bootentries-persistence.robot

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

* util/basic-platform-setup: Add BPS005.002 for creating defaultboot entires

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

* BPS009: Add suite that adds DEFAULT_BOOT_OS_ID entry

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

* bootentries-persistence.robot: Make it depend on basic platform setup done

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

* lib/custom_bootentries.robot: Make sure esp are skipped

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

* environment-test-ids.py: Extend Windows bootmenu name

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

* BPS009: make sure windows bootentry is created

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

* Execute Shutdown Command: Skip if no POWER_CTRL

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

---------

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2026-02-04 16:39:03 +01:00
Filip Gołaś 76b354ca9d fuzzysearch (#988)
* requirements.txt: bump robotframework and telnetlib to add fuzzysearch

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

* lib/terminal.robot: Use Telnet.Read Until Fuzzy

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

* lib/bios/menus.robot: Add fuzzy search to menu parsing

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

* default.robot: Set TELNET_FUZZY_MAX_ERRORS default to 0

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

* novacustom-v540tu.robot: Set TELNET_FUZZY_MAX_ERRORS to 1

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

* self-tests/serial_stability.robot: Add

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

* develop-pr-regression.yml: Ensure clean python environment

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

* develop-pr-regression.yml: Ensure clean osfv repo

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

* requirements.txt: bump robotframework and telnetlib to add fuzzysearch

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

* requirements.txt: bump fuzzysearch

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

* platform-configs: Use max_insertions and max_deletions in fuzzy telnet

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

* Parse Menu Snapshot Into Construction: workaround for random chars

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

* menus.robot: Add first_line parameter to menu parsing kwds

Helps to remove unwanted contents from the parsed menu in case
of connection errors

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

* pre-commit fixes

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

* bump requirements

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

* novacustom-v560tnd.robot: Remove power led support

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

* verified-boot.robot: Add laptops without battery workaround

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

* Get Boot Menu Construction: Look for longer string

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

* pre-commit fixes

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

* fuzzysearch: change max_errors to max_substitutions

setting max_errors, max_insertions and max_deletions, but
not max_substitutions allowed for an edge case to trigger
where the fuzzysearch library was crashing.

Changing the interface like that should prevent unhandled
situations

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

* requirements.txt: Use Dasharo/fuzzysearch fork

* pre-commit fix

---------

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-10-31 13:55:29 +01:00
Maciej Pijanowski 2bd2e50c9b robocop: enable ReplaceWithVAR formatter
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2025-07-29 10:41:24 +02:00
Filip Gołaś 4b14cc7dad qemu-stress-tests.sh: Use robot run wrapper
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-07-03 12:27:59 +02:00
Maciej Pijanowski 1316b63048 self-tests/os-boot.robot: use Test Tags
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2025-06-25 17:44:26 +02:00
Filip Gołaś 1d6b7ea1e3 self-tests: Tag stress tests
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-06-25 17:39:27 +02:00
Filip Gołaś 2d1f0947d3 dasharo-system-features-menus.robot: Update Parse Power Mngmnt
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-06-18 15:54:03 +02:00
Filip Gołaś 0df11be0d6 setup-and-boot-menus: Mount a bootable drive instead of UEFI shell
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-06-18 15:53:53 +02:00
Jakub Redmerski 7b16df847d self-tests/dcu.robot fix: proper win11 variable name
Signed-off-by: Jakub Redmerski <jakub.redmerski@3mdeb.com>
2025-06-10 13:27:13 +02:00
Jakub Redmerski e6a5cb4093 various files change: to a proper win11 env id
Signed-off-by: Jakub Redmerski <jakub.redmerski@3mdeb.com>
2025-05-16 12:15:10 +02:00
Sebastian Czapla 18056eaf67 osfv: Add UEFI Shell back to tests
Signed-off-by: Sebastian Czapla <sebastian.czapla@3mdeb.com>
2025-04-15 10:26:01 +02:00
Jakub Redmerski c91ffa7310 dasharo-security/* change: move Change EPS (Ubuntu) test from tpm2 to tpm
various files fix: make changes requested by pre-commit

Signed-off-by: Jakub Redmerski <jakub.redmerski@3mdeb.com>
2025-04-08 16:49:35 +02:00
Jakub Redmerski f5b47d582e self-tests/count-needed-arrow_down-presses.robot add: add self-tests for new KWD 'Search For Option Not Visible After Entering Menu'
Signed-off-by: Jakub Redmerski <jakub.redmerski@3mdeb.com>
2025-04-08 15:29:52 +02:00
Filip Gołaś dfbc06fe8e Rename ENV_ID_WINDOWS_11 to ENV_ID_WINDOWS
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-04-02 16:37:54 +02:00
Filip Gołaś e8abd7a3d2 Use ENV_IDS for credentials files & change windows bootmenu name
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-03-07 16:08:18 +01:00
Filip Gołaś 15f3fc1841 Boot System Or From Connected Disk: Use ENV_ID instead of name globally
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-03-06 18:27:34 +01:00
Filip Gołaś 51e5d15e98 lib/options: Rename impl files to fix duplicate lib names in docs
`lib/options/dcu.robot` and `lib/dcu.robot keywords` all had the prefix
`dcu.`

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-02-18 23:49:36 +01:00
Sebastian Czapla e20a6409e7 osfv: Small fixes
Signed-off-by: Sebastian Czapla <sebastian.czapla@3mdeb.com>
2025-02-06 17:39:29 +01:00
Jan Prusinowski 1033ad8413 terminal.robot: Reworked Exec. UEFI Shell Cmd. test to repeat 50 times
and added a command which generates a long output.

Signed-off-by: Jan Prusinowski <jan.prusinowski@3mdeb.com>
2025-01-21 12:51:48 +01:00
Maciej Pijanowski f976d349ce pikvm: use package instead of submodule
Toe be used with: https://github.com/3mdeb/pikvm-rest-api/pull/19

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2025-01-16 22:01:09 +01:00
Cezary Wieczorkowski 0f4fcf6158 self-tests/os-boot.robot: removed unused rte api reference
Signed-off-by: Cezary Wieczorkowski <cezary.wieczorkowski@3mdeb.com>
2025-01-16 18:06:05 +01:00
Jan Prusinowski 3c5aee7b66 dcu.robot: Added selftest. Added dcu variants of kwd Boot System Or From (#497)
Connected Disk and Login To Windows Via SSH

Signed-off-by: Jan Prusinowski <jan.prusinowski@3mdeb.com>
2024-11-05 09:18:42 +01:00
Jan Prusinowski fc8a2c2a9e self-tests: test Execute Command In Terminal over SSH
Signed-off-by: Jan Prusinowski <jan.prusinowski@3mdeb.com>
2024-08-05 13:28:27 +02:00
Jan Prusinowski 6612cc86c2 os-boot.robot: added dependecies to tests
Signed-off-by: Jan Prusinowski <jan.prusinowski@3mdeb.com>
2024-08-05 12:43:02 +02:00
Jan Prusinowski 24262dfc7d s-boot.robot: reduced iterations of tests
Signed-off-by: Jan Prusinowski <jan.prusinowski@3mdeb.com>
2024-08-05 12:43:02 +02:00