Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-7564

Make E2E typescript test "Smoke test" compatible with IBM Z and Power infrastructure

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      E2E typescript test "Smoke test" is failing on IBM Z and IBM Power infrastructure because the test is using quay.io/devfile/universal-developer-image:ubi8-latest [1] which is using doesn't support IBM Z and IBM Power.

      E.g.: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/29044/

      14:48:46        1) Wait workspace readiness
      14:48:46    [ERROR] CheReporter runner.on.fail: The SmokeTest userstory  Create workspace from factory:https://github.com/che-incubator/quarkus-api-example.git Wait workspace readiness failed after 300003ms
      14:48:46              ‣ FullTitle:The SmokeTest userstory  Create workspace from factory:https://github.com/che-incubator/quarkus-api-example.git Wait workspace readiness
      

      Solution

      1) make a fork of https://github.com/eclipse-che/che/blob/main/tests/e2e/specs/SmokeTest.spec.ts which is using https://quay.io/repository/devspaces/udi-rhel8 instead of quay.io/devfile/universal-developer-image:ubi8-latest

      2) change FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_REPO_URL in test pipeline when run the test on IBM Z and IBM Power

      [1] https://github.com/che-incubator/quarkus-api-example/blob/main/devfile.yaml#L9

              sachinitagi Sachin Itagi (Inactive)
              dnochevn Dmytro Nochevnov
              Red Hat Employee, devspaces-z-p-qe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: