Fix install multiple languages #40
28
.github/ISSUE_TEMPLATE/openqa-test-suite-needle-update.md
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
name: openQA test suite and/or needle update
|
||||||
|
about: Report openQA test failure and/or needle update requirement
|
||||||
|
title: [Test Suite Failure] for [insert_test_suite_name_here] on [DISTRI-VERSION-FLAVOR-ARCH]
|
||||||
|
labels: [test suite]
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Describe Issue
|
||||||
|
|
||||||
|
Please describe the issue as completely as possible so that an appropriate fix may be developed.
|
||||||
|
|
||||||
|
| Test Suite | <!-- eg: `install_default@uefi` --> |
|
||||||
|
|-------------------|-------------------------------------|
|
||||||
|
| Result | <!-- eg: **failed** ( 04:46 minutes ) --> |
|
||||||
|
| Scheduled product | <!-- eg: `rocky-8.4-dvd-iso-x86_64` --> |
|
||||||
|
| Test module | <!-- eg: `/var/lib/openqa/share/tests/rocky/tests/_impacted_test_module_here.pm` --> |
|
||||||
|
| Analysis | <!-- eg: *Analysis Test died: no candidate needle with tag(s) 'anaconda_help_progress_link' matched* --> |
|
||||||
|
|
||||||
|
<!-- Provide any additional relevant detail here -->
|
||||||
|
|
||||||
|
## Planned Action
|
||||||
|
<!-- Outline the steps that should be taken to address this issue -->
|
||||||
|
|
||||||
|
## 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`. -->
|
33
.github/PULL_REQUEST_TEMPLATE/openqa-test-suite-pull-request-template.md
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
name: openQA test suite and/or needle Pull Request
|
||||||
|
about: Submit openQA test fix and/or needle updates
|
||||||
|
title: Test Suite: [insert_test_suite_name_here] on [DISTRI-VERSION-FLAVOR-ARCH]
|
||||||
|
labels: 'test suite'
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Description
|
||||||
|
|
||||||
|
<!-- Provide a brief description of the pull request here -->
|
||||||
|
<!-- If applicable, specify the issue number this PR fixes -->
|
||||||
|
|
||||||
|
<!-- eg: Fixes #999 -->
|
||||||
|
|
||||||
|
<!-- If no Issue exists it is highly recommended that you create an issue first, assigning it to yourself and then return here to provide the pull request. -->
|
||||||
|
|
||||||
|
# How Has This Been Tested?
|
||||||
|
|
||||||
|
<!-- Indicate what you have done to test this PR, with screenshots if appropriate -->
|
||||||
|
<!-- At a minimum, please include the following: -->
|
||||||
|
<!-- * The command you used to trigger a passing test -->
|
||||||
|
<!-- * Criteria for a successful test (eg: suite install_minimal@uefi passes) -->
|
||||||
|
|
||||||
|
# Checklist:
|
||||||
|
|
||||||
|
- [ ] My code follows the style guidelines of this project
|
||||||
|
- [ ] I have performed a self-review of my own code
|
||||||
|
- [ ] I have commented my code, particularly in hard-to-understand areas
|
||||||
|
- [ ] 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
|
@ -306,7 +306,7 @@ sub get_full_repo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub get_mirrorlist_url {
|
sub get_mirrorlist_url {
|
||||||
return "mirrors.fedoraproject.org/mirrorlist?repo=fedora-" . lc(get_var("VERSION")) . "&arch=" . get_var('ARCH');
|
return "mirrors.rockylinux.org/mirrorlist?repo=rocky-BaseOS-" . lc(get_var("VERSION")) . "&arch=" . get_var('ARCH');
|
||||||
}
|
}
|
||||||
|
|
||||||
sub check_help_on_pane {
|
sub check_help_on_pane {
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 17,
|
||||||
|
"height": 21,
|
||||||
|
"width": 125,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 549
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"anaconda_install_destination_encrypt_data"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 26,
|
||||||
|
"xpos": 672,
|
||||||
|
"width": 130,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 506
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"anaconda_install_destination_save_passphrase"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 283,
|
||||||
|
"height": 24,
|
||||||
|
"xpos": 39,
|
||||||
|
"width": 17
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"anaconda_install_destination_select_disk_1"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"width": 18,
|
||||||
|
"xpos": 201,
|
||||||
|
"height": 23,
|
||||||
|
"ypos": 284,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"anaconda_install_destination_select_disk_2"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"width": 105,
|
||||||
|
"xpos": 56,
|
||||||
|
"height": 19,
|
||||||
|
"ypos": 210,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"anaconda_install_source_selected"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/install_source/rocky-http_selected-20210821.png
Normal file
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"width": 100,
|
||||||
|
"xpos": 58,
|
||||||
|
"height": 15,
|
||||||
|
"ypos": 179,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"anaconda_install_source_on_the_network"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 198,
|
||||||
|
"type": "match",
|
||||||
|
"width": 33,
|
||||||
|
"height": 38,
|
||||||
|
"xpos": 722
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"anaconda_main_hub_install_destination"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 270,
|
||||||
|
"type": "match",
|
||||||
|
"width": 119,
|
||||||
|
"xpos": 500,
|
||||||
|
"height": 49
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"anaconda_part_device_type"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/partitioning/rocky-device_type-20210821.png
Normal file
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 325,
|
||||||
|
"type": "match",
|
||||||
|
"width": 68,
|
||||||
|
"height": 23,
|
||||||
|
"xpos": 505
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"anaconda_part_device_type_raid"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 269,
|
||||||
|
"xpos": 64,
|
||||||
|
"height": 20,
|
||||||
|
"width": 140
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"anaconda_part_scheme_lvmthin"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/anaconda/partitioning/rocky-scheme_lvmthin-20210821.png
Normal file
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"ypos": 136,
|
||||||
|
"type": "match",
|
||||||
|
"width": 79,
|
||||||
|
"height": 16,
|
||||||
|
"xpos": 42
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"ENV-FLAVOR-server",
|
||||||
|
"anaconda_part_select_root"
|
||||||
|
]
|
||||||
|
}
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
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
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
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
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 {
|
||||||
|
@ -49,9 +49,6 @@ sub run {
|
|||||||
send_key "tab";
|
send_key "tab";
|
||||||
send_key "tab";
|
send_key "tab";
|
||||||
send_key "down";
|
send_key "down";
|
||||||
# since anaconda-33.17-1.fc33 we only have to press down *one*
|
|
||||||
# time to select 'mirrorlist'
|
|
||||||
send_key "down" if ($relnum < 33);
|
|
||||||
}
|
}
|
||||||
elsif (get_var("REPOSITORY_GRAPHICAL")) {
|
elsif (get_var("REPOSITORY_GRAPHICAL")) {
|
||||||
$repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL"));
|
$repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL"));
|
||||||
|