Bug 1961314 - Race condition in operator-registry pull retry unit tests
Summary: Race condition in operator-registry pull retry unit tests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Joe Lanford
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1961315
TreeView+ depends on / blocked
 
Reported: 2021-05-17 16:57 UTC by Joe Lanford
Modified: 2021-07-27 23:09 UTC (History)
0 users

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1961315 (view as bug list)
Environment:
Last Closed: 2021-07-27 23:08:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift operator-framework-olm pull 79 0 None open Bug 1961314: fix race in test with mockRepo/mockBlobStore 2021-05-17 17:02:29 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:09:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.