Bug 2028141 - Console tests doesn't pass on Node.js 15 and 16
Summary: Console tests doesn't pass on Node.js 15 and 16
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
Depends On:
TreeView+ depends on / blocked
Reported: 2021-12-01 15:14 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-03-10 16:31:07 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10594 0 None open Bug 2028141: Catch unhandled promises when running tests (to support Node.js 15) 2021-12-01 16:39:54 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:31:20 UTC

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.


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