Skip to content

Commit 3259a98

Browse files
authored
Skip pipeline tests on ROSA HCP and deprecate pipeline UI test (#2426)
* Skip failing DSP tests on ROSA-HCP due to automation bug Signed-off-by: Jorge Garcia Oncins <[email protected]> * Deprecate DSP ui test Signed-off-by: Jorge Garcia Oncins <[email protected]> --------- Signed-off-by: Jorge Garcia Oncins <[email protected]>
1 parent 94f5cd8 commit 3259a98

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

ods_ci/tests/Resources/Common.robot

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Library DependencyLibrary
66
Library Process
77
Library RequestsLibrary
88
Library ../../libs/Helpers.py
9+
Resource OCP.resource
910
Resource Page/ODH/JupyterHub/JupyterLabLauncher.robot
1011
Resource Page/ODH/JupyterHub/JupyterHubSpawner.robot
1112
Resource ../../tasks/Resources/RHODS_OLM/install/oc_install.robot
@@ -337,6 +338,16 @@ Skip If Namespace Does Not Exist
337338
Skip If condition="${rc}"!="${0}" msg=This test is skipped because namespace ${namespace} does not exist
338339
END
339340

341+
Skip If Test Enviroment Is ROSA-HCP
342+
[Documentation] Skips test if test environment is ROSA_HCP
343+
[Arguments] ${msg}=${EMPTY}
344+
${is_rosa_hcp}= Is Test Enviroment ROSA-HCP
345+
IF "${msg}" != "${EMPTY}"
346+
Skip If condition=${is_rosa_hcp}==${TRUE} msg=${msg}
347+
ELSE
348+
Skip If condition=${is_rosa_hcp}==${TRUE} msg=This test is skipped for ROSA-HCP clusters
349+
END
350+
340351
Run Keyword If RHODS Is Managed
341352
[Documentation] Runs keyword ${name} using @{arguments} if RHODS is Managed (Cloud Version)
342353
[Arguments] ${name} @{arguments}

ods_ci/tests/Tests/1100__data_science_pipelines/1100__data-science-pipelines-acceptance.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Verify Hello World Pipeline Runs Successfully # robocop: disable:too-long-tes
2323
[Documentation] Runs a quick hello-world pipeline and verifies that it finishes successfully
2424
[Tags] Smoke
2525
26+
Skip If Test Enviroment Is ROSA-HCP msg=Skipped due to automation bug on ROSA-HCP (tracked at RHOAIENG-16414)
2627
${pipeline_run_params}= Create Dictionary message=Hello world!
2728

2829
${pipeline_id} ${pipeline_version_id} ${pipeline_run_id} ${experiment_id}=

ods_ci/tests/Tests/1100__data_science_pipelines/1101__data-science-pipelines-kfp.robot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Verify Users Can Create And Run A Pipeline That Uses Only Packages From Base Ima
2525
... This is a simple pipeline, where the tasks doesn't have any packages_to_install and just needs
2626
... the python packages included in the base_image
2727
[Tags] Smoke ODS-2203
28+
Skip If Test Enviroment Is ROSA-HCP msg=Skipped due to automation bug on ROSA-HCP (tracked at RHOAIENG-16414)
2829
${emtpy_dict}= Create Dictionary
2930
End To End Pipeline Workflow Using Kfp
3031
... admin_username=${TEST_USER.USERNAME}
@@ -43,6 +44,7 @@ Verify Users Can Create And Run A Pipeline That Uses Custom Python Packages To I
4344
... In this pipeline there are tasks defining with packages_to_install some custom python packages to
4445
... be installed at execution time
4546
[Tags] Smoke
47+
Skip If Test Enviroment Is ROSA-HCP msg=Skipped due to automation bug on ROSA-HCP (tracked at RHOAIENG-16414)
4648
${emtpy_dict}= Create Dictionary
4749
End To End Pipeline Workflow Using Kfp
4850
... admin_username=${TEST_USER.USERNAME}
@@ -60,6 +62,7 @@ Verify Upload Download In Data Science Pipelines Using The kfp Python Package
6062
[Documentation] Creates, runs pipelines with regular user. Double check the pipeline result and clean
6163
... the pipeline resources.
6264
[Tags] Sanity ODS-2683
65+
Skip If Test Enviroment Is ROSA-HCP msg=Skipped due to automation bug on ROSA-HCP (tracked at RHOAIENG-16414)
6366
${upload_download_dict}= Create Dictionary mlpipeline_minio_artifact_secret=value bucket_name=value
6467
End To End Pipeline Workflow Using Kfp
6568
... admin_username=${TEST_USER.USERNAME}

ods_ci/tests/Tests/1100__data_science_pipelines/1102__data-science-pipelines-api.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Verify Admin Users Can Create And Run a Data Science Pipeline Using The Api
2222
[Documentation] Creates, runs pipelines with admin user. Double check the pipeline result and clean
2323
... the pipeline resources.
2424
[Tags] Sanity ODS-2083
25+
Skip If Test Enviroment Is ROSA-HCP msg=Skipped due to automation bug on ROSA-HCP (tracked at RHOAIENG-16414)
2526
End To End Pipeline Workflow Via Api ${OCP_ADMIN_USER.USERNAME} ${OCP_ADMIN_USER.PASSWORD} pipelinesapi1
2627
[Teardown] Projects.Delete Project Via CLI By Display Name pipelinesapi1
2728

ods_ci/tests/Tests/1100__data_science_pipelines/1150__data-science-pipelines-ui.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Verify User Can Create, Run and Delete A DS Pipeline From DS Project Details Pag
3232
... The pipeline to run will be using the values for pip_index_url and pip_trusted_host
3333
... availables in a ConfigMap created in the SuiteSetup.
3434
... AutomationBug: RHOAIENG-10941
35-
[Tags] Smoke
35+
[Tags] Smoke deprecatedTest
3636
... ODS-2206 ODS-2226 ODS-2633
3737
3838
Open Data Science Project Details Page ${PRJ_TITLE}

0 commit comments

Comments
 (0)