Skip to content

Commit

Permalink
QE: Fix GH validation core stage
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios committed Oct 24, 2023
1 parent 77df6c1 commit dbcd17b
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
2 changes: 2 additions & 0 deletions testsuite/features/reposync/srv_create_fake_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Feature: Create fake channels
And I click on "Create Channel"
Then I should see a "Channel Fake-RPM-Terminal-Channel created." text

@deblike_minion
Scenario: Add Debian-like AMD64 base channel
When I follow the left menu "Software > Manage > Channels"
And I follow "Create Channel"
Expand All @@ -145,6 +146,7 @@ Feature: Create fake channels
And I click on "Create Channel"
Then I should see a "Channel Fake-Base-Channel-Debian-like created." text

@rhlike_minion
Scenario: Add a RedHat-like base channel
When I follow the left menu "Software > Manage > Channels"
And I follow "Create Channel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Feature: Create fake repositories for each fake child channel
And I click on "Save Repositories"
Then I should see a "Fake-Base-Channel repository information was successfully updated" text

@sle_minion
Scenario: Add the fake RPM repository to the SUSE fake child channel
When I follow the left menu "Software > Manage > Channels"
And I follow "Fake-RPM-SUSE-Channel"
Expand All @@ -63,7 +64,7 @@ Feature: Create fake repositories for each fake child channel
And I click on "Save Repositories"
Then I should see a "Test-Base-Channel-x86_64 repository information was successfully updated" text

@rhlike_minion
@rhlike_minion
Scenario: Add the fake RPM repository to the RedHat-like base channel
When I follow the left menu "Software > Manage > Channels"
And I follow "Fake-Base-Channel-RH-like"
Expand Down Expand Up @@ -114,6 +115,7 @@ Feature: Create fake repositories for each fake child channel
And I click on "Save Repositories"
Then I should see a "Fake-Base-Channel-Debian-like repository information was successfully updated" text

@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Add the repository to the terminal child channel
Expand Down
5 changes: 4 additions & 1 deletion testsuite/features/reposync/srv_sync_fake_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Feature: Synchronize fake channels
Then I should see a "Repository sync scheduled for Fake-Base-Channel." text
And I wait until the channel "fake-base-channel" has been synced

@sle_minion
Scenario: Synchronize Fake-RPM-SUSE-Channel channel
Given I am authorized for the "Admin" section
When I follow the left menu "Software > Manage > Channels"
Expand All @@ -40,6 +41,7 @@ Feature: Synchronize fake channels
Then I should see a "Repository sync scheduled for Fake-RPM-SUSE-Channel." text
And I wait until the channel "fake-rpm-suse-channel" has been synced

@sle_minion
Scenario: Verify state of Fake-RPM-SUSE-Channel channel
Then "orion-dummy-1.1-1.1.x86_64.rpm" package should have been stored
And solver file for "fake-rpm-suse-channel" should reference "orion-dummy-1.1-1.1.x86_64.rpm"
Expand Down Expand Up @@ -90,6 +92,7 @@ Feature: Synchronize fake channels
Then I should see a "Repository sync scheduled for Fake-Base-Channel-RH-like." text
And I wait until the channel "fake-base-channel-rh-like" has been synced

@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Synchronize the repository in the terminal channel
Expand All @@ -103,7 +106,7 @@ Feature: Synchronize fake channels
Then I should see a "Repository sync scheduled for Fake-RPM-Terminal-Channel." text
And I wait until the channel "fake-rpm-terminal-channel" has been synced


@pxeboot_minion
@uyuni
@scc_credentials
Scenario: Verify state of Fake-RPM-Terminal-Channel custom channel
Expand Down
3 changes: 1 addition & 2 deletions testsuite/podman_runner/11_run_core_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash
set -xe
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && cd /testsuite && rake cucumber:github_validation_core"

sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:github_validation_core"
2 changes: 1 addition & 1 deletion testsuite/podman_runner/16_run_init_clients_tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
set -xe
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:github_validation_init_clients"
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:github_validation_init_clients"
2 changes: 1 addition & 1 deletion testsuite/podman_runner/17_run_secondary_tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
set -xe
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:secondary"
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:secondary"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -xe
sudo -i podman exec controller-test bash -c "zypper ref && zypper -n install expect"
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:secondary_parallelizable"
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:secondary_parallelizable"
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ then
exit 1
fi

sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:secondary_parallelizable_${1}"
sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && cd /testsuite && rake cucumber:secondary_parallelizable_${1}"
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
- features/github_validation/core/first_settings.feature
- features/core/srv_user_preferences.feature
- features/reposync/srv_create_fake_channels.feature
- features/github_validation/core/create_repository.feature
- features/reposync/srv_create_fake_repositories.feature
- features/reposync/srv_sync_fake_channels.feature
- features/reposync/srv_create_activationkey.feature
- features/core/srv_osimage.feature
- features/core/srv_docker.feature
- features/reposync/srv_sync_fake_channels.feature
## Container features END ###

0 comments on commit dbcd17b

Please sign in to comment.