Commit Graph

2226 Commits

Author SHA1 Message Date
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
Lukas Magauer
27cd94706b
Readjust needle area to work for other language tests (#122)
Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-07-08 11:36:29 -05:00
akatch
bf6730bdcc
fix: remove LANGUAGE tag from leftbar needle (#121) 2022-07-07 01:23:22 -05:00
akatch
da545a355e
New topbar and leftbar needles (#120)
* New topbar and leftbar needles

* Fix needle size and tag
2022-07-06 17:56:29 -05:00
Lukas Magauer
396caaac0d
[9.0 Release Issues] Test Suite: Missing Anaconda needles - the 5th (#117)
* Make top bar needle ready for multiple languages

* Add the rest of the custom partitioning needles

* Other languages needles

* Prepare login needles for other languages

* Support Azerty user as well

* Remove faulting needles which got dragged in

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-07-02 12:16:45 -05:00
Lukas Magauer
d67db07990
Merge pull request #116 from tcooper/release_ident_9
FIX: release_identification for Rocky Linux 9
2022-07-02 00:33:02 +02:00
Lukas Magauer
60de2c5948
[9.0 Release Issues] Test Suite: Missing Anaconda needles - the 4th (#114)
* Add a whole bunch of new help needles as the text changed

* Move needle to correct location

* A few new disk needles

* Remove incorrect needles

* Custom partitioning batch 1

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2022-07-01 11:04:59 -05:00
33e96cdeea
alternate tests for Rocky Linux 9 2022-06-30 21:31:48 -07:00
baba72c1b5
print what is tested 2022-06-30 21:31:19 -07:00
e0f8ad4a42
better splitting of strings 2022-06-30 21:30:34 -07:00
ee3005b8f7
add and use get_code_name() utility function
- remove the undocumented CODENAME test variable
- codenames from https://git.rockylinux.org/staging/rpms/rocky-release/-/blob/r9/code
2022-06-30 21:29:19 -07:00
79621d45dd
fixup whitespace 2022-06-30 18:12:44 -07:00
lumarel
671d281afe
A few new disk needles 2022-06-28 00:44:28 +02:00
lumarel
fdfb0d5122
Move needle to correct location 2022-06-28 00:44:10 +02:00
lumarel
d1fdb61ff2
Add a whole bunch of new help needles as the text changed 2022-06-28 00:43:49 +02:00
akatch
3b566a4389
Merge pull request #113 from lumarel/fix/bootloader-the-2nd
[9.0 Release Issues] Test Suite: Missing bootloader needle
2022-06-20 20:32:06 -05:00
lumarel
3c3fc3137e
new uefi bootloader needle 2022-06-20 19:41:03 +02:00
Lukas Magauer
9bb6f0fba7
Merge pull request #112 from akatch/qwerty_user_needle
[9.0 Release Issues] feat: Add needle for qwerty user at login screen
2022-06-19 21:33:02 +02:00
akatch
1a59d0740d
Merge pull request #109 from akatch/skip_license_screen
[9.0 Release Issues]: Skip license screen
2022-06-19 14:29:33 -05:00
Al Bowles
c304e7bf76
Update comment 2022-06-19 14:27:03 -05:00
Al Bowles
b330d6faae
feat: Add needle for qwerty user at login screen 2022-06-19 12:03:11 -05:00
Al Bowles
1e0b82cf94
Handle the missing license screen in 9 2022-06-18 20:45:38 -05:00
akatch
bd77b9aeef
Merge pull request #110 from akatch/package_installer_sources
[9.0 Release Issues] Update package_set needles for 9.0 styling
2022-06-18 20:26:14 -05:00
Al Bowles
c8a004123e
Run install_package_set suites against boot-iso 2022-06-17 16:40:42 -05:00
Al Bowles
03f1fe0ded
Needles for rc1 package selection 2022-06-17 16:40:39 -05:00
Lukas Magauer
2baa7f0a66
Merge pull request #111 from akatch/move_nextbutton_needle
Move dangling next-button needle
2022-06-17 23:02:55 +02:00
Al Bowles
4d7bed3fd7
Move dangling next-button needle 2022-06-17 15:43:32 -05:00
akatch
5d08dfb019
Merge pull request #108 from lumarel/fix/rc1-needle-fixes
[9.0 Release Issues] Test Suite: Missing Anaconda needles - the 3rd
2022-06-17 15:14:14 -05:00
lumarel
74142ebffd
Switch anaconda needles to once from the actual RC 2022-06-17 15:44:17 +02:00
akatch
e208d3eabd
Merge pull request #107 from lumarel/fix/9.0-anaconda-part-2
[9.0 Release Issues] Test Suite: Missing Anaconda needles - the 2nd
2022-06-12 16:47:29 -05:00
Lukas Magauer
3a7749d5c7
Merge pull request #106 from akatch/topbar_generic
fix: update topbar_generic needle
2022-06-12 23:40:43 +02:00
lumarel
d9c50efa68
Kdump needles 2022-06-12 21:41:25 +02:00
lumarel
7fccab847c
Package selection needles 2022-06-12 21:41:18 +02:00
Al Bowles
4d39b4b3df
fix: update topbar_generic needle 2022-06-12 14:01:06 -05:00
akatch
6c7a9be3cc
Merge pull request #104 from lumarel/fix/9.0-anaconda
[9.0 Release Issues] Test Suite: Missing Anaconda needles
2022-06-12 10:46:50 -05:00
lumarel
d70b4263fa
Install lang needle 2022-06-12 14:32:36 +02:00
lumarel
0156f4def8
Anaconda needles 2022-06-12 14:32:21 +02:00
lumarel
0be3b5d32f
Bootloader look and feel changes 2022-06-12 14:31:46 +02: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
1443e22345
Feat run openqa tests (#100)
* support default override with ENV var on command line

* output PS4 as # character instead of +

* support additional options for POST via commandline ENV var
2022-05-19 19:37:35 -07: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
049f5f4ba2
Add needles and code to complete anaconda_help test suite (#76)
* remove conflicting/incorrect needles

* mods for ananonda_help test suite
- support Rocky help content in anaconda.pm

* workaround software_selection failure

* add needles for anaconda_help
2022-02-03 18:25:03 -06:00
316e7d2c7a
add needles to complete tests requiring HDD_1 inputs (#75) 2022-02-01 07:58:57 -08:00
ad00919d13
extend timeouts for Rocky (#71) 2021-12-16 16:57:51 -06:00
afc67da20d
correct needle to properly detect network connected (#69)
Per Testing Meeting today. Merging.
2021-12-09 18:11:18 -06: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
akatch
dd209f70e3
Add wrapper script (#63)
* Add wrapper script

* Default build name uses ROCKY_VERSION

* Wrapper script to print simple build report in Markdown format

* Some openqa-cli example commands

* Include BUILD_NAME in report header

* Additional columns

* Extra hyphen

* Added @tcooper's suggestion
2021-11-20 10:29:01 -08:00
Lukas Magauer
539555deef
Changes to support 8.5 (#64)
* Change identification to major releases
because the that should never change on minors

* Text got changed from connectée to connecté

* Japanse character got changed

* Filter box got realligned and looks to also have changed the font

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
2021-11-15 23:00:48 -08: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
30d7affe38
Fixes needle with invalid JSON and adds pre-commit configuration (#59)
* add pre-commit configuration

* repair broken needle
2021-11-10 18:47:42 -06:00