Bug 1889838

Summary: race in Operator update after fix from bz1888073
Product: OpenShift Container Platform Reporter: Seth Jennings <sjenning>
Component: OLMAssignee: Nick Hale <nhale>
OLM sub component: OLM QA Contact: kuiwang
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: krizza
Version: 4.6Keywords: UpcomingSprint
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:26:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Seth Jennings 2020-10-20 16:56:03 UTC
Description of problem:

After https://github.com/operator-framework/operator-lifecycle-manager/pull/1816 merged in bz1888073, unit test flakes:

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/operator-framework_operator-lifecycle-manager/1822/pull-ci-operator-framework-operator-lifecycle-manager-release-4.6-unit/1318548827241713664

due to a race between watch trigger mapComponentRequests() and queue triggered Reconcile()

Version-Release number of selected component (if applicable):
4.6 nightly

How reproducible:
Sometimes

Steps to Reproduce:
1. Run unit test
2.
3.

Actual results:
Flakes sometimes with missing components in Operator

Expected results:
Should always have all up-to-date components

Additional info:

https://github.com/operator-framework/operator-lifecycle-manager/pull/1816

Comment 5 errata-xmlrpc 2021-02-24 15:26:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633