kubernetes/test/e2e_node
Francesco Romani 2d1503dae3 e2e: node: {cpu,topo}mgr: make logic on allocatable
The existing cpu/topology manager tests correctly check for the
node resources and skip if the detected resources are not enough
to run the tests, to avoid false negatives.

Unfortunately they do the check against the node capacity, while
the correct approach is to check the allocatable resources.
The existing check is correct only on a narrow set of cases;
otherwise can still lead to false negatives.

This PR fixes that.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-02-02 14:10:46 +01:00
..
builder hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
conformance Clean up dockershim flags in the kubelet 2022-01-14 16:02:50 +02:00
environment Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
gcp Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
jenkins OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
kubeletconfig e2e_node: provide methods to update kubelet config via file 2021-11-04 15:26:19 +02:00
perf/workloads Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
perftype hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
remote Check key existence in the getPrivateSSHKey function 2021-11-27 15:00:24 +09:00
runner test-e2e-node: support pure SSH mode 2021-11-22 10:13:15 -05:00
services remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
system hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
testing-manifests podresource: do not export NUMA topology if it's empty 2021-08-24 15:38:21 +00:00
apparmor_test.go Fix AppArmor unloaded profile e2e test 2022-01-10 13:22:11 +01:00
benchmark_util.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
container_log_rotation_test.go Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
container_manager_test.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
cpu_manager_test.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
critical_pod_test.go cleanup code from critical_pod_test 2022-01-13 14:44:05 +08:00
density_test.go Node tests fixes (#106371) 2021-11-14 19:54:47 -08:00
device_manager_test.go e2e_node: refactor code to use a single method to update the kubelet config 2021-11-04 15:44:35 +02:00
device_plugin_test.go e2e_node: unify device tests 2021-11-11 14:10:27 +01:00
doc.go fix golint issues in test/e2e_node 2019-11-26 16:26:55 +08:00
e2e_node_suite_test.go e2e_node: fix tests after Kubelet dynamic configuration removal 2021-11-08 09:42:24 +02:00
eviction_test.go skip reduceAllocatableMemoryUsage if cgroup v2 is enabled 2021-12-16 14:46:50 +08:00
framework.go fix golint issues in test/e2e_node 2019-11-26 16:26:55 +08:00
garbage_collector_test.go Make CRI v1 the default and allow a fallback to v1alpha2 2021-11-17 11:05:05 -08:00
gubernator.sh fix test/e2e_node/gubernator.sh shellcheck failures 2019-06-23 17:01:54 -07:00
hugepages_test.go e2e_node: provide an option to specify hugepages on the specific NUMA node 2021-11-10 15:57:46 +02:00
image_id_test.go Mark remaining e2e_node tests with [sig-*] label 2021-02-23 20:11:09 +01:00
image_list.go Merge pull request #106287 from Dragoncell/update_cadvisor_version 2022-01-08 15:50:19 -08:00
log_path_test.go Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
memory_manager_test.go e2e_node: provide an option to specify hugepages on the specific NUMA node 2021-11-10 15:57:46 +02:00
mirror_pod_grace_period_test.go NodeConformance: Respect grace period when updating static pod 2021-10-19 16:30:18 +09:00
mirror_pod_test.go Add test for recreating a static pod 2021-09-15 14:01:48 -04:00
node_container_manager_test.go e2e_node: drop usage of DynamicKubeletConfig 2021-11-04 15:26:19 +02:00
node_perf_test.go e2e_node: drop usage of DynamicKubeletConfig 2021-11-04 15:26:19 +02:00
node_problem_detector_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
node_shutdown_linux_test.go Skip tests when no signal emitting command 2022-01-17 16:03:28 +08:00
numa_alignment.go Implement e2e tests for pod scope alignment 2020-11-12 12:25:55 +01:00
os_label_rename_test.go move pkg/util/node to component-helpers/node/util (#105347) 2021-11-12 07:52:27 -08:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
pids_test.go follow up cleanup after SupportPodPidLimits GA 2020-09-14 18:50:24 +00:00
pod_hostnamefqdn_test.go setHostnameAsFQDN is a GA feature that does not depend on environment 2021-10-26 00:24:12 +00:00
podresources_test.go e2e: podresources: wait for local node ready again 2021-11-09 19:02:19 +01:00
pods_container_manager_test.go Mark remaining e2e_node tests with [sig-*] label 2021-02-23 20:11:09 +01:00
quota_lsci_test.go e2e_node: fix nil pointer exception under quota lsci test 2021-11-14 11:50:19 +02:00
README.md Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
resource_collector.go fail if the runtime/kubelet process is not fetched 2022-01-25 17:43:51 +08:00
resource_metrics_test.go Fix resource metrics e2e test 2021-07-05 11:16:05 +02:00
resource_usage_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
restart_test.go Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
runtime_conformance_test.go Cleanup test/e2e/common directory - part2 2021-03-03 10:27:35 +01:00
runtimeclass_test.go Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
security_context_test.go Clean up dockershim in tests 2021-12-22 13:05:34 +02:00
summary_test.go Extend deadline for /stats/summary test 2022-01-26 00:07:00 +00:00
system_node_critical_test.go Ensure images are pulled after eviction tests 2021-06-16 12:52:21 +02:00
topology_manager_test.go e2e: node: {cpu,topo}mgr: make logic on allocatable 2022-02-02 14:10:46 +01:00
util.go remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
util_kubevirt.go podresource: do not export NUMA topology if it's empty 2021-08-24 15:38:21 +00:00
util_sriov.go e2e: TM: add option to fail instead of skip 2021-09-13 13:23:36 +02:00
util_sriov_linux.go e2e: TM: add option to fail instead of skip 2021-09-13 13:23:36 +02:00
util_sriov_unsupported.go e2e: TM: add option to fail instead of skip 2021-09-13 13:23:36 +02:00
util_xfs_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
util_xfs_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
utils_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
utils_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
volume_manager_test.go typo fixed 2021-02-25 17:52:17 +08:00