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

[common] Use a config dict for configuring tests #203

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

elfiesmelfie
Copy link
Collaborator

Allow a list of key/value pairs to be passed to configure the tests.
This allows for passing test configs that don't share all common attributes e.g. run the pod tests to check multiple namespaces in one go

Include the namespace and pod that is being checked in the name to get to the following
format for the testcase name in snake_case
  check_{{ pod_name }}_pod_is_running_in_{{ namespace }}_namespace
…mmon role

The values for the loop items don't seem to render otherwise.
name[template]: Jinja templates should only be at the end of 'name'
common_pod_namespace -> common_pod_nspace
Add some polarion IDs
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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/def8879ccb4f4b1d9e63334c36d12319

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 53m 33s
✔️ functional-tests-on-osp18 SUCCESS in 1h 40m 08s
functional-logging-tests-osp18 FAILURE in 1h 03m 33s
✔️ functional-graphing-tests-osp18 SUCCESS in 1h 02m 39s
✔️ functional-metric-verification-tests-osp18 SUCCESS in 1h 07m 17s

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4645348a4b2c42cc9be3a18aa263338f

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 07m 42s
functional-tests-on-osp18 FAILURE in 1h 52m 25s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 09m 21s
functional-graphing-tests-osp18 FAILURE in 1h 03m 56s
✔️ functional-metric-verification-tests-osp18 SUCCESS in 1h 05m 59s

@elfiesmelfie
Copy link
Collaborator Author

recheck

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/843178256163473f92523ac0c1265cd8

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 01m 11s
functional-tests-on-osp18 FAILURE in 1h 47m 58s
✔️ functional-logging-tests-osp18 SUCCESS in 1h 00m 50s
functional-graphing-tests-osp18 FAILURE in 1h 02m 32s
✔️ functional-metric-verification-tests-osp18 SUCCESS in 1h 03m 11s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant