Bug 1961314

Summary: Race condition in operator-registry pull retry unit tests
Product: OpenShift Container Platform Reporter: Joe Lanford <jlanford>
Component: OLMAssignee: Joe Lanford <jlanford>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low Keywords: Triaged
Version: 4.7   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1961315 (view as bug list) Environment:
Last Closed: 2021-07-27 23:08:46 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:
Bug Depends On:    
Bug Blocks: 1961315    

Comment 2 Jian Zhang 2021-05-19 03:05:57 UTC
[root@preserve-olm-env image]# git log
commit d3b5c5bc4509c8c4733ce2e03d1a99a6febb1202
Merge: b133dce 630cc8e
Author: OpenShift Merge Robot <openshift-merge-robot.github.com>
Date:   Tue May 18 22:42:59 2021 -0400

    Merge pull request #80 from anik120/catsrc-metrics
    
    Bug 1961320: feat(metrics): Emit metrics for CatalogSource state
...
[root@preserve-olm-env image]# pwd
/data/goproject/src/github.com/openshift/operator-framework-olm/staging/operator-registry/pkg/image

[root@preserve-olm-env image]# for l in 1 2 3 4 5;do go test -race -count=1 ./...;done
ok  	github.com/operator-framework/operator-registry/pkg/image	9.922s
?   	github.com/operator-framework/operator-registry/pkg/image/containerdregistry	[no test files]
?   	github.com/operator-framework/operator-registry/pkg/image/execregistry	[no test files]
ok  	github.com/operator-framework/operator-registry/pkg/image	9.464s
?   	github.com/operator-framework/operator-registry/pkg/image/containerdregistry	[no test files]
?   	github.com/operator-framework/operator-registry/pkg/image/execregistry	[no test files]
ok  	github.com/operator-framework/operator-registry/pkg/image	9.811s
?   	github.com/operator-framework/operator-registry/pkg/image/containerdregistry	[no test files]
?   	github.com/operator-framework/operator-registry/pkg/image/execregistry	[no test files]
ok  	github.com/operator-framework/operator-registry/pkg/image	10.092s
?   	github.com/operator-framework/operator-registry/pkg/image/containerdregistry	[no test files]
?   	github.com/operator-framework/operator-registry/pkg/image/execregistry	[no test files]
ok  	github.com/operator-framework/operator-registry/pkg/image	9.625s
?   	github.com/operator-framework/operator-registry/pkg/image/containerdregistry	[no test files]
?   	github.com/operator-framework/operator-registry/pkg/image/execregistry	[no test files]

LGTM, verify it.

Comment 5 errata-xmlrpc 2021-07-27 23:08:46 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.8.2 bug fix and security 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-2021:2438