Bug 2047799

Summary: release-openshift-ocp-installer-e2e-aws-upi-4.9
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: InstallerAssignee: Nobody <nobody>
Installer sub component: openshift-installer QA Contact: Gaoyun Pei <gpei>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: anarayan, sippy
Version: 4.9   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
job=release-openshift-ocp-installer-e2e-aws-upi-4.9=all
Last Closed: 2022-08-23 19:39:39 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 Scott Dodson 2022-01-28 15:18:16 UTC
This job is failing 100% of the time since early January.

job:
release-openshift-ocp-installer-e2e-aws-upi-4.9 

is failing frequently in CI, see testgrid results:
https://testgrid.k8s.io/redhat-openshift-ocp-release-4.9-informing#release-openshift-ocp-installer-e2e-aws-upi-4.9

Example jobs:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.9/1468514022625120256
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.9/1486882767735099392
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.9/1487046711007252480


 level=info msg=Ignition-Configs created in: /tmp/artifacts/installer and /tmp/artifacts/installer/auth
jq: error: syntax error, unexpected INVALID_CHARACTER (Unix shell quoting issues?) at <top-level>, line 1:
.architectures.x86_64.images.aws.regions[\"${AWS_REGION}\"].image                                         
jq: 1 compile error

Comment 1 Scott Dodson 2022-01-28 15:28:41 UTC
The offending line seems to have been introduced here though I don't know the proper quoting.

https://github.com/openshift/release/commit/3c29ef1ea4988141d8c97cd0db55e8dad554ba09#diff-ba2cb3cdc0f179f886cf0bf9167c1251e87209e78d18f8bff73cec1463afd02aR1314

Comment 2 Matthew Staebler 2022-01-31 20:23:58 UTC
(In reply to Scott Dodson from comment #1)
> The offending line seems to have been introduced here though I don't know
> the proper quoting.
> 
> https://github.com/openshift/release/commit/
> 3c29ef1ea4988141d8c97cd0db55e8dad554ba09#diff-
> ba2cb3cdc0f179f886cf0bf9167c1251e87209e78d18f8bff73cec1463afd02aR1314

The AWS_REGION environment variable needs to be passed in via the --arg flag to jq.

Comment 3 Kiran Thyagaraja 2022-01-31 21:17:52 UTC
(In reply to Scott Dodson from comment #1)
> The offending line seems to have been introduced here though I don't know
> the proper quoting.
> 
> https://github.com/openshift/release/commit/
> 3c29ef1ea4988141d8c97cd0db55e8dad554ba09#diff-
> ba2cb3cdc0f179f886cf0bf9167c1251e87209e78d18f8bff73cec1463afd02aR1314

Thanks for spotting this. Its a quoting error.

Comment 5 Gaoyun Pei 2022-02-12 07:19:01 UTC
Quoting issue in the jq command caused CI failure. Successful e2e-aws-upi-4.9 job was seen in the latest test, such as:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.9/1492185789256175616
Move this bug as verified.

Comment 12 errata-xmlrpc 2022-08-23 19:39:39 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069