Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade comparison patch #321

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Conversation

mukrishn
Copy link
Collaborator

@mukrishn mukrishn commented Aug 10, 2021

Description

This validation is not right, desired_version variable from here has got the old version prior to upgrade and validating with that cause the script to fail even after a successful upgrade. Instead it should compare with version post upgrade command.

2021-08-09T19:53:48Z - INFO     - MainProcess - trigger_upgrade: Cluster upgrade complete
...
2021-08-09T19:53:48Z - ERROR    - MainProcess - trigger_upgrade: Cluster did not upgrade to desired version
2021-08-09T19:53:48Z - ERROR    - MainProcess - trigger_upgrade: Cluster version is 4.7.16 and desired version is 4.7.13

Updated the var scope fixes it,

2021-08-10T18:04:19Z - INFO     - MainProcess - trigger_upgrade: Finished upgrading the cluster to version 4.7.13

Fixes

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2021

Codecov Report

Merging #321 (6c309a9) into master (8b69368) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #321   +/-   ##
=======================================
  Coverage   39.40%   39.40%           
=======================================
  Files          15       15           
  Lines         868      868           
=======================================
  Hits          342      342           
  Misses        526      526           
Flag Coverage Δ
gha 39.40% <ø> (ø)
python-3.6 39.40% <ø> (ø)
unit 39.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b69368...6c309a9. Read the comment docs.

@jtaleric jtaleric added the ok to test Kick off our CI framework label Aug 20, 2021
@jtaleric
Copy link
Member

/rerun all

@comet-perf-ci
Copy link
Collaborator

Results for SNAFU CI Test

Test Result Runtime
snafu/upgrade_openshift_wrapper PASS 00:00:00

1 similar comment
@comet-perf-ci
Copy link
Collaborator

Results for SNAFU CI Test

Test Result Runtime
snafu/upgrade_openshift_wrapper PASS 00:00:00

Copy link
Collaborator

@learnitall learnitall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments on the changes. Can you take a look and additionally do a run of pre-commit? Thanks!

@comet-perf-ci
Copy link
Collaborator

Results for SNAFU CI Test

Test Result Runtime
snafu/upgrade_openshift_wrapper PASS 00:00:00

@comet-perf-ci
Copy link
Collaborator

Results for SNAFU CI Test

Test Result Runtime
snafu/upgrade_openshift_wrapper PASS 00:00:00

@learnitall learnitall merged commit aa566f7 into cloud-bulldozer:master Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok to test Kick off our CI framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants