OCM_ENV=$API_HOST SET_ENVIRONMENT="1" OC_HOST=$(oc whoami --show-server) CLUSTER_ID=$(cat "${SHARED_DIR}/cluster-id") CLUSTER_NAME=$(cat "${SHARED_DIR}/cluster-name") OCM_TOKEN=$(cat /var/run/secrets/ci.openshift.io/cluster-profile/ocm-token) ROBOT_EXTRA_ARGS="-i $TEST_MARKER -e AutomationBug -e Resources-GPU -e Resources-2GPUS" RUN_SCRIPT_ARGS="--skip-oclogin true --set-urls-variables true --test-artifact-dir ${ARTIFACT_DIR}/results" export OCM_ENV export SET_ENVIRONMENT export OC_HOST export CLUSTER_NAME export OCM_TOKEN export ROBOT_EXTRA_ARGS export RUN_SCRIPT_ARGS mkdir $ARTIFACT_DIR/results # delete IDPs before running testsuite if [ "${API_HOST}" = "stage" ]; then API_URL=https://api.stage.openshift.com/ else API_URL=https://api.openshift.com/ fi ocm login --url=$API_URL --token=$OCM_TOKEN for IDP in $(ocm get /api/clusters_mgmt/v1/clusters/$CLUSTER_ID/identity_providers | jq -r '.items[].name'); do ocm delete idp $IDP --cluster=$CLUSTER_ID done Deleted identity provider 'rosa-htpasswd' on cluster '25n63neepun9clfs0sg5qffcies13j5e' # running RHODS testsuite ./ods_ci/build/run.sh RUN SCRIPT ARGS: --skip-oclogin true --set-urls-variables true --test-artifact-dir /logs/artifacts/results ROBOT EXTRA ARGS: -i RHOAM-RHODS -e AutomationBug -e Resources-GPU -e Resources-2GPUS SET TEST ENVIRONMENT: 1 -- USE OCM to install IDPs: 1 -----| SET_ENVIRONMENT option is enabled. ODS-CI is going to configure the test environment for you..|----- ---> Performing log in OCM ocm envirnment: production ---> Looking for LDAP and HTPASSWD already present in the cluster... 25n63neepun9clfs0sg5qffcies13j5e ---> Installing the required IDPs https://api.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com:6443 Cluster name is ci-rosa-s-f4f1 Configuring IDP for cluster 'ci-rosa-s-f4f1' Identity Provider 'htpasswd' has been created. You need to ensure that there is a list of cluster administrators defined. See 'ocm create user --help' for more information. To login into the console, open https://console-openshift-console.apps.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com and click on htpasswd. Securely store your username and password. If you lose these credentials, you will have to delete and recreate the IDP. Added 'cluster-admins' user 'htpasswd-user' to cluster 'ci-rosa-s-f4f1' ----> Performing log in the cluster using oc CLI command Login failed (401 Unauthorized) Verify you have provided the correct credentials. Login failed 1 times. Trying again in 30 seconds (max 7 times). Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". Login successful. You have access to 119 projects, the list has been suppressed. You can list all projects with 'oc projects' Using project "default". namespace/openldap created secret/openldap created service/openldap created deployment.apps/openldap created { "kind": "IdentityProvider", "type": "LDAPIdentityProvider", "href": "/api/clusters_mgmt/v1/clusters/25n63neepun9clfs0sg5qffcies13j5e/identity_providers/25n7dkm2q02bllqmlfc7rgpg14a01bf2", "id": "25n7dkm2q02bllqmlfc7rgpg14a01bf2", "name": "ldap-provider-qe", "mapping_method": "claim", "ldap": { "attributes": { "id": [ "dn" ], "name": [ "cn" ], "preferred_username": [ "uid" ] }, "bind_dn": "cn=admin,dc=example,dc=org", "insecure": true, "url": "ldap://openldap.openldap.svc.cluster.local:1389/dc=example,dc=org?uid" } } group.user.openshift.io/rhods-admins created group.user.openshift.io/rhods-users created group.user.openshift.io/rhods-noaccess created Error from server (AlreadyExists): groups.user.openshift.io "dedicated-admins" already exists group.user.openshift.io/rhods-admins added: "ldap-adm1" group.user.openshift.io/rhods-admins added: "ldap-adm2" group.user.openshift.io/rhods-admins added: "ldap-adm3" group.user.openshift.io/rhods-admins added: "ldap-adm4" group.user.openshift.io/rhods-admins added: "ldap-adm5" group.user.openshift.io/rhods-admins added: "ldap-adm6" group.user.openshift.io/rhods-admins added: "ldap-adm7" group.user.openshift.io/rhods-admins added: "ldap-adm8" group.user.openshift.io/rhods-admins added: "ldap-adm9" group.user.openshift.io/rhods-admins added: "ldap-adm10" group.user.openshift.io/rhods-admins added: "ldap-adm11" group.user.openshift.io/rhods-admins added: "ldap-adm12" group.user.openshift.io/rhods-admins added: "ldap-adm13" group.user.openshift.io/rhods-admins added: "ldap-adm14" group.user.openshift.io/rhods-admins added: "ldap-adm15" group.user.openshift.io/rhods-admins added: "ldap-adm16" group.user.openshift.io/rhods-admins added: "ldap-adm17" group.user.openshift.io/rhods-admins added: "ldap-adm18" group.user.openshift.io/rhods-admins added: "ldap-adm19" group.user.openshift.io/rhods-admins added: "ldap-adm20" Added 'dedicated-admins' user 'ldap-adm1' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm2' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm3' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm4' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm5' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm6' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm7' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm8' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm9' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm10' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm11' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm12' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm13' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm14' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm15' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm16' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm17' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm18' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm19' to cluster 'ci-rosa-s-f4f1' Added 'dedicated-admins' user 'ldap-adm20' to cluster 'ci-rosa-s-f4f1' group.user.openshift.io/rhods-users added: "ldap-usr1" group.user.openshift.io/rhods-users added: "ldap-usr2" group.user.openshift.io/rhods-users added: "ldap-usr3" group.user.openshift.io/rhods-users added: "ldap-usr4" group.user.openshift.io/rhods-users added: "ldap-usr5" group.user.openshift.io/rhods-users added: "ldap-usr6" group.user.openshift.io/rhods-users added: "ldap-usr7" group.user.openshift.io/rhods-users added: "ldap-usr8" group.user.openshift.io/rhods-users added: "ldap-usr9" group.user.openshift.io/rhods-users added: "ldap-usr10" group.user.openshift.io/rhods-users added: "ldap-usr11" group.user.openshift.io/rhods-users added: "ldap-usr12" group.user.openshift.io/rhods-users added: "ldap-usr13" group.user.openshift.io/rhods-users added: "ldap-usr14" group.user.openshift.io/rhods-users added: "ldap-usr15" group.user.openshift.io/rhods-users added: "ldap-usr16" group.user.openshift.io/rhods-users added: "ldap-usr17" group.user.openshift.io/rhods-users added: "ldap-usr18" group.user.openshift.io/rhods-users added: "ldap-usr19" group.user.openshift.io/rhods-users added: "ldap-usr20" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess1" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess2" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess3" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess4" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess5" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess6" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess7" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess8" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess9" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess10" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess11" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess12" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess13" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess14" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess15" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess16" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess17" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess18" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess19" group.user.openshift.io/rhods-noaccess added: "ldap-noaccess20" group.user.openshift.io/rhods-users added: "ldap-special." group.user.openshift.io/rhods-users added: "ldap-special^" group.user.openshift.io/rhods-users added: "ldap-special$" group.user.openshift.io/rhods-users added: "ldap-special*" group.user.openshift.io/rhods-users added: "ldap-special?" group.user.openshift.io/rhods-users added: "ldap-special(" group.user.openshift.io/rhods-users added: "ldap-special)" group.user.openshift.io/rhods-users added: "ldap-special[" group.user.openshift.io/rhods-users added: "ldap-special]" group.user.openshift.io/rhods-users added: "ldap-special{" group.user.openshift.io/rhods-users added: "ldap-special}" group.user.openshift.io/rhods-users added: "ldap-special|" group.user.openshift.io/rhods-users added: "ldap-special@" group.user.openshift.io/rhods-users added: "ldap-special;" sleeping 120sec to wait for IDPs to appear in the OCP login page... -----| ODS-CI is starting the tests run...|----- ods_ci/test-variables.yml INFO: getting RHODS URLs from the cluster as per --set-urls-variables OCP Console URL set to: https://console-openshift-console.apps.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com RHODS Dashboard URL set to: https://rhods-dashboard-redhat-ods-applications.apps.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com RHODS API Server URL set to: https://api.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com:6443 RHODS Prometheus URL set to: https://prometheus-redhat-ods-monitoring.apps.ci-rosa-s-f4f1.ioxp.p1.openshiftapps.com INFO: we found a yq executable skipping OC login as per parameter --skip-oclogin ============================================================================== Tests ============================================================================== Tests.Ai Apps ============================================================================== Tests.Ai Apps.Rhoam ============================================================================== Tests.Ai Apps.Rhoam.Rhoam ============================================================================== Verify RHOAM Is Enabled In RHODS After Installation :: Verifies RH... | FAIL | Text 'OpenShift API Management' did not appear in 3 minutes. ------------------------------------------------------------------------------ Tests.Ai Apps.Rhoam.Rhoam | FAIL | 1 test, 0 passed, 1 failed ============================================================================== Tests.Ai Apps.Rhoam | FAIL | 1 test, 0 passed, 1 failed ============================================================================== Tests.Ai Apps | FAIL | 1 test, 0 passed, 1 failed ============================================================================== Tests | FAIL | 1 test, 0 passed, 1 failed ============================================================================== Output: /logs/artifacts/results/ods-ci-2023-08-19-13-36-GTgp24U8XQ/output.xml XUnit: /logs/artifacts/results/ods-ci-2023-08-19-13-36-GTgp24U8XQ/xunit_test_result.xml Log: /logs/artifacts/results/ods-ci-2023-08-19-13-36-GTgp24U8XQ/log.html Report: /logs/artifacts/results/ods-ci-2023-08-19-13-36-GTgp24U8XQ/test_report.html 1