-
Notifications
You must be signed in to change notification settings - Fork 14
[WIP] Use test operator to run some of the ansible tests #309
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
base: master
Are you sure you want to change the base?
[WIP] Use test operator to run some of the ansible tests #309
Conversation
The pod tests are currently configured by setting a common_pod_list var that specifies the names of the pods. These pods must all be in the same namespace and share the same status_str and test_id. This means that the user needs to run the role multiple times in order to check a list of pods that are in different namespaces or have different status_str values. This change allow the configuration of the tests to either remain the same or to use a dictionary of values per pod, allowing to check for pods across multiple namespaces or with multiple statuses and run the role once.
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/1d821e5ed8184d40b67f1b2cf694cf0c ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 31m 07s |
|
This change depends on a change that failed to merge. Change #308 is needed. |
165b9d5 to
866ef29
Compare
|
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
35899e5 to
e36a448
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4342e82743ce48ea90fa1382a2d4d187 ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 1h 59m 14s |
0105797 to
e36a448
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/31a90b5920c043e593ed5a9832c85fb4 ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 01m 12s |
e36a448 to
775762f
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/94eb1290df6743e288a81fc07ecf9b95 ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 1h 50m 09s |
roles/common/tasks/cr_tests.yml
Outdated
| @@ -1,9 +1,12 @@ | |||
| --- | |||
| - set_fact: | |||
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.
TODO: Update the var name to be cr_namespace.
This ensures that same config is used when running the ci playbooks from the top-level of the repo as when running from the ci/ directory This is useful for test-operator, for example, which runs the playbooks from teh top level of the directory
This is needed until we have all the vars passed into the pod
The permissions are incorrect for accessing it in this way. TODO: make this task options, or guarded by a check that the dir exists, or even remove the task completely.
The tests are being run separately at the moment so the different feature tests can be toggled
Copy the oc install tasks directly into pre-run-tasks instead.
42c3892 to
eb9c85e
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/52cbc5362b09426899275ef4f95060cd ❌ telemetry-openstack-meta-content-provider-master FAILURE in 8m 21s |
eb9c85e to
cf172eb
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/629d20f12f2144c78eb12971ae3055e5 ❌ telemetry-openstack-meta-content-provider-master FAILURE in 8m 38s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b38b18b349d042ebb2f394a0c5259853 ❌ telemetry-openstack-meta-content-provider-master FAILURE in 8m 07s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0098558213d84202b4c43582886bc344 ❌ telemetry-openstack-meta-content-provider-master FAILURE in 7m 59s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5e7d61db69d44af087340866bbda4028 ❌ telemetry-openstack-meta-content-provider-master FAILURE in 7m 37s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/debf7e78ce8548c194af24d63cc23238 ❌ telemetry-openstack-meta-content-provider-master FAILURE in 8m 31s |
|
recheck |
|
This change depends on a change that failed to merge. Change openstack-k8s-operators/telemetry-operator#789 is needed. |
…et to rc!=0 to avoid an error
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5f3b71dad85d44bc8b78e18038844d06 ✔️ telemetry-openstack-meta-content-provider-master SUCCESS in 2h 33m 04s |
Depends-On: openstack-k8s-operators/telemetry-operator#789
Depends-On: openstack-k8s-operators/openstack-operator#1697