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

Automated cherry pick of #53576 #55064

Conversation

xiangpengzhao
Copy link
Contributor

Cherry pick of #53576 on release-1.8.

#53576: Revert "Validate if service has duplicate targetPort"

@k8s-ci-robot
Copy link
Contributor

@xiangpengzhao: All 'parent' PRs of a cherry-pick PR must have one of the "release-note" or "release-note-action-required" labels, or this PR must follow the standard/parent release note labeling requirement.

The following parent PRs have neither the "release-note" nor the "release-note-action-required" labels: #53576.

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.

@k8s-ci-robot
Copy link
Contributor

@xiangpengzhao: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.

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.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 3, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: xiangpengzhao
We suggest the following additional approver: brendandburns

Assign the PR to them by writing /assign @brendandburns in a comment when ready.

Associated issue: 53576

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. label Nov 3, 2017
@xiangpengzhao
Copy link
Contributor Author

/cc @thockin @caseydavenport

@xiangpengzhao
Copy link
Contributor Author

/release-note-none

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Nov 3, 2017
@jpbetz jpbetz added approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Nov 3, 2017
@jpbetz jpbetz added this to the v1.8 milestone Nov 3, 2017
@k8s-github-robot k8s-github-robot removed the do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. label Nov 3, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue.

@k8s-github-robot k8s-github-robot merged commit 4429ebe into kubernetes:release-1.8 Nov 3, 2017
@xiangpengzhao xiangpengzhao deleted the automated-cherry-pick-of-#53576-upstream-release-1.8 branch November 3, 2017 19:43
@jpbetz
Copy link
Contributor

jpbetz commented Nov 6, 2017

@xiangpengzhaorelease-1.8 blocking tests have started failing since this was merged:

https://k8s-testgrid.appspot.com/sig-release-1.8-blocking#gci-gke-serial-1.8

Please have a look. To keep our release timeline on plan this may need to get reverted if we cannot resolve the issue quickly.

@xiangpengzhao
Copy link
Contributor Author

@jpbetz I find the failure log as below:

STEP: Restarting apiserver
Nov  4 14:38:55.850: INFO: Upgrading master to "1.8.3-beta.0.92+c7778dae8eb584"
Nov  4 14:38:55.850: INFO: Running gcloud [container clusters --project=gke-up-c1-4-g1-5-up-clu-n --zone=us-central1-b upgrade e2e-858 --master --cluster-version=1.8.3-beta.0.92+c7778dae8eb584 --quiet]
Nov  4 14:39:03.423: INFO: error restarting apiserver: error running gcloud [container clusters --project=gke-up-c1-4-g1-5-up-clu-n --zone=us-central1-b upgrade e2e-858 --master --cluster-version=1.8.3-beta.0.92+c7778dae8eb584 --quiet]; got error exit status 1, stdout "", stderr "Upgrading e2e-858...\n.....done.\nERROR: (gcloud.container.clusters.upgrade) Operation [<Operation\n endTime: u'2017-11-04T14:38:57.507206389Z'\n name: u'operation-1509806337229-c09d4978'\n operationType: OperationTypeValueValuesEnum(UPGRADE_MASTER, 3)\n selfLink: u'https://test-container.sandbox.googleapis.com/v1/projects/769714595857/zones/us-central1-b/operations/operation-1509806337229-c09d4978'\n startTime: u'2017-11-04T14:38:57.229764357Z'\n status: StatusValueValuesEnum(DONE, 3)\n statusMessage: u'Patch failed'\n targetLink: u'https://test-container.sandbox.googleapis.com/v1/projects/769714595857/zones/us-central1-b/clusters/e2e-858'\n zone: u'us-central1-b'>] finished with error: Patch failed\n"
STEP: deleting { ReplicationController} service1 in namespace e2e-tests-services-mzfkd
Nov  4 14:39:03.945: INFO: Deleting { ReplicationController} service1 took: 352.685476ms
Nov  4 14:39:03.945: INFO: Terminating { ReplicationController} service1 pods took: 57.537µs
Nov  4 14:39:14.045: INFO: Garbage collecting { ReplicationController} service1 pods took: 10.452934629s
[AfterEach] [sig-network] Services

This cherry-pick PR just lessened validation. I'm not sure it would fail the apiserver restarting. @thockin @bowei @freehan any thoughts?

@jpbetz
Copy link
Contributor

jpbetz commented Nov 7, 2017

@xiangpengzhao And this cherry-pick simply reverts a commit made in July. I'll attempt run these tests locally against GKE and gather the apiserver logs from the master.

I may concurrently revert this cherry-pick to see if that impacts the e2e test runs since it's not entirely clear if this is what is causing the e2e test failures. If it's not the cause, I'll re-apply this cherry-pick.

jpbetz added a commit to jpbetz/kubernetes that referenced this pull request Nov 7, 2017
jpbetz added a commit to jpbetz/kubernetes that referenced this pull request Nov 7, 2017
@xiangpengzhao
Copy link
Contributor Author

@jpbetz thanks for babysitting this :)
BTW, I have a question, when I cherry-pick a commit to a main release, e.g, 1.8.0, is it only be patched to 1.8.0 but not to other 1.8.x releases?

jpbetz added a commit that referenced this pull request Nov 7, 2017
@jpbetz
Copy link
Contributor

jpbetz commented Nov 7, 2017

@xiangpengzhao Commits are to a release branch, e.g. release-1.8, and apply to all subsequent patch releases of that branch. For example, if a cherry-pick is merged to the release-1.8 branch before the 1.8.3 release is cut, it will be included in 1.8.3, 1.8.4, 1.8.5, ...

@xiangpengzhao
Copy link
Contributor Author

@jpbetz Thanks for explanation! :)

@xiangpengzhao
Copy link
Contributor Author

@jpbetz seems like the test still failed after the PR was reverted:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-serial-stable1/875

Any new clues in your local tests?

@jpbetz
Copy link
Contributor

jpbetz commented Nov 7, 2017

Haven't been able to replicate locally yet, I've filed #55244

jpbetz added a commit to jpbetz/kubernetes that referenced this pull request Nov 7, 2017
jpbetz added a commit that referenced this pull request Nov 7, 2017
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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. 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. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants