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

[DNM] remove extra lines from confs #855

Closed
wants to merge 1 commit into from

Conversation

auniyal61
Copy link
Contributor

Copy link
Contributor

openshift-ci bot commented Sep 4, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: auniyal61
Once this PR has been reviewed and has the lgtm label, please assign bogdando for approval. 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

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/59bc287336524238b601cc4ff4ac8dd4

✔️ openstack-meta-content-provider SUCCESS in 2h 18m 43s
✔️ nova-operator-kuttl SUCCESS in 40m 58s
✔️ nova-operator-tempest-multinode SUCCESS in 2h 02m 30s
nova-operator-tempest-multinode-ceph FAILURE in 23m 30s

@gibizer
Copy link
Contributor

gibizer commented Sep 4, 2024

@auniyal61 I guess Depends-On is not enough here. You need to add the following line in the go.mod file in this patch to point to the in progress lib-common change. You can ignore the pre-commit check error that will appear after this. We cannot land a patch with a replace line pointing to a fork. But we could use this replace line to test the lib-common change.

replace github.com/openstack-k8s-operators/lib-common/modules/common => github.com/auniyal61/lib-common/modules/common v0.0.0-20240904075816-9bde700ea164

@auniyal61
Copy link
Contributor Author

@gibizer , thanks updated

@auniyal61
Copy link
Contributor Author

/retest

go.mod Outdated
@@ -88,3 +88,4 @@ replace github.com/openstack-k8s-operators/nova-operator/api => ./api
// mschuppert: map to latest commit from release-4.13 tag
// must consistent within modules and service operators
replace github.com/openshift/api => github.com/openshift/api v0.0.0-20230414143018-3367bc7e6ac7 //allow-merging
replace github.com/openstack-k8s-operators/lib-common/modules/common => github.com/auniyal61/lib-common/modules/common v0.0.0-20240904075816-9bde700ea164
Copy link
Contributor

Choose a reason for hiding this comment

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

is this replace line correct?

shoudl it no be a path to the location where zuul clones it to work in this instance.

like fo like ./api line above?

Copy link
Contributor Author

@auniyal61 auniyal61 Sep 5, 2024

Choose a reason for hiding this comment

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

For us its openstack-k8s-operators/lib-common maybe modules/common is extra, but above also at L15 its written as modules/common.

this is a main repo: github.com/openstack-k8s-operators/lib-common/modules/common
and replace it will this particular commit github.com/auniyal61/lib-common/modules/common v0.0.0-20240904075816-9bde700ea164

github.com/auniyal61/lib-common/modules/common
target commit-hash: 9bde700ea164 ( but this too should itself come with version)

the rest is build version of target commit, but I could not find it in github-page or logs, so not sure from where we get this
v0.0.0-20240904075816.

the above is not be the answer of asked question, just what I understand.

Copy link
Contributor

Choose a reason for hiding this comment

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

@SeanMooney both would work. This replace line pulls the commit form @auniyal61's fork for the build. If you know the local path in the env zuul does the build then you can use a replace line the pulls from the local lib-common code if that local lib common code is a clone from @auniyal61's fork.

Copy link
Contributor

Choose a reason for hiding this comment

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

so the issue with using github.com/auniyal61/lib-common/modules/common v0.0.0-20240904075816-9bde700ea164

is if you don't update it every time you change the commit in the lib common pr then it wont pull the right thing

in terms of where it will be yes we know that

nova_operator_basedir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/nova-operator"

{{ ansible_user_dir }} is the ci users home directory

so it would be

~/src/github.com/openstack-k8s-operators/lib-common/modules/common

that should work with depend on and actually use the version form the lib common review

@auniyal61
Copy link
Contributor Author

/retest

@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

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-sigs/prow repository.

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.
Warning:
Error merging github.com/openstack-k8s-operators/nova-operator for 855,efadf3f9b6d32674cdf24ac5addc57c14f4b13b0

Copy link
Contributor

openshift-ci bot commented Sep 9, 2024

@auniyal61: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/precommit-check efadf3f link true /test precommit-check
ci/prow/functional efadf3f link true /test functional
ci/prow/images efadf3f link true /test images

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@auniyal61 auniyal61 closed this Sep 9, 2024
@auniyal61 auniyal61 deleted the dnms branch September 9, 2024 09:16
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