Skip to content

Add forced variable num-nodes so that we can give it to kubetest to force tests to run that have high node requirements #345

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

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

davidz627
Copy link
Contributor

@davidz627 davidz627 commented Jul 16, 2019

/kind flake

For some reason some migration tests get skipped every once in a while because "number of nodes is not enough" when it only needs 2. For some reason the "num-nodes" variable in the e2e binary that's supposed to be dynamically gathered is showing -1 (indicating failure to dynamically get the read/schedulable nodes from api server sometimes) so to solve I provide the num nodes flag every time.

I'm currently looking into why the e2e binary is not auto-setting this variable sometimes but that might be a larger fix

/assign @msau42
/cc @hantaowang

NONE

…ce tests to run that have high node requirements
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/flake Categorizes issue or PR as related to a flaky test. labels Jul 16, 2019
@k8s-ci-robot k8s-ci-robot requested a review from hantaowang July 16, 2019 21:15
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 16, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidz627

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 16, 2019
@davidz627
Copy link
Contributor Author

What is super weird is that I'm observing NumNodes == -1 where this loc would suggest that is impossible:

https://github.com/kubernetes/kubernetes/blob/a10eced56b9100c30489b10c7a01e685735f6f0b/test/e2e/e2e.go#L110
since it will get some non-negative len of a list that is generated from schedulable nodes.

@hantaowang
Copy link

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 16, 2019
@k8s-ci-robot k8s-ci-robot merged commit d3e2ff0 into kubernetes-sigs:master Jul 16, 2019
@davidz627 davidz627 deleted the fix/numNodes branch July 16, 2019 22:22
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. kind/flake Categorizes issue or PR as related to a flaky test. 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.

4 participants