Bug 2111205 - console-plugin-demo build failing in CI
Summary: console-plugin-demo build failing in CI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Robb Hamilton
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-26 17:27 UTC by Robb Hamilton
Modified: 2023-01-17 19:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
No end user impact.
Clone Of:
Environment:
Last Closed: 2023-01-17 19:53:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11880 0 None open [WIP] Bug 2111205: Add yarn and yarn config to dynamic-demo-plugin 2022-07-26 17:35:35 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:54:01 UTC

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


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