-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 e2e tests for clusterctl quickstart flow using managed topologies #5423
🌱 e2e tests for clusterctl quickstart flow using managed topologies #5423
Conversation
6bcb80b
to
5b65327
Compare
/hold until PR #5351 is meged. |
/assign @fabriziopandini |
/retest |
@killianmuldoon PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the approach seems ok to me, just a couple of nits from my side.
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-test.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-test.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-test.yaml
Outdated
Show resolved
Hide resolved
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my local setup this isn't running while the ordinary cluster quick start test is running and passing. I'm getting an error when trying to access the cluster that there is no /etc/kubernetes/admin.conf created so it seems to be failing early on in the process.
I'm getting a timeout after 600 seconds at STEP: Waiting for one control plane node to exist
. The ordinary cluster quickstart is taking about 75 seconds on my machine so something seems to be going wrong.
f66a020
to
c70ff15
Compare
I dont seems to have this problem. However I did hit the timeout issue in a few cases and it was mostly CNI not being installed properly or because of the docker pull limit. I have observed a timeout error on the PR too a few times. If the PR pipelines re-hit the timeout issue now it might be similar to the issue you are observing, because I solved the CNI issue. |
/test pull-cluster-api-e2e-full-main |
c70ff15
to
2ea8436
Compare
/test pull-cluster-api-e2e-full-main |
2ea8436
to
3d2fd1b
Compare
/test pull-cluster-api-e2e-full-main |
3d2fd1b
to
464a2cc
Compare
/test pull-cluster-api-e2e-full-main |
@killianmuldoon The pipeline also seems to be hitting the same issue that you are facing. It is weird that I am not facing this issue on my linux machine. 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, I especially like that we can just reuse our existing quickstart test code.
I've left a comment (#5423 (comment)) about the CI failure.
test/e2e/data/infrastructure-docker/v1beta1/bases/cluster-with-topology.yaml
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/bases/cluster-with-topology.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/bases/cluster-with-topology.yaml
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-quick-start.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-quick-start.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-quick-start.yaml
Outdated
Show resolved
Hide resolved
test/e2e/data/infrastructure-docker/v1beta1/clusterclass-quick-start.yaml
Outdated
Show resolved
Hide resolved
464a2cc
to
d65c8a4
Compare
/test pull-cluster-api-e2e-full-main |
All tests are now green. ✅ The PR has a hold right now, waiting for #5351 to be merged first. |
Nice, lgtm +/- the hold/rebase thing |
lgtm pending rebase and another round of pull-cluster-api-e2e-full-main |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
d65c8a4
to
996d023
Compare
/test pull-cluster-api-e2e-full-main |
/lgtm |
/retest |
/test pull-cluster-api-e2e-full-main once more for good measure :) |
/hold cancel |
canceled hold as pull-cluster-api-e2e-full-main test ran successfully multiple times. |
What this PR does / why we need it:
This PR adds an E2E test to test the quickstart flow of ClusterAPI using clusterctl with a flavor of cluster that uses managed topology.
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 #5348