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 support for tempestconf parameters #95

Conversation

lpiwowar
Copy link
Contributor

@lpiwowar lpiwowar commented Oct 25, 2023

This patch introduces tempestconf parameters for the tempest container. Currently, it is not possible to specify with what parameters should be tempest and discover-tempest-config executed.

This patch introduces a set of environment variables prefixed with TEMPESTCONF_ that can be used to tell the container which arguments should be used when executing discover-tempest-config.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 25, 2023

Hi @lpiwowar. 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.

@lpiwowar
Copy link
Contributor Author

Related patch for test-operator: openstack-k8s-operators/test-operator#10

@kopecmartin
Copy link
Contributor

/ok-to-test

@lpiwowar lpiwowar force-pushed the feature/tempestconf-params branch from c1a0457 to 74139bd Compare October 26, 2023 07:44
@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/a568be34317d4e8c9d9a9c7d401ff4ff

✔️ tcib-build-containers SUCCESS in 2h 13m 53s
tcib-crc-podified-edpm-baremetal FAILURE in 1h 17m 12s
tcib-podified-multinode-edpm-deployment-crc FAILURE in 1h 22m 56s

@lpiwowar lpiwowar changed the title Add tempestconf parameters for the tempest container Add support for tempest/tempestconf parameters Oct 26, 2023
@lpiwowar lpiwowar force-pushed the feature/tempestconf-params branch from ac32936 to 74139bd Compare October 26, 2023 14:56
@lpiwowar lpiwowar changed the title Add support for tempest/tempestconf parameters Add support for tempestconf parameters Oct 26, 2023
@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/cb4ac7ffa29246b494e0622930649f94

✔️ tcib-build-containers SUCCESS in 2h 18m 32s
tcib-crc-podified-edpm-baremetal FAILURE in 1h 21m 22s
tcib-podified-multinode-edpm-deployment-crc FAILURE in 1h 26m 14s

Copy link
Contributor

@arxcruz arxcruz left a comment

Choose a reason for hiding this comment

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

I am not sure, but I believe this will break the actual tempest, did you tested locally? I am not seeing some options that was hardcoded there...

@lpiwowar
Copy link
Contributor Author

Thank you for looking at the patch Arx. Yes, I ran the changes locally and they seemed to be working. The options that were hardcoded are still enabled by default (line 10, line 14 and line 46). The only option that was removed is the --os-cloud but I think it should not be a problem as the OS_CLOUD environment variable (which should be detected by python-tempestconf) is defined in the script.

This patch introduces tempestconf parameters for the tempest container.
Currently, it is not possible to specify with what parameters should
be discover-tempest-config executed.

This patch introduces a set of environment variables prefixed with
TEMPESTCONF_ that can be used to tell the container which arguments
should be used when executing discover-tempest-config.
@lpiwowar lpiwowar force-pushed the feature/tempestconf-params branch from 74139bd to e53be1d Compare November 7, 2023 15:37
@kopecmartin
Copy link
Contributor

the changes look ok to me and are backwards compatible now

@kopecmartin
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 7, 2023
@kopecmartin
Copy link
Contributor

hmm, why it still shows I requested changes? I'd say that should go away after a new commit was proposed (well, force pushed in this case). Hmm, what if I click on Approve changes? Will that make the "Changes requested" message go away or will that merge this?

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/91c2171c911c4a12933222c6b27351c8

✔️ tcib-build-containers SUCCESS in 2h 09m 21s
tcib-crc-podified-edpm-baremetal FAILURE in 1h 18m 45s
tcib-podified-multinode-edpm-deployment-crc FAILURE in 1h 26m 19s

@lpiwowar
Copy link
Contributor Author

lpiwowar commented Nov 8, 2023

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://review.rdoproject.org/zuul/buildset/a747b01250694497a8c06c4c960e1822

tcib-build-containers TIMED_OUT in 50m 50s
⚠️ tcib-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job tcib-build-containers
⚠️ tcib-podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job tcib-build-containers

@kopecmartin
Copy link
Contributor

recheck

@raukadah
Copy link
Collaborator

raukadah commented Nov 8, 2023

We need to wait for openstack-k8s-operators/ci-framework#785 and #97 to land for passing zuul jobs.

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/c32c542006f7457ab53dd0079f91998d

✔️ tcib-build-containers SUCCESS in 2h 03m 58s
tcib-crc-podified-edpm-baremetal FAILURE in 1h 17m 27s
tcib-podified-multinode-edpm-deployment-crc RETRY_LIMIT in 4s

@kopecmartin
Copy link
Contributor

recheck

Copy link

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.

@raukadah
Copy link
Collaborator

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://review.rdoproject.org/zuul/buildset/db2b8cab495d42a0b8d5fcea35beebb6

✔️ tcib-build-containers SUCCESS in 59m 11s
tcib-crc-podified-edpm-baremetal FAILURE in 23m 42s
tcib-podified-multinode-edpm-deployment-crc NODE_FAILURE Node request 199-0006654343 failed in 0s

@raukadah
Copy link
Collaborator

recheck

@kopecmartin
Copy link
Contributor

the CI estimates more then 9 hours till the jobs finish and (maybe) merge this - https://review.rdoproject.org/zuul/status - 9 hours :o so much for shortening the feedback loops :D

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/af2b6f966cf24634aafa736fbae267fb

tcib-build-containers NODE_FAILURE Node request 200-0006656340 failed in 0s
⚠️ tcib-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job tcib-build-containers
⚠️ tcib-podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job tcib-build-containers

@kopecmartin
Copy link
Contributor

recheck

Copy link
Contributor

openshift-ci bot commented Nov 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kopecmartin, lpiwowar, raukadah

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 68057a9 into openstack-k8s-operators:main Nov 22, 2023
3 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.

4 participants