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: fix cgroup branching in cluster upgrade test #6557

Merged
merged 1 commit into from
May 27, 2022

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented May 27, 2022

Signed-off-by: Stefan Büringer [email protected]

What this PR does / why we need it:
The cluster upgrade test didn't detect the Kubernetes version correctly.

The e2eConfig.Variables map only contains the values from the e2e config / docker.yaml, while GetVariable also takes env variables into account.

Concrete error case:

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 #

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 27, 2022
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-full-main
/test pull-cluster-api-e2e-workload-upgrade-1-24-latest-main

cc @killianmuldoon @fabriziopandini

@sbueringer sbueringer changed the title e2e: fix cgroup branching in cluster upgrade test 🐛 e2e: fix cgroup branching in cluster upgrade test May 27, 2022
@sbueringer
Copy link
Member Author

/cherry-pick release-1.1

cc @chrischdi (just fyi)

@k8s-infra-cherrypick-robot

@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.1 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.1

cc @chrischdi (just fyi)

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/test-infra repository.

@sbueringer
Copy link
Member Author

/hold
for a green run of pull-cluster-api-e2e-workload-upgrade-1-24-latest-main

@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 May 27, 2022
@fabriziopandini
Copy link
Member

/lgtm
/approve
feel free to unhold if test are green

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

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 May 27, 2022
@sbueringer
Copy link
Member Author

Test is green

/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 May 27, 2022
Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

/lgtm

(pending green test 😄)

@sbueringer
Copy link
Member Author

/lgtm

(pending green test 😄)

Test's were all green. Currently those are just re-tests for merge by Prow :)

@k8s-ci-robot k8s-ci-robot merged commit bc2c379 into kubernetes-sigs:main May 27, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.2 milestone May 27, 2022
@k8s-infra-cherrypick-robot

@sbueringer: #6557 failed to apply on top of branch "release-1.1":

Applying: e2e: fix cgroup branching in cluster upgrade test
Using index info to reconstruct a base tree...
M	test/e2e/cluster_upgrade_test.go
Falling back to patching base and 3-way merge...
Auto-merging test/e2e/cluster_upgrade_test.go
CONFLICT (content): Merge conflict in test/e2e/cluster_upgrade_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 e2e: fix cgroup branching in cluster upgrade test
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-1.1

cc @chrischdi (just fyi)

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/test-infra repository.

@sbueringer sbueringer deleted the pr-fix-upgrade-test branch May 27, 2022 10:14
@sbueringer
Copy link
Member Author

Note: I don't need the cherry-pick, I just included it in the other cherry-pick: #6560

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.

5 participants