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

Add KUTTL make targets for telemetry #606

Conversation

paramite
Copy link
Contributor

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2023

Hi @paramite. Thanks for your PR.

I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/b093dd5080fa4ff28b0b4442c1b635b1

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 47s
✔️ install-yamls-crc-podified-edpm-baremetal SUCCESS in 59m 45s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 01m 35s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 15m 47s

@paramite
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/1c19149ee1784338a173bde97fa1a6b5

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 42m 40s
install-yamls-crc-podified-edpm-baremetal RETRY_LIMIT in 10m 03s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 07m 33s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 20m 04s

@paramite
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/f4f6207e0e544528acf98a00df5d01d0

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 29m 51s
✔️ install-yamls-crc-podified-edpm-baremetal SUCCESS in 56m 28s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 02m 35s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 14m 57s

@paramite
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/69dd038e7c674c3c81f4e0be1ec2ff8e

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 31m 44s
✔️ install-yamls-crc-podified-edpm-baremetal SUCCESS in 1h 04m 37s
podified-multinode-edpm-deployment-crc FAILURE in 1h 06m 56s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 14m 46s

@paramite
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/5f58d8135c6c4791912a65073102c3eb

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 55s
✔️ install-yamls-crc-podified-edpm-baremetal SUCCESS in 58m 46s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 02m 25s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 14m 02s

@abays
Copy link
Contributor

abays commented Oct 30, 2023

/ok-to-test

@abays
Copy link
Contributor

abays commented Oct 30, 2023

recheck

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/9b91057dee764ca5a539a9f611a0d307

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 35m 40s
✔️ install-yamls-crc-podified-edpm-baremetal SUCCESS in 58m 00s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 59m 06s
data-plane-adoption-github-rdo-centos-9-crc-single-node FAILURE in 1h 19m 18s

@cescgina
Copy link
Contributor

The data-plane-adoption-github-rdo-centos-9-crc-single-node failure is known and a fix is on the way. Plus, it's not related to the patch, so feel free to ignore it.

@abays
Copy link
Contributor

abays commented Oct 30, 2023

/override data-plane-adoption-github-rdo-centos-9-crc-single-node

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 30, 2023

@abays: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • data-plane-adoption-github-rdo-centos-9-crc-single-node

Only the following failed contexts/checkruns were expected:

  • ci/prow/images
  • ci/prow/install-yamls-deploy
  • ci/prow/precommit-check
  • pull-ci-openstack-k8s-operators-install_yamls-main-images
  • pull-ci-openstack-k8s-operators-install_yamls-main-install-yamls-deploy
  • pull-ci-openstack-k8s-operators-install_yamls-main-precommit-check
  • rdoproject.org/github-check
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override data-plane-adoption-github-rdo-centos-9-crc-single-node

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@abays
Copy link
Contributor

abays commented Oct 30, 2023

/override rdoproject.org/github-check

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 30, 2023

@abays: Overrode contexts on behalf of abays: rdoproject.org/github-check

In response to this:

/override rdoproject.org/github-check

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Makefile Outdated
telemetry_kuttl: export NAMESPACE = ${TELEMETRY_KUTTL_NAMESPACE}
# Set the value of $TELEMETRY_KUTTL_NAMESPACE if you want to run the telemetry
# kuttl tests in a namespace different than the default (telemetry-kuttl-tests)
telemetry_kuttl: input deploy_cleanup telemetry telemetry_deploy_prep
Copy link
Contributor

Choose a reason for hiding this comment

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

If Telemetry operator depends on other operators (such as MariaDB, Keystone, etc), then you'll need to address those dependencies here as pre-targets. i.e. kuttl_common_prep. For example [1].

[1]

manila_kuttl: kuttl_common_prep ceph manila manila_deploy_prep ## runs kuttl tests for manila operator. Installs manila operator and cleans up previous deployments before and after running the tests.

Makefile Show resolved Hide resolved
Copy link
Contributor

@cescgina cescgina left a comment

Choose a reason for hiding this comment

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

I tried running the tests, but while it finds the autoscaling test suite, it does not run any tests because the test files are inside a test folder, but kuttl expects them inside autoscaling. So, path/tests/suites/autoscaling/01-assert.yaml instead of path/tests/suites/autoscaling/tests/01-assert.yaml

@paramite
Copy link
Contributor Author

Thanks for hints. Fixed dependencies (added kuttl_common_prep and heat) and added testDirs to config, because telemetry-operator gonna have more than one test suite.

@paramite
Copy link
Contributor Author

paramite commented Oct 31, 2023

Currently tests work, just timeouts too early during Prometheus init. Patch in operator [1] is already submitted.

[1] openstack-k8s-operators/telemetry-operator#221

@paramite paramite closed this Nov 1, 2023
@paramite paramite reopened this Nov 1, 2023
Copy link
Contributor

@cescgina cescgina left a comment

Choose a reason for hiding this comment

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

Changes lgtm, however I could not get the tests to pass unless the namespace fields in the assert file was removed. Looks like the assert is expecting the resources to be deployed in a namespace called telemetry-kuttl-autoscaling, apply this commit the tests passed for me: cescgina/telemetry-operator@a2d693c

@paramite
Copy link
Contributor Author

paramite commented Nov 1, 2023

Ah, that's good point. Thanks for that. Do you mind submitting PR with this?

@cescgina
Copy link
Contributor

cescgina commented Nov 1, 2023

Ah, that's good point. Thanks for that. Do you mind submitting PR with this?

Sure, I opened openstack-k8s-operators/telemetry-operator#222

@paramite
Copy link
Contributor Author

paramite commented Nov 2, 2023

Your PR is merged. So what now? Do I need to do something else with this PR?

@cescgina
Copy link
Contributor

cescgina commented Nov 2, 2023

Your PR is merged. So what now? Do I need to do something else with this PR?

PR lgtm, IMO it can be merged now, but I don't have approver rights, @abays can you take a look when free?

@vyzigold
Copy link
Contributor

/lgtm

@fao89
Copy link
Contributor

fao89 commented Nov 14, 2023

/approve

Copy link
Contributor

openshift-ci bot commented Nov 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fao89, paramite

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-merge-bot openshift-merge-bot bot merged commit 7e246cf into openstack-k8s-operators:main Nov 14, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants