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

Introduce NodeKiller -- a utility to simulate node failures in e2e tests #71320

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

mborsz
Copy link
Member

@mborsz mborsz commented Nov 21, 2018

What type of PR is this?
/kind flake

What this PR does / why we need it:
For purposes of scalability tests, we need to simulate node failures.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

/cc @wojtek-t

@k8s-ci-robot k8s-ci-robot added 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. kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. sig/testing Categorizes an issue or PR as relevant to SIG Testing. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 21, 2018
@mborsz
Copy link
Member Author

mborsz commented Nov 21, 2018

This PR contains draft of the change. Will update when it's ready for review.

@wojtek-t
Copy link
Member

@mborsz - given that we would like to migrate to ClusterLoader hopefully really soon, we should consider integrating it with ClusterLoader instead, maybe?

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 23, 2018
@mborsz mborsz force-pushed the nodekiller branch 4 times, most recently from 15aa6f5 to 33b309c Compare November 23, 2018 13:56
@mborsz mborsz changed the title [WIP] Introduce NodeKiller -- an utility to simulate node failures in e2e tests Introduce NodeKiller -- an utility to simulate node failures in e2e tests Nov 23, 2018
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 23, 2018
@mborsz
Copy link
Member Author

mborsz commented Nov 23, 2018

I think it's ready for review.

@mborsz
Copy link
Member Author

mborsz commented Nov 23, 2018

https://gubernator.k8s.io/build/kubernetes-jenkins/pr-logs/pull/71320/pull-kubernetes-e2e-gce-100-performance/27969/ -- this is a gce-100-performance run with nodekiller enabled.

@mborsz mborsz force-pushed the nodekiller branch 2 times, most recently from f791f11 to 4d09199 Compare November 23, 2018 14:44
@mborsz mborsz changed the title Introduce NodeKiller -- an utility to simulate node failures in e2e tests Introduce NodeKiller -- a utility to simulate node failures in e2e tests Nov 23, 2018
@mborsz mborsz force-pushed the nodekiller branch 2 times, most recently from 59b9962 to 8f0a845 Compare November 26, 2018 08:24
@k8s-ci-robot k8s-ci-robot added the kind/flake Categorizes issue or PR as related to a flaky test. label Nov 27, 2018
@mborsz
Copy link
Member Author

mborsz commented Nov 29, 2018

/assign @wojtek-t

test/e2e/e2e.go Outdated Show resolved Hide resolved
test/e2e/framework/nodes_util.go Outdated Show resolved Hide resolved
test/e2e/framework/nodes_util.go Outdated Show resolved Hide resolved
@mborsz mborsz force-pushed the nodekiller branch 2 times, most recently from 3a4830b to 643e54c Compare November 29, 2018 10:41
Copy link
Member

@wojtek-t wojtek-t left a comment

Choose a reason for hiding this comment

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

One minor comment - other than that lgtm.

test/e2e/framework/nodes_util.go Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 29, 2018
@mborsz
Copy link
Member Author

mborsz commented Nov 29, 2018

PTAL

@wojtek-t
Copy link
Member

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

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

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 Nov 29, 2018
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 29, 2018
@wojtek-t
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 29, 2018
@k8s-ci-robot k8s-ci-robot merged commit ba5f1cb into kubernetes:master Nov 29, 2018
mborsz added a commit to mborsz/perf-tests that referenced this pull request Dec 19, 2018
This is basically copy-paste of
kubernetes/kubernetes#71320.

In the next step, once we migrate -killer job to clusterloader2, I will
remove NodeKiller from kubernetes/kubernetes repo to remove duplication.
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/feature Categorizes issue or PR as related to a new feature. 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. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. release-note-none Denotes a PR that doesn't merit a release note. sig/testing Categorizes an issue or PR as relevant to SIG Testing. 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

3 participants