kubernetes/test/e2e_node
Francesco Romani c3c0ce4b0b e2e: node: add test to check device-requiring pods are cleaned up
Make sure orphanded pods (pods deleted while kubelet is down) are
handled correctly.
Outline:
1. create a pod (not static pod)
2. stop kubelet
3. while kubelet is down, force delete the pod on API server
4. restart kubelet
the pod becomes an orphaned pod and is expected to be killed by HandlePodCleanups.

There is a similar test already, but here we want to check device
assignment.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-08-08 13:36:40 +02:00
..
builder update ginkgo from v1 to v2 and gomega to 1.19.0 2022-07-08 10:44:46 +08:00
conformance stop using deprecated klog flags 2022-09-04 21:02:43 +02:00
environment Merge pull request #109753 from matthyx/109577 2022-05-13 07:33:49 -07:00
gcp e2e: accept context from Ginkgo 2022-12-10 19:50:18 +01:00
jenkins Remove generated file rules in make 2022-10-04 08:50:30 -07:00
kubeletconfig io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os 2022-02-03 05:32:12 +08:00
perf/workloads e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
perftype hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
plugins/gcp-credential-provider Update test to validate against v1 kubelet APIs 2022-10-03 17:57:25 +00:00
remote prevent initializing the same flag more than once 2023-03-13 17:07:00 -04:00
runner Add some missing flags 2023-03-14 10:36:25 -04:00
services Merge pull request #116611 from dims/missed-registering-kubelet-config-file-for-make-test-e2e-node-usecase 2023-03-14 19:27:21 -07:00
system hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
testing-manifests e2e: node: remove kubevirt device plugin 2023-02-22 14:04:22 +01:00
apparmor_test.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
benchmark_util.go e2e: adapt to moved code 2022-10-06 08:19:47 +02:00
checkpoint_container.go Extend checkpoint e2e test to check for results 2023-01-23 18:07:35 +00:00
container_log_rotation_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
container_manager_test.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
containers_lifecycle_test.go three more checks for containers lifecycle 2023-03-10 18:42:14 +00:00
cpu_manager_metrics_test.go node: e2e: cpumgr: Rename: s/getCPUManagerMetrics/getKubeletMetrics 2023-01-19 14:18:05 +00:00
cpu_manager_test.go cpuset: Delete 'builder' methods 2023-01-06 23:32:51 +00:00
critical_pod_test.go Add DisruptionTarget condition when preempting for critical pod 2023-05-24 09:14:44 +02:00
deleted_pods_test.go Give terminal phase correctly to all pods that will not be restarted 2023-03-16 21:25:29 +01:00
density_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
device_manager_test.go e2e: node: devicemanager: update tests 2023-08-08 13:36:39 +02:00
device_plugin_test.go e2e: node: add test to check device-requiring pods are cleaned up 2023-08-08 13:36:40 +02:00
doc.go fix golint issues in test/e2e_node 2019-11-26 16:26:55 +08:00
e2e_node_suite_test.go first iteration to add standalone mode 2023-03-14 20:46:41 +00:00
eviction_test.go test: fix ginkgolinter issues 2023-02-22 19:36:05 +01:00
framework.go update ginkgo from v1 to v2 and gomega to 1.19.0 2022-07-08 10:44:46 +08:00
garbage_collector_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
gubernator.sh
hugepages_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
image_credential_provider.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
image_id_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
image_list.go e2e_node: move getSampleDevicePluginPod to device_plugin_test.go 2023-07-27 12:09:17 -04:00
lock_contention_linux_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
log_path_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
memory_manager_test.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
mirror_pod_grace_period_test.go kubelet: Force deleted pods can fail to move out of terminating 2023-03-08 22:03:51 -06:00
mirror_pod_test.go kubelet: Force deleted pods can fail to move out of terminating 2023-03-08 22:03:51 -06:00
node_container_manager_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
node_perf_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
node_problem_detector_linux.go e2e: replace WaitForPodToDisappear with WaitForPodNotFoundInNamespace 2023-02-06 15:39:12 +01:00
node_shutdown_linux_test.go test: Fix node e2e shutdown test flake 2023-03-06 15:38:45 -08:00
numa_alignment.go cpuset: Make 'ToSlice*' methods look like 'set' methods 2023-01-06 23:32:51 +00:00
oomkiller_test.go Fix the flaky OOMKiller test by sleep at start 2023-02-27 08:15:46 +01:00
os_label_rename_test.go Remove cgo dependency 2023-02-13 11:16:39 -05:00
OWNERS Remove ehashman from sig-node roles 2022-11-01 12:16:43 -07:00
pids_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
pod_conditions_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
pod_hostnamefqdn_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
podresources_test.go kubelet: podresources: DOS prevention with builtin ratelimit 2023-03-11 08:00:54 +01:00
pods_container_manager_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
quota_lsci_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
README.md Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
resource_collector.go test: Add e2e to verify static pod termination 2023-03-03 10:00:48 -06:00
resource_metrics_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
resource_usage_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
restart_test.go Fix the deletion of rejected pods 2023-06-23 14:37:24 -07:00
runtime_conformance_test.go e2e: use error wrapping with %w 2023-02-06 15:39:13 +01:00
runtimeclass_test.go e2e node: Update runtime class handler skip logic 2023-01-24 14:43:24 -08:00
seccompdefault_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
security_context_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
standalone_test.go test: Update standalone test in node e2e 2023-03-15 14:00:39 -07:00
summary_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
system_node_critical_test.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
topology_manager_metrics_test.go node: topologymgr: update node e2e test tags 2023-03-07 09:52:07 +00:00
topology_manager_test.go node: topologymgr: update node e2e test tags 2023-03-07 09:52:07 +00:00
unknown_pods_test.go test: Add e2e node test to check for unknown pods 2023-02-03 23:04:45 -08:00
util.go first iteration to add standalone mode 2023-03-14 20:46:41 +00:00
util_sampledevice.go test: Fix path to e2e node sample device plugin 2023-03-02 19:22:59 -08: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 e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00