Bug 1923774

Summary: Docker builds failing for openshift/cluster-resource-override-admission-operator
Product: OpenShift Container Platform Reporter: Elana Hashman <ehashman>
Component: NodeAssignee: Elana Hashman <ehashman>
Node sub component: Kubelet QA Contact: Sunil Choudhary <schoudha>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: high CC: aos-bugs
Version: 4.7   
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:
: 1923802 (view as bug list) Environment:
Last Closed: 2021-02-24 15:57: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: 1923802    

Description Elana Hashman 2021-02-01 21:03:22 UTC
Description of problem:

```
the build root failed after 39s with reason DockerBuildFailed: Dockerfile build strategy has failed.

usage: go get [-d] [-t] [-u] [-v] [-insecure] [build flags] [packages]
Run 'go help get' for details.
subprocess exited with status 2
subprocess exited with status 2
error: build error: error building at STEP "RUN GO111MODUL...et -mod=readonly github.com/mikefarah/yq/v2": exit status 2
```

See e.g. https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/15420/rehearse-15420-pull-ci-openshift-cluster-resource-override-admission-operator-master-unit/1356337961301446656


Version-Release number of selected component (if applicable): N/A


How reproducible:

Failing since Jan. 28, likely due to the golang 1.15 bump: https://github.com/openshift/cluster-resource-override-admission-operator/pull/51


Additional info:

Comment 1 Elana Hashman 2021-02-01 23:08:04 UTC
Build is now fixed. I need to submit one follow-up PR to fix the yq issue.

Comment 3 Sunil Choudhary 2021-02-03 05:36:43 UTC
I see this is for bump in yq and now build is fixed, marking it verified.

Comment 6 errata-xmlrpc 2021-02-24 15:57: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.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