@flaky
@scope_res
@scope_salt
@rhlike_minion
Feature: 0123 - Install a patch on the Red Hat-like minion via Salt through the UI
File name: min_rhlike_salt_install_package_and_patch.feature
Relative path: secondary/min_rhlike_salt_install_package_and_patch.feature
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Pre-requisite: refresh package list and check newly installed packages on Red Hat-like minion
FAIL: mgrctl exec -i 'spacecmd -u admin -p admin system_schedulepackagerefresh uyuni-master-rhlike-minion' returned status code = 1. Output: ** Generating system cache ** (ScriptError) ./features/support/remote_node.rb:172:in `run_local' ./features/support/remote_node.rb:120:in `run' ./features/step_definitions/command_steps.rb:1289:in `/^I refresh packages list via spacecmd on "([^"]*)"$/' features/secondary/min_rhlike_salt_install_package_and_patch.feature:20:in `I refresh packages list via spacecmd on "rhlike_minion"'
And
I wait until refresh package list on "rhlike_minion" is finished
0s
Then
spacecmd should show packages "virgo-dummy-1.0" installed on "rhlike_minion"
0s
User is not logged in (ScriptError) ./features/step_definitions/navigation_steps.rb:657:in `/^I should be logged in$/' ./features/step_definitions/navigation_steps.rb:637:in `/^I am authorized as "([^"]*)" with password "([^"]*)"$/' ./features/support/env.rb:250:in `block in relog_and_visit_previous_url' ./features/support/env.rb:248:in `relog_and_visit_previous_url' ./features/support/env.rb:228:in `handle_screenshot_and_relog' ./features/support/env.rb:188:in `After'
21:42:58:000 - 21:43:07:000 | Current URL: https://uyuni-master-server.sumaci.aws/rhn/channel/ssm/ChannelSubscriptions.do
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Pre-requisite: re-subscribe the Red Hat-like minion to a base channel
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:02.897
When
I follow "Software" in the content area
00:00:00.094
And
I follow "Software Channels" in the content area
00:00:00.073
And
I wait until I do not see "Loading..." text
00:00:00.080
Warning: Radio button 'Fake-Base-Channel-RH-like' is already checked
And
I wait until I do not see "Loading..." text
00:00:00.426
And
I click on "Next"
00:00:00.089
Then
I should see a "Confirm Software Channel Change" text
00:00:00.171
When
I click on "Confirm"
00:00:00.066
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.284
And
I wait until event "Subscribe channels scheduled" is completed
00:00:22.531
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Schedule errata refresh to reflect channel assignment on Red Hat-like minion
When
I follow "Software" in the content area
00:00:00.075
And
I follow "List / Remove" in the content area
00:00:00.066
And
I enter "virgo-dummy" as the filtered package name
00:00:00.145
And
I click on the filter button until page does contain "virgo-dummy" text
00:00:11.327
When
I follow the left menu "Admin > Task Schedules"
00:00:00.134
And
I follow "errata-cache-default"
00:00:00.396
And
I follow "errata-cache-bunch"
00:00:01.337
And
I click on "Single Run Schedule"
00:00:01.548
Then
I should see a "bunch was scheduled" text
00:00:00.555
And
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:11.752
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Install a patch on the Red Hat-like minion
Given
I am on the Systems overview page of this "rhlike_minion"
00:00:01.531
When
I follow "Software" in the content area
00:00:00.074
And
I follow "Patches" in the content area
00:00:00.068
When
I check "virgo-dummy-3456" in the list
00:00:00.066
And
I click on "Apply Patches"
00:00:00.696
And
I click on "Confirm"
00:00:01.225
Then
I should see a "1 patch update has been scheduled for" text
00:00:00.173
And
I wait for "virgo-dummy-2.0-1.1" to be installed on "rhlike_minion"
00:00:09.476
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Install a package on the Red Hat-like minion
When
I follow "Software" in the content area
00:00:00.065
And
I follow "Install"
00:00:00.432
And
I check "andromeda-dummy" in the list
00:00:00.057
And
I click on "Install Packages"
00:00:00.616
And
I click on "Confirm"
00:00:00.669
Then
I should see a "1 package install has been scheduled for" text
00:00:00.159
And
I wait until event "Package Install/Upgrade scheduled" is completed
00:00:23.355
@flaky
@scope_res
@scope_salt
@rhlike_minion
Scenario: Cleanup: remove virgo-dummy and andromeda-dummy packages from Red Hat-like minion
When
I follow "Software" in the content area
00:00:00.077
And
I follow "List / Remove"
00:00:00.588
And
I enter "andromeda" as the filtered package name
00:00:00.137
And
I click on the filter button
00:00:00.818
And
I check "andromeda-dummy" in the list
00:00:00.061
And
I enter "virgo-dummy" as the filtered package name
00:00:00.041
And
I click on the filter button
00:00:00.122
And
I check "virgo-dummy" in the list
00:00:00.057
And
I click on "Remove Packages"
00:00:00.590
And
I click on "Confirm"
00:00:00.836
Then
I should see a "2 package removals have been scheduled" text
00:00:00.141
And
I wait until event "Package Removal scheduled" is completed
00:00:22.554
And
I disable repository "test_repo_rpm_pool" on this "rhlike_minion"
00:00:00.323