-
Notifications
You must be signed in to change notification settings - Fork 147
OCPBUGS-62738:CNTRLPLANE-1315:Add OpenShift Tests Extension (OTE) for cluster-etcd-operator #1491
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
base: release-4.20
Are you sure you want to change the base?
Conversation
This commit introduces a binary and supporting structure to enable the execution of OpenShift cluster-etcd-operator tests using the Open Test Environment (OTE). Changes: - Add cmd/cluster-etcd-operator-tests-ext/ with main.go - Add test/extended/ directory with comprehensive README.md and sanity test - Update Makefile with flexible OTE build targets and helper commands - Update Dockerfile to build and include test extension binary - Update go.mod with required dependencies for ginkgo and openshift-tests-extension - Update .gitignore to exclude OTE binary artifacts - Fix pre-existing platform-specific compilation error in bootstrap_ip_test.go Test suites: - openshift/cluster-etcd-operator/conformance/parallel - openshift/cluster-etcd-operator/conformance/serial - openshift/cluster-etcd-operator/optional/slow - openshift/cluster-etcd-operator/all
Add vendor dependencies for OTE framework: - github.com/onsi/ginkgo/v2 v2.21.0 - github.com/onsi/gomega v1.35.1 - github.com/openshift-eng/openshift-tests-extension v0.0.0-20250804142706-7b3ab438a292 - github.com/go-task/slim-sprig/v3 (transitive dependency) - golang.org/x/tools, golang.org/x/text, golang.org/x/net (transitive dependencies) Updated vendor/modules.txt to reflect new dependency tree.
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@gangwgr: This pull request references CNTRLPLANE-1315 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gangwgr 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 |
@gangwgr: This pull request references Jira Issue OCPBUGS-62738, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@gangwgr: This pull request references Jira Issue OCPBUGS-62738, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@gangwgr: This pull request references Jira Issue OCPBUGS-62738, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest-required |
@gangwgr: The following tests failed, say
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. |
COPY --from=builder /go/src/github.com/openshift/cluster-etcd-operator/bindata/bootkube/manifests /usr/share/bootkube/manifests/manifests/ | ||
COPY --from=builder /go/src/github.com/openshift/cluster-etcd-operator/cluster-etcd-operator /usr/bin/ | ||
COPY --from=builder /go/src/github.com/openshift/cluster-etcd-operator/tnf-setup-runner /usr/bin/ | ||
COPY --from=builder /go/src/github.com/openshift/cluster-etcd-operator/cluster-etcd-operator-tests-ext.gz /usr/bin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disclaimer: I have no idea about the entire effort
is it desired that we ship the test binary with the production operator?
This pr backport of #1488
This introduces a binary and supporting structure to enable the execution of OpenShift cluster-etcd-operator tests using the Open Test Environment (OTE).
Changes:
Add cmd/cluster-etcd-operator-tests-ext/ with main.go
Add test/extended/ directory with comprehensive README.md and sanity test
Update Makefile with flexible OTE build targets and helper commands
Update Dockerfile to build and include test extension binary
Update go.mod with required dependencies for ginkgo and openshift-tests-extension
Add vendor dependencies for new OTE framework
Test suites:
openshift/cluster-etcd-operator/conformance/parallel
openshift/cluster-etcd-operator/conformance/serial
openshift/cluster-etcd-operator/optional/slow
openshift/cluster-etcd-operator/all