Bug 2047799 - release-openshift-ocp-installer-e2e-aws-upi-4.9
Summary: release-openshift-ocp-installer-e2e-aws-upi-4.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Nobody
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-28 15:18 UTC by Scott Dodson
Modified: 2022-08-23 19:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
job=release-openshift-ocp-installer-e2e-aws-upi-4.9=all
Last Closed: 2022-08-23 19:39:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift release pull 25844 0 None open Bug 2047799: Fix quoting error when trying to extract RHCOS_AMI 2022-01-31 21:25:52 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-23 19:39:57 UTC

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


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