Bug 1912115

Summary: [automation] Analyze job keep failing because of 'JavaScript heap out of memory'
Product: OpenShift Container Platform Reporter: Ido Rosenzwig <irosenzw>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aballant, aos-bugs, jokerman, spadgett, yapei
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: Environment:
Last Closed: 2021-02-24 15:49:31 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 Ido Rosenzwig 2021-01-03 15:32:50 UTC
Description of problem:

Analyze job keep failing for kubevirt-plugin on openshift/console because of 'JavaScript heap out of memory'

Memory size needs to be increased.

Comment 1 Samuel Padgett 2021-01-04 13:42:21 UTC
*** Bug 1909229 has been marked as a duplicate of this bug. ***

Comment 3 Samuel Padgett 2021-01-04 22:22:02 UTC
This is still an issue: https://prow.ci.openshift.org/?repo=openshift%2Fconsole&job=pull-ci-openshift-console-master-analyze

I believe the NODE_OPTIONS isn't being used for the second command after the pipe.

Comment 5 Yadan Pei 2021-01-13 06:42:55 UTC
Hi Sam,

I see the latest code https://github.com/openshift/console/blob/master/frontend/package.json#L44 the size is still 4096, 
NODE_OPTIONS=--max-old-space-size=4096

is it correct?

Comment 6 Yadan Pei 2021-01-18 05:58:12 UTC
It looks like the root cause of kubevirt-plugin failure is the NODE_OPTIONS was not being used for the second command after the pipe, now it is https://github.com/openshift/console/blob/master/frontend/package.json#L44

Moving to VERIFIED

Comment 7 Yadan Pei 2021-01-18 05:58:29 UTC
Correct me if I'm wrong

Comment 8 Samuel Padgett 2021-01-26 14:04:19 UTC
Hi, yapei. Sorry I missed your message. Yes, that's correct. Comment #6 is accurate.

Comment 11 errata-xmlrpc 2021-02-24 15:49:31 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