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

Update to CAPI v1.4 #309

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Update to CAPI v1.4 #309

merged 1 commit into from
Feb 2, 2024

Conversation

hrak
Copy link
Contributor

@hrak hrak commented Sep 1, 2023

Issue #, if available:

#249

Description of changes:

This PR updates the cluster-api dependency to v1.4.6.

Testing performed:

make test
tested using tilt against a Cloudstack 4.18 cluster

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@k8s-ci-robot k8s-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 Sep 1, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 1, 2023
@netlify
Copy link

netlify bot commented Sep 1, 2023

Deploy Preview for kubernetes-sigs-cluster-api-cloudstack ready!

Name Link
🔨 Latest commit 55ac08a
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-cloudstack/deploys/65bd229da3637e000844dc62
😎 Deploy Preview https://deploy-preview-309--kubernetes-sigs-cluster-api-cloudstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hrak hrak marked this pull request as draft September 1, 2023 13:51
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 1, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @hrak. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Sep 1, 2023
@hrak
Copy link
Contributor Author

hrak commented Sep 7, 2023

OK, I think this is ready for testing now. I successfully tested using kind/Tilt against a Cloudstack 4.18 cluster.

@hrak hrak marked this pull request as ready for review September 7, 2023 13:39
@hrak hrak changed the title [WIP] Update to CAPI v1.4 Update to CAPI v1.4 Sep 7, 2023
@k8s-ci-robot k8s-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 Sep 7, 2023
@vishesh92
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 8, 2023
test/e2e/go.mod Outdated Show resolved Hide resolved
@hrak
Copy link
Contributor Author

hrak commented Sep 8, 2023

Yeah i was afraid that part was going to fail already. Upgrade instructions for capi v1.2 to v1.3 mention that

e2e tests are upgraded to use Ginkgo v2 (v2.5.0) and Gomega v1.22.1. Providers who use the test framework from this release will also need to upgrade, because Ginkgo v2 can’t be imported alongside v1.

I will be on holiday for the next 2 weeks though, so I'm afraid i cant address this atm.

@rohityadavcloud rohityadavcloud added this to the v0.5.0 milestone Sep 20, 2023
@hrak
Copy link
Contributor Author

hrak commented Sep 28, 2023

Can someone trigger the e2e tests on this?

@hrak hrak mentioned this pull request Sep 28, 2023
@vishesh92
Copy link
Member

/run-e2e -c 4.18

@blueorangutan
Copy link

@vishesh92 a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@hrak
Copy link
Contributor Author

hrak commented Sep 28, 2023

I just noticed CAPI 1.4.7 is out so i will update to that once the e2e tests finish + address the go.mod replace comment above.

@hrak
Copy link
Contributor Author

hrak commented Sep 29, 2023

It appears @blueorangutan is very busy :) tests not working anymore?

@rohityadavcloud
Copy link
Member

@hrak it could be that the job failed at the backend CI/CD pipeline, or BO ran out of Github API rate limits - in which cases we may not hear anything from BO. The best thing to do in such cases is to try again or get one of @vishesh92 @weizhouapache to assist.

/run-e2e -c 4.18

@blueorangutan
Copy link

@rohityadavcloud a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@hrak
Copy link
Contributor Author

hrak commented Sep 29, 2023

Ran the tests locally and found an issue in the invalid resource e2e test. Will update the PR shortly.

@blueorangutan
Copy link

@g-gaston a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@rohityadavcloud
Copy link
Member

/ok-to-test

@rohityadavcloud
Copy link
Member

/run-e2e -c 4.18

@blueorangutan
Copy link

@rohityadavcloud a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@g-gaston
Copy link
Contributor

/run-e2e -c 4.18

@blueorangutan
Copy link

@g-gaston a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@pokearu
Copy link

pokearu commented Jan 31, 2024

/run-e2e -c 4.18

1 similar comment
@g-gaston
Copy link
Contributor

g-gaston commented Feb 1, 2024

/run-e2e -c 4.18

@blueorangutan
Copy link

@g-gaston a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@blueorangutan
Copy link

Setting up environment failed

@rohityadavcloud
Copy link
Member

@pokearu to avoid ddos of the CI env, only owners can kick the e2e tests with the command:

/run-e2e -c 4.18

@rohityadavcloud
Copy link
Member

/run-e2e -c 4.18

@blueorangutan
Copy link

@rohityadavcloud a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

1 similar comment
@blueorangutan
Copy link

@rohityadavcloud a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@blueorangutan
Copy link

Setting up environment failed

1 similar comment
@blueorangutan
Copy link

Setting up environment failed

@g-gaston
Copy link
Contributor

g-gaston commented Feb 1, 2024

@pokearu tested this by running all e2e manually and all tests are passing (thx 👏🏻 )

I propose to merge this even if can't get the bot to run the tests, IMO the manual run is enough

Lazy consensus for tomorrow?

cc @hrak @rohityadavcloud

@hrak
Copy link
Contributor Author

hrak commented Feb 2, 2024 via email

Signed-off-by: Hans Rakers <[email protected]>
@g-gaston
Copy link
Contributor

g-gaston commented Feb 2, 2024

/lgtm
/approve

thanks @hrak!
great work here and sorry it took so long!

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: g-gaston, hrak

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 Feb 2, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7fd4146 into kubernetes-sigs:main Feb 2, 2024
10 checks passed
@g-gaston
Copy link
Contributor

g-gaston commented Feb 2, 2024

@hrak you mentioned you have 1.5 branch
any chance it's pushed somewhere? i can help rebasing and to start getting it pushed through the e2e tests

@weizhouapache
Copy link
Collaborator

/run-e2e -c 4.18

@blueorangutan
Copy link

@weizhouapache a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

@weizhouapache
Copy link
Collaborator

@weizhouapache a jenkins job has been kicked to run test with following paramaters:

  • kubernetes version: 1.27.2
  • CloudStack version: 4.18
  • hypervisor: kvm
  • template: ubuntu-2004-kube
  • Kubernetes upgrade from: 1.26.5 to 1.27.2

results

Summarizing 3 Failures:
 [FAIL] When testing app deployment to the workload cluster with slow network [ToxiProxy] [BeforeEach] Should be able to download an HTML from the app deployed to the workload cluster
 /jenkins/workspace/capc-e2e-new/test/e2e/toxiproxy/toxiProxy.go:203
 [FAIL] When testing app deployment to the workload cluster with network interruption [ToxiProxy] [BeforeEach] Should be able to create a cluster despite a network interruption during that process
 /jenkins/workspace/capc-e2e-new/test/e2e/toxiproxy/toxiProxy.go:203
 [FAIL] When testing affinity group [It] Should have host affinity group when affinity is pro
 /jenkins/workspace/capc-e2e-new/test/e2e/common.go:332

Ran 28 of 29 Specs in 9285.818 seconds
FAIL! -- 25 Passed | 3 Failed | 0 Pending | 1 Skipped
--- FAIL: TestE2E (9285.82s)
FAIL

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. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants