Commit Graph

366 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f64eeb523d Merge pull request #128096 from bart0sh/PR161-e2e_node-consolidate-NFSServer-APIs
e2e_node: consolidated NFSServer APIs.
2024-11-05 00:33:35 +00:00
Anish Shah
3e6df4a871 test: remove container runtime check and fix other nits 2024-10-17 17:14:04 -07:00
Anish Shah
d72c7319f8 test: refactor duplicate inplace pod resize test utilities 2024-10-17 05:35:40 -07:00
Anish Shah
b8897e688d test: refactor duplicate IPPR e22 tests.
This change refactors duplicate IPPR cluster and node e2e tests under
test/e2e/common directory
2024-10-17 05:27:27 -07:00
Kubernetes Prow Robot
d67e6545b1 Merge pull request #124227 from iholder101/in-pod-vertical-scaling/extended-resources
[FG:InPlacePodVerticalScaling] Add extended resources to ContainerStatuses[i].Resources
2024-10-17 01:39:03 +01:00
Ed Bartosh
b69f410f43 e2e_node: consolidated NFSServer APIs. 2024-10-15 23:30:27 +03:00
Davanum Srinivas
d3cbe2fe86 Re-add nvidia-gpu-device-plugin.yaml in test suite itself
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-27 14:23:57 -04:00
Davanum Srinivas
472ca3b279 skip control plane nodes, they may not have GPUs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-24 10:09:33 -04:00
Davanum Srinivas
349c7136c9 Wait for GPUs even for AWS kubetest2 ec2 harness
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-24 09:11:18 -04:00
Kubernetes Prow Robot
ff391cefe2 Merge pull request #127547 from dims/skip-reinstallation-of-gpu-daemonset
Skip re-installation of GPU daemonset
2024-09-23 15:28:00 +01:00
Kubernetes Prow Robot
89f418f29e Merge pull request #127481 from kannon92/fix-mount-propogation-flake
Use the last kubelet pid in the pidof command
2024-09-23 09:05:59 +01:00
Davanum Srinivas
1abbb00067 Double a couple of other timeouts
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-22 19:36:39 -04:00
Davanum Srinivas
92683139d7 Skip re-installation of GPU daemonset
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-22 13:54:12 -04:00
Davanum Srinivas
3d7d06e7cd Bump timeout to account for slow GPU operations
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-20 20:52:51 -04:00
Davanum Srinivas
e516e003c5 Test MOAR GPU stuff
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-20 11:40:33 -04:00
Kevin Hannon
9b6ef250fc always use the last entry in the pidof command as that is the oldest 2024-09-20 09:05:31 -04:00
Davanum Srinivas
3ec74e0984 split into 3 distinct tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-19 16:15:53 -04:00
Davanum Srinivas
630abc6929 Resurrect GPU tests that use Jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-19 11:30:49 -04:00
Davanum Srinivas
08a8cf7865 Install Nvidia Daemonset in test harness for GCE
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-18 19:58:17 -04:00
Davanum Srinivas
71bdcab2ad Add some simple tests for nvidia GPU(s)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-17 16:18:00 -04:00
Stephen Heywood
ca0b314975 Promote Node lifecycle e2e test to Conformance 2024-09-10 09:59:59 +12:00
Itamar Holder
85068bce13 Patch all nodes with extended resource to allow testing on every node
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-08-28 16:28:54 +03:00
Itamar Holder
f43f5bc821 Add an e2e test
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-08-28 16:28:53 +03:00
Stephen Heywood
71d412bf46 Create e2e test for Node endpoints
e2e test validates the following 2 endpoints
- createCoreV1Node
- deleteCoreV1Node
2024-08-26 10:00:13 +12:00
Shingo Omura
a89bb017a3 KEP-3619: implement e2e test for SupplementalGroupsPolicy 2024-07-16 12:36:00 +09:00
hjet
30e395a7fa Roll back resize patches in doPodResizeTests 2024-07-05 11:41:07 -04:00
Matthieu MOREL
7bccbaf996 fix: enable and fixes rules from testifylint on test package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-30 05:44:47 +00:00
Kubernetes Prow Robot
a3a4f9658b Merge pull request #125492 from Nordix/esotsal/123951
pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2
2024-06-26 14:13:48 -07:00
Sotiris Salloumis
7dbc2a9ea8 pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2 2024-06-26 20:20:13 +02:00
yintong.huang
2db1b321e0 drop deprecated PollWithContext and adopt PollUntilContextTimeout instead
Signed-off-by: yintong.huang <yintong.huang@daocloud.io>
2024-06-21 19:23:31 +08:00
胡玮文
859bd02593 e2e: add TERM trap to pod sleep command
This should avoid the 30s delay caused by shell not responding to SIGTERM, and can only be killed by SIGKILL.

If the pod is deleted with the namespace during cleanup, this also makes cleanup faster, and frees up the resources for the next test cases faster.
2024-06-11 13:52:47 +08:00
Kubernetes Prow Robot
0a6101636d Merge pull request #123930 from Nordix/esotsal/fix_123928
Move DockerHung test in the end
2024-04-24 14:29:38 -07:00
huweiwen
6ec421e2cf test/e2e: do not use global variable for image
We have "-kube-test-repo-list" command line flag to override the image registry. If we store it in global variable, then that overriding cannot take effect.

And this can cause puzzling bugs, e.g.: containerIsUnused() function will compare incorrect image address.
2024-04-22 19:29:39 +08:00
Sotiris Salloumis
81abca5508 Move DockerHung test in the end 2024-04-16 17:48:16 +02:00
Tim Allclair
0eb5f52d06 Rename AppArmor annotation constants with Deprecated 2024-03-06 10:46:31 -08:00
Tim Allclair
207a965b3f Update AppArmor e2e tests 2024-03-05 12:22:50 -08:00
Davanum Srinivas
fa44b9ca15 Fix panic in getNpdPodStat
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-02-28 10:50:43 -05:00
Kubernetes Prow Robot
2ec3ef62d6 Merge pull request #122594 from aravindhp/nlq-windows-e2e
e2e: add NodeLogQuery tests for Windows nodes
2024-02-05 21:41:27 -08:00
Patrick Ohly
de014579a1 e2e: enforce usage of WithFlaky instead of [Flaky]
Now that we have it (8a89a1f5a5), let's also make sure that
the new WithFlaky is used everywhere instead if [Flaky]. This way it can be
used for filtering by label.
2024-01-19 12:17:37 +01:00
Aravindh Puthiyaparambil
66ea02684b e2e: add NodeLogQuery tests for Windows nodes 2024-01-15 16:08:22 -08:00
Kubernetes Prow Robot
2c96352cc4 Merge pull request #122240 from aravindhp/nlq-only-select-linux-nodes
e2e: only select linux nodes for NodeLogQuery tests
2024-01-03 20:33:24 +01:00
Antonio Ojea
86873d3335 NodeProblemDetector tags
Change-Id: I9b9848f468f9333b6169bdf5ffd850d762f639bb
2023-12-22 11:25:07 +00:00
Aravindh Puthiyaparambil
2208cb9493 e2e: only select linux nodes for NodeLogQuery tests
The current NodeLogQuery tests only work against Linux nodes, so
explicitly select them.
2023-12-08 10:11:05 -08:00
Aravindh Puthiyaparambil
6b6be38896 test: Fix NodeLogQuery tests
- Remove redundant tests
- Fix formatting of the query command by using fmt.Sprintf to
  prevent spurious characters from being introduced
- Fix running of the journalctl command on the node by add the
  default options
- Restrict running the tests on a single node
2023-11-03 15:21:49 -07:00
Patrick Ohly
f2cfbf44b1 e2e: use framework labels
This changes the text registration so that tags for which the framework has a
dedicated API (features, feature gates, slow, serial, etc.) those APIs are
used.

Arbitrary, custom tags are still left in place for now.
2023-11-01 15:17:34 +01:00
Kubernetes Prow Robot
dea3f1a119 Merge pull request #112599 from fabi200123/Adding-Windows-Support-for-InPlaceVerticalScaling
Adding Windows support for InPlace Pod Vertical Scaling
2023-10-31 19:15:12 +01:00
Kubernetes Prow Robot
7658fe8dc4 Merge pull request #118456 from testwill/bool-constant
chore: omit comparison to bool constant
2023-10-26 12:59:05 +02:00
Kubernetes Prow Robot
441d4b54ae Merge pull request #120397 from ty-dc/StaticCheck
cleanup: omit comparison with bool constants
2023-10-24 05:25:52 +02:00
Kubernetes Prow Robot
604e9e0fb3 Merge pull request #121007 from borg-land/npd-host-exec-rewrite
Configure COS to use NPD in daemonset mode and align kubeup NPD manifests with the manifests in the NPD repo
2023-10-23 18:39:40 +02:00
Kubernetes Prow Robot
63ae3084b7 Merge pull request #121176 from bzsuni/cleanup/e2e/expect_not_equal
remove deprecated framework.ExpectNotEqual for node
2023-10-17 02:29:06 +02:00