Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4861

nightly job aks broken: Error while installing a dynamic plugin

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Plugins, Test framework
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH Install 3265, RHDH Install 3266

      Description of problem:

      the aks nightly job for e2e tests is failing with the following error. This error is shown when a first dynamic plugin is attempted to be installed and happens for various plugins - it doesn't seem to be plugin specific. 

      ======= Installing dynamic plugin ./dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic ==> Grabbing package archive through `npm pack` Traceback (most recent call last): File "/opt/app-root/src/install-dynamic-plugins.py", line 429, in <module> main() File "/opt/app-root/src/install-dynamic-plugins.py", line 340, in main raise InstallException(f'Error while installing plugin { package } with \'npm pack\' : ' + completed.stderr.decode('utf-8')) main.InstallException: Error while installing plugin /opt/app-root/src/dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic with 'npm pack' : npm error code EACCES npm error syscall open npm error path /dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz npm error errno -13 npm error Error: EACCES: permission denied, open '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz' npm error at async open (node:internal/fs/promises:639:25) npm error at async writeFile (node:internal/fs/promises:1219:14) npm error at async pack (/usr/lib/node_modules/npm/node_modules/libnpmpack/lib/index.js:42:5) npm error at async Pack.exec (/usr/lib/node_modules/npm/lib/commands/pack.js:48:27) npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:207:9) npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5) { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'open', npm error path: '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.5.1.tgz' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /opt/app-root/src/.npm/_logs/2024-11-08T07_52_53_432Z-debug-0.log

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      *https://redhat-internal.slack.com/archives/C07D05S8U82/p1731053382603019*

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              zdrapela@redhat.com Zbynek Drapela
              rh-ee-ngallego Nil Gallego
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: