Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change client tools to MLM in testsuite #9891

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Feature: Synchronize products in the products page of the Setup Wizard
Then I should see the "Development Tools Module 15 SP4 x86_64" selected
When I select "Containers Module 15 SP4 x86_64" as a product
Then I should see the "Containers Module 15 SP4 x86_64" selected
When I select or deselect "SUSE Manager Client Tools Beta for SLE 15 x86_64 (BETA)" beta client tools
When I select or deselect "SUSE Multi-Linux Manager Client Tools Beta for SLE 15 x86_64 (BETA)" beta client tools
And I select "SUSE Linux Enterprise Server LTSS 15 SP4 x86_64" as a product
Then I should see the "SUSE Linux Enterprise Server LTSS 15 SP4 x86_64" selected
When I click the Add Product button
Expand Down Expand Up @@ -577,7 +577,7 @@ Feature: Synchronize products in the products page of the Setup Wizard
And I select "SUSE Liberty Linux LTSS 7 x86_64" as a product
Then I should see the "SUSE Liberty Linux LTSS 7 x86_64" selected
When I open the sub-list of the product "SUSE Liberty Linux LTSS 7 x86_64"
And I should see the "SUSE Manager Client Tools for RHEL, Liberty and Clones 7 x86_64" selected
And I should see the "SUSE Multi-Linux Manager Client Tools for RHEL, Liberty and Clones 7 x86_64" selected
When I click the Add Product button
And I wait until I see "SUSE Liberty Linux LTSS 7 x86_64" product has been added
And I wait until all synchronized channels for "sll-7-ltss" have finished
Expand Down
6 changes: 3 additions & 3 deletions testsuite/features/reposync/srv_sync_channels.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: List available channels and enable them
Scenario: List Server product
When I execute mgr-sync "list products"
Then I should get "[ ] SUSE Linux Enterprise Server 15 SP4 x86_64"

@proxy
@susemanager
Scenario: List Proxy product
Expand All @@ -37,8 +37,8 @@ Feature: List available channels and enable them
When I execute mgr-sync "list products --expand"
Then I should get "[ ] SUSE Linux Enterprise Server 15 SP4 x86_64"
And I should get "[ ] SUSE Manager Proxy 4.3 x86_64"
And I should get " [ ] (R) SUSE Manager Client Tools for RHEL, Liberty and Clones 7 x86_64"
And I should get " [ ] (R) SUSE Manager Client Tools for SLE 15 x86_64"
And I should get " [ ] (R) SUSE Multi-Linux Manager Client Tools for SUSE Liberty Linux 8, RHEL and clones 8 x86_64"
And I should get " [ ] (R) SUSE Multi-Linux Manager Client Tools for SLE15 15 x86_64 (BETA)"

Scenario: List products with filter
When I execute mgr-sync "list products --expand --filter x86_64"
Expand Down
56 changes: 28 additions & 28 deletions testsuite/features/reposync/srv_sync_products.feature
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ Feature: Synchronize products in the products page of the Setup Wizard
And I open the sub-list of the product "SUSE Linux Enterprise Server 15 SP4 x86_64"
And I open the sub-list of the product "Basesystem Module 15 SP4 x86_64"
And I open the sub-list of the product "Desktop Applications Module 15 SP4 x86_64"
And I open the sub-list of the product "SUSE Manager Client Tools for SLE 15 x86_64" if present
And I open the sub-list of the product "SUSE Multi-Linux Manager Client Tools for SLE 15 x86_64" if present
Then I should see that the "Basesystem Module 15 SP4 x86_64" product is "recommended"
And I should see that the "Server Applications Module 15 SP4 x86_64" product is "recommended"
And I should see that the "SUSE Manager Client Tools for SLE 15 x86_64" product is "recommended"
And I should see that the "SUSE Multi-Linux Manager Client Tools for SLE15 15 x86_64" product is "recommended"
When I select "SUSE Linux Enterprise Server 15 SP4 x86_64" as a product
Then I should see the "SUSE Linux Enterprise Server 15 SP4 x86_64" selected
And I should see the "Basesystem Module 15 SP4 x86_64" selected
And I should see the "Server Applications Module 15 SP4 x86_64" selected
And I should see the "SUSE Manager Client Tools for SLE 15 x86_64" selected
And I should see the "SUSE Multi-Linux Manager Client Tools for SLE15 15 x86_64" selected
When I select "Desktop Applications Module 15 SP4 x86_64" as a product
And I select "Development Tools Module 15 SP4 x86_64" as a product
Then I should see the "Desktop Applications Module 15 SP4 x86_64" selected
And I should see the "Development Tools Module 15 SP4 x86_64" selected
When I select "Containers Module 15 SP4 x86_64" as a product
Then I should see the "Containers Module 15 SP4 x86_64" selected
When I select or deselect "SUSE Manager Client Tools Beta for SLE 15 x86_64 (BETA)" beta client tools
When I select or deselect "SUSE Multi-Linux Manager Client Tools Beta for SLE 15 x86_64 (BETA)" beta client tools
And I select "SUSE Linux Enterprise Server LTSS 15 SP4 x86_64" as a product
Then I should see the "SUSE Linux Enterprise Server LTSS 15 SP4 x86_64" selected
When I click the Add Product button
Expand All @@ -85,7 +85,7 @@ Feature: Synchronize products in the products page of the Setup Wizard
@containerized_server
@proxy
@uyuni
Scenario: Add openSUSE Leap Micro 5.5 Proxy, including Uyuni Client Tools
Scenario: Add openSUSE Leap Micro 6.1 Proxy, including Uyuni Client Tools
# TODO: Refactor the scenarios in order to not require a full synchronization of Uyuni proxy product (OpenSUSE Micro 5.5)
When I use spacewalk-common-channel to add all "uyuni-proxy" channels with arch "x86_64"
And I wait until all synchronized channels for "uyuni-proxy" have finished
Expand Down Expand Up @@ -126,53 +126,53 @@ Feature: Synchronize products in the products page of the Setup Wizard

@proxy
@susemanager
Scenario: Add SLE Micro 5.5
Scenario: Add SLE Micro 6.1
Given I am authorized for the "Admin" section
When I follow the left menu "Admin > Setup Wizard > Products"
And I wait until I do not see "currently running" text
And I wait until I do not see "Loading" text
And I enter "SUSE Linux Enterprise Micro 5.5" as the filtered product description
And I select "SUSE Linux Enterprise Micro 5.5 x86_64" as a product
Then I should see the "SUSE Linux Enterprise Micro 5.5 x86_64" selected
When I open the sub-list of the product "SUSE Linux Enterprise Micro 5.5 x86_64"
And I open the sub-list of the product "SUSE Manager Client Tools for SLE Micro 5 x86_64" if present
And I select or deselect "SUSE Manager Client Tools Beta for SLE Micro 5 x86_64 (BETA)" beta client tools
And I enter "SUSE Linux Micro 6.1" as the filtered product description
And I select "SUSE Linux Micro 6.1 x86_64" as a product
Then I should see the "SUSE Linux Micro 6.1 x86_64" selected
When I open the sub-list of the product "SUSE Linux Micro 6.1 x86_64"
And I open the sub-list of the product "Multi-Linux Manager Client Tools for SLE Micro 6 x86_64" if present
And I select or deselect "Multi-Linux Manager Client Tools Beta for SLE Micro 6 x86_64 (BETA)" beta client tools
And I click the Add Product button
And I wait until I see "Selected channels/products were scheduled successfully for syncing." text
And I wait until I see "SUSE Linux Enterprise Micro 5.5 x86_64" product has been added
And I wait until all synchronized channels for "sle-micro-5.5" have finished
And I wait until I see "SUSE Linux Micro 6.1 x86_64" product has been added
And I wait until all synchronized channels for "sle-micro-6.1" have finished

@proxy
@susemanager
Scenario: Add SUSE Manager Proxy Extension 5.0
Scenario: Add SUSE Manager Proxy Extension 5.1
Given I am authorized for the "Admin" section
When I follow the left menu "Admin > Setup Wizard > Products"
And I wait until I do not see "currently running" text
And I wait until I do not see "Loading" text
And I enter "SUSE Linux Enterprise Micro 5.5" as the filtered product description
When I open the sub-list of the product "SUSE Linux Enterprise Micro 5.5 x86_64"
And I select "SUSE Manager Proxy Extension 5.0 x86_64" as a product
Then I should see the "SUSE Manager Proxy Extension 5.0 x86_64" selected
And I enter "SUSE Linux Micro 6.1" as the filtered product description
When I open the sub-list of the product "SUSE Linux Micro 6.1 x86_64"
And I select "SUSE Multi-Linux Manager Proxy Extension 5.1 x86_64 (BETA)" as a product
Then I should see the "SUSE Multi-Linux Manager Proxy Extension 5.1 x86_64 (BETA)" selected
When I click the Add Product button
And I wait until I see "Selected channels/products were scheduled successfully for syncing." text
And I wait until I see "SUSE Manager Proxy Extension 5.0 x86_64" product has been added
And I wait until all synchronized channels for "suma-proxy-extension-50" have finished
And I wait until I see "SUSE Multi-Linux Manager Proxy Extension 5.1 x86_64 (BETA)" product has been added
And I wait until all synchronized channels for "suma-proxy-extension-51" have finished

@proxy
@susemanager
Scenario: Add SUSE Manager Retail Branch Server Extension 5.0
Scenario: Add SUSE Manager Retail Branch Server Extension 5.1
Given I am authorized for the "Admin" section
When I follow the left menu "Admin > Setup Wizard > Products"
And I wait until I do not see "currently running" text
And I wait until I do not see "Loading" text
And I enter "SUSE Linux Enterprise Micro 5.5" as the filtered product description
When I open the sub-list of the product "SUSE Linux Enterprise Micro 5.5 x86_64"
And I select "SUSE Manager Retail Branch Server Extension 5.0 x86_64" as a product
Then I should see the "SUSE Manager Retail Branch Server Extension 5.0 x86_64" selected
And I enter "SUSE Linux Micro 6.1" as the filtered product description
When I open the sub-list of the product "SUSE Linux Micro 6.1 x86_64"
And I select "SUSE Multi-Linux Manager Retail Branch Server Extension 5.1 x86_64 (BETA)" as a product
Then I should see the "SUSE Multi-Linux Manager Retail Branch Server Extension 5.1 x86_64 (BETA)" selected
When I click the Add Product button
And I wait until I see "Selected channels/products were scheduled successfully for syncing." text
And I wait until I see "SUSE Manager Retail Branch Server Extension 5.0 x86_64" product has been added
And I wait until all synchronized channels for "suma-retail-branch-server-extension-50" have finished
And I wait until I see "SUSE Multi-Linux Manager Retail Branch Server Extension 5.1 x86_64 (BETA)" product has been added
And I wait until all synchronized channels for "suma-retail-branch-server-extension-51" have finished


@scc_credentials
Expand Down
84 changes: 42 additions & 42 deletions testsuite/features/support/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,10 @@
sle-module-desktop-applications15-sp4-pool-x86_64
sle-module-server-applications15-sp4-pool-x86_64
sle-module-server-applications15-sp4-updates-x86_64
sle-manager-tools15-pool-x86_64-sp4
sle-manager-tools15-updates-x86_64-sp4
sle-manager-tools15-beta-pool-x86_64-sp4
sle-manager-tools15-beta-updates-x86_64-sp4
managertools-sle15-pool-x86_64-sp4
managertools-sle15-updates-x86_64-sp4
managertools-beta-sle15-pool-x86_64-sp4
managertools-beta-sle15-updates-x86_64-sp4
sle-module-devtools15-sp4-updates-x86_64
sle-module-devtools15-sp4-pool-x86_64
sle-module-containers15-sp4-pool-x86_64
Expand Down Expand Up @@ -727,12 +727,14 @@
debian-12-pool-amd64
debian-12-main-security-amd64
debian-12-main-updates-amd64
debian-12-suse-manager-tools-amd64
managertools-debian12-updates-amd64
managertools-debian12-beta-updates-amd64
],
'sll-7-ltss' => # CHECKED
%w[
res-7-ltss-updates-x86_64
res-7-suse-manager-tools-x86_64-lbt7
managertools-el7-pool-x86_64-lbt7
managertools-el7-updates-x86_64-lbt7
],
'sll-9' => # CHECKED
%w[
Expand All @@ -745,12 +747,12 @@
el9-manager-tools-updates-x86_64-alma
el9-manager-tools-pool-x86_64-alma
el9-pool-x86_64
el9-manager-tools-pool-x86_64
el9-manager-tools-updates-x86_64
el9-manager-tools-pool-x86_64-ol9
el9-manager-tools-updates-x86_64-ol9
el9-manager-tools-pool-x86_64-rocky
el9-manager-tools-updates-x86_64-rocky
managertools-el9-pool-x86_64
managertools-el9-updates-x86_64
managertools-beta-el9-pool-x86_64
managertools-beta-el9-updates-x86_64
managertools-el9-pool-x86_64-rocky
managertools-el9-updates-x86_64-rocky
],
'rockylinux8' =>
%w[
Expand All @@ -770,9 +772,9 @@
'sles12-sp5' => # CHECKED
%w[
sles12-sp5-pool-x86_64
sle-manager-tools12-updates-x86_64-sp5
managertools-sle12-pool-x86_64-sp5
managertools-sle12-updates-x86_64-sp5
sles12-sp5-updates-x86_64
sle-manager-tools12-pool-x86_64-sp5
sles12-sp5-installer-updates-x86_64
],
'sles15-sp2' => # CHECKED
Expand All @@ -782,8 +784,8 @@
sle15-sp2-installer-updates-x86_64
sle-module-basesystem15-sp2-pool-x86_64
sle-module-basesystem15-sp2-updates-x86_64
sle-manager-tools15-pool-x86_64-sp2
sle-manager-tools15-updates-x86_64-sp2
managertools-sle15-pool-x86_64-sp2
managertools-sle15-updates-x86_64-sp2
sle-module-server-applications15-sp2-pool-x86_64
sle-module-server-applications15-sp2-updates-x86_64
sle-product-sles15-sp2-ltss-updates-x86_64
Expand All @@ -799,8 +801,8 @@
sle15-sp3-installer-updates-x86_64
sle-module-basesystem15-sp3-updates-x86_64
sle-module-basesystem15-sp3-pool-x86_64
sle-manager-tools15-updates-x86_64-sp3
sle-manager-tools15-pool-x86_64-sp3
managertools-sle15-pool-x86_64-sp3
managertools-sle15-updates-x86_64-sp3
sle-module-server-applications15-sp3-updates-x86_64
sle-module-server-applications15-sp3-pool-x86_64
sle-product-sles15-sp3-ltss-updates-x86_64
Expand All @@ -821,10 +823,10 @@
sle-module-server-applications15-sp4-pool-x86_64
sle-module-server-applications15-sp4-updates-x86_64
sle-product-sles15-sp4-ltss-updates-x86_64
sle-manager-tools15-pool-x86_64-sp4
sle-manager-tools15-updates-x86_64-sp4
sle-manager-tools15-beta-pool-x86_64-sp4
sle-manager-tools15-beta-updates-x86_64-sp4
managertools-sle15-pool-x86_64-sp4
managertools-sle15-updates-x86_64-sp4
managertools-beta-sle15-pool-x86_64-sp4
managertools-beta-sle15-updates-x86_64-sp4
sle-module-devtools15-sp4-updates-x86_64
sle-module-devtools15-sp4-pool-x86_64
sle-module-containers15-sp4-pool-x86_64
Expand All @@ -838,8 +840,8 @@
sle-module-basesystem15-sp5-updates-x86_64
sle-module-python3-15-sp5-pool-x86_64
sle-module-python3-15-sp5-updates-x86_64
sle-manager-tools15-updates-x86_64-sp5
sle-manager-tools15-pool-x86_64-sp5
managertools-sle15-pool-x86_64-sp5
managertools-sle15-updates-x86_64-sp5
sle-module-server-applications15-sp5-pool-x86_64
sle-module-server-applications15-sp5-updates-x86_64
sle-module-desktop-applications15-sp5-updates-x86_64
Expand All @@ -853,8 +855,8 @@
sle-product-sles15-sp6-updates-x86_64
sle-module-basesystem15-sp6-pool-x86_64
sle-module-basesystem15-sp6-updates-x86_64
sle-manager-tools15-updates-x86_64-sp6
sle-manager-tools15-pool-x86_64-sp6
managertools-sle15-pool-x86_64-sp6
managertools-sle15-updates-x86_64-sp6
sle-module-server-applications15-sp6-pool-x86_64
sle-module-server-applications15-sp6-updates-x86_64
sle-module-desktop-applications15-sp6-pool-x86_64
Expand All @@ -864,8 +866,8 @@
],
'slesforsap15-sp5' =>
%w[
sle-manager-tools15-pool-x86_64-sap-sp5
sle-manager-tools15-updates-x86_64-sap-sp5
managertools-sle15-pool-x86_64-sap-sp5
managertools-sle15-updates-x86_64-sap-sp5
sle-module-basesystem15-sp5-pool-x86_64-sap
sle-module-basesystem15-sp5-updates-x86_64-sap
sle-module-desktop-applications15-sp5-pool-x86_64-sap
Expand All @@ -883,16 +885,16 @@
],
'sles15-sp5-s390x' =>
%w[
sle-manager-tools15-pool-s390x-sp5
sle-manager-tools15-updates-s390x-sp5
managertools-sle15-pool-s390x-sp5
managertools-sle15-updates-s390x-sp5
sle-module-basesystem15-sp5-pool-s390x
sle-module-basesystem15-sp5-updates-s390x
sle-module-server-applications15-sp5-pool-s390x
sle-module-server-applications15-sp5-updates-s390x
sle-product-sles15-sp5-pool-s390x
sle-product-sles15-sp5-updates-s390x
],
'res7' => # CHECKED
'res7' => # TODO: Client tools not there anymore for RES only LTSS
%w[
rhel-x86_64-server-7
res7-x86_64
Expand All @@ -904,8 +906,8 @@
res-8-updates-x86_64
res-as-8-updates-x86_64
res-cb-8-updates-x86_64
res8-manager-tools-pool-x86_64
res8-manager-tools-updates-x86_64
managertools-el8-pool-x86_64
managertools-el8-updates-x86_64
],
'leap15.5-x86_64' =>
%w[
Expand All @@ -925,7 +927,7 @@
opensuse_leap15_6-x86_64-backports-updates
opensuse_leap15_6-x86_64-sle-updates
],
'leap15.5-aarch64' =>
'leap15.5-aarch64' => # TODO: Client tools not there anymore, product EoL, missing in UI
%w[
opensuse-backports-15.5-updates-aarch64
opensuse-leap-15.5-pool-aarch64
Expand All @@ -940,8 +942,8 @@
opensuse-leap-15.6-pool-aarch64
opensuse-leap-15.6-updates-aarch64
opensuse-sle-15.6-updates-aarch64
sle-manager-tools15-updates-aarch64-opensuse-15.6
sle-manager-tools15-pool-aarch64-opensuse-15.6
managertools-sle15-pool-aarch64-opensuse-15.6
managertools-sle15-updates-aarch64-opensuse-15.6
],
'suse-microos-5.1' => # CHECKED
%w[
Expand Down Expand Up @@ -1011,15 +1013,13 @@
ubuntu-2404-amd64-main-security-amd64
ubuntu-24.04-suse-manager-tools-amd64
],
'suma-proxy-extension-50' => # CHECKED
'suse-multi-linux-manager-proxy-5.1' => # CHECKED
%w[
suse-manager-proxy-5.0-pool-x86_64
suse-manager-proxy-5.0-updates-x86_64
suse-multi-linux-manager-proxy-5.1-x86_64
],
'suma-retail-branch-server-extension-50' => # CHECKED
'suse-multi-linux-manager-retail-branch-server-5.1' => # CHECKED
%w[
suse-manager-retail-branch-server-5.0-pool-x86_64
suse-manager-retail-branch-server-5.0-updates-x86_64
suse-multi-linux-manager-retail-branch-server-5.1-x86_64
]
},
'Uyuni' => {
Expand Down