Bug 2028141

Summary: Console tests doesn't pass on Node.js 15 and 16
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: low    
Version: 4.10CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:31:07 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 Christoph Jerolimov 2021-12-01 15:14:24 UTC
Description of problem:
Also if the console CI/CD runs on Node.js 14, we should start supporting also the newer versions 15 and 16. Node.js 16 is the latest LTS version, preinstalled on Fedora and many other systems.

See also https://nodejs.org/en/about/releases/

Version-Release number of selected component (if applicable):
4.10, also previous versions or branches are affected

How reproducible:
Always with latest Node.js version (15 and 16)

Steps to Reproduce:
1. Switch Node.js version (for example via nvm use 16)
2. Clean your node_modules, reinstall dependencies
3. And run the tests time yarn test

For example:
nvm use 16
git clean -df && git clean -dfX
yarn install && time yarn test

Actual results:
Tests pass on v14
Tests fail on v15 and v16

Expected results:
Tests should pass on v14 to v16

Additional info:
This is an followup on the ticket https://issues.redhat.com/browse/ODC-6194 which marked unit test doesn't fail anymore on Node 15.

Comment 2 Christoph Jerolimov 2021-12-08 11:04:15 UTC
This changes only affects the unit tests, so mark it as Done.

Comment 6 errata-xmlrpc 2022-03-10 16:31:07 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.10.3 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:0056