USHIFT-7223: Automate Polarion tests OCP-66820 and OCP-66882#6905
USHIFT-7223: Automate Polarion tests OCP-66820 and OCP-66882#6905agullon wants to merge 3 commits into
Conversation
Add Robot Framework tests for prerun data management scenarios: - OCP-66820: Verify that when the version file indicates a version 3 minors behind the executable (exceeding MAX_VERSION_SKEW=2), MicroShift fails to start and logs the failure reason to prerun_failed.log, which is then reported by greenboot healthcheck. - OCP-66882: Verify that when the MicroShift data directory is removed but health.json shows healthy status, MicroShift starts fresh as if it were the first run, ignoring the stale health info. Both tests are added to existing CI scenarios: - Presubmit: el98-src@backup-and-restore-on-reboot.sh - Release: el98-lrel@backups.sh Ref: USHIFT-7223 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
|
@agullon: This pull request references USHIFT-7223 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughA new Robot Framework test suite ChangesPrerun Data Management Tests
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[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 |
|
/retest |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
|
@agullon: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
test/suites/backup/prerun-data-management.robotprerun_failed.log, reported by greenboot healthcheck/var/lib/microshiftwhilehealth.jsonshows healthy causes MicroShift to start fresh, ignoring stale health infoel98-src@backup-and-restore-on-reboot.shandel98-lrel@backups.sh)Test plan
el98-src@backup-and-restore-on-rebootpresubmit scenario — verify both existing and new tests passel98-lrel@backupsrelease scenario — verify both existing and new tests passprerun_failed.log🤖 Generated with Claude Code
Summary by CodeRabbit