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

Don't install CNI twice in e2e tests #4323

Merged

Conversation

CecileRobertMichon
Copy link
Contributor

What type of PR is this?

/kind flake

What this PR does / why we need it: Since #3971 it seems that we were attempting to install Calico CNI twice, sometimes resulting in flakes. There was a different ControlPlaneWaiter added for skipping the Helm chart install but it never got used, might have been a rebase error.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  • cherry-pick candidate

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/flake Categorizes issue or PR as related to a flaky test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 1, 2023
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 1, 2023
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (858c9c5) 60.46% compared to head (6f8e6f0) 60.46%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4323   +/-   ##
=======================================
  Coverage   60.46%   60.46%           
=======================================
  Files         191      191           
  Lines       19201    19201           
=======================================
  Hits        11610    11610           
  Misses       6947     6947           
  Partials      644      644           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jackfrancis
Copy link
Contributor

/lgtm
/approve

Why do we even have a conditional flow to install calico the previous way (manual helm install) at this point? I would think that w/ the CAAPH change we no longer have a CI scenario that needs a manual helm install of calico.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 1, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: b13fe1ac01dce0cd12131772f80331ae96b9b92e

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 1, 2023
Copy link
Contributor

@nojnhuh nojnhuh left a comment

Choose a reason for hiding this comment

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

/lgtm

@nojnhuh
Copy link
Contributor

nojnhuh commented Dec 1, 2023

Why do we even have a conditional flow to install calico the previous way (manual helm install) at this point? I would think that w/ the CAAPH change we no longer have a CI scenario that needs a manual helm install of calico.

It looks like we still do the manual helm install for the upgrade test which installs older components that I assume aren't compatible with CAAPH?

WaitForControlPlaneInitialized: EnsureControlPlaneInitialized,

@k8s-ci-robot k8s-ci-robot merged commit 7c1a8a2 into kubernetes-sigs:main Dec 1, 2023
10 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.13 milestone Dec 1, 2023
@nojnhuh
Copy link
Contributor

nojnhuh commented Dec 1, 2023

@CecileRobertMichon Should we cherry pick this to release-1.12?

@CecileRobertMichon
Copy link
Contributor Author

It looks like we still do the manual helm install for the upgrade test which installs older components that I assume aren't compatible with CAAPH?

Precisely

Should we cherry pick this to release-1.12

yes

/cherry-pick release-1.12

@k8s-infra-cherrypick-robot

@CecileRobertMichon: new pull request created: #4325

In response to this:

It looks like we still do the manual helm install for the upgrade test which installs older components that I assume aren't compatible with CAAPH?

Precisely

Should we cherry pick this to release-1.12

yes

/cherry-pick release-1.12

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.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/flake Categorizes issue or PR as related to a flaky test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Archived in project
5 participants