USHIFT-6749: [release-5.0] migrate 25 OTP storage tests to RF - #7295
USHIFT-6749: [release-5.0] migrate 25 OTP storage tests to RF#7295agullon wants to merge 3 commits into
Conversation
Rename test/suites/storage/ to test/suites/storage1/ to make room for the new OTP-migrated tests in storage2/. Update all presubmit scenario scripts and run.sh to reference the new path. Release scenarios are updated in a follow-up commit to add storage2/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
Add shared keywords and YAML templates to support the migration of
25 storage tests from openshift-tests-private to Robot Framework.
- StorageTemplates.py: renders YAML templates with ${KEY} placeholder
substitution, validates no unreplaced placeholders remain
- storage.resource: reusable keywords for creating PVCs, Pods,
Deployments, StorageClasses, StatefulSets, VolumeSnapshots,
ResourceQuotas, and validating volume RW/exec/fstype/SELinux
- 16 YAML templates in test/assets/storage/ for all resource types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pre-commit.check-secrets: ENABLED
Migrate 25 MicroShift storage tests from openshift-tests-private (Go/Ginkgo) to Robot Framework under test/suites/storage2/. provisioning.robot (18 tests): OCP-59668 (default SC, xfs, scale), OCP-59655 (WaitForFirstConsumer), OCP-59657 (Immediate binding), OCP-59658 (Block VolumeMode), OCP-59659 (Filesystem VolumeMode), OCP-59660 (online resize), OCP-59661 (StatefulSet), OCP-59662 (multiple PVCs), OCP-59663 (SC quota), OCP-59664 (namespace quota), OCP-59665 (delete unconsumed PVC), OCP-59666 (PVC protection), OCP-59667 (default SC selection), OCP-59669 (SELinux), OCP-59670 (change default SC), OCP-59671 (reclaim policy Retain), OCP-64231 (ephemeral volume), OCP-68580 (oc set volume) snapshot-clone.robot (7 tests, requires thin pool): OCP-64839 (snapshot restore filesystem), OCP-64840 (snapshot restore block), OCP-64842 (snapshot content Delete policy), OCP-64843 (snapshot content Retain policy), OCP-64856 (cross-SC snapshot), OCP-64857 (clone filesystem), OCP-64858 (clone block) Release scenarios updated to run both storage1/ and storage2/. Presubmit scenarios run storage1/ only. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@agullon: This pull request references USHIFT-6749 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: agullon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
Backport of #7246 to
release-5.0.Migrates 25 MicroShift storage tests from
openshift-tests-private(Go/Ginkgo) to Robot Framework.Changes
test/suites/storage/totest/suites/storage1/StorageTemplates.py,storage.resource, 16 YAML templatestest/suites/storage2/:provisioning.robot(18 tests) +snapshot-clone.robot(7 tests)storage1/only; releases runstorage1/+storage2/Related
Jira
https://issues.redhat.com/browse/USHIFT-6749
🤖 Generated with Claude Code