Add version logging to upgrade/downgrade tests#3971
Add version logging to upgrade/downgrade tests#3971cardil wants to merge 2 commits intoopenshift-knative:release-1.37from
Conversation
The upgrade tests were hard to debug because upgrade/downgrade steps did not report version information on success. Added comprehensive logging to report: - Target CSV and component versions at start - InstallPlan approval - CSV success state - Each component version upgrade/downgrade progress - Final completion with version confirmation This makes it immediately clear whether tests upgraded to the expected version (e.g., 1.37.1) or an unexpected one (e.g., 1.38.0). Assisted-by: 🤖 Claude Opus/Sonnet 4.5
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cardil The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/cherrypick main |
|
@cardil: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
/retest |
|
The fail (flaky) should be fixed with #3973 /hold |
|
/unhold |
Problem
The upgrade tests are hard to debug. Especially the upgrade/downgrade steps do not report anything on success, so it's hard to tell if we upgraded to 1.37.1 (as expected) or maybe 1.38.0.
Solution
Added comprehensive version logging to
test/upgrade/installation/serverless.goto report:Example Output
Now when tests run, you'll see clear output like:
This makes it immediately clear whether the upgrade went to the expected version or an unexpected one.
Assisted-by: 🤖 Claude Opus/Sonnet 4.5