@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
@proxy
Feature: 0047 - Bootstrap a SSH-managed Debian-like minion and do some basic operations on it
File name: min_deblike_ssh.feature
Relative path: secondary/min_deblike_ssh.feature
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Delete the Debian-like minion
When
I am on the Systems overview page of this "deblike_minion"
00:00:02.455
And
I follow "Delete System"
00:00:01.055
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.137
When
I click on "Delete Profile"
00:00:00.059
And
I wait until I see "has been deleted" text
00:04:04.417
And
I wait until Salt client is inactive on "deblike_minion"
00:00:01.751
Then
"deblike_minion" should not be registered
00:00:01.022
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Bootstrap a SSH-managed Debian-like minion
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.081
Then
I should see a "Bootstrap Minions" text
00:00:00.168
When
I check "manageWithSSH"
00:00:00.087
The hostname of deblike_minion is uyuni-master-deblike-minion
And
I enter "linux" as "password"
00:00:00.060
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.073
And
I click on "Bootstrap"
00:00:00.062
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:44.808
And
I follow the left menu "Systems > System List > All"
00:00:00.148
And
I wait until I see the name of "deblike_minion", refreshing the page
00:00:30.900
And
I wait until onboarding is completed for "deblike_minion"
00:04:16.767
+ Show Error
+ Screenshot
execution expired (Timeout::Error) ./features/support/commonlib.rb:89:in `repeat_until_timeout' ./features/step_definitions/navigation_steps.rb:70:in `/^I wait until I see "([^"]*)" (text|regex), refreshing the page$/' ./features/step_definitions/common_steps.rb:157:in `/^I wait (\d+) seconds until the event is picked up and (\d+) seconds until the event "([^"]*)" is completed$/' ./features/step_definitions/setup_steps.rb:218:in `/^I wait at most (\d+) seconds until onboarding is completed for "([^"]*)"$/' ./features/step_definitions/setup_steps.rb:230:in `/^I wait until onboarding is completed for "([^"]*)"$/' features/secondary/min_deblike_ssh.feature:45:in `I wait until onboarding is completed for "deblike_minion"'
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
@proxy
Scenario: Check connection from SSH-managed Debian-like minion to proxy
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.677
When
I follow "Details" in the content area
00:00:00.073
And
I follow "Connection" in the content area
00:00:00.066
Then
I should see "proxy" short hostname
00:00:00.148
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
@proxy
Scenario: Check registration on proxy of SSH-managed Debian-like minion
Given
I am on the Systems overview page of this "proxy"
00:00:01.883
When
I follow "Details" in the content area
00:00:00.061
And
I follow "Proxy" in the content area
00:00:00.064
Then
I should see "deblike_minion" hostname
00:00:00.209
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Subscribe the SSH-managed Debian-like minion to a base channel
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.752
When
I follow "Software" in the content area
00:00:00.072
And
I follow "Software Channels" in the content area
00:00:00.063
And
I wait until I do not see "Loading..." text
00:00:00.062
And
I check radio button "Fake-Base-Channel-Debian-like"
00:00:10.094
And
I wait until I do not see "Loading..." text
00:00:00.381
And
I click on "Next"
00:00:00.062
Then
I should see a "Confirm Software Channel Change" text
00:00:00.159
When
I click on "Confirm"
00:00:00.064
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.259
And
I wait until event "Subscribe channels scheduled" is completed
00:00:38.829
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Check events history for failures on SSH-managed Debian-like minion
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.731
Then
I check for failed events on history event page
00:00:40.922
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Run a remote command on the SSH-managed Debian-like minion
When
I follow the left menu "Salt > Remote Commands"
00:00:00.132
Then
I should see a "Remote Commands" text in the content area
00:00:00.032
When
I enter command "cat /etc/os-release"
00:00:00.093
And
I enter target "deblike_minion"
00:00:00.092
And
I click on preview
00:00:10.315
And
I click on run
00:00:00.045
Then
I should see "deblike_minion" hostname
00:00:00.139
When
I wait until I see "show response" text
00:00:05.626
And
I expand the results for "deblike_minion"
00:00:00.046
Then
I should see a "ID=ubuntu" text
00:00:00.120
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Check events history for failures on SSH-managed Debian-like minion
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.943
Then
I check for failed events on history event page
00:00:51.067
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Cleanup: delete the SSH-managed Debian-like minion
When
I am on the Systems overview page of this "deblike_minion"
00:00:01.931
And
I follow "Delete System"
00:00:00.440
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.138
When
I click on "Delete Profile"
00:00:00.060
And
I wait until I see "has been deleted" text
00:00:14.547
Then
"deblike_minion" should not be registered
00:00:01.122
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Cleanup: bootstrap a Debian-like minion
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.079
Then
I should see a "Bootstrap Minions" text
00:00:00.151
The hostname of deblike_minion is uyuni-master-deblike-minion
And
I enter "22" as "port"
00:00:00.053
And
I enter "root" as "user"
00:00:00.059
And
I enter "linux" as "password"
00:00:00.061
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.070
And
I click on "Bootstrap"
00:00:00.058
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:26.538
And
I follow the left menu "Systems > System List > All"
00:00:00.146
And
I wait until I see the name of "deblike_minion", refreshing the page
00:00:44.398
And
I wait until onboarding is completed for "deblike_minion"
00:00:40.040
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Cleanup: re-subscribe the Debian-like minion to a base channel
Given
I am on the Systems overview page of this "deblike_minion"
00:00:01.581
When
I follow "Software" in the content area
00:00:00.072
And
I follow "Software Channels" in the content area
00:00:00.062
And
I wait until I do not see "Loading..." text
00:00:00.063
And
I check radio button "Fake-Base-Channel-Debian-like"
00:00:10.069
And
I wait until I do not see "Loading..." text
00:00:00.386
And
I click on "Next"
00:00:00.062
Then
I should see a "Confirm Software Channel Change" text
00:00:00.132
When
I click on "Confirm"
00:00:00.055
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.253
And
I wait until event "Subscribe channels scheduled" is completed
00:00:19.225