-
Task
-
Resolution: Done
-
Critical
-
3.6.0.GA
-
None
-
False
-
None
-
False
-
-
It has been decided to shift-left and test upstream first.
To do it, it's needed to run devspaces test pipelines using upstream test repo https://github.com/eclipse/che instead of https://gitlab.cee.redhat.com/codeready-workspaces/e2e-codeready
1. Given that quay.io/eclipse/che-e2e:next image is built on each commit into the https://github.com/eclipse/che/tree/main, there should be:
- quay.io/eclipse/che-e2e:7.63.x image built on each commit into the https://github.com/eclipse/che/tree/7.63.x
- quay.io/eclipse/che-e2e:7.64.x image built on each commit into the https://github.com/eclipse/che/tree/7.64.x
- ...
Test parameters to execute EmptyWorkspace test:
- e2eTestSuite: ''
- e2eUserStoryTest: EmptyWorkspace
- testRootDir: tests/e2e
- e2eTestImage: quay.io/eclipse/che-e2e:7.64.x (for Dev Spaces 3.6.0 test pipelines using tests from https://github.com/eclipse/che/tree/7.64.x branch)
or
- e2eTestImage: quay.io/eclipse/che-e2e:next (for Dev Spaces Next test pipelines using tests from https://github.com/eclipse/che/tree/main branch)
Resulted command in typescript test pipeline using quay.io/eclipse/che-e2e:next image: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/7244/rebuild/parameterized
docker run --shm-size=4096m -p 5920:5920 -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 -e TS_SELENIUM_BASE_URL=https://devspaces.apps.ocp412.crw-qe.com -e DELETE_WORKSPACE_ON_FAILED_TEST=true -e TS_SELENIUM_START_WORKSPACE_TIMEOUT=600000 -e NODE_TLS_REJECT_UNAUTHORIZED=0 -e VIDEO_RECORDING=true -e E2E_OCP_CLUSTER_API_URL=https://api.ocp412.crw-qe.com:6443 -e TS_SELENIUM_LOG_LEVEL=TRACE -e TS_EDITOR_TAB_INTERACTION_TIMEOUT=20_000 -e TS_WAIT_LOADER_PRESENCE_TIMEOUT=600000 -e OCP_INFRA=PSI -v /tmp:/usr/local/bin:Z -v /home/hudson/.kube:/home/seluser/.kube:Z -v /mnt/hudson_workspace/workspace/Testing/e2e/basic/typescript-tests/test-repo/tests/e2ereport:/tmp/e2e/report:Z -v /mnt/hudson_workspace/workspace/Testing/e2e/basic/typescript-tests/test-repo/tests/e2evideo:/tmp/ffmpeg_report:Z -e USERSTORY=EmptyWorkspace -e TEST_SUITE=test-all-devfiles -e TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=true -e TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=htpasswd -e TS_SELENIUM_OCP_USERNAME=admin -e 'TS_SELENIUM_OCP_PASSWORD=*****' -e TS_SELENIUM_EDITOR=che-code quay.io/eclipse/che-e2e:next
2. Remove "push-ds-e2e-tests-image-to-quay.io" pipeline.
TODO: It's interesting, that fix 40 minutes waiting on workspace start: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/7312/console,
https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/7324/console