Add version logging to upgrade/downgrade tests#3971
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
|
/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 |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cardil, maschmid 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 |
a43e7a5
into
openshift-knative:release-1.37
|
@cardil: new pull request created: #3975 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. |
|
@cardil: cannot checkout 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. |
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