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

CI: Split up E2E test's runBackupAndRestore in preparation for virtualization tests. #1345

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

mrnold
Copy link
Contributor

@mrnold mrnold commented Feb 26, 2024

Extract the common code factoring from #1333 to its own pull request. This should not create any functional change, but it should make it much easier to review a new VM testing pull request.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 26, 2024
@mrnold
Copy link
Contributor Author

mrnold commented Feb 27, 2024

/retest

2 similar comments
@mrnold
Copy link
Contributor Author

mrnold commented Feb 27, 2024

/retest

@mrnold
Copy link
Contributor Author

mrnold commented Feb 27, 2024

/retest

@mrnold
Copy link
Contributor Author

mrnold commented Feb 27, 2024

/test 4.12-e2e-test-aws

@kaovilai
Copy link
Member

/override ci/prow/4.12-e2e-test-aws
/override ci/prow/4.14-e2e-test-azure

these are flakes

Copy link

openshift-ci bot commented Feb 28, 2024

@kaovilai: Overrode contexts on behalf of kaovilai: ci/prow/4.12-e2e-test-aws, ci/prow/4.14-e2e-test-azure

In response to this:

/override ci/prow/4.12-e2e-test-aws
/override ci/prow/4.14-e2e-test-azure

these are flakes

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/test-infra repository.

Copy link
Contributor

@mpryc mpryc left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2024
weshayutin
weshayutin previously approved these changes Feb 28, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 5966523 and 2 for PR HEAD 0e974f8 in total

@mrnold
Copy link
Contributor Author

mrnold commented Feb 28, 2024

/retest

2 similar comments
@mrnold
Copy link
Contributor Author

mrnold commented Feb 29, 2024

/retest

@kaovilai
Copy link
Member

/retest

@mrnold
Copy link
Contributor Author

mrnold commented Feb 29, 2024

/test 4.14-e2e-test-aws

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 76f0049 and 1 for PR HEAD 0e974f8 in total

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 29, 2024
Move application-specific fields into application-specific struct, and
keep a base struct for fields common to virtualization tests.

Signed-off-by: Matthew Arnold <marnold@redhat.com>
Turn runBackupAndRestore into separate prepare, backup, and restore
steps in preparation for virtualization testing. VM tests need a few
extra steps but otherwise work pretty much the same as the existing
application tests, so this split should reduce duplication.

Signed-off-by: Matthew Arnold <marnold@redhat.com>
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 1, 2024
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 1, 2024
@kaovilai
Copy link
Member

kaovilai commented Mar 1, 2024

/retest

Signed-off-by: Matthew Arnold <marnold@redhat.com>
@mrnold
Copy link
Contributor Author

mrnold commented Mar 1, 2024

/test 4.14-e2e-test-kubevirt-aws

@mrnold
Copy link
Contributor Author

mrnold commented Mar 1, 2024

/retest

@mrnold
Copy link
Contributor Author

mrnold commented Mar 2, 2024

/test 4.14-e2e-test-azure

@mrnold
Copy link
Contributor Author

mrnold commented Mar 3, 2024

/test 4.13-e2e-test-aws

@mrnold
Copy link
Contributor Author

mrnold commented Mar 3, 2024

/test 4.12-e2e-test-aws

@mrnold
Copy link
Contributor Author

mrnold commented Mar 3, 2024

/retest

2 similar comments
@mrnold
Copy link
Contributor Author

mrnold commented Mar 4, 2024

/retest

@mrnold
Copy link
Contributor Author

mrnold commented Mar 4, 2024

/retest

Copy link
Contributor

@mateusoliveira43 mateusoliveira43 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2024
Copy link

openshift-ci bot commented Mar 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mateusoliveira43, mpryc, mrnold

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 76f0049 and 2 for PR HEAD 6cf489b in total

@weshayutin
Copy link
Contributor

@mrnold remember we can override if needed https://github.com/openshift/oadp-operator/blob/master/OWNERS

@mateusoliveira43
Copy link
Contributor

/override ci/prow/4.12-e2e-test-aws
/override ci/prow/4.13-e2e-test-aws

Copy link

openshift-ci bot commented Mar 4, 2024

@mateusoliveira43: Overrode contexts on behalf of mateusoliveira43: ci/prow/4.12-e2e-test-aws, ci/prow/4.13-e2e-test-aws

In response to this:

/override ci/prow/4.12-e2e-test-aws
/override ci/prow/4.13-e2e-test-aws

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/test-infra repository.

@openshift-merge-bot openshift-merge-bot bot merged commit de659f2 into openshift:master Mar 4, 2024
16 checks passed
Copy link

openshift-ci bot commented Mar 4, 2024

@mrnold: all tests passed!

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

mrnold added a commit to mrnold/oadp-operator that referenced this pull request Jun 3, 2024
…lization tests. (openshift#1345)

* Split up BackupRestoreCase type.

Move application-specific fields into application-specific struct, and
keep a base struct for fields common to virtualization tests.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Split up runBackupAndRestore.

Turn runBackupAndRestore into separate prepare, backup, and restore
steps in preparation for virtualization testing. VM tests need a few
extra steps but otherwise work pretty much the same as the existing
application tests, so this split should reduce duplication.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

* Clean up "v1 is redundant" lint failures.

Signed-off-by: Matthew Arnold <marnold@redhat.com>

---------

Signed-off-by: Matthew Arnold <marnold@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants