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

Migrate e2e test from fixed to latest Helm chart version

Create Doc EPIC for Fe...Prepare for Y ReleasePrepare for Z ReleaseXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Test framework
    • False
    • Hide

      None

      Show
      None
    • False

      We should use the latest version of the Helm chart for our e2e test deployments on the main branch.

      We currently use a fixed version - see here: https://github.com/redhat-developer/rhdh/blob/a3d8796e4cb2952e5202d5a205b43b5065fef5ed/.ibm/pipelines/env_variables.sh#L27 

      We must change the variable to:

      CHART_VERSION="*"

      on the main branch and keep an appropriate fixed version for the release branches.

      This change produces an issue with the RBAC deployment where the login with OIDC (Keycloak) is throwing an error that user is not found. See logs:

      {"actor":{"actorId":"plugin:auth","hostname":"localhost","ip":"::ffff:127.0.0.1","userAgent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"},"eventName":"CatalogEntityFetchByName","isAuditLog":true,"level":"\u001b[32minfo\u001b[39m","message":"Fetch attempt for entity with entityRef user:default/rhdh-qe-2 initiated by plugin:auth","meta":{"entityRef":"user:default/rhdh-qe-2"},"plugin":"catalog","request":{"body":{},"method":"GET","params":{"kind":"User","name":"rhdh-qe-2","namespace":"default"},"query":{},"url":"/api/catalog/entities/by-name/User/default/rhdh-qe-2"},"service":"backstage","span_id":"ceac5f396af51dde","stage":"initiation","status":"succeeded","timestamp":"2025-01-29 11:05:43","trace_flags":"01","trace_id":"0008e9c8c7a23798f2ebf46ad13213c8"}{"actor":{"actorId":"plugin:auth","hostname":"localhost","ip":"::ffff:127.0.0.1","userAgent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"},"errors":[{"message":"No entity named 'rhdh-qe-2' found, with kind 'User' in namespace 'default'","name":"NotFoundError","stack":"NotFoundError: No entity named 'rhdh-qe-2' found, with kind 'User' in namespace 'default'\n at Object.writeSingleEntityResponse (/opt/app-root/src/node_modules/@backstage/plugin-catalog-backend/dist/service/response/write.cjs.js:15:13)\n at /opt/app-root/src/node_modules/@backstage/plugin-catalog-backend/dist/service/createRouter.cjs.js:456:15\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}],"eventName":"CatalogEntityFetchByName","isAuditLog":true,"level":"\u001b[31merror\u001b[39m","message":"Fetch attempt for entity with entityRef user:default/rhdh-qe-2 by plugin:auth failed","meta":{"entityRef":"user:default/rhdh-qe-2"},"plugin":"catalog","request":{"body":{},"method":"GET","params":{"kind":"User","name":"rhdh-qe-2","namespace":"default"},"query":{},"url":"/api/catalog/entities/by-name/User/default/rhdh-qe-2"},"service":"backstage","span_id":"ceac5f396af51dde","stage":"completion","status":"failed","timestamp":"2025-01-29 11:05:43","trace_flags":"01","trace_id":"0008e9c8c7a23798f2ebf46ad13213c8"} 

              Unassigned Unassigned
              zdrapela@redhat.com Zbynek Drapela
              RHIDP - Core Platform
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: