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 job #14

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cescgina
Copy link
Contributor

@cescgina cescgina commented Nov 26, 2024

Copy link

openshift-ci bot commented Nov 26, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from cescgina. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link

Zuul encountered a syntax error while parsing its
configuration in the repo openstack-k8s-operators/watcher-operator on branch main. The
problem was:

Invalid Ansible variable name 'operator-name' for dictionary value @ data['vars']

The problem appears in the the "watcher-operator-kuttl" job stanza:

job:
name: watcher-operator-kuttl
parent: cifmw-multinode-kuttl-operator-target
vars:
operator-name: watcher-operator
cifmw_target_hook_host: controller
pre-run:
# TODO: this hook also deploys watcher, which is probably not good for
# kuttl
...

in "openstack-k8s-operators/watcher-operator/.zuul.yaml@main", line 41

@cescgina
Copy link
Contributor Author

recheck

Copy link

Zuul encountered a syntax error while parsing its
configuration in the repo openstack-k8s-operators/watcher-operator on branch main. The
problem was:

Invalid Ansible variable name 'operator-name' for dictionary value @ data['vars']

The problem appears in the the "watcher-operator-kuttl" job stanza:

job:
name: watcher-operator-kuttl
parent: cifmw-multinode-kuttl-operator-target
vars:
operator-name: watcher-operator
cifmw_target_hook_host: controller
pre-run:
# TODO: this hook also deploys watcher, which is probably not good for
# kuttl
...

in "openstack-k8s-operators/watcher-operator/.zuul.yaml@main", line 41

@cescgina cescgina force-pushed the add_kuttl_job branch 2 times, most recently from 99b544e to 3c13ae3 Compare November 26, 2024 15:37
@cescgina
Copy link
Contributor 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/c09b642cdeb5486c97c2bd314adbbe99

✔️ openstack-meta-content-provider SUCCESS in 1h 24m 27s
✔️ watcher-operator-validation SUCCESS in 1h 14m 03s
watcher-operator-kuttl RETRY_LIMIT in 13m 51s

@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor Author

recheck

1 similar comment
@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor 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/db40ad3c91cc447fa330e0033dc8c9ad

✔️ openstack-meta-content-provider SUCCESS in 1h 29m 35s
✔️ watcher-operator-validation SUCCESS in 1h 12m 24s
watcher-operator-kuttl RETRY_LIMIT in 35m 33s

@cescgina cescgina force-pushed the add_kuttl_job branch 2 times, most recently from 343bb38 to 693d9a4 Compare November 27, 2024 16:28
Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor 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/da4988751aba41a4a4aef3db144245f6

✔️ openstack-meta-content-provider SUCCESS in 1h 24m 53s
✔️ watcher-operator-validation SUCCESS in 1h 13m 38s
watcher-operator-kuttl RETRY_LIMIT in 51m 26s

@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor Author

recheck

Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor 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/bb16d65ff2d84da89ff535a95855288a

✔️ openstack-meta-content-provider SUCCESS in 1h 25m 42s
✔️ watcher-operator-validation SUCCESS in 1h 13m 05s
watcher-operator-kuttl FAILURE in 41m 38s

cescgina added a commit to cescgina/watcher-operator that referenced this pull request Nov 28, 2024
While trying to run kuttl tests in [1], we get an error [2]
stating that the watcher controller does not have access to secrets.
This change adds the required kubebuilder annotations for secrets in the
watcher controller.

[1] openstack-k8s-operators#14
[2] https://logserver.rdoproject.org/14/14/693d9a4c2c6b2630ef004bcd34b0bf3076826174/github-check/watcher-operator-kuttl/12efc41/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack-operators/pods/watcher-operator-controller-manager-84c899877f-wjsx8/logs/manager.log # Please enter the commit message for your changes. Lines starting
@cescgina
Copy link
Contributor 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/25eb612a912947c085c064b669159fa0

✔️ openstack-meta-content-provider SUCCESS in 1h 27m 33s
✔️ watcher-operator-validation SUCCESS in 1h 14m 26s
watcher-operator-kuttl FAILURE in 42m 25s

@cescgina
Copy link
Contributor Author

recheck

This job uses a parent job defined in [1] based on the existing
nova-operator.

[1] openstack-k8s-operators/ci-framework#2571
@cescgina cescgina changed the title [WIP] Add kuttl job Add kuttl job Nov 28, 2024
Copy link

This change depends on a change that failed to merge.

Change openstack-k8s-operators/ci-framework#2571 is needed.

@cescgina
Copy link
Contributor Author

recheck

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.

1 participant