@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:03.053
And
I follow "Delete System"
00:00:00.491
Then
I should see a "Confirm System Profile Deletion" text
00:00:00.062
When
I click on "Delete Profile"
00:00:00.068
And
I wait until I see "has been deleted" text
00:04:04.352
And
I wait until Salt client is inactive on "deblike_minion"
00:00:01.366
Then
"deblike_minion" should not be registered
00:00:01.045
@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.086
Then
I should see a "Bootstrap Minions" text
00:00:00.075
When
I check "manageWithSSH"
00:00:00.113
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.086
And
I click on "Bootstrap"
00:00:00.072
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:00:44.496
And
I follow the left menu "Systems > System List > All"
00:00:00.170
And
I wait until I see the name of "deblike_minion", refreshing the page
00:01:11.848
And
I wait until onboarding is completed for "deblike_minion"
00:00:09.227
@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.748
When
I follow "Details" in the content area
00:00:00.084
And
I follow "Connection" in the content area
00:00:00.074
Then
I should see "proxy" short hostname
00:00:00.071
@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.871
When
I follow "Details" in the content area
00:00:00.069
And
I follow "Proxy" in the content area
00:00:00.074
Then
I should see "deblike_minion" hostname
00:00:00.091
@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.923
When
I follow "Software" in the content area
00:00:00.089
And
I follow "Software Channels" in the content area
00:00:00.069
And
I wait until I do not see "Loading..." text
00:00:00.073
And
I check radio button "Fake-Base-Channel-Debian-like"
00:00:10.079
And
I wait until I do not see "Loading..." text
00:00:00.412
And
I click on "Next"
00:00:00.068
Then
I should see a "Confirm Software Channel Change" text
00:00:00.060
When
I click on "Confirm"
00:00:00.097
Then
I should see a "Changing the channels has been scheduled." text
00:00:00.294
And
I wait until event "Subscribe channels scheduled" is completed
00:00:39.574
@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.936
Then
I check for failed events on history event page
00:01:01.518
@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.149
Then
I should see a "Remote Commands" text in the content area
00:00:00.022
When
I enter command "cat /etc/os-release"
00:00:00.118
And
I enter target "deblike_minion"
00:00:00.101
And
I click on preview
00:00:10.313
And
I click on run
00:00:00.052
Then
I should see "deblike_minion" hostname
00:00:00.057
When
I wait until I see "show response" text
00:00:06.560
And
I expand the results for "deblike_minion"
00:00:00.053
Then
I should see a "ID=ubuntu" text
00:00:00.053
@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.746
Then
I check for failed events on history event page
00:01:11.108
@skip_if_github_validation
@scope_deblike
@scope_salt_ssh
@deblike_minion
Scenario: Cleanup: delete the SSH-managed Debian-like minion
When
I delete "deblike_minion" system using the api
00:00:05.560
And
I perform a full salt minion cleanup on "deblike_minion"
00:00:06.067
And
I wait until Salt client is inactive on "deblike_minion"
00:00:00.218
Then
"deblike_minion" should not be registered
00:00:00.966
@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.085
Then
I should see a "Bootstrap Minions" text
00:00:00.067
The hostname of deblike_minion is uyuni-master-deblike-minion
And
I enter "22" as "port"
00:00:00.057
And
I enter "root" as "user"
00:00:00.061
And
I enter "linux" as "password"
00:00:00.065
And
I select the hostname of "proxy" from "proxies" if present
00:00:00.082
And
I click on "Bootstrap"
00:00:00.071
And
I wait at most 480 seconds until I see "Bootstrap process initiated." text
00:08:00.026
+ Show Error
+ Screenshot
Text 'Bootstrap process initiated.' not found (ScriptError) ./features/step_definitions/navigation_steps.rb:48:in `/^I wait at most (\d+) seconds until I see "([^"]*)" text$/' features/secondary/min_deblike_ssh.feature:110:in `I wait at most 480 seconds until I see "Bootstrap process initiated." text'
And
I follow the left menu "Systems > System List > All"
0s
And
I wait until I see the name of "deblike_minion", refreshing the page
0s
And
I wait until onboarding is completed for "deblike_minion"
0s
@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.064
+ Show Error
+ Screenshot
No system found for hostname: uyuni-master-deblike-minion (RuntimeError) ./features/support/commonlib.rb:444:in `get_system_id' ./features/step_definitions/navigation_steps.rb:502:in `/^I am on the Systems overview page of this "([^"]*)"$/' features/secondary/min_deblike_ssh.feature:116:in `I am on the Systems overview page of this "deblike_minion"'
When
I follow "Software" in the content area
0s
And
I follow "Software Channels" in the content area
0s
And
I wait until I do not see "Loading..." text
0s
And
I check radio button "Fake-Base-Channel-Debian-like"
0s
And
I wait until I do not see "Loading..." text
0s
And
I click on "Next"
0s
Then
I should see a "Confirm Software Channel Change" text
0s
When
I click on "Confirm"
0s
Then
I should see a "Changing the channels has been scheduled." text
0s
And
I wait until event "Subscribe channels scheduled" is completed
0s