From 2051a0ae104d1729aa074d363b8193c758772929 Mon Sep 17 00:00:00 2001 From: Dmytro Nochevnov Date: Tue, 16 Mar 2021 19:03:40 +0200 Subject: [PATCH] Stabilize PR Happy path testing pipelines (#19293) * Stabilize dependencies installation in PR Happy path testing pipelines * Increase start workspace timeout Signed-off-by: Dmytro Nochevnov --- .../.infra/centos-ci/functional_tests_utils.sh | 6 ++---- .../nightly/cico-openshift-connector-test.sh | 10 +++++++--- .../centos-ci/nightly/nightly-happypath-test.sh | 3 +++ .../crw-ci/dashboard-next/pr-check/Jenkinsfile | 17 ++++++++++------- tests/.infra/crw-ci/pr-check/k8s/Jenkinsfile | 17 ++++++++++------- 5 files changed, 32 insertions(+), 21 deletions(-) diff --git a/tests/.infra/centos-ci/functional_tests_utils.sh b/tests/.infra/centos-ci/functional_tests_utils.sh index 6296896ff7..4e73e7bf2b 100755 --- a/tests/.infra/centos-ci/functional_tests_utils.sh +++ b/tests/.infra/centos-ci/functional_tests_utils.sh @@ -333,13 +333,11 @@ createTestWorkspaceAndRunTest() { ### Run tests docker run --shm-size=1g --net=host --ipc=host -v $REPORT_FOLDER:/tmp/e2e/report:Z \ -e TS_SELENIUM_BASE_URL="https://$CHE_ROUTE" \ - -e TS_SELENIUM_LOG_LEVEL=DEBUG \ -e TS_SELENIUM_MULTIUSER=true \ -e TS_SELENIUM_USERNAME="admin" \ -e TS_SELENIUM_PASSWORD="admin" \ - -e TS_SELENIUM_DEFAULT_TIMEOUT=300000 \ - -e TS_SELENIUM_WORKSPACE_STATUS_POLLING=20000 \ - -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 \ + -e TS_SELENIUM_LOG_LEVEL=TRACE \ + -e TS_SELENIUM_START_WORKSPACE_TIMEOUT=720000 \ -e NODE_TLS_REJECT_UNAUTHORIZED=0 \ quay.io/eclipse/che-e2e:nightly || IS_TESTS_FAILED=true } diff --git a/tests/.infra/centos-ci/nightly/cico-openshift-connector-test.sh b/tests/.infra/centos-ci/nightly/cico-openshift-connector-test.sh index 962c8fe802..e925076515 100755 --- a/tests/.infra/centos-ci/nightly/cico-openshift-connector-test.sh +++ b/tests/.infra/centos-ci/nightly/cico-openshift-connector-test.sh @@ -21,7 +21,6 @@ function runOpenshiftConnectorTest(){ -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 \ -e TS_SELENIUM_WORKSPACE_STATUS_POLLING=20000 \ -e TS_SELENIUM_BASE_URL="https://$CHE_ROUTE" \ - -e TS_SELENIUM_LOG_LEVEL=DEBUG \ -e TS_SELENIUM_USERNAME=${TEST_USERNAME} \ -e TS_SELENIUM_PASSWORD=${TEST_USERNAME} \ -e TS_TEST_OPENSHIFT_PLUGIN_USERNAME=developer \ @@ -30,9 +29,11 @@ function runOpenshiftConnectorTest(){ -e TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_TYPE="nodejs (s2i)" \ -e TS_TEST_OPENSHIFT_PLUGIN_COMPONENT_VERSION=latest \ -e TS_SELENIUM_MULTIUSER=true \ - -e DELETE_WORKSPACE_ON_FAILED_TEST=true \ - -e TEST_SUITE=test-openshift-connector \ -e NODE_TLS_REJECT_UNAUTHORIZED=0 \ + -e DELETE_WORKSPACE_ON_FAILED_TEST=true \ + -e TS_SELENIUM_LOG_LEVEL=TRACE \ + -e TS_SELENIUM_START_WORKSPACE_TIMEOUT=720000 \ + -e TEST_SUITE=test-openshift-connector \ quay.io/eclipse/che-e2e:nightly || IS_TESTS_FAILED=true } @@ -41,6 +42,9 @@ function runOpenshiftConnectorTest(){ function prepareCustomResourcePatchFile() { cat > /tmp/custom-resource-patch.yaml < /tmp/custom-resource-patch.yaml <