Merge branch 'rocky-linux:develop' into fix-install_destination_already_done-needle

This commit is contained in:
Lukas Magauer 2021-08-23 00:19:58 +02:00 committed by GitHub
commit 6c84ff95e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 63 additions and 2 deletions

View File

@ -0,0 +1,26 @@
---
name: openQA test suite / needle update
about: This template provide basis for general case submission of issue to resolve
openQA test failure via test and/or needle updates
title: Test suite failure for [insert_test_suite_name_here] on [DISTRI-VERSION-FLAVOR-ARCH]
labels: ''
assignees: ''
---
## Describe Issue
Please describe the issue as completely as possible so that an appropriate fix may be developed.
| Test Suite | `<please_insert_test_suite_name_here>` |
|---|---|
| Result | <please_insert_previous_test_result_here> |
| Scheduled product | `<please_inster_the_schedule_product_here>` |
| Test module | `<full_path_to_test_module_to_be_fixed>` |
| Analysis | *<insert_error_message_produced_in_test>*<br><insert_any_additional_details_that_may_assist_in_resolution> |
## Planned Action
- Please provide suggested resolution steps if they are know.
## Special Notes
- Please provide any special instructions/information that may help testing progress more quickly. For example... Test can run from `disk_64bit_cockpit.qcow2` image if it is saved and stored appropriately in the test system. There is no need to run from beginning and/or trigger from `install_default_upload@64bit`.

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"ypos": 527,
"xpos": 263,
"height": 16,
"width": 59
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_services_detail"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 251,
"ypos": 521,
"width": 58,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_services_entry"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@ -4,13 +4,15 @@ use testapi;
sub run {
assert_screen "root_console";
my $count = 3;
my $count = 4;
my $devroot = 'vda1';
my $devboot = 'vda2';
my $devswap = 'vda3';
if (get_var('OFW') || get_var('UEFI')) {
$count = 4; # extra boot partition (PreP or ESP)
$count = 5; # extra boot partition (PreP or ESP)
$devroot = 'vda2';
$devboot = 'vda3';
$devswap = 'vda4';
}
# check number of partitions
script_run 'fdisk -l | grep /dev/vda'; # debug
@ -19,6 +21,7 @@ sub run {
script_run 'mount | grep /dev/vda'; # debug
validate_script_output "mount | grep /dev/$devboot", sub { $_ =~ m/on \/boot type ext4/ };
validate_script_output "mount | grep /dev/$devroot", sub { $_ =~ m/on \/ type ext4/ };
validate_script_output "swapon --show | grep /dev/$devswap", sub { $_ =~ m/ partition / };
}
sub test_flags {