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

WIP: Change RKE2 E2E cluster template registration method + review Short/Full test labels #760

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

salasberryfin
Copy link
Contributor

What this PR does / why we need it:

Nightly E2E have been reporting failures on a Docker + CAPRKE2 scenario. This changes the registration method to control-plane-endpoint to align with other template, e.g. the one used in CAPRKE2 repository here.

Additionally, we're currently running RKE2 tests only when executing E2E with the FullTestLabel label enabled. This means, RKE2 scenarios are not validated on new PRs, while we do run Kubeadm-specific tests on ShortTestLabel label. Since Turtles ships with RKE2 only, it is sensible to test CAPRKE2 clusters on short test execution and do the opposite for Kubeadm.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

switch to using control-plane-endpoint

Signed-off-by: Carlos Salas <[email protected]>
@salasberryfin salasberryfin added kind/enhancement Categorizes issue or PR as related to a new feature. area/testing Indicates an issue related to test labels Sep 30, 2024
@salasberryfin salasberryfin requested a review from a team as a code owner September 30, 2024 16:36
@salasberryfin salasberryfin force-pushed the e2e-test-review-rke2-failures branch 2 times, most recently from 0299216 to 3c0d21b Compare October 2, 2024 08:17
and move kubeadm test cases to full label

Signed-off-by: Carlos Salas <[email protected]>
@@ -29,7 +29,7 @@ import (
"github.com/rancher/turtles/test/e2e/specs"
)

var _ = Describe("[Docker] [Kubeadm] - [management.cattle.io/v3] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.ShortTestLabel), func() {
var _ = Describe("[Docker] [RKE2] - [management.cattle.io/v3] Create and delete CAPI cluster functionality should work with namespace auto-import", Label(e2e.ShortTestLabel), func() {
Copy link
Member

Choose a reason for hiding this comment

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

I know @Danil-Grigorev saw some memory limits issues on the github runner when using RKE2 in a short run

Copy link
Contributor Author

@salasberryfin salasberryfin Oct 4, 2024

Choose a reason for hiding this comment

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

It's probably what I've seen when testing this. Passed locally but failed remotely. Could this be affecting nightly tests too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Indicates an issue related to test kind/enhancement Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants