Skip to content

Conversation

@hantaowang
Copy link

@hantaowang hantaowang commented Jul 25, 2019

This PR reorganizes the storage tests so there is no distinction between ephemeral and persistent storage types. It also combines the test config for 1 node and multi node tests, which was largely repeated.

@wojtek-t @davidz627 @jingxu97 @mucahitkurt

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 25, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @hantaowang. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 25, 2019
@k8s-ci-robot k8s-ci-robot requested review from mm4tt and wojtek-t July 25, 2019 01:21
@hantaowang
Copy link
Author

/hold
because untested. I will test tomorrow.

@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 Jul 25, 2019
@hantaowang hantaowang force-pushed the reorganize-storage-tests branch 2 times, most recently from 8530260 to d300b24 Compare July 25, 2019 04:31
@hantaowang
Copy link
Author

/hold cancel
This has been tested.

@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 Jul 25, 2019
@hantaowang hantaowang force-pushed the reorganize-storage-tests branch from d300b24 to d623320 Compare July 25, 2019 04:42
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.

This is very cool - I like it.
I left just couple minor comments.

@mucahitkurt - FYI

@@ -0,0 +1,3 @@
PODS_PER_NODE: 100
Copy link
Member

Choose a reason for hiding this comment

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

Please remove the "tests/" directory (this whole directory clusterloader2/testing is only about tests).

clusterloader2/testing/experimental/storage/pod-startup/max_volumes_per_node/override.yaml

is enough

Copy link
Author

Choose a reason for hiding this comment

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

done, i thought it would be confusing if the tests are at the same level as the volume-types

@@ -0,0 +1,3 @@
PODS_PER_NODE: 100
VOLUMES_PER_POD: 1
NODES_PER_NAMESPACE: 1 No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

nit: please add new lines at the end of files

Copy link
Member

Choose a reason for hiding this comment

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

Same in other files you added.

{{$PODS_PER_NODE := DefaultParam .PODS_PER_NODE 30}}

{{$POD_TEMPLATE_PATH := DefaultParam .POD_TEMPLATE_PATH "../emptydir/pod_with_emptydir.yaml"}}
{{$POD_TEMPLATE_PATH := DefaultParam .POD_TEMPLATE_PATH "../volume-types/emptydir/pod_with_emptydir.yaml"}}
Copy link
Member

Choose a reason for hiding this comment

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

Obviously this PR is going to break all the existing tests that are running.
Given they are experimental I'm fine with breaking them for a moment, but you should prepare a PR in test-infra that will fix the paths to configs and overrides so that we can merge that immediately after this PR will be merged.

Copy link
Member

Choose a reason for hiding this comment

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

With kubernetes/test-infra#13601 opened, I'm fine with approving this one.

@wojtek-t
Copy link
Member

/ok-to-test
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 25, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hantaowang, 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 Jul 25, 2019
@k8s-ci-robot k8s-ci-robot merged commit 401eb14 into kubernetes:master Jul 25, 2019
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

3 participants