-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out reasons and fix failing of the HappyPath tests for the CHE dashboard and DWO projects #20822
Comments
@musienko-maxim Quickly looking at this I see the IDP on the cluster is "htpasswd-eclipse-che" (https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_release/23945/rehearse-23945-pull-ci-eclipse-che-che-dashboard-main-v8-dashboard-happy-path/1463444053726072832/artifacts/dashboard-happy-path/test/artifacts/e2e/Login_test_Login/screenshot-Login.png).
(from logs):
```
[INFO] Applying the following patched Che Happy Path Pod:
apiVersion: v1
kind: Pod
metadata:
name: happy-path-che
namespace: eclipse-che
spec:
volumes:
- name: test-run-results
- name: dshm
emptyDir:
medium: Memory
containers:
# container containing the tests
- name: happy-path-test
image: quay.io/eclipse/che-e2e:next
imagePullPolicy: Always
env:
- name: TEST_SUITE
value: test-devworkspace-happy-path
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: '0'
- name: TS_SELENIUM_BASE_URL
value: http://che-eclipse-che.apps.ci-op-18gpb4bh-6aab1.origin-ci-int-aws.dev.rhcloud.com
- name: TS_SELENIUM_DEVWORKSPACE_URL
value: http://che-eclipse-che.apps.ci-op-18gpb4bh-6aab1.origin-ci-int-aws.dev.rhcloud.com/#https://github.com/che-samples/java-spring-petclinic/tree/devfilev2
- name: TS_SELENIUM_MULTIUSER
value: 'true'
- name: TS_SELENIUM_LOG_LEVEL
value: TRACE
- name: TS_SELENIUM_OCP_USERNAME
value: 'che-user'
- name: TS_SELENIUM_OCP_PASSWORD
value: "user"
- name: TS_SELENIUM_VALUE_OPENSHIFT_OAUTH
value: 'true'
- name: TS_SELENIUM_USERNAME
value: "admin"
- name: TS_SELENIUM_PASSWORD
value: 'admin'
- name: TS_OCP_LOGIN_PAGE_PROVIDER_TITLE
value: "che-htpasswd"
- name: DELETE_WORKSPACE_ON_FAILED_TEST
value: "true"
- name: TS_SELENIUM_START_WORKSPACE_TIMEOUT
value: '540000'
- name: TS_IDE_LOAD_TIMEOUT
value: '40000'
volumeMounts:
- name: test-run-results
mountPath: /tmp/e2e/report/
- mountPath: /dev/shm
name: dshm
resources:
requests:
memory: "3Gi"
cpu: "2"
limits:
memory: "4Gi"
cpu: "2"
# Download results
- name: download-reports
image: quay.io/eclipse/che-e2e:next
imagePullPolicy: IfNotPresent
volumeMounts:
- name: test-run-results
mountPath: /tmp/e2e/report/
command: ["sh"]
args:
[
"-c",
"while true; if [[ -f /tmp/done ]]; then exit 0; fi; do sleep 1; done",
]
restartPolicy: Never
```
|
Thx, Radim for your comment. I see, so looks like IDP item can appear with some delays. For accelerating this for the test I am going to try rollout oauth-openshift deployment. I hope it should help. I tried it several times it worked. So I've just added this to the script. Just make sure that it does not break the main test flow. After this I'll create PR |
Fixe in the PR: #20903 |
Is your task related to a problem? Please describe
After resolving problems with cloud providers for PROW CI:
We get a strange error when we run HappyPath test. For instance: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/23945/rehearse-23945-pull-ci-eclipse-che-che-dashboard-main-v8-dashboard-happy-path/1463444053726072832.
We have 2 problems:
Describe the solution you'd like
I can try to reproduce this problem on a similar infra (cluster bot ) and figure out what it is more deeply.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: