Bug 1783011

Summary: OLM Unit Tests will not run
Product: OpenShift Container Platform Reporter: Alexander Greene <agreene>
Component: OLMAssignee: Alexander Greene <agreene>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: scolange, tbuskey
Version: 4.3.0   
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-23 11:18:56 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: 1783014    
Bug Blocks:    

Description Alexander Greene 2019-12-12 19:42:00 UTC
Description of problem:
The base golang image that OLM is built from was recently updated to include the following Environment Variable: GOFLAGS="-mod=vendor".

OLM always sets "mod=venodr" in our go commands. As a result, the flag is set twice and OLM unit tests will always fail.

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


How reproducible: Always


Steps to Reproduce:
1. Create a PR against the release-4.3

Actual results: Unit tests will not run


Expected results: Unit tests run

Comment 2 Bruno Andrade 2019-12-13 17:44:12 UTC
Created PR https://github.com/operator-framework/operator-lifecycle-manager/pull/1198 fo release-4.3 branch and ci/prow/e2e-aws-console-olm, ci/prow/e2e-aws-olm were executed successfully.

Marking as VERIFIED.

Comment 4 errata-xmlrpc 2020-01-23 11:18:56 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, 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/RHBA-2020:0062