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

Migrate e2e test from fixed GH chart to latest quay Helm chart version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Test Framework
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH COPE 3273, RHDH COPE 3274, RHDH COPE 3275

      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 ( see comment: https://github.com/redhat-developer/rhdh/pull/2568#issuecomment-2721304234) .

      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"} 

              rh-ee-oaljalju Omar Al Jaljuli (Inactive)
              zdrapela@redhat.com Zbynek Drapela
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: