Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2520

E2E test failures due to incorrect plugin references

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 1.9.0
    • Dynamic Plugins
    • None

      Description of problem:

      RHDH E2E test failures are occurring due to incorrect plugin references in the values files. This is leading to the RHDH instances failing to start up during the plugin install phases.

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

      Steps to Reproduce

      1. Submit a PR against RHDH main branch
      2. Wait for E2E test report to be generated
      3. Navigate to the Pod logs for the RHDH instance
      4. Notice the error message reported below

      Actual results:

      RHDH fails to start and we are unable to run E2E tests against it

      Expected results:

      RHDH starts and we are able to run E2E tests against it

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

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

       

      ======= Installing dynamic plugin ./dynamic-plugins/dist/backstage-community-plugin-github-actions
      	==> Grabbing package archive through `npm pack`
      Traceback (most recent call last):
        File "/opt/app-root/src/install-dynamic-plugins.py", line 1175, in <module>
          main()
        File "/opt/app-root/src/install-dynamic-plugins.py", line 1160, in main
          _, plugin_config = install_plugin(plugin, plugin_path_by_hash, dynamic_plugins_root, skip_integrity_check)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/app-root/src/install-dynamic-plugins.py", line 808, in install_plugin
          plugin_path = installer.install(plugin, plugin_path_by_hash)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/app-root/src/install-dynamic-plugins.py", line 709, in install
          raise InstallException(f'Error while installing plugin {package} with \'npm pack\' : {result.stderr.decode("utf-8")}')
      InstallException: Error while installing plugin /opt/app-root/src/dynamic-plugins/dist/backstage-community-plugin-github-actions with 'npm pack' : npm error code ENOENT
      npm error syscall open
      npm error path /opt/app-root/src/dynamic-plugins/dist/backstage-community-plugin-github-actions/package.json
      npm error errno -2
      npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins/dist/backstage-community-plugin-github-actions/package.json'
      npm error enoent This is related to npm not being able to find a file.
      npm error enoent
      npm error A complete log of this run can be found in: /opt/app-root/src/.npm/_logs/2026-01-16T12_00_37_469Z-debug-0.log
      
      ======= Removed lock file: /dynamic-plugins-root/install-dynamic-plugins.lock 

              rh-ee-pknight Patrick Knight
              rh-ee-pknight Patrick Knight
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: