Skip to content

Conversation

jiajliu
Copy link

@jiajliu jiajliu commented Sep 2, 2025

To start with OTE, this pr is to make e2e tests included in cvo repo and executed with OTE (only picking up parallel cases as a small set for exploration).

  • Add initTest for test initialization in OTE
  • Move cvo’s cases which can be executed in parallel from openshift-tests-private repository to cvo
  • Copy required utils and resolve dependencies

Test result locally:

$ hack/build-go.sh
Using version from git...
Building binaries into _output/linux/amd64
Building github.com/openshift/cluster-version-operator cluster-version-operator-tests binary (v1.0.0-1459-g9de00ba8-dirty)
Compressing the cluster-version-operator-tests binary
Building github.com/openshift/cluster-version-operator cluster-version-operator binary (v1.0.0-1459-g9de00ba8-dirty)

$ _output/linux/amd64/cluster-version-operator-tests run-suite cvo/parallel > /tmp/test.log 2>&1
$

$ cat /tmp/test.log|grep -A5 "\"\[cvo.testing\]"
    "name": "[cvo-testing] cluster-version-operator-tests should support passing tests",
    "lifecycle": "blocking",
    "duration": 1,
    "startTime": "2025-09-02 03:35:36.412577 UTC",
    "endTime": "2025-09-02 03:35:36.414139 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:jiajliu-Medium-47198-Techpreview operator will not be installed on a fresh installed cluster",
    "lifecycle": "blocking",
    "duration": 34544,
    "startTime": "2025-09-02 03:35:36.412596 UTC",
    "endTime": "2025-09-02 03:36:10.957353 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:dis-High-56072-CVO pod should not crash",
    "lifecycle": "blocking",
    "duration": 36682,
    "startTime": "2025-09-02 03:35:36.412605 UTC",
    "endTime": "2025-09-02 03:36:13.095046 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:jiajliu-Medium-53906-The architecture info in clusterversion’s status should be correct",
    "lifecycle": "blocking",
    "duration": 45608,
    "startTime": "2025-09-02 03:35:36.412607 UTC",
    "endTime": "2025-09-02 03:36:22.021023 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:jiajliu-Low-46922-check runlevel in cvo ns",
    "lifecycle": "blocking",
    "duration": 48469,
    "startTime": "2025-09-02 03:35:36.412610 UTC",
    "endTime": "2025-09-02 03:36:24.882338 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:dis-Low-49670-change spec.capabilities to invalid value",
    "lifecycle": "blocking",
    "duration": 56089,
    "startTime": "2025-09-02 03:35:36.412613 UTC",
    "endTime": "2025-09-02 03:36:32.502304 UTC",
    "result": "passed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:dis-Medium-41391-cvo serves metrics over only https not http",
    "lifecycle": "blocking",
    "duration": 71401,
    "startTime": "2025-09-02 03:35:36.412614 UTC",
    "endTime": "2025-09-02 03:36:47.814365 UTC",
    "result": "failed",
--
    "name": "[cvo-testing] cluster-version-operator-tests Author:jianl-High-42543-the removed resources are not created in a fresh installed cluster",
    "lifecycle": "blocking",
    "duration": 106739,
    "startTime": "2025-09-02 03:35:36.412616 UTC",
    "endTime": "2025-09-02 03:37:23.151732 UTC",
    "result": "passed",

Copy link
Contributor

openshift-ci bot commented Sep 2, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jiajliu
Once this PR has been reviewed and has the lgtm label, please assign hongkailiu for approval. For more information see the 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

@jiajliu jiajliu force-pushed the migrate branch 2 times, most recently from a358f4c to 6fc02b9 Compare September 2, 2025 04:21
Copy link
Contributor

openshift-ci bot commented Sep 2, 2025

@jiajliu: 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/verify-update dbc8959 link true /test verify-update
ci/prow/e2e-aws-ovn-techpreview dbc8959 link true /test e2e-aws-ovn-techpreview

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant