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

Revert "Scheduler should use shared informer for pods" #46199

Merged
merged 2 commits into from
May 22, 2017

Conversation

wojtek-t
Copy link
Member

This reverts commit 479f01d.

@smarterclayton @deads2k - I don't really have time to debug this today, so for now I'm reverting this commit. We should try to understand what does it change with respect to #46196 (assuming that this will fix the problem).

@wojtek-t wojtek-t added the release-note-none Denotes a PR that doesn't merit a release note. label May 22, 2017
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 22, 2017
@k8s-github-robot k8s-github-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 22, 2017
@wojtek-t
Copy link
Member Author

@k8s-bot unit test this

@gmarek
Copy link
Contributor

gmarek commented May 22, 2017

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gmarek, wojtek-t

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-ci-robot
Copy link
Contributor

k8s-ci-robot commented May 22, 2017

@wojtek-t: The following test(s) failed:

Test name Commit Details Rerun command
pull-kubernetes-federation-e2e-gce d5227a3 link @k8s-bot pull-kubernetes-federation-e2e-gce test this

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 5dd56c9 into kubernetes:master May 22, 2017
@wojtek-t
Copy link
Member Author

@deads2k @smarterclayton - so reverting this fixed the problem. It must be something wrong with this commit, though I don't know what exactly.

@deads2k
Copy link
Contributor

deads2k commented May 22, 2017

@deads2k @smarterclayton - so reverting this fixed the problem. It must be something wrong with this commit, though I don't know what exactly.

@wojtek-t Thanks for the heads up and for targeting the revert at a commit.

@wojtek-t
Copy link
Member Author

@wojtek-t Thanks for the heads up and for targeting the revert at a commit.

No problem. I was trying to understand the problem, but the commit looks reasonable and I didn't have time for reproducing adding logs, etc. to really debug it. But since this is just one commit, hopefully you will be able to do it.
Note that this also broke some of the scheduler predicates tests (see in the issue for it), which might be easier to reproduce even.

@smarterclayton
Copy link
Contributor

Yeah, hopefully this is obvious on the predicates test.

@smarterclayton
Copy link
Contributor

I0521 05:16:54.615] May 21 05:16:54.558: INFO: At 2017-05-21 05:06:54 -0700 PDT - event for maxp-311: {default-scheduler } FailedScheduling: No nodes are available that match all of the following predicates:: Insufficient pods (3).
I0521 05:16:54.615] May 21 05:16:54.558: INFO: At 2017-05-21 05:06:54 -0700 PDT - event for maxp-312: {default-scheduler } FailedScheduling: No nodes are available that match all of the following predicates:: Insufficient pods (3).
I0521 05:16:54.615] May 21 05:16:54.558: INFO: At 2017-05-21 05:06:54 -0700 PDT - event for maxp-313: {default-scheduler } FailedScheduling: No nodes are available that match all of the following predicates:: Insufficient pods (3).

and

I0521 05:16:54.780] May 21 05:16:54.661: INFO: e2e-image-puller-bootstrap-e2e-minion-group-3029  bootstrap-e2e-minion-group-3029  Succeeded         [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:24 -0700 PDT PodCompleted } {Ready False 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:28 -0700 PDT PodCompleted } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:24 -0700 PDT  }]
I0521 05:16:54.780] May 21 05:16:54.661: INFO: e2e-image-puller-bootstrap-e2e-minion-group-lnb7  bootstrap-e2e-minion-group-lnb7  Succeeded         [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:30 -0700 PDT PodCompleted } {Ready False 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:34 -0700 PDT PodCompleted } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:30 -0700 PDT  }]
I0521 05:16:54.780] May 21 05:16:54.661: INFO: e2e-image-puller-bootstrap-e2e-minion-group-zwjz  bootstrap-e2e-minion-group-zwjz  Succeeded         [{Initialized True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:26 -0700 PDT PodCompleted } {Ready False 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:30 -0700 PDT PodCompleted } {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2017-05-21 04:35:26 -0700 PDT  }]

https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-serial/1102/build-log.txt

@smarterclayton
Copy link
Contributor

So it looks like I am not properly excluding things from the cache. That would explain the predictability.

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. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants