-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add KUTTL make targets for telemetry #606
Conversation
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 Once the patch is verified, the new status will be reflected by the 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. |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/b093dd5080fa4ff28b0b4442c1b635b1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 47s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/1c19149ee1784338a173bde97fa1a6b5 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 42m 40s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/f4f6207e0e544528acf98a00df5d01d0 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 29m 51s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/69dd038e7c674c3c81f4e0be1ec2ff8e ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 31m 44s |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/5f58d8135c6c4791912a65073102c3eb ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 55s |
/ok-to-test |
recheck |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/9b91057dee764ca5a539a9f611a0d307 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 35m 40s |
The |
/override data-plane-adoption-github-rdo-centos-9-crc-single-node |
@abays: /override requires failed status contexts, check run or a prowjob name to operate on.
Only the following failed contexts/checkruns were expected:
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:
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. |
/override rdoproject.org/github-check |
@abays: Overrode contexts on behalf of abays: rdoproject.org/github-check In response to this:
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 |
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.
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]
Line 1611 in c0a3767
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. |
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 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
0795a7c
to
509b5f5
Compare
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. |
509b5f5
to
dd2f3b8
Compare
Currently tests work, just timeouts too early during Prometheus init. Patch in operator [1] is already submitted. |
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.
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
Ah, that's good point. Thanks for that. Do you mind submitting PR with this? |
Sure, I opened openstack-k8s-operators/telemetry-operator#222 |
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? |
/lgtm |
/approve |
[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 |
7e246cf
into
openstack-k8s-operators:main
Depends-On: openstack-k8s-operators/telemetry-operator#213