Skip to content
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

Modifies and adds scripts to run K8S tests on IBM Cloud cluster #5022

Merged
merged 24 commits into from
Sep 8, 2021
Merged

Modifies and adds scripts to run K8S tests on IBM Cloud cluster #5022

merged 24 commits into from
Sep 8, 2021

Conversation

rnapoles-rh
Copy link
Contributor

What type of PR is this?

/kind tests

What does this PR do / why we need it:
To run test in IBM Cloud cluster

Which issue(s) this PR fixes:

Fixes #4798

PR acceptance criteria:

  • Integration test

How to test changes / Special notes to the reviewer:

@netlify
Copy link

netlify bot commented Aug 25, 2021

✔️ Deploy Preview for odo-docusaurus-preview ready!

🔨 Explore the source changes: 684cbde

🔍 Inspect the deploy log: https://app.netlify.com/sites/odo-docusaurus-preview/deploys/6126242ce5bc650008d6b99b

😎 Browse the preview: https://deploy-preview-5022--odo-docusaurus-preview.netlify.app

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
scripts/minikube-k8sibmc-all-tests.sh Outdated Show resolved Hide resolved
Comment on lines 20 to 23
# Integration tests
shout "| Running integration Tests on Kubernetes cluster in IBM Cloud"
make test-cmd-project
make test-integration-devfile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we're going to enable only these two test targets in the first pass? Rest to follow later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is because those two test suites pass OK when I run them manually against the K8S cluster in the IBM Cloud, others have some failures. As agreed we are enabling only those that pass and then will add others as fixes become available.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you removed test-integration-devfile. It isn't working well any more? 😞

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you removed test-integration-devfile. It isn't working well any more? 😞

yes, some failures in test-integration-devfile again

scripts/minikube-k8sibmc-all-tests.sh Outdated Show resolved Hide resolved
scripts/minikube-k8sibmc-setup-env.sh Outdated Show resolved Hide resolved
scripts/minikube-k8sibmc-setup-env.sh Outdated Show resolved Hide resolved
scripts/minikube-k8sibmc-setup-env.sh Outdated Show resolved Hide resolved
scripts/minikube-k8sibmc-setup-env.sh Outdated Show resolved Hide resolved
Copy link
Member

@dharmit dharmit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prietyc123 @anandrkskd feel free to remove LGTM label. I'm approving it so that on GH interface it doesn't show as pending on my requested changes.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Sep 3, 2021
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Sep 6, 2021
@rnapoles-rh
Copy link
Contributor Author

@prietyc123 changed ifeq statement with ifdef as suggested

Makefile Outdated
@@ -18,7 +18,11 @@ TIMEOUT ?= 14400s
# TEST_EXEC_NODES=1, otherwise by default the specs are run in parallel on 4 ginkgo test node.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rnapoles-rh Could you please add IBM cluster test node info in the comment as well.

@prietyc123
Copy link
Contributor

other than #5022 (comment) everything looks good to me. @rnapoles-rh once the changes being done, will add lgtm to this pr. Meanwhile adding approve label.

/approve

@openshift-ci
Copy link

openshift-ci bot commented Sep 8, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: prietyc123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Sep 8, 2021
Copy link
Contributor Author

@rnapoles-rh rnapoles-rh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than #5022 (comment) everything looks good to me. @rnapoles-rh once the changes being done, will add lgtm to this pr. Meanwhile adding approve label.

/approve

@prietyc123 added comment in Makefile as per request

Makefile Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Sep 8, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 6 Security Hotspots
Code Smell A 23 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -14,6 +14,7 @@ SCRIPT_IDENTITY=${SCRIPT_IDENTITY:-"def-id"}

case ${1} in
k8s)
export TEST_EXEC_NODES="24"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean, you don't set any value on jenkins?

@prietyc123
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Sep 8, 2021
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit b9765a4 into redhat-developer:main Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run test on kubernetes using IBM cloud
6 participants