-
Notifications
You must be signed in to change notification settings - Fork 81
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
Adapt Trusted CA bundles tests to ODH #1380
Adapt Trusted CA bundles tests to ODH #1380
Conversation
ods_ci/tests/Tests/100__deploy/130__operators/130__rhods_operator/139__trusted_ca_bundles.robot
Fixed
Show fixed
Hide fixed
rhods-ci-pr-test/2692/ In progress |
Robot Results
|
Basically LGTM. I just don't feel very comfortable with the different approaches we have to configure product specific constants - somewhere we count respective values in the running code directly, elsewhere we expect to use this file. |
@asanzgom Has this PR been by Jenkins job for both ODH and RHOAI? |
[Arguments] ${PRODUCT} | ||
IF "${PRODUCT}" == "RHODS" | ||
Set Suite Variable ${OPERATOR_APPNAME} Red Hat OpenShift AI | ||
Set Suite Variable ${OPERATOR_NAME} Red Hat OpenShift AI |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Set Suite Variable ${OPERATOR_APPNAME} Red Hat OpenShift AI | ||
Set Suite Variable ${OPERATOR_NAME} Red Hat OpenShift AI | ||
Set Suite Variable ${OPERATOR_DEPLOYMENT_NAME} rhods-operator | ||
Set Suite Variable ${OPERATOR_LABEL_SELECTOR} name=rhods-operator |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Set Suite Variable ${OPERATOR_DEPLOYMENT_NAME} rhods-operator | ||
Set Suite Variable ${OPERATOR_LABEL_SELECTOR} name=rhods-operator | ||
ELSE IF "${PRODUCT}" == "ODH" | ||
Set Suite Variable ${OPERATOR_APPNAME} Open Data Hub Operator |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Set Suite Variable ${OPERATOR_LABEL_SELECTOR} name=rhods-operator | ||
ELSE IF "${PRODUCT}" == "ODH" | ||
Set Suite Variable ${OPERATOR_APPNAME} Open Data Hub Operator | ||
Set Suite Variable ${OPERATOR_NAME} Open Data Hub Operator |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
ELSE IF "${PRODUCT}" == "ODH" | ||
Set Suite Variable ${OPERATOR_APPNAME} Open Data Hub Operator | ||
Set Suite Variable ${OPERATOR_NAME} Open Data Hub Operator | ||
Set Suite Variable ${OPERATOR_DEPLOYMENT_NAME} opendatahub-operator-controller-manager |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Set Suite Variable ${OPERATOR_APPNAME} Open Data Hub Operator | ||
Set Suite Variable ${OPERATOR_NAME} Open Data Hub Operator | ||
Set Suite Variable ${OPERATOR_DEPLOYMENT_NAME} opendatahub-operator-controller-manager | ||
Set Suite Variable ${OPERATOR_LABEL_SELECTOR} control-plane=controller-manager |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Triggered odh-smoke/52/ |
Agree with Jan's point |
I have triggered for ODH now odh-smoke/52/ and will trigger on another cluster with RHOAI and yes, I moved common Keyword and fixed compatibility backwards for the serverless Test Case |
odh-smoke/55/ passed |
Ran successful on RHOAI rhods-smoke/5103 |
@@ -70,6 +70,7 @@ Protect Sensitive Variables In Keywords | |||
Initialize Global Variables | |||
[Documentation] Sets global variables | |||
[Arguments] ${force_fetch}=False | |||
Assign Vars According To Product ${PRODUCT} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${PRODUCT} is already a global variable so you don't need this argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to include it as an input param because of:
Validate Trusted CA Bundles State Managed :: The purpose of this t... | FAIL | Parent suite setup failed: Keyword 'RHOSi.Assign Vars According To Product' expected 1 argument, got 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
ods_ci/tests/Tests/100__deploy/130__operators/130__rhods_operator/139__trusted_ca_bundles.robot
Outdated
Show resolved
Hide resolved
@@ -42,23 +42,13 @@ Suite Setup | |||
[Documentation] Suite Setup | |||
Set Library Search Order SeleniumLibrary | |||
RHOSi Setup | |||
Assign Vars According To Product ${PRODUCT} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed (already done in RHOSi Setup)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still see this line to be removed
I think the code at |
It is already moved inside Initialize Global Variables |
@@ -42,23 +42,13 @@ Suite Setup | |||
[Documentation] Suite Setup | |||
Set Library Search Order SeleniumLibrary | |||
RHOSi Setup | |||
Assign Vars According To Product ${PRODUCT} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still see this line to be removed
|
Merging after the agreement in today's Automation Meeting |
* Adapt Trusted CA bundles tests to ODH * Moved Assign Vars According to Product to RHOSi.resource * remove as input param * removed trailing whitespace * removed Assign Vars According To Product invokation
* Fix bug in "Trusted Ca Bundles" test suite in ODH Signed-off-by: Jorge Garcia Oncins <[email protected]> * Move non-critical monitoring test to Sanity Signed-off-by: Jorge Garcia Oncins <[email protected]> * Revert "Fix bug in "Trusted Ca Bundles" test suite in ODH" This reverts commit 914efd1. * Fix kw "Verify Cluster Settings Is Available" for ODH Signed-off-by: Jorge Garcia Oncins <[email protected]> * Fix must-grather test for ODH Signed-off-by: Jorge Garcia Oncins <[email protected]> * Exclude "Image Digest" test in ODH Signed-off-by: Jorge Garcia Oncins <[email protected]> * Read Tier1 tag in must-gather test Signed-off-by: Jorge Garcia Oncins <[email protected]> * Fix some of the robocop warnings in must-gather test Signed-off-by: Jorge Garcia Oncins <[email protected]> Signed-off-by: Jorge Garcia Oncins <[email protected]> * Change `IBM Watson Studio` to `IBM watsonx.ai` title in 2.9+ https://issues.redhat.com/browse/RHOAIENG-4447 * Update link for Jupyter card in the Explore page * Update Xpath for WORKBENCH_IMAGE (#1382) The following Xpath values have to be updated for RHOAI 2.9: - `$WORKBENCH_IMAGE_MENU_BTN_XP` - `$WORKBENCH_IMAGE_VER_DROPDOWN` Signed-off-by: manosnoam <[email protected]> * fix: ODS-1814 wrong xpath (#1383) * fix: ODS-1814 wrong xpath * use data-testid and minor linter change * Migrate pipelines tests to DSPv2 * fix: ODS-2054 issues (#1384) * fix: ODS-2054 issues * modify the sleep in order to be an active wait * cap case * Adapt Trusted CA bundles tests to ODH (#1380) * Adapt Trusted CA bundles tests to ODH * Moved Assign Vars According to Product to RHOSi.resource * remove as input param * removed trailing whitespace * removed Assign Vars According To Product invokation * Verify That There Are No Sample Pipelines After Creating Pipeline Server in RHOAI (#1368) * Added Automation for RHOAIENG-4382 * removed RunThisTest tag * Added Fail and Made some changes * Added Fail and Made some changes * replaced Import Pipeline * replaced Import Pipeline with new Keyword * Modified sample pipelines verification --------- Co-authored-by: Jorge <[email protected]> * Fix required xpaths for the selection of the model server template (#1387) * Fix required xpaths for the selection of the model server template This change is necessary for the latest RHOAI 2.9 preRC build. * Followup for 58fbb14 - deduplicate the methods for model serving runtime selection * fix: ODS-2276 and ODS-2279 issues (#1388) --------- Signed-off-by: Jorge Garcia Oncins <[email protected]> Signed-off-by: manosnoam <[email protected]> Co-authored-by: Jan Stourac <[email protected]> Co-authored-by: Noam Manos <[email protected]> Co-authored-by: Fede Alonso <[email protected]> Co-authored-by: Diego Lovison <[email protected]> Co-authored-by: Adrián Sanz Gómiz <[email protected]> Co-authored-by: RAGHUL M <[email protected]>
No description provided.