-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.12
-
None
-
Important
-
None
-
False
-
Description of problem:
`yarn run dev` command will fail on release-4.12 branch
Version-Release number of selected component (if applicable):
latest release-4.12 branch
How reproducible:
Always
Steps to Reproduce:
1. clone latest release-4.12 branch of openshift/console repo [fedora@preserved-ui-fedora35 frontend]$ git log -1 commit 1f41bda05c8dc93c51e87a59082f8972a8c4ab60 (HEAD -> release-4.12, origin/release-4.12) Merge: 652068d886 4f0c37622e Author: openshift-merge-bot[bot] <148852131+openshift-merge-bot[bot]@users.noreply.github.com> Date: Wed Oct 2 09:53:32 2024 +0000 Merge pull request #14334 from jgbernalp/manual-backport-OCPBUGS-3373 OCPBUGS-33519: Observe > Metrics targets, Alert user if they do not have access to information on this page (e.g. 403). 2. cd frontend; yarn install; yarn run dev
Actual results:
2. [fedora@preserved-ui-fedora35 frontend]$ yarn run dev yarn run v1.22.15 $ yarn clean && yarn generate && REACT_REFRESH=true NODE_OPTIONS=--max-old-space-size=4096 yarn ts-node ./node_modules/.bin/webpack serve --mode=development --progress $ rm -rf ./public/dist $ yarn generate-graphql && yarn build-plugin-sdk && yarn build-console-plugin-shared $ graphql-codegen --config graphql-codegen.yml ✔ Parse configuration ✔ Generate outputs $ yarn --cwd packages/console-dynamic-plugin-sdk build $ yarn clean && yarn validate && yarn compile && yarn generate $ rm -rf dist generated schema $ yarn ts-node scripts/validate-extensions.ts $ ts-node -O '{"module":"commonjs"}' scripts/validate-extensions.ts Validating Console extension types No issues detected $ for ext in '' '-internal' '-webpack' ; do ./node_modules/.bin/tsc -p tsconfig${ext}.json || exit $? ; done $ yarn generate-schema && yarn generate-doc && yarn generate-pkg-assets $ yarn ts-node scripts/generate-schema.ts $ ts-node -O '{"module":"commonjs"}' scripts/generate-schema.ts Generating Console plugin JSON schemas generated/schema/plugin-package.json generated/schema/plugin-package.cjs generated/schema/console-extensions.json generated/schema/console-extensions.cjs generated/schema/plugin-manifest.json generated/schema/plugin-manifest.cjs $ yarn ts-node scripts/generate-doc.ts $ ts-node -O '{"module":"commonjs"}' scripts/generate-doc.ts Generating Console plugin documentation docs/console-extensions.md Generating core API docs docs/api.md $ yarn ts-node scripts/generate-pkg-assets.ts $ ts-node -O '{"module":"commonjs"}' scripts/generate-pkg-assets.ts Generating assets for package @openshift-console/dynamic-plugin-sdk dist/core/package.json dist/core/LICENSE dist/core/README.md dist/core/docs dist/core/lib/app/components/status/icons.scss dist/core/lib/app/components/status/PopoverStatus.scss dist/core/lib/app/components/utils/resource-status.scss Generating assets for package @openshift-console/dynamic-plugin-sdk-internal dist/internal/package.json dist/internal/LICENSE dist/internal/README.md Generating assets for package @openshift-console/dynamic-plugin-sdk-webpack dist/webpack/package.json dist/webpack/LICENSE dist/webpack/README.md dist/webpack/schema $ yarn --cwd packages/console-plugin-shared build $ yarn compile && yarn pkgfiles && yarn stylefiles $ tsc -p tsconfig.json $ cp LICENSE README.md package.json dist/ $ cd src && find . -name '*.scss' -exec cp '{}' ../dist/lib/'{}' \; $ ts-node -O '{"module":"commonjs"}' ./node_modules/.bin/webpack serve --mode=development --progress Starting type checking service... <i> [webpack-dev-server] Project is running at: <i> [webpack-dev-server] Loopback: http://localhost:8080/ <i> [webpack-dev-server] On Your Network (IPv4): http://10.0.76.87:8080/ <i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::f816:3eff:fe8a:8c95]:8080/ 10% building 2/6 modules 4 active /home/fedora/repos/console/frontend/node_modules/webpack/hot/dev-server.jsError: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:80:19) at Object.createHash (node:crypto:139:10) at module.exports (/home/fedora/repos/console/frontend/node_modules/webpack/lib/util/createHash.js:135:53) at NormalModule._initBuildHash (/home/fedora/repos/console/frontend/node_modules/webpack/lib/NormalModule.js:417:16) at handleParseError (/home/fedora/repos/console/frontend/node_modules/webpack/lib/NormalModule.js:471:10) at /home/fedora/repos/console/frontend/node_modules/webpack/lib/NormalModule.js:503:5 at /home/fedora/repos/console/frontend/node_modules/webpack/lib/NormalModule.js:358:12 at /home/fedora/repos/console/frontend/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:373:3 at iterateNormalLoaders (/home/fedora/repos/console/frontend/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:214:10) at Array.<anonymous> (/home/fedora/repos/console/frontend/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:205:4) at Storage.finished (/home/fedora/repos/console/frontend/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16) at /home/fedora/repos/console/frontend/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9 at /home/fedora/repos/console/frontend/node_modules/graceful-fs/graceful-fs.js:123:16 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error', 'error:0308010C:digital envelope routines::unsupported' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Expected results:
no errors
Additional info: