@deblike_minion
@scope_deblike
@scope_content_staging
Feature: 0128 - Install a package on the Debian-like minion with staging enabled
File name: min_deblike_salt_install_with_staging.feature
Relative path: secondary/min_deblike_salt_install_with_staging.feature
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Pre-requisite: install virgo-dummy-1.0 package, make sure orion-dummy is not present on Debian-like minion
When
I enable repository "test_repo_deb_pool" on this "deblike_minion"
00:00:00.443
And
I run "apt update" on "deblike_minion"
00:00:01.048
And
I remove package "orion-dummy" from this "deblike_minion"
00:00:00.238
And
I install old package "virgo-dummy=1.0" on this "deblike_minion"
00:00:00.262
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Pre-requisite: refresh package list on Debian-like minion
When
I refresh packages list via spacecmd on "deblike_minion"
00:00:08.064
And
I wait until refresh package list on "deblike_minion" is finished
00:10:09.437
+ Show Error
+ Screenshot
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/command_steps.rb:1319:in `/^I wait until refresh package list on "(.*?)" is finished$/' features/secondary/min_deblike_salt_install_with_staging.feature:26:in `I wait until refresh package list on "deblike_minion" is finished'
Then
spacecmd should show packages "virgo-dummy-1.0" installed on "deblike_minion"
0s
User is not logged in (ScriptError) ./features/step_definitions/navigation_steps.rb:663:in `/^I should be logged in$/' ./features/step_definitions/navigation_steps.rb:643:in `/^I am authorized as "([^"]*)" with password "([^"]*)"$/' ./features/support/env.rb:257:in `block in relog_and_visit_previous_url' ./features/support/env.rb:255:in `relog_and_visit_previous_url' ./features/support/env.rb:235:in `handle_screenshot_and_relog' ./features/support/env.rb:188:in `After'
15:03:51:000 - 15:14:09:000 | Current URL: https://uyuni-master-server.sumaci.aws/rhn/systems/details/history/Event.do?sid=1000010009&aid=390
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Pre-requisite: ensure the errata cache is computed for Debian-like minion
When
I follow the left menu "Admin > Task Schedules"
00:00:00.169
And
I follow "errata-cache-default"
00:00:01.224
And
I follow "errata-cache-bunch"
00:00:00.413
Then
I click on "Single Run Schedule"
00:00:01.264
And
I should see a "bunch was scheduled" text
00:00:00.278
Then
I wait until the table contains "FINISHED" or "SKIPPED" followed by "FINISHED" in its first rows
00:00:01.152
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Enable content staging for Debian-like minion
When
I follow the left menu "Admin > Organizations"
00:00:00.070
And
I follow first "SUSE Test"
00:00:00.246
And
I follow first "Configuration"
00:00:00.277
And
I check "staging_content_enabled"
00:00:00.041
And
I click on "Update Organization"
00:00:00.425
Then
I should see a "was successfully updated." text
00:00:00.064
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Install package in the future and check for staging on Debian-like minion
Given
I am on the Systems overview page of this "deblike_minion"
00:00:02.244
And
I follow "Software" in the content area
00:00:00.075
And
I follow "Packages" in the content area
00:00:00.087
And
I follow "Install" in the content area
00:00:00.069
And
I enter "orion-dummy-1.1-X" as the filtered package name
00:00:00.056
And
I click on the filter button
00:00:00.620
When
I check "orion-dummy-1.1-X" in the list
00:00:00.059
And
I click on "Install Packages"
00:00:00.757
And
I pick 3 minutes from now as schedule time
00:00:00.094
And
I click on "Confirm"
00:00:01.254
Then
I should see a "1 package install has been scheduled for" text
00:00:00.065
And
I wait until the package "orion-dummy_1.1" has been cached on this "deblike_minion"
00:01:05.630
And
I wait for "orion-dummy-1.1" to be installed on "deblike_minion"
00:01:39.640
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Install patch in the future and check for staging on Debian-like minion
When
I follow "Software" in the content area
00:00:00.068
And
I follow "Patches" in the content area
00:00:00.069
Unable to find css "input[placeholder='Filter by Synopsis: ']" (Capybara::ElementNotFound) ./features/step_definitions/navigation_steps.rb:993:in `/^I enter "([^"]*)" as the filtered synopsis$/' features/secondary/min_deblike_salt_install_with_staging.feature:66:in `I enter "virgo" as the filtered synopsis'
And
I click on the filter button
0s
And
I check "3456-1" in the list
0s
And
I click on "Apply Patches"
0s
And
I pick 3 minutes from now as schedule time
0s
And
I click on "Confirm"
0s
Then
I should see a "1 patch update has been scheduled for" text
0s
And
I wait until the package "virgo-dummy_2.0" has been cached on this "deblike_minion"
0s
And
I wait for "virgo-dummy-2.0" to be installed on "deblike_minion"
0s
@deblike_minion
@scope_deblike
@scope_content_staging
Scenario: Cleanup: remove virgo-dummy and orion-dummy packages from Debian-like minion
And
I remove package "orion-dummy" from this "deblike_minion"
00:00:01.143
And
I remove package "virgo-dummy" from this "deblike_minion"
00:00:00.377
And
I disable repository "test_repo_deb_pool" on this "deblike_minion"
00:00:00.238
And
I run "apt update" on "deblike_minion"
00:00:01.397