Commit Graph

122 Commits

Author SHA1 Message Date
10b10e7085
restore various application test suites 2024-09-30 20:20:42 -07:00
114bbe1277
Secure boot enable vnc_server et al 2024-08-07 16:05:19 +01:00
951b31c715
Support server secure boot enabled 2024-08-07 15:29:36 +01:00
ae573f5cc8
Device root resize changes 2024-07-30 16:00:46 +01:00
7fadd52d4a
Reapply bios to uefi changes 2024-07-25 08:17:56 +01:00
e7fe0f4bcd
Revert previous commit - oops 2024-07-24 15:13:22 +01:00
3a2bfbe9e8
Reapply bios to uefi changes 2024-07-24 15:08:22 +01:00
c53003d3d5
Resolve conflicts due merge #219 2024-07-24 14:57:02 +01:00
f69ee0a369
Correction of inconsistensies in priority. 2024-07-24 11:36:06 +01:00
7e33a892be
Adopt uefi secure boot as standard test basis 2024-07-18 10:56:34 +01:00
6df50f08ab
Remove inconsistencies 2024-07-15 16:36:27 +01:00
e52696df90
minimal-iso uefi profile 2024-07-13 14:30:20 +01:00
a842e1dc72
Adopt uefi secure boot as standard 2024-07-13 14:17:09 +01:00
883159a7cc
Add secure_boot_fallback test 2024-07-05 16:23:51 +01:00
203957d8d9
Default secure boot 2024-07-03 12:22:56 +01:00
ebbfc0e1be
secure boot machine uesb 2024-07-02 14:09:40 +01:00
1a83ee1a2d
package-set uefi is machine uefi 2024-07-01 15:54:42 +01:00
60d3b8a284
Change machine name from 64bit to bios 2024-07-01 10:57:51 +01:00
b326c323b9
Merge branch 'develop' into support-language-tests-in-aarch64 2024-06-01 09:09:43 -07:00
3cf06ed25a
support language tests in aarch64
- aarch64 doesn't have workstation-product-environment so switch to graphical-server-environment
2024-05-27 13:53:44 -07:00
5c1e4eb756
Add network install to comply with QA:Testcase Minimal Installation 2024-05-06 12:50:22 +01:00
Louis Abel
3c371b2c63
Add toolbox test as POC 2024-02-08 17:21:57 -07:00
4b1747db8c
fix copy-paste error in product for s390x 2024-01-28 16:17:15 -08:00
058808ac61
add s390x machine, product(s) and assign test suites 2024-01-23 21:25:49 -08:00
1b294394be
add ppc64le machine, product(s) and assign test suites 2024-01-23 21:24:13 -08:00
2ac5f6d67f
update aarch64 products 2024-01-23 21:13:05 -08:00
b5b4bc72e1
update aarch64 machine 2024-01-23 21:10:17 -08:00
Al Bowles
8becb62887
Provide tests for SIG/HPC slurm packages
This MR provides a very, very basic test suite for the Slurm packages
built by the HPC SIG. It checks the following:

- Necessary packages for a single-node Slurm instance install
  successfully from the SIG/HPC repository
- A job can be scheduled and executed to completion
- A job can be scheduled and then cancelled

```
./fifloader.py --clean --load templates.fif.json
openqa-cli api -X POST isos ISO=Rocky-8.8-x86_64-dvd.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.8 CURRREL=8 BUILD=-${date +%Y%d%m}.0-slurm-8.8 TEST=slurm22,slurm23
openqa-cli api -X POST isos ISO=Rocky-9.2-x86_64-dvd.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=9.2 CURRREL=9 BUILD=-${date +%Y%d%m}.0-slurm-9.2 TEST=slurm22,slurm23

```

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published in downstream modules
2023-07-25 15:04:07 -05:00
152b347f75
replace fedoraproject.org with rockylinux.org
- refs in templates.fif.json and code changed (typically hostnames in multi-worker tests)
- refs in documentation left for historical / context purposes
2023-03-17 10:04:54 -07:00
4624d87294
Mirrorlist test changes for Issue #146 2023-03-11 14:15:58 +00:00
c10082b685
Merge pull request #144 from tcooper/add_cloud_image_support
add support for GenericCloud image testing
2023-02-20 13:46:38 -08:00
lumarel
ef63522ef9 Supporting fix for createhdds#11 2023-02-07 20:33:40 -08:00
e659530e3a use domain configured for dnsmasq in support server 2023-02-07 20:33:40 -08:00
lumarel
595d9985be Some image pointer corrections 2023-02-07 20:33:40 -08:00
lumarel
70104d17ef Adding most of the inter server tests back 2023-02-07 20:33:40 -08:00
31422649d9
add support for GenericCloud image testing 2023-01-26 10:07:42 -08:00
b243e1d022
support os-autoinst/openqa updates from upstream (#139) 2022-12-08 16:38:57 -08:00
Al Bowles
be64b6040f
Specify DESKTOP=gnome for installs with a GUI 2022-10-15 23:20:02 -05:00
Lukas Magauer
9e5c990021
Merge pull request #127 from akatch/use_correct_package_set
feat: set DESKTOP=false and PACKAGE_SET=minimal for dvd-iso
2022-07-24 15:32:50 +02:00
Lukas Magauer
c1d5dd2c95
Add minimal and desktop false to all incorrect tests in universal (#125)
Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-07-22 23:29:05 -05:00
Al Bowles
8613104111
feat: set DESKTOP=false and PACKAGE_SET=minimal for dvd-iso 2022-07-18 19:18:59 -05:00
Lukas Magauer
64e298d34e
Switch to ide-hd as ide-drive got removed (#124)
Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-07-10 16:05:46 -05:00
04c4a50c19
FEATURE: Add DNF_CONTENTDIR override support (#119)
* add dnf_contentdir library function and implement is sample tests

* Short circuit auto addition of _console_wait_login for tests without DESKTOP

* support use of REPOSITORY_GRAPHICAL and ADD_REPOSITORY_GRAPHICAL test variables

* deprecate addition of dnf_contentdir lib function

* create and use get_version_major utility function

* resolve mismatch of login type caused by incorrect template entries

* add and use _staging_repos_enable post-install test

* add install_package_set_* tests only to package-set flavor

* fix variable re-declaration warning/error

* add rocky-getting-started-tour needles

* release rocky-repos content require switch from mirrorlist to baseurl

* implement DNF_CONTENTDIR swap as post-install action before reboot/login

* temp disable _staging_repos_enable

* incomplete fix for _graphical_wait_login
- get_release_number is used heavily in our openQA but makes no sense in 
Rocky. Multiple possible solutions but this one allows 
`_graphical_wait_login` to pass. NEEDS_WORK
2022-07-10 16:05:04 -05:00
Al Bowles
c8a004123e
Run install_package_set suites against boot-iso 2022-06-17 16:40:42 -05:00
akatch
2c427618ac
8.6 release fixes (#92)
* Handle the "reclaim space" dialog

Adds handling for the "Reclaim Space" dialog, which can appear after the
user clicks "Done" in the partitioning spoke.

* Fix indentations

* Set default HDD size to 15GB

* Remove redundant HDDSIZEGB definitions

* Add more GiBs

* Workaround for #82

* Needle with new security policy spoke icon

* Add new needles to fix cockpit tests in 8.6

* Add contribution SOP to README

* Words

* Script fixes (#99)

* Increment version

* Fix this header

* Fix URL for updates.img (#98)

* ---
title: [8.6 Release Issues] Test Suite: install_delete_partial and install_custom_gui_lvm_ext4 on rocky 8.6
labels: 'test suite'
assignees: '@akatch'

---

# Description

Running openQA test suite `install_delete_partial` as above throws `Test died: no candidate needle with tag(s) 'anaconda_install_destination_reclaim_space_btn' matched` at module `disk_guided_delete_partial`.

At this stage, the "Reclaim Space" button in the lower right corner of the dialog is disabled.

Additionally, the dialog shows that 5GB will be reclaimed by the steps taken to that point in the test, but installation requires around 9GB. Do we need to reclaim enough space for installation in order to enable that button?
_Yes, the button is enabled when enough space to install is reclaimed._

Just adding HDDSIZEGB=20 to `templates.fif.json` did not increase volume size shown in the dialog. Do we need to recreate the img file?
_Yes, recreating the img file using createhdds.py against a larger size in hdds.json resolved this error._

The Reclaim Space dialog claimed 9.06GB was required to perform installation, and after doubling the size of disk_full_XXX.img we got past the Reclaim Space dialog. However, `_do_install_and_reboot` failed to install citing not enough disk space.

Fixes #80 when merged.

# How Has This Been Tested?

```
# NOTE: was not able to reproduce for install_custom_gui_lvm_ext4
openqa-cli api -X POST isos ISO=Rocky-8.6-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=dvd-iso VERSION=8.6 BUILD=8.6_dvd-iso_$(date +%Y%m%d.%H%M%S).0 TEST=install_custom_gui_lvm_ext4 PACKAGE_SET=graphical-server

openqa-cli api -X POST isos ISO=Rocky-8.6-x86_64-dvd1.iso ARCH=x86_64 DISTRI=rocky FLAVOR=universal VERSION=8.6 BUILD=8.6_universal_$(date +%Y%m%d.%H%M%S).0 TEST=install_delete_partial PACKAGE_SET=graphical-server
```

All tests must pass `_do_install_and_reboot`.
NOTE: These tests will fail at `_console_wait_login` with the issue in #81.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules

* Add new needle to mitigate the changed default
for install source on the network from http to https

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-06-09 18:15:17 -05:00
akatch
ff8ce569c7
Test Suite: install_default on rocky-8.5-[minimal|boot|dvd]-iso-x86_64 (#77)
Merging per testing team conversation meeting.

* Correctly check for default packagesets for each flavor

* FIF updates for default packagesets

- Set DESKTOP=gnome to trigger graphical_wait_login instead of
  console_wait_login
- Increase virtual disk size to account for default packagesets

* Correctly check for minimal-iso default packageset

* Updated needles for issue 16

* Update templates.fif.json with package set test suites

Package sets tested per ISO will follow these conventions:
- Test suites will not be duplicated between the boot and dvd ISOs
- All default package sets will be tested against dvd-iso
- Boot ISO will be considered valid if `minimal` package set installs
  cleanly

* Do not add updated needle with changed hostname
2022-03-31 18:23:01 -05:00
33dd37fdea
connect network during boot (#66)
- updated configuration for boot-iso in templates.fif.json. NOTE: If you 
provide GRUB="value" during POST you must include "ip=dhcp" along with 
your custom GRUB settings.
- short circuit _anaconda_network_enable.pm to check for connection at 
start of test.
- provide needle to detect connected network interface using Network 
Spoke icon instead of Installation Source text.

NOTE: While not required with minimal-iso or dvd-iso flavors specifying 
GRUB="ip=dhcp" will also connect the network interface at boot and 
bypass _anaconda_network_enable.
2021-12-02 18:18:43 -06:00
Lukas Magauer
44e8a76c56
Fixes multiple tests in regard of the PACKAGE_SETs graphical-server and workstation (#61)
tcooper confirmed on the call. Merging it.

* Extend product test commands

* Increase disk size for `install_standard_partition_ext4` because some PACKAGE_SETs are too big

* Limit the license acceptance to only run on tests which run for ISO installations
It is unfortunately not that easy to limit this to ISOs due to that the misterous
limit to HDD_1 and not `custom_resize_lvm`

* Make sure that the disk post installs run in a shell
it happens that the previous test ends in the GUI

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2021-11-11 19:39:34 -06:00
akatch
b5a08825e4
Replace blivet tests with custom GUI tests (#51)
* Our default partitioning scheme includes swap, so omit these tests

* Remove redundant test suites

The suites removed from this commit are functionally identical to the
test suites with the same name but omitting the word "blivet".

* Add needles for custom partitioning GUI

* Replace install_blivet_lvm_ext4 with install_custom_gui_lvm_ext4

- Add subroutine for adding a partition using the "Custom" GUI
- Replace references to blivet with custom_gui in FIF template
- Define test suite for the "Custom" GUI

* syntax fix

* Needle fixes per feedback from lumarel

* Needle reorg

* Replace mouse actions with keypresses

* A few comments

* Replace blivet_standard_partition suites with custom_gui_standard_partition suites

* Rewrite XFS partitioning suite for custom-gui

* Fix filesystem for swap

* Add test suite and needles for RAID using the custom-gui partitioner

* Make raidlevel parameter less confusing

* Fix needles
2021-10-26 08:56:01 -07:00
Russ Butler
b86506d766
Add aarch64 to templates (#41)
* Add aarch64 to templates

* Fix _do_install_and_reboot on aarch64

On aarch64 the _do_install_and_reboot test runs the "consoletty0"
action, which has a command with the string "fedora". This causes the
command to fail with "No such file or directory". This patch changes
"fedora" to "rocky" to which allows _do_install_and_reboot to pass.
2021-10-07 16:26:42 -05:00