From e1cd334ac3121a133b22bea115a3dd04626f3535 Mon Sep 17 00:00:00 2001 From: James Molet Date: Mon, 10 Aug 2026 10:12:31 -0400 Subject: [PATCH 1/2] feat: add OSCI gating plan for subscription-manager Add TMT plan for OSCI-triggered Testing Farm gating. Discovers tests from rhsm-qe via fmf, uses double-clone pattern for prepare scripts, and vault-based secrets via rhsm-qe .testing-farm.yaml. Related: CCT-1831 Assisted-by: goose (AI agent) --- .fmf/version | 1 + gating.yaml | 2 +- plans/integration.fmf | 62 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 plans/integration.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index 79248ac..a67ea7f 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,5 +4,5 @@ product_versions: decision_context: osci_compose_gate rules: - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: rhsmci.brew-build.tier1.functional} + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/integration.functional} - !PassingTestCaseRule {test_case_name: rhsmci.brew-build.cloud.functional} diff --git a/plans/integration.fmf b/plans/integration.fmf new file mode 100644 index 0000000..e417f1a --- /dev/null +++ b/plans/integration.fmf @@ -0,0 +1,62 @@ +summary: subscription-manager integration tests (OSCI gating) +description: | + Runs the rhsm-qe TestNG gating suite against a self-managed containerized + Candlepin server. Tests are discovered from the rhsm-qe repository. + + Prepare scripts are invoked from a manual clone because TMT does not + execute a remote plan's prepare steps when using discover: how: fmf. + This is the same pattern used for yggdrasil dist-git gating. + + See also: https://gitlab.cee.redhat.com/RHSM-QE/rhsm-qe/-/blob/main/plans/rhsm.fmf + +discover: + how: fmf + url: https://gitlab.cee.redhat.com/RHSM-QE/rhsm-qe.git + ref: main + +prepare: + - name: Clone rhsm-qe for prepare scripts + how: shell + script: | + git clone --depth=1 -b main https://gitlab.cee.redhat.com/RHSM-QE/rhsm-qe.git /tmp/rhsm-qe + + - name: Install dependencies + how: shell + script: /tmp/rhsm-qe/scripts/tmt/install-deps.sh + + - name: Setup localhost SSH access + how: shell + script: /tmp/rhsm-qe/scripts/tmt/setup-localhost-ssh.sh + + - name: Setup rhsm-qe + how: shell + script: /tmp/rhsm-qe/scripts/tmt/setup-rhsm-qe.sh + + - name: Install subscription-manager + how: shell + script: /tmp/rhsm-qe/scripts/tmt/install-subscription-manager.sh + + - name: Setup service credentials + how: shell + script: /tmp/rhsm-qe/scripts/tmt/setup-credentials.sh + + - name: Generate automation.properties + how: shell + script: /tmp/rhsm-qe/scripts/tmt/generate-properties.sh + + - name: Create test-output directory + how: shell + script: mkdir -p "${AUTOMATION_DIR}/test-output" + +execute: + how: tmt + +provision: + hardware: + memory: ">= 8 GB" + +environment: + AUTOMATION_DIR: ${TMT_PLAN_DATA}/rhsm-qe + SERVER_ENVIRONMENT: containerized + TESTNG_SUITE: sm-gating-testng-suite.xml + GATED: "true" From 55188fd746db2ecb903108bab3ce313f2b976a5b Mon Sep 17 00:00:00 2001 From: Christopher Snyder Date: Tue, 11 Aug 2026 15:37:56 -0400 Subject: [PATCH 2/2] Update subscription-manager to subscription-manager-1.30.16 Resolves: CCT-719 Resolves: CCT-2686 Related: RHEL-158888 Signed-off-by: Christopher Snyder --- sources | 1 + subscription-manager.spec | 29 ++++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/sources b/sources index 1403aae..1ae3576 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (subscription-manager-1.30.15.tar.gz) = d68ccd7de4d79b5aa7f4e2bb274944cbf0af358b68a3c8e33d8bc5363a632cce25badf59e1cc351ecd33475ee6c7f1eb685694d5d027b9b6b885c6171316d57d +SHA512 (subscription-manager-1.30.16.tar.gz) = ca8594eda2199e63ac43b2cd435b14185c7b3ab5dad33df33fb012260ff62dcdc5ecbd825a1467e2412b4cb44d268e379a2b10fbcb9cfd52a25d65ddd58f42f2 diff --git a/subscription-manager.spec b/subscription-manager.spec index 13e0a57..b31d910 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -83,7 +83,7 @@ %global exclude_packages %{exclude_packages}" Name: subscription-manager -Version: 1.30.15 +Version: 1.30.16 Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} @@ -679,6 +679,33 @@ rm -f /var/lib/rhsm/cache/rhsm_icon.json rm -f /var/lib/rhsm/cache/content_access_mode.json %changelog +* Tue Aug 11 2026 Christopher Snyder 1.30.16-1 +- fix: Invalidate CurrentOwnerCache when managerlib.persist_consumer_cert used + (csnyder@redhat.com) +- Translated using Weblate (Russian) (adem4ik@gmail.com) +- Translated using Weblate (Czech) (pavel.borecki@gmail.com) +- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com) +- Translated using Weblate (Spanish) (fserrador@gmail.com) +- Translated using Weblate (Portuguese (Brazil)) (rafaelff@gnome.org) +- Translated using Weblate (Czech) (jan.kalabza@gmail.com) +- Translated using Weblate (Georgian) (noreply-mt-weblate-translation- + memory@weblate.org) +- Translated using Weblate (Czech) (jan.kalabza@gmail.com) +- Translated using Weblate (Czech) (noreply-mt-weblate-translation- + memory@weblate.org) +- Translated using Weblate (Czech) (jan.kalabza@gmail.com) +- Translated using Weblate (Italian) (ali.ciloqlu@murena.io) +- fix: Gettext is still required for building & testing (jhnidek@redhat.com) +- docs: modernize subscription-manager.8 man page (CCT-719) + (jsefler@redhat.com) +- test(ci): Drop intltool dependency in the container (jvanderwaa@redhat.com) +- fix: set exit code during subscription-manager config + --rhsm.certificate_algorithms (jlocash@redhat.com) +- docs: add caution for certificate_algorithms configuration (CCT-2686) + (jsefler@redhat.com) +- ci: bump actions/checkout from 6 to 7 + (49699333+dependabot[bot]@users.noreply.github.com) + * Mon Jun 22 2026 Jiri Hnidek 1.30.15-1 - chore: better definition of IP address of AWS IMDS (jhnidek@redhat.com) - Fix package upload during initial register (suttner@atix.de)