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

Clusterctl upgrade flake #11610

Open
cahillsf opened this issue Dec 21, 2024 · 3 comments
Open

Clusterctl upgrade flake #11610

cahillsf opened this issue Dec 21, 2024 · 3 comments
Labels
area/e2e-testing Issues or PRs related to e2e testing kind/flake Categorizes issue or PR as related to a flaky test. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@cahillsf
Copy link
Member

Which jobs are flaking?

periodic-cluster-api-e2e-release-1-9
periodic-cluster-api-e2e-mink8s-release-1-8
periodic-cluster-api-e2e-latestk8s-main

Which tests are flaking?

When testing clusterctl upgrades (v0.4=>v1.6=>current) Should create a management cluster and then upgrade all the providers
When testing clusterctl upgrades (v0.3=>v1.5=>current) Should create a management cluster and then upgrade all the providers

Since when has it been flaking?

Looks like maybe for awhile... failures from:

and can see similar patterns in the timeline back in august/september: https://storage.googleapis.com/k8s-triage/index.html?date=2024-09-04&text=Timed%20out%20waiting%20for%20Cluster&job=.*periodic-cluster-api-e2e.*&test=.*clusterctl%20upgrades

Testgrid link

https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-cluster-api-e2e-latestk8s-main/1870177294711001088

Reason for failure (if possible)

Seems like the issue is that the docker controller fails to start up the load balancer container of the workload cluster due to a port conflict when it tries to provision using v0.3 and v0.4 of clusterctl which causes the DockerCluster to get stuck:

I1105 16:32:55.679921       1 loadbalancer.go:118] controller/dockercluster "msg"="Creating load balancer container" "cluster"="clusterctl-upgrade-workload-z2d5zb" "ipFamily"=1 "name"="clusterctl-upgrade-workload-z2d5zb" 
...
E1105 16:33:00.426105       1 controller.go:304] controller/dockercluster "msg"="Reconciler error" "error"="failed to create load balancer: error starting container \"clusterctl-upgrade-workload-z2d5zb-lb\": Error response from daemon: driver failed programming external connectivity on endpoint clusterctl-upgrade-workload-z2d5zb-lb (d1372a2ea0ae9c74717c57bf5a785cc6e73b38808c48ca01668abc62d90d8b3c): failed to bind port 0.0.0.0:32769/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:32769: bind: address already in use" "name"="clusterctl-upgrade-workload-z2d5zb" 

Anything else we need to know?

No response

Label(s) to be applied

/kind flake
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

@k8s-ci-robot k8s-ci-robot added kind/flake Categorizes issue or PR as related to a flaky test. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 21, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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-sigs/prow repository.

@cahillsf
Copy link
Member Author

cahillsf commented Dec 21, 2024

@cahillsf
Copy link
Member Author

/area e2e-testing

@k8s-ci-robot k8s-ci-robot added the area/e2e-testing Issues or PRs related to e2e testing label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e-testing Issues or PRs related to e2e testing kind/flake Categorizes issue or PR as related to a flaky test. needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

2 participants