@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:01.989
And
I follow "Delete System"
00:00:00.455
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.058
When
I click on "Delete Profile"
00:00:00.071
And
I wait until I see "has been deleted" text
00:04:03.665
And
I wait until Salt client is inactive on "deblike_minion"
00:00:01.455
Then
"deblike_minion" should not be registered
00:00:01.087
@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.083
Then
I should see a "Bootstrap Minions" text
00:00:00.063
When
I check "manageWithSSH"
00:00:00.092
The hostname of deblike_minion is uyuni-master-deblike-minion
And
I enter "linux" as "password"
00:00:00.068
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.078
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:46.542
And
I follow the left menu "Systems > System List > All"
00:00:00.162
And
I wait until I see the name of "deblike_minion", refreshing the page
00:01:11.565
And
I wait until onboarding is completed for "deblike_minion"
00:00:08.875
@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.711
When
I follow "Details" in the content area
00:00:00.070
And
I follow "Connection" in the content area
00:00:00.067
Then
I should see "proxy" short hostname
00:00:00.066
@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.858
When
I follow "Details" in the content area
00:00:00.063
And
I follow "Proxy" in the content area
00:00:00.066
Then
I should see "deblike_minion" hostname
00:00:00.094
@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.929
When
I follow "Software" in the content area
00:00:00.068
And
I follow "Software Channels" in the content area
00:00:00.066
And
I wait until I do not see "Loading..." text
00:00:00.066
And
I check radio button "Fake-Base-Channel-Debian-like"
00:00:10.063
And
I wait until I do not see "Loading..." text
00:00:00.391
And
I click on "Next"
00:00:00.063
Then
I should see a "Confirm Software Channel Change" text
00:00:00.057
When
I click on "Confirm"
00:00:00.087
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.271
And
I wait until event "Subscribe channels scheduled" is completed
00:00:39.172
@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.702
Then
I check for failed events on history event page
00:01:01.005
@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.136
Then
I should see a "Remote Commands" text in the content area
00:00:00.020
When
I enter command "cat /etc/os-release"
00:00:00.094
And
I enter target "deblike_minion"
00:00:00.095
And
I click on preview
00:00:10.315
And
I click on run
00:00:00.048
Then
I should see "deblike_minion" hostname
00:00:00.054
When
I wait until I see "show response" text
00:00:05.678
And
I expand the results for "deblike_minion"
00:00:00.048
Then
I should see a "ID=ubuntu" text
00:00:00.051
@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.751
Then
I check for failed events on history event page
00:01:11.191
@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.719
And
I follow "Delete System"
00:00:00.451
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.063
When
I click on "Delete Profile"
00:00:00.063
And
I wait until I see "has been deleted" text
00:00:14.378
Then
"deblike_minion" should not be registered
00:00:01.004
@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.083
Then
I should see a "Bootstrap Minions" text
00:00:00.061
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.060
And
I enter "linux" as "password"
00:00:00.065
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.097
And
I click on "Bootstrap"
00:00:00.067
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:26.454
And
I follow the left menu "Systems > System List > All"
00:00:00.152
And
I wait until I see the name of "deblike_minion", refreshing the page
00:00:30.879
And
I wait until onboarding is completed for "deblike_minion"
00:00:52.951
@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.546
When
I follow "Software" in the content area
00:00:00.076
And
I follow "Software Channels" in the content area
00:00:00.066
And
I wait until I do not see "Loading..." text
00:00:00.066
And
I check radio button "Fake-Base-Channel-Debian-like"
00:00:10.070
And
I wait until I do not see "Loading..." text
00:00:00.401
And
I click on "Next"
00:00:00.063
Then
I should see a "Confirm Software Channel Change" text
00:00:00.058
When
I click on "Confirm"
00:00:00.077
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.275
And
I wait until event "Subscribe channels scheduled" is completed
00:00:18.822