diff --git a/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.json b/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.json new file mode 100644 index 00000000..24645b09 --- /dev/null +++ b/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "width": 664, + "ypos": 29, + "type": "match", + "height": 32, + "xpos": 78 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "topbar_generic" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.png b/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.png new file mode 100644 index 00000000..26ddd484 Binary files /dev/null and b/needles/anaconda/install_destination/french/rocky-topbar_generic-20230222.png differ diff --git a/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.json b/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.json new file mode 100644 index 00000000..f5eda953 --- /dev/null +++ b/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "type": "match", + "xpos": 768, + "ypos": 9, + "width": 129, + "height": 27 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "prerelease_note" + ] +} diff --git a/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.png b/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.png new file mode 100644 index 00000000..26bdea8b Binary files /dev/null and b/needles/anaconda/install_process/rocky_do_install_and_reboot-prerelease_note-20230220.png differ diff --git a/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.json b/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.json new file mode 100644 index 00000000..c957c14e --- /dev/null +++ b/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "width": 113, + "height": 18, + "xpos": 769, + "type": "match", + "ypos": 14 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "version_8_ident" + ] +} \ No newline at end of file diff --git a/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.png b/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.png new file mode 100644 index 00000000..26bdea8b Binary files /dev/null and b/needles/anaconda/install_process/rocky_do_install_and_reboot-version_8_ident-20230220.png differ diff --git a/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.json b/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.json new file mode 100644 index 00000000..b3b5c649 --- /dev/null +++ b/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "width": 59, + "ypos": 52, + "type": "match", + "height": 25, + "xpos": 548 + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "cockpit_services_entry" + ] +} \ No newline at end of file diff --git a/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.png b/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.png new file mode 100644 index 00000000..956f46e1 Binary files /dev/null and b/needles/cockpit/rocky-server_cockpit_basic-cockpit_services_entry-20230221.png differ diff --git a/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.json b/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.json new file mode 100644 index 00000000..c5f8d5cd --- /dev/null +++ b/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.json @@ -0,0 +1,16 @@ +{ + "area": [ + { + "xpos": 7, + "height": 27, + "width": 97, + "ypos": 10, + "type": "match" + } + ], + "properties": [], + "tags": [ + "ENV-DISTRI-rocky", + "cockpit_main" + ] +} \ No newline at end of file diff --git a/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.png b/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.png new file mode 100644 index 00000000..6a9fc349 Binary files /dev/null and b/needles/cockpit/rocky-server_cockpit_updates-cockpit_main-20230221.png differ diff --git a/tests/_support_server.pm b/tests/_support_server.pm index 8d732220..519a18fd 100644 --- a/tests/_support_server.pm +++ b/tests/_support_server.pm @@ -34,10 +34,6 @@ sub _pxe_setup { assert_script_run "mkdir -p /var/lib/tftpboot/pxelinux.cfg"; # install bootloader packages assert_script_run "dnf -y install syslinux", 120; - # selinux compatible fcontext config required - assert_script_run "dnf -y install policycoreutils-python-utils", 120; - assert_script_run "semanage fcontext -a -e /var/lib/rpm /var/tmp/rocky", 60; - assert_script_run "restorecon -vvRF /var/tmp/rocky", 60; assert_script_run "rpm --root=/var/tmp/rocky --rebuilddb", 60; assert_script_run "cd /var/tmp; dnf download rocky-release rocky-repos rocky-gpg-keys", 60; assert_script_run "rpm --root=/var/tmp/rocky --nodeps -i /var/tmp/*.rpm", 60; diff --git a/tests/modularity_enable_disable_module.pm b/tests/modularity_enable_disable_module.pm index 50422e56..5b4ca978 100644 --- a/tests/modularity_enable_disable_module.pm +++ b/tests/modularity_enable_disable_module.pm @@ -11,8 +11,8 @@ sub run { $self->root_console(tty => 3); # Enable the module. - my $name = "swig"; - my $stream = "4.0"; + my $name = "ruby"; + my $stream = "3.1"; assert_script_run("dnf module enable -y $name:$stream"); # Check that it is listed in the enabled list. @@ -30,8 +30,8 @@ sub run { } # Disable some other module. - my $name_alt = "postgresql"; - my $stream_alt = "13"; + my $name_alt = "ruby"; + my $stream_alt = "3.1"; assert_script_run("dnf module disable -y $name_alt:$stream_alt"); # Check that it is listed in the disabled list. diff --git a/tests/modularity_install_module.pm b/tests/modularity_install_module.pm index 5a5c2a9d..64acfb2c 100644 --- a/tests/modularity_install_module.pm +++ b/tests/modularity_install_module.pm @@ -10,8 +10,8 @@ sub run { $self->root_console(tty => 3); # Install a Ruby module. - my $name = "nodejs"; - my $stream = "14"; + my $name = "ruby"; + my $stream = "3.1"; my $profile = "common"; assert_script_run("dnf module install -y $name:$stream/$profile"); diff --git a/tests/modularity_module_list.pm b/tests/modularity_module_list.pm index 77503220..06e815ca 100644 --- a/tests/modularity_module_list.pm +++ b/tests/modularity_module_list.pm @@ -16,36 +16,43 @@ sub run { # NOTE: In Rocky the baseos and appstream default repos include and add modules in the # default installation where in Fedora all modules are in separate modular repos. # Until we figure out how to keep track of the count of expected enabled modular - # packages this will need to assume what appears to be the default in minimal. + # packages this will need to assume what appears to be the default in dvd-iso. my $modules = script_output('dnf module list --enabled', timeout => 270); my @modules = parse_module_list($modules); my $module_count = scalar @modules; my $flavor = get_var('FLAVOR', 'minimal-iso'); - my $packageset = get_var('PACKAGE_SET', 'minimal'); + my $packageset = get_var('PACKAGE_SET', 'graphical-server'); + my $version = get_var('VERSION', 'none'); - if ($flavor eq 'boot-iso') { - die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); - } elsif ($flavor eq 'minimal-iso') { - if ($packageset eq 'minimal') { - die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); - } elsif ($packageset eq 'server') { - die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); + if ($version eq 'none') { + die "VERSION=9.1 or VERSION=8.8 or VERSION=8.7 need to be specified on the command line."; + } elsif ($version eq '9.1') { + die "Enabled modules ($module_count) is not equal to the default (0)." unless (scalar @modules == 0); + } elsif ($version eq '8.8' || $version eq '8.7') { + if ($flavor eq 'boot-iso') { + die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); + } elsif ($flavor eq 'minimal-iso') { + if ($packageset eq 'minimal') { + die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); + } elsif ($packageset eq 'server') { + die "There seem to be enabled modules when the list should be empty." unless ($module_count == 0); + } + } elsif ($flavor eq 'dvd-iso' || $flavor eq 'universal') { + if ($packageset eq 'minimal') { + die "Enabled modules ($module_count) is not equal to the default (1)." unless (scalar @modules == 1); + } elsif ($packageset eq 'server') { + die "Enabled modules ($module_count) is not equal to the default (2)." unless (scalar @modules == 2); + } elsif ($packageset eq 'graphical-server') { + die "Enabled modules ($module_count) is not equal to the default (9)." unless (scalar @modules == 9); + } elsif ($packageset eq 'workstation') { + die "Enabled modules ($module_count) is not equal to the default (13)." unless (scalar @modules == 13); + } elsif ($packageset eq 'virtualization-host') { + die "Enabled modules ($module_count) is not equal to the default (2)." unless (scalar @modules == 2); + } + } else { + die "Enabled modules ($module_count) is not equal to the default (0)." unless (scalar @modules == 0); } - } elsif ($flavor eq 'dvd-iso' || $flavor eq 'universal') { - if ($packageset eq 'minimal') { - die "Enabled modules ($module_count) is not equal to the default (1)." unless (scalar @modules == 1); - } elsif ($packageset eq 'server') { - die "Enabled modules ($module_count) is not equal to the default (2)." unless (scalar @modules == 2); - } elsif ($packageset eq 'graphical-server') { - die "Enabled modules ($module_count) is not equal to the default (9)." unless (scalar @modules == 9); - } elsif ($packageset eq 'workstation') { - die "Enabled modules ($module_count) is not equal to the default (6)." unless (scalar @modules == 6); - } elsif ($packageset eq 'virtualization-host') { - die "Enabled modules ($module_count) is not equal to the default (2)." unless (scalar @modules == 2); - } - } else { - die "Enabled modules ($module_count) is not equal to the default (2)." unless (scalar @modules == 2); } # Check that dnf lists the disabled modules. @@ -59,7 +66,6 @@ sub run { die "There seem to be installed modules when the list should be empty." unless (scalar @modules == 0); } - 1; # vim: set sw=4 et: