Skip to content

Conversation

@aravindhp
Copy link
Contributor

Move the network tests out from the creation tests. This is in preparation for separating out the upgrade and reconfiguration tests into a separate CI job.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 18, 2021
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2021
@aravindhp
Copy link
Contributor Author

/approve cancel
/cc @openshift/openshift-team-windows-containers

@openshift-ci-robot openshift-ci-robot requested a review from a team March 18, 2021 22:00
@openshift-ci-robot openshift-ci-robot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 18, 2021
@aravindhp aravindhp force-pushed the e2e-separate-network branch from ea06752 to cf470a0 Compare March 18, 2021 23:49
@aravindhp
Copy link
Contributor Author

/retitle [test] Separate out the network tests

@openshift-ci-robot openshift-ci-robot changed the title WIP: [test] Separate out the network tests [test] Separate out the network tests Mar 19, 2021
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 19, 2021
Copy link
Member

@mansikulkarni96 mansikulkarni96 left a comment

Choose a reason for hiding this comment

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

Thanks for working on this @aravindhp , PTAL at my comments.

@aravindhp aravindhp force-pushed the e2e-separate-network branch from cf470a0 to 090ec11 Compare March 19, 2021 16:20
Comment on lines 29 to 31
testCtx, err := NewTestContext()
require.NoError(t, err)
require.NoError(t, testCtx.createNamespace(testCtx.workloadNamespace), "error creating test namespace")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this change being made? Is it because the metrics tests now run before the networking tests when run in CI? This will cause issues if the network tests are run independently. Instead the workload namespace creation/deletion can be handled in the common TestWMCO function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it because the metrics tests now run before the networking tests when run in CI?

Yes

Instead the workload namespace creation/deletion can be handled in the common TestWMCO function.

Moving the creation is not straightforward as testCtx.createNamespace would need to become testCtx.EnsureNamespace. Given how rarely we run the network tests independently I decided to put this off. But I can make the change as part of this PR.

@aravindhp aravindhp force-pushed the e2e-separate-network branch from 090ec11 to cc86f7b Compare March 19, 2021 21:40

testCtx, err := NewTestContext()
require.NoError(t, err)
require.NoError(t, testCtx.ensureNamespace(testCtx.workloadNamespace), "error creating test namespace")
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesnt this need to be cleaned up?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That happens in the deletion tests

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sebsoto

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

The pull request process is described here

Details 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 openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 22, 2021
@sebsoto
Copy link
Contributor

sebsoto commented Mar 22, 2021

/hold
Approved but holding due to my comment

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 22, 2021
Move the network tests out from the creation tests. This is in
preparation for separating out the upgrade and reconfiguration tests
into a separate CI job.
@aravindhp aravindhp force-pushed the e2e-separate-network branch from cc86f7b to c2f79b5 Compare March 22, 2021 15:11
@mansikulkarni96
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 22, 2021
@aravindhp
Copy link
Contributor Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 22, 2021
@aravindhp
Copy link
Contributor Author

/test vsphere-e2e-operator

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

14 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@mansikulkarni96
Copy link
Member

/hold until openshift/installer#4779 is merged.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 23, 2021
@aravindhp
Copy link
Contributor Author

/hold cancel
/retest

openshift/installer#4779 has merged

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 24, 2021
@aravindhp
Copy link
Contributor Author

/retest

1 similar comment
@mansikulkarni96
Copy link
Member

/retest

@openshift-merge-robot openshift-merge-robot merged commit f19f072 into openshift:master Mar 24, 2021
@aravindhp
Copy link
Contributor Author

/cherry-pick release-4.7

@aravindhp
Copy link
Contributor Author

/cherry-pick community-4.7

@openshift-cherrypick-robot

@aravindhp: new pull request created: #358

Details

In response to this:

/cherry-pick release-4.7

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-cherrypick-robot

@aravindhp: new pull request created: #359

Details

In response to this:

/cherry-pick community-4.7

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.

@aravindhp aravindhp deleted the e2e-separate-network branch March 24, 2021 13:50
wgahnagl pushed a commit to wgahnagl/windows-machine-config-operator that referenced this pull request Mar 6, 2023
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