Skip to content

Conversation

@elfiesmelfie
Copy link
Contributor

When building from a PR that has multiple dependencies in the same repo, the incorrect versions are built.
This happens because the build tasks extract a sha from an operators list that is built from zuul.items, which contains a list of the dependencies on a PR (from Depends-On). This list can contain multiple PRs from the same repo, however, the operator list only takes the first item for each repo.
The information is used to update the openstack-operator go.mod file with a "replaces" directive that tell it where to find the operators to deploy.
The line being added was referencing a particular commit on the PR source branch previously.
This is incorrect when using zuul, as zuul uses speculative merging and prepares a version of the repositories that have all the dependencies merged together.
The "replaces" is updated to reference the local version of the operator i.e. the one prepared by zuul.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 10, 2025

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

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

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

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 56s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 45s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 28m 29s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 16s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 19s
cifmw-pod-pre-commit FAILURE in 7m 40s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 38s
✔️ build-push-container-cifmw-client SUCCESS in 17m 19s
cifmw-molecule-operator_build FAILURE in 4m 31s

@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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9a09a5bbe0c7410e8e747c753fb7993c

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 49m 51s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 15s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 34m 42s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 25s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 24s
cifmw-pod-pre-commit FAILURE in 7m 32s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 34s
✔️ build-push-container-cifmw-client SUCCESS in 18m 51s
cifmw-molecule-operator_build FAILURE in 4m 36s

When building from a PR that has multiple dependencies in the same repo,
the incorrect versions are built.
This happens because the build tasks extract a sha from an operators
list that is built from zuul.items, which contains a list of the
dependencies on a PR (from Depends-On). This list can contain multiple
PRs from the same repo, however, the operator list only takes the first
item for each repo.
The information is used to update the openstack-operator go.mod file
with a "replaces" directive that tell it where to find the operators to
deploy.
The line being added was referencing a particular commit on the PR
source branch previously.
This is incorrect when using zuul, as zuul uses speculative merging and
prepares a version of the repositories that have all the dependencies
merged together.
The "replaces" is updated to reference the local version of the
operator i.e. the one prepared by zuul.
@elfiesmelfie elfiesmelfie force-pushed the efoley_update_operator_build branch 2 times, most recently from 074d610 to 8680100 Compare October 13, 2025 14:43
@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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/26e385ba2472448e87c11f17a6f49532

openstack-k8s-operators-content-provider FAILURE in 6m 08s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 4m 51s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 51s
cifmw-pod-pre-commit FAILURE in 23m 02s
ci-framework-openstack-meta-content-provider FAILURE in 6m 56s
✔️ build-push-container-cifmw-client SUCCESS in 19m 20s
cifmw-molecule-operator_build FAILURE in 4m 54s

@elfiesmelfie elfiesmelfie force-pushed the efoley_update_operator_build branch from 8680100 to e3b7c18 Compare October 13, 2025 15:36
@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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9098d6c2425244be99409811ce039a03

openstack-k8s-operators-content-provider FAILURE in 5m 44s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 4m 49s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 28s
cifmw-pod-pre-commit FAILURE in 8m 01s
ci-framework-openstack-meta-content-provider FAILURE in 6m 35s
✔️ build-push-container-cifmw-client SUCCESS in 17m 53s
cifmw-molecule-operator_build FAILURE in 4m 56s

@elfiesmelfie elfiesmelfie force-pushed the efoley_update_operator_build branch from e3b7c18 to cbbc386 Compare October 13, 2025 16:26
@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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/881569539f47463fae7255ce75bcb814

openstack-k8s-operators-content-provider FAILURE in 5m 52s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 4m 54s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 10s
cifmw-pod-pre-commit FAILURE in 8m 19s
ci-framework-openstack-meta-content-provider FAILURE in 6m 37s
✔️ build-push-container-cifmw-client SUCCESS in 17m 07s
cifmw-molecule-operator_build FAILURE in 5m 18s

@elfiesmelfie elfiesmelfie force-pushed the efoley_update_operator_build branch from cbbc386 to a876669 Compare October 13, 2025 16:49
@elfiesmelfie elfiesmelfie force-pushed the efoley_update_operator_build branch from a876669 to 48e85fc Compare October 13, 2025 17:04
@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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/83550bf745b24e41b8cc4293eaa911e3

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 45m 06s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 17m 52s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 30m 38s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 34s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 32s
cifmw-pod-pre-commit FAILURE in 8m 05s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 58s
✔️ build-push-container-cifmw-client SUCCESS in 16m 44s
cifmw-molecule-operator_build FAILURE in 4m 43s

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

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 48m 11s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 17m 11s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 34m 16s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 33s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 26s
cifmw-pod-pre-commit FAILURE in 7m 34s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 13m 58s
✔️ build-push-container-cifmw-client SUCCESS in 18m 39s
cifmw-molecule-operator_build FAILURE in 5m 20s

@github-actions
Copy link

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 29, 2025
elfiesmelfie added a commit to elfiesmelfie/feature-verification-tests that referenced this pull request Nov 5, 2025
This is for testing to try work around the issue in openstack-k8s-operators/ci-framework#3400
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