OSASINFRA-4209: Migrate to openshift-tests-extension (OTE)#260
Conversation
Add cmd/extension/main.go as a new OTE-based test extension binary alongside the existing openshift-tests entry point. This registers all openstack tests with the OTE framework, adds [OTP] annotations to all Describe blocks, and integrates the extension build into the Makefile and Containerfile. The OTE binary discovers 51 tests and does not pull in origin's monitor test framework, avoiding the duplicate test results seen with the old entry point.
The old cmd/openshift-tests/ entry point used origin's test runner framework which unconditionally loaded 40+ monitor tests (disruption analyzers, termination message policy checks, etc.), producing duplicate/unwanted JUnit results in CI alongside the actual openstack tests. Remove the old entry point and all its supporting code: - cmd/openshift-tests/ - pkg/cmd/openshift-tests/ and pkg/testsuites/ - test/extended/util/annotate/ (annotation generator) - test/extended/include.go This shrinks the vendored origin footprint from 29MB/796 files to 2.5MB/58 files, as only test/extended/util (CLI helpers) is still needed.
Bump openshift/origin from 140c6726a606 (Jun 2025) to 4486518a1248 (May 2026), upgrading k8s.io/kubernetes from v1.32.5 to v1.35.1 and all related dependencies.
|
@mandre: This pull request references OSASINFRA-4209 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 story to target the "5.0.0" version, but no target version was set. DetailsIn 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: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@mandre: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Migrate to OTE using the
ote-migrationskill [1].[1] https://github.com/openshift-eng/ai-helpers/tree/main/plugins/ote-migration