Fix Install Destination needle for already selected case #28
26
.github/ISSUE_TEMPLATE/openqa-test-suite---needle-update.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/openqa-test-suite---needle-update.md
vendored
Normal 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`.
|
16
needles/cockpit/rocky-services_detail-requires-20210820.json
Normal file
16
needles/cockpit/rocky-services_detail-requires-20210820.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 527,
|
||||||
|
"xpos": 263,
|
||||||
|
"height": 16,
|
||||||
|
"width": 59
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"cockpit_services_detail"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/rocky-services_detail-requires-20210820.png
Normal file
BIN
needles/cockpit/rocky-services_detail-requires-20210820.png
Normal file
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
16
needles/cockpit/rocky-services_entry-20210820.json
Normal file
16
needles/cockpit/rocky-services_entry-20210820.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 251,
|
||||||
|
"ypos": 521,
|
||||||
|
"width": 58,
|
||||||
|
"height": 22,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"cockpit_services_entry"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/cockpit/rocky-services_entry-20210820.png
Normal file
BIN
needles/cockpit/rocky-services_entry-20210820.png
Normal file
Binary file not shown.
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
@ -4,13 +4,15 @@ use testapi;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
assert_screen "root_console";
|
assert_screen "root_console";
|
||||||
my $count = 3;
|
my $count = 4;
|
||||||
my $devroot = 'vda1';
|
my $devroot = 'vda1';
|
||||||
my $devboot = 'vda2';
|
my $devboot = 'vda2';
|
||||||
|
my $devswap = 'vda3';
|
||||||
if (get_var('OFW') || get_var('UEFI')) {
|
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';
|
$devroot = 'vda2';
|
||||||
$devboot = 'vda3';
|
$devboot = 'vda3';
|
||||||
|
$devswap = 'vda4';
|
||||||
}
|
}
|
||||||
# check number of partitions
|
# check number of partitions
|
||||||
script_run 'fdisk -l | grep /dev/vda'; # debug
|
script_run 'fdisk -l | grep /dev/vda'; # debug
|
||||||
@ -19,6 +21,7 @@ sub run {
|
|||||||
script_run 'mount | grep /dev/vda'; # debug
|
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/$devboot", sub { $_ =~ m/on \/boot type ext4/ };
|
||||||
validate_script_output "mount | grep /dev/$devroot", sub { $_ =~ m/on \/ 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 {
|
sub test_flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user