Skip to content

Bug 2070854: syncWorkerStatus: Avoid saving stale status values - #759

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
jottofar:bug-2070854
Apr 13, 2022
Merged

Bug 2070854: syncWorkerStatus: Avoid saving stale status values#759
openshift-merge-robot merged 1 commit into
openshift:masterfrom
jottofar:bug-2070854

Conversation

@jottofar

@jottofar jottofar commented Apr 1, 2022

Copy link
Copy Markdown
Contributor

which can occur since the splitting of payload load and apply to be called in separate goroutines #683. Each thread will now call it's own update status function that only sets status values it manages.

@openshift-ci openshift-ci Bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Apr 1, 2022
@openshift-ci

openshift-ci Bot commented Apr 1, 2022

Copy link
Copy Markdown
Contributor

@jottofar: This pull request references Bugzilla bug 2070854, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @shellyyang1989

Details

In response to this:

Bug 2070854: statusWrapper: do not overwrite capabilities status

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/test-infra repository.

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 1, 2022
@jottofar
jottofar force-pushed the bug-2070854 branch 2 times, most recently from 82c20e3 to 027faaa Compare April 4, 2022 17:23
@jottofar

jottofar commented Apr 5, 2022

Copy link
Copy Markdown
Contributor Author

/test e2e-agnostic-upgrade

@wking

wking commented Apr 6, 2022

Copy link
Copy Markdown
Member

Seems unrelated:

: operator conditions node-tuning | 0s
-- | --
{Operator progressing (ProfileProgressing): Waiting for 1/6 Profiles to be applied  Operator progressing (ProfileProgressing): Waiting for 1/6 Profiles to be applied}

But also means we have no update coverage at all. I'm pretty confident that this change did not break updates though, so:

/override ci/prow/e2e-agnostic-upgrade

@openshift-ci

openshift-ci Bot commented Apr 6, 2022

Copy link
Copy Markdown
Contributor

@wking: Overrode contexts on behalf of wking: ci/prow/e2e-agnostic-upgrade

Details

In response to this:

Seems unrelated:

: operator conditions node-tuning | 0s
-- | --
{Operator progressing (ProfileProgressing): Waiting for 1/6 Profiles to be applied  Operator progressing (ProfileProgressing): Waiting for 1/6 Profiles to be applied}

But also means we have no update coverage at all. I'm pretty confident that this change did not break updates though, so:

/override ci/prow/e2e-agnostic-upgrade

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/test-infra repository.

Comment thread pkg/cvo/sync_worker.go Outdated
@jottofar

Copy link
Copy Markdown
Contributor Author

/retitle Bug 2070854: syncWorkerStatus: Avoid saving stale status values

@openshift-ci openshift-ci Bot changed the title Bug 2070854: statusWrapper: do not overwrite capabilities status Bug 2070854: syncWorkerStatus: Avoid saving stale status values Apr 12, 2022
@openshift-ci

openshift-ci Bot commented Apr 12, 2022

Copy link
Copy Markdown
Contributor

@jottofar: This pull request references Bugzilla bug 2070854, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @shellyyang1989

Details

In response to this:

Bug 2070854: syncWorkerStatus: Avoid saving stale status values

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/test-infra repository.

@wking wking left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2022
@openshift-ci

openshift-ci Bot commented Apr 12, 2022

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jottofar, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jottofar

Copy link
Copy Markdown
Contributor Author

/test e2e-agnostic-upgrade

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci

openshift-ci Bot commented Apr 13, 2022

Copy link
Copy Markdown
Contributor

@jottofar: all tests passed!

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot
openshift-merge-robot merged commit 484ebf2 into openshift:master Apr 13, 2022
@openshift-ci

openshift-ci Bot commented Apr 13, 2022

Copy link
Copy Markdown
Contributor

@jottofar: All pull requests linked via external trackers have merged:

Bugzilla bug 2070854 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2070854: syncWorkerStatus: Avoid saving stale status values

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants