-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.22.0
-
None
-
None
-
False
-
-
None
-
Critical
-
None
-
None
-
Proposed
-
None
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
networking-console-plugin fails to build in hermetic mode due to yarn package manager incompatibility and Cypress test framework attempting network downloads during build process.
Version-Release number of selected component (if applicable):
OpenShift Container Platform 4.16+ networking-console-plugin component across all affected versions
How reproducible:
Always - occurs when converting any networking-console-plugin build from network_mode: open to hermetic mode
Steps to Reproduce:
1. Remove network_mode: open from networking-console-plugin.yml configuration 2. Attempt hermetic build via Konflux build system 3. Build fails during npm install phase when Cypress tries to download binaries
Actual results:
npm error Installing Cypress (version: 12.17.4) npm error The Cypress App could not be downloaded. npm error URL: https://download.cypress.io/desktop/12.17.4?platform=linux&arch=x64 npm error Error: getaddrinfo ENOTFOUND download.cypress.io Build fails because: - Yarn package manager not supported by cachi2 for hermetic dependency management - Cypress testing framework requires network access to download.cypress.io - Custom yarn artifacts and dockerfile modifications conflict with hermetic requirements
Expected results:
networking-console-plugin builds successfully in hermetic mode without requiring network access during build process. Component should use npm package manager and disable Cypress binary downloads via CYPRESS_INSTALL_BINARY=0 environment variable.
Additional info:
Root cause: Component uses yarn package manager which is incompatible with cachi2 hermetic builds, plus Cypress test framework downloads binaries during build. Solution requires: 1. Upstream yarn→npm migration (similar to networking-console-plugin) 2. Set CYPRESS_INSTALL_BINARY=0 to disable test framework downloads 3. Remove yarn-specific artifacts and dockerfile modifications 4. Update ocp-build-data package manager configuration Reference upstream work: https://github.com/openshift/networking-console-plugin/pull/357 Tracking: ART-14633 (parent task with technical analysis)
- clones
-
OCPBUGS-77308 [openshift-4.22] hermetic build failure - nmstate-console-plugin
-
- ON_QA
-
- links to