Bug 2111205

Summary: console-plugin-demo build failing in CI
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.12CC: yapei
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
No end user impact.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:53:34 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 Robb Hamilton 2022-07-26 17:27:17 UTC
Description of problem:  The image build of console-plugin-demo is failing due to network issues.  This is likely the result of `yarn install` timing out as we've seen before with the image build of `frontend`.

Comment 1 Robb Hamilton 2022-07-26 17:31:32 UTC
Example build log error:

```
: Build image console-plugin-demo from the repository expand_less	1s
{  the build console-plugin-demo failed with reason DockerBuildFailed: Dockerfile build strategy has failed.

info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error: build error: error building at STEP "RUN yarn insta...    yarn build": error while running runtime: exit status 1}
```

Comment 3 Yadan Pei 2022-08-01 07:16:19 UTC
we can see many "the build console-plugin-demo failed with reason DockerBuildFailed: Dockerfile build strategy has failed." error before PR was merged(PR was merged 3 days ago)
https://search.ci.openshift.org/?search=build+console-plugin-demo+failed+with+reason+DockerBuildFailed&maxAge=168h&context=1&type=build-log&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

wait two more days to see if the error disappear

Comment 4 Yadan Pei 2022-08-03 02:26:19 UTC
PR was merged 5 days ago, when searching 'console-plugin-demo failed with reason DockerBuildFailed' error in recent 2 days, we got zero matches, so the network timeout issue should has been resolved

https://search.ci.openshift.org/?search=console-plugin-demo+failed+with+reason+DockerBuildFailed&maxAge=48h&context=1&type=build-log&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

Comment 7 errata-xmlrpc 2023-01-17 19:53:34 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.12.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:7399