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

🏃[e2e] enable all docker e2e tests for CI #2758

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

sedefsavas
Copy link

What this PR does / why we need it:
This PR enables an existing e2e test that does KCP upgrade for CI.
Also, timeout is increased as it takes longer than 3 minutes in local setups.

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 #2654

@sedefsavas
Copy link
Author

sedefsavas commented Mar 23, 2020

Full e2e test is currently giving this error after creating the first upgraded machine: "failed to pick control plane Machine to mark for deletion"

/hold until figuring out the issue with that.

cc @wfernandes @vincepri

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 23, 2020
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 23, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 23, 2020
@sedefsavas
Copy link
Author

I am suspecting CAPD is missing out some changes that happened in other providers about adding machines to failure domains, so that when KCP is trying to pick a machine to delete during upgrade here:

fd := controlPlane.FailureDomainWithMostMachines()

getting this error:
E0323 20:29:57.393552 1 controller.go:258] controller-runtime/controller "msg"="Reconciler error" "error"="failed to pick control plane Machine to mark for deletion" "controller"="kubeadmcontrolplane" "request"={"Namespace":"default","Name":"test-0"}

@sedefsavas
Copy link
Author

can we merge this? @vincepri @wfernandes

@sedefsavas
Copy link
Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 24, 2020
@wfernandes
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 25, 2020
@vincepri
Copy link
Member

might want to rebase to see capd-e2e pass?

@wfernandes
Copy link
Contributor

Since this is removing the FOCUS, I'll run it locally and see if Full Upgrade test passes as well.

@wfernandes
Copy link
Contributor

/lgtm cancel
So the Full Upgrade test failed on my machine. In order to avoid CI test failures I suggest we hold off on merging this in until we get this consistently passing locally.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 25, 2020
@sedefsavas
Copy link
Author

@wfernandes Can you post the error you are seeing in KCP when it fails on your local?
Because the machine selection is merged, that was supposed to fix the issue.

@sedefsavas
Copy link
Author

/retest

@wfernandes
Copy link
Contributor

@sedefsavas I'm going to run make test-capd-e2e-full to enusre everything is running. But I get the same timeout error as the pull-cluster-api-capd-e2e. I'll try and grab the KCP logs whilst it is running.

@sedefsavas
Copy link
Author

/retest

@sedefsavas
Copy link
Author

It is working with the latest changes. Do you think we can merge this?
@wfernandes @vincepri

@sedefsavas
Copy link
Author

/retest

@wfernandes
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 25, 2020
@vincepri
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sedefsavas, 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 /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 Mar 25, 2020
@k8s-ci-robot k8s-ci-robot merged commit 7012b9c into kubernetes-sigs:master Mar 26, 2020
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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[e2e] Cluster is deleted before running "Full upgrade" test
5 participants