k3s/test/e2e_node
Kubernetes Submit Queue d72631b6da
Merge pull request #57344 from balajismaniam/cpuman-test-del-state-file
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix policy conflict in the CPU manager node e2e test.

**What this PR does / why we need it**:
After graduation of the CPU manager feature to Beta, the CPU manager `none` policy is ON by default. But when the CPU manager is set to use `static` policy in the node e2e test, there will always be a conflict with the policy checkpointed in the disk. This PR fixes that by deleting the state file where required. 

Manually tested in an `n1-standard-4` instance with `Ubuntu 16.04` image on GCP, which is the same machine and image type as one of the configs used in the node e2e tests. 

Use the following command to run the test locally:
`make test-e2e-node TEST_ARGS='--feature-gates=DynamicKubeletConfig=true' FOCUS="CPU Manager" SKIP="" PARALLELISM=1`

CC @ConnorDoyle @derekwaynecarr
2018-01-16 15:02:10 -08:00
..
builder cluster: build gci mounter like other go binaries 2017-10-30 13:56:09 -07:00
conformance Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
environment Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
jenkins e2e node framework can generate a base kubelet config file 2018-01-04 16:47:04 -08:00
perftype update BUILD files 2017-10-15 18:18:13 -07:00
remote Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
runner Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
services Merge pull request #57976 from Random-Liu/node-e2e-non-docker-specific 2018-01-09 17:26:40 -08:00
system Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
BUILD Move common functions together 2018-01-10 09:47:05 +08:00
OWNERS Add balajismaniam, ConnorDoyle node-e2e approvers 2017-11-22 10:01:14 -08:00
README.md
apparmor_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
benchmark_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
container.go
container_manager_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
cpu_manager_test.go Fix policy conflict in the CPU manager node e2e test. 2018-01-10 09:38:00 -08:00
critical_pod_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
density_test.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
device_plugin.go Add e2e test logic for device plugin 2018-01-11 14:41:45 +08:00
doc.go
docker_test.go Use whitelisted test image 2017-11-10 14:16:27 -08:00
docker_util.go improve code 2017-09-28 08:47:22 +08:00
dockershim_checkpoint_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
dynamic_kubelet_config_test.go Make ConfigOK status messages more human readable by including the API path to the object instead of the UID 2018-01-03 16:05:43 -08:00
e2e_node_suite_test.go
eviction_test.go Merge pull request #56661 from xiangpengzhao/move-kubelet-constants 2017-12-16 05:46:35 -08:00
framework.go Add [sig-node] to some unowned e2e_node tests 2017-11-27 11:35:44 -05:00
garbage_collector_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
gke_environment_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
gpu_device_plugin.go Move common functions together 2018-01-10 09:47:05 +08:00
gpus.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
gubernator.sh cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
image_id_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
image_list.go Add getCRIClient and set default values for CRI related flags 2018-01-09 22:59:17 +00:00
kubelet_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
lifecycle_hook_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
log_path_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
memory_eviction_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
mirror_pod_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
node_container_manager_test.go Merge pull request #55898 from dashpole/fix_flaky_allocatable 2017-11-18 13:13:24 -08:00
node_problem_detector_linux.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
pods_container_manager_test.go e2e-node:the value of bestEffortCgroup is wrong 2017-10-27 17:10:53 +08:00
resource_collector.go Use GinkgoRecover to avoid panic. 2018-01-12 06:51:29 +00:00
resource_usage_test.go Add [sig-node] to some unowned e2e_node tests 2017-11-27 11:35:44 -05:00
restart_test.go Remove unnecessary docker specific logic in node e2e test. 2018-01-09 22:59:17 +00:00
runtime_conformance_test.go Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
security_context_test.go use multi-arch busybox for e2e 2017-10-19 10:36:31 +08:00
simple_mount.go
summary_test.go Merge pull request #55984 from derekwaynecarr/summary-tests 2017-12-13 23:25:59 -08:00
util.go Merge pull request #54792 from ScorpioCPH/add-stub-device-plugin-for-e2e 2018-01-12 04:05:55 -08:00
volume_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30

README.md