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

Improve e2e testing #2995

Open
3 of 14 tasks
sbueringer opened this issue May 13, 2024 · 5 comments
Open
3 of 14 tasks

Improve e2e testing #2995

sbueringer opened this issue May 13, 2024 · 5 comments
Assignees
Labels
area/supervisor Issues or PRs related to the supervisor mode area/testing

Comments

@sbueringer
Copy link
Member

sbueringer commented May 13, 2024

Improve e2e tests

We compared CAPV govmomi & supervisor e2e tests with core CAPI e2e tests.
As a result we want to make the following improvements.

Adding e2e tests:

Other improvements:

Reconsider if we need it later:

  • Add test: When using the autoscaler with Cluster API using ClusterClass (incl. scale from zero coverage?)

govmomi has the following additional jobs (intentionally):

  • accepted: it's okay if it's only tested with govmomi:
    • capv-e2e.[It] Cluster creation with [Ignition] bootstrap [PR-Blocking] Should create a workload cluster
  • accepted: not surfaced in CAPV supervisor CRDs:
    • capv-e2e.[It] Cluster creation with anti affined nodes should create a cluster with anti-affined nodes
    • capv-e2e.[It] Cluster creation with storage policy should create a cluster successfully
    • capv-e2e.[It] DHCPOverrides configuration test when Creating a cluster with DHCPOverrides configured Only configures the network with the provided nameservers
  • accepted: IPAM provider not supported in supervisor mode
    • capv-e2e.[It] ClusterClass Creation using Cluster API quick-start test and IPAM Provider [ClusterClass] Should create a workload cluster
@fabriziopandini
Copy link
Member

/area supervisor
Given that most of the improvements are for supervisor mode

@k8s-ci-robot k8s-ci-robot added the area/supervisor Issues or PRs related to the supervisor mode label May 13, 2024
@sbueringer sbueringer self-assigned this May 13, 2024
@zhanggbj
Copy link
Contributor

zhanggbj commented May 14, 2024

I would like to start with

@zhanggbj
Copy link
Contributor

Also would like to pick up a similar one :-)

  • P1: Add test "When testing ClusterClass rollouts [ClusterClass]" (supervisor)

@zhanggbj
Copy link
Contributor

zhanggbj commented May 24, 2024

It seems this one is more about testing efforts. Just raised a PR to test.

  • P1: Add clusterctl upgrade tests n-2, n-1 (supervisor)

@sbueringer
Copy link
Member Author

sbueringer commented May 24, 2024

Yeah good case is that most if it just works once added :)

A few require a bit more work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/supervisor Issues or PRs related to the supervisor mode area/testing
Projects
None yet
Development

No branches or pull requests

4 participants