Davanum Srinivas
b01a4145b2
Install ecr-credential-provider during node e2e tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-30 09:18:44 -04:00
Kubernetes Prow Robot
c2b7d25ff8
Merge pull request #118691 from giuseppe/drop-check-for-volumes
...
apis: drop check for volumes with user namespaces
2023-06-29 16:23:56 -07:00
Kubernetes Prow Robot
a736049349
Merge pull request #118986 from logicalhan/beta-metric
...
promote sli metrics to beta
2023-06-29 14:51:45 -07:00
Han Kang
d68f5f0d92
fix tests
2023-06-29 13:46:12 -07:00
Han Kang
44f1c4dd94
fix duplicate metrics issue
2023-06-29 12:30:30 -07:00
Kubernetes Prow Robot
3180aa4272
Merge pull request #118977 from dims/copy-container-logs-for-easier-debugging
...
Copy container logs for easier debugging
2023-06-29 12:09:43 -07:00
Kubernetes Prow Robot
ec9a8ffb23
Merge pull request #116977 from cvvz/fix-docs
...
docs: fix storage e2e test README
2023-06-29 11:09:59 -07:00
Kubernetes Prow Robot
a8f4c408ec
Merge pull request #118975 from dims/bump-cadvisor-version-in-tests-to-v0.47.2
...
Bump cadvisor version in tests to v0.47.2
2023-06-29 09:43:36 -07:00
Han Kang
04ea1d506b
promote sli metrics to beta
2023-06-29 09:23:01 -07:00
Davanum Srinivas
f96d83af66
Copy container logs for easier debugging
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-29 11:56:00 -04:00
Kubernetes Prow Robot
134f971d85
Merge pull request #118935 from alculquicondor/fix-conformance
...
Exclude terminal pods from Daemonset e2e tests
2023-06-29 08:21:37 -07:00
Davanum Srinivas
52ef833b6c
Bump cadvisor version in tests to v0.47.2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-29 09:58:31 -04:00
Kubernetes Prow Robot
9516a25ce4
Merge pull request #118951 from dims/drop-docker.log-and-add-cloud-init-output.log
...
Drop docker.log and add cloud init output.log
2023-06-29 03:51:47 -07:00
Kubernetes Prow Robot
2ee01fb673
Merge pull request #118945 from andrewsykim/update-request-filter-duration-buckets
...
Introduce larger buckets for request_filter_duration_seconds and request_wait_duration_seconds
2023-06-29 03:51:36 -07:00
Davanum Srinivas
931456a142
Simplify the node name for metrics - just use localhost
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-28 18:21:12 -04:00
Davanum Srinivas
3e5fafd57a
Drop docker.log and add cloud-init-output.log
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-28 18:08:40 -04:00
Aldo Culquicondor
60fb8f2fbc
Exclude terminal pods from Daemonset e2e tests
...
Change-Id: Ic29ca1739ebdc54822d1751fcd56a99c628021c4
2023-06-28 15:02:13 -04:00
Kubernetes Prow Robot
2190775b69
Merge pull request #118280 from stlaz/e2e_psa_labels
...
Set all PSa labels in tests
2023-06-28 11:14:43 -07:00
Andrew Sy Kim
16fdd3e5ee
apiserver: introduce larger buckets for flowcontrol request_wait_duration_seconds bucket
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2023-06-28 15:48:39 +00:00
Andrew Sy Kim
c607984379
apiserver: introduce larger buckets for request_filter_duration_seconds metric
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2023-06-28 14:19:51 +00:00
Kubernetes Prow Robot
c78204dc06
Merge pull request #118202 from pohly/scheduler-perf-unit-test
...
scheduler-perf: run as integration tests
2023-06-28 06:24:31 -07:00
Kubernetes Prow Robot
ddbf3575a7
Merge pull request #116729 from AxeZhan/handlers_sync
...
[Scheduler] Make sure handlers have synced before scheduling
2023-06-28 01:26:31 -07:00
Patrick Ohly
0d41d509d2
scheduler_perf: replace gomega.Eventually with wait.PollUntilContextTimeout
...
This is done for the sake of consistency. The failure message becomes less
useful.
2023-06-28 09:22:26 +02:00
Patrick Ohly
cecebe8ea2
scheduler_perf: add TestScheduling integration test
...
This runs workloads that are labeled as "integration-test". The apiserver and
scheduler are only started once per unique configuration, followed by each
workload using that configuration. This makes execution faster. In contrast to
benchmarking, we care less about starting with a clean slate for each test.
2023-06-28 09:22:25 +02:00
Patrick Ohly
dfd646e0a8
scheduler_perf: fix namespace deletion
...
Merely deleting the namespace is not enough:
- Workloads might rely on the garbage collector to get rid of obsolete objects,
so we should run it to be on the safe side.
- Pods must be force-deleted because kubelet is not running.
- Finally, the namespace controller is needed to get rid of
deleted namespaces.
2023-06-28 09:22:25 +02:00
Patrick Ohly
d9c16a1ced
scheduler_perf: fix goroutine leak in runWorkload
...
This becomes relevant when doing more fine-grained leak checking.
2023-06-28 08:14:34 +02:00
Patrick Ohly
2e7f37353c
test/integration: avoid errors in fake PC controller during shutdown
...
Once the context is canceled, the controller can stop processing
events. Without this change it prints errors when the apiserver is already
down.
2023-06-28 08:14:34 +02:00
Kubernetes Prow Robot
960830bc66
Merge pull request #118102 from RomanBednar/retro-sc-assignment-ga
...
graduate RetroactiveDefaultStorageClass feature to GA in 1.28
2023-06-27 20:46:32 -07:00
Kubernetes Prow Robot
470889278f
Merge pull request #118910 from dims/better-url-for-scraping-metrics-from-kubelet
...
Better URL for scraping metrics from kubelet in node e2e tests
2023-06-27 16:00:41 -07:00
Kubernetes Prow Robot
48a6fb0c42
Merge pull request #118909 from dims/bump-to-latest-node-problem-detector-version-with-arm64
...
Bump to latest node-problem-detector version with arm64
2023-06-27 14:58:42 -07:00
Kubernetes Prow Robot
e4b3b4f20c
Merge pull request #118904 from dims/cleanup-pods-at-the-end-in-pod-conditions-e2e-node-test
...
Cleanup pods at the end in Pod conditions e2e node test
2023-06-27 14:58:31 -07:00
Davanum Srinivas
a75b00ea39
Better URL for scraping metrics from kubelet
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 16:14:59 -04:00
Davanum Srinivas
685b0c5efa
Bump to latest node-problem-detector version with arm64
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 16:04:12 -04:00
Kubernetes Prow Robot
b3d94ae74f
Merge pull request #118786 from pohly/dra-test-skip-prepare
...
dra: kubelet must skip NodePrepareResource if not used by any container
2023-06-27 09:58:32 -07:00
Kubernetes Prow Robot
76b2198da1
Merge pull request #118901 from dims/set-aws-specific-credential-provider-when-running-there
...
Set AWS specific credential provider when running there
2023-06-27 08:56:51 -07:00
Aldo Culquicondor
a4519665fe
Skip terminal Pods with a deletion timestamp from the Daemonset sync ( #118716 )
...
* Skip terminal Pods with a deletion timestamp from the Daemonset sync
Change-Id: I64a347a87c02ee2bd48be10e6fff380c8c81f742
* Review comments and fix integration test
Change-Id: I3eb5ec62bce8b4b150726a1e9b2b517c4e993713
* Include deleted terminal pods in history
Change-Id: I8b921157e6be1c809dd59f8035ec259ea4d96301
2023-06-27 08:56:33 -07:00
kidddddddddddddddddddddd
9c7166ff63
wait for eventhandlers to sync before run scheduler
2023-06-27 23:19:34 +08:00
Kubernetes Prow Robot
6dbb1c6cf0
Merge pull request #118902 from pohly/staticcheck-cleanup
...
Cleanup staticcheck workarounds, improve gomega calls, update to golangci-lint 1.53.3
2023-06-27 07:54:32 -07:00
Davanum Srinivas
6c587b43e9
Cleanup pods at the end in Pod conditions e2e node test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 09:36:00 -04:00
Kevin Hannon
ecd727e4c7
Fix PodGC test when PodDisruptionConditions disabled ( #118805 )
...
* test comment should match the code in podgc
* Update test/integration/podgc/podgc_test.go
Co-authored-by: Michał Woźniak <mimowo@users.noreply.github.com >
* test comment should match the code in podgc
---------
Co-authored-by: Michał Woźniak <mimowo@users.noreply.github.com >
2023-06-27 05:50:29 -07:00
Madhav Jivrajani
bdbf07525f
test: remove exception comments in discovery tests
...
The exception comments were added due to a false positive in
staticcheck. This has since been rectified.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2023-06-27 14:20:41 +02:00
Patrick Ohly
f618e61332
e2e: replace gomega.HaveLen(0) with gomega.BeEmpty()
...
The failure message becomes nicer. Found with the new ginkgolinter, for
example:
test/e2e/apps/cronjob.go:113:3: ginkgo-linter: wrong length assertion; consider using `gomega.Expect(jobs.Items).To(gomega.BeEmpty())` instead (ginkgolinter)
gomega.Expect(jobs.Items).To(gomega.HaveLen(0))
^
2023-06-27 14:20:41 +02:00
Patrick Ohly
e7df337eba
e2e: replace gomega.Equal(true/false) with gomega.BeTrue/BeFalse()
...
The failure message becomes a bit nicer. Found by the new ginkgolinter, for
example:
test/e2e/windows/memory_limits.go:160:2: ginkgo-linter: wrong boolean assertion; consider using `gomega.Eventually(ctx, func() bool {
eventList, err := f.ClientSet.CoreV1().Events(f.Namespace.Name).List(ctx, metav1.ListOptions{})
...
}, 3*time.Minute, 10*time.Second).Should(gomega.BeTrue())` instead (ginkgolinter)
2023-06-27 14:20:20 +02:00
Patrick Ohly
8b33e8bdd1
e2e: fix gomega.Expect calls without assertions
...
"gomega.Expect" is not the same as "assert" in C: it always has to be combined
with a statement of what is expected.
Found with the new ginkgolinter, for example:
test/e2e/node/pod_resize.go:242:3: ginkgo-linter: "Expect": missing assertion method. Expected "Should()", "To()", "ShouldNot()", "ToNot()" or "NotTo()" (ginkgolinter)
gomega.Expect(found == true)
2023-06-27 14:20:20 +02:00
Davanum Srinivas
0ef1f2f2d8
Set AWS specific credential provider when running there
...
NOTE: we are not installing the ecr-credential-provider binary
itself here we are, we need to do it out-of-band from the test
suite itself before it runs.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 07:45:59 -04:00
Kubernetes Prow Robot
9d50c0a025
Merge pull request #118889 from swetharepakula/extend-timeout
...
Extend Large Create Timeout to 60 min
2023-06-26 20:04:42 -07:00
Swetha Repakula
08198fe22b
Extend Large Create Timeout to 60 min
...
* Load balancers are taking greater than 45 to provision
* https://github.com/kubernetes/kubernetes/issues/118295
2023-06-26 15:32:34 -07:00
Dr. Stefan Schimanski
764da8a01d
FIXUP: cmd/kube-apiserver/app/options: split apart controlplane part
2023-06-26 21:50:38 +02:00
Kubernetes Prow Robot
9f5a3f5e90
Merge pull request #118868 from sttts/sttts-kube-apiserver-options-completion-move
...
cmd/kube-apiserver: move options completion into options package
2023-06-26 08:14:29 -07:00
Kubernetes Prow Robot
d9714078f8
Merge pull request #118551 from sanposhiho/event-to-register
...
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-26 06:41:45 -07:00