Commit Graph

112936 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
419e0ec3d2
Merge pull request #114390 from tangwz/improve_NodeResourcesFit_replace_small_maps_with_slices
Improve performance of NodeResourcesFit scoring
2022-12-22 06:57:26 -08:00
Claudiu Belu
e9b35e7a3e gitattributes: json and yaml files LF line endings
Always check-out / check-in json and yaml files with LF line endings.

This will also solve a few unit tests on Windows, in which the expectation is that marshalled
objects match the the content written in a few yaml or json files. On Windows, these files
may be checked out with CRLF line endings, which causes the tests to fail.
2022-12-22 11:36:07 +00:00
Kubernetes Prow Robot
2bb77a13b1
Merge pull request #113730 from wojtek-t/generalize_cacher_tests_3
Reuse generic GetList test for watchcache and fix inconsistency issues for both etcd3 and watchcache
2022-12-22 01:29:25 -08:00
Kubernetes Prow Robot
30e0e8edb9
Merge pull request #114597 from songxiao-wang87/runwxs-test10
Add test for cmd/kubeadm/app/images/images.go
2022-12-22 00:13:25 -08:00
Kante Yin
febf95cc43 Stop Cache in scheduler when test tears down
Signed-off-by: Kante Yin <kerthcet@gmail.com>
2022-12-22 15:38:38 +08:00
kidddddddddddddddddddddd
27c5c0a16d pv_list to prefilter 2022-12-22 14:59:41 +08:00
kkkkun
973f7c49b8 Fix CONNECT requests from others requests
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2022-12-22 11:52:23 +08:00
Kubernetes Prow Robot
d2504c94a0
Merge pull request #114648 from liggitt/publishing-1.23
Update 1.23 publishing go version to go1.19.4
2022-12-21 17:51:26 -08:00
Kubernetes Prow Robot
6e65c98681
Merge pull request #114596 from andrewsykim/cloud-node-ipam
Don't run cloud IPAM controller when cloud provider is not enabled
2022-12-21 16:33:25 -08:00
Kubernetes Prow Robot
815e651f39
Merge pull request #114645 from liggitt/publishing-1.24
Update 1.24 publishing go version to go1.19.4
2022-12-21 15:01:37 -08:00
Kubernetes Prow Robot
70c28f3e12
Merge pull request #114486 from kerthcet/cleanup/make-preemption-more-readable
Make handling scheduleResult more readable
2022-12-21 15:01:25 -08:00
Jordan Liggitt
09f7d54d0b
Update 1.23 publishing go version to go1.19.4 2022-12-21 17:54:07 -05:00
Kubernetes Prow Robot
4a5d8a4b08
Merge pull request #114627 from ardaguclu/fix-discovery-flaky
Ignore api-resources not found error until it's ready
2022-12-21 13:53:40 -08:00
Kubernetes Prow Robot
020fb2eb77
Merge pull request #113538 from pohly/e2e-ginkgo-timeline
e2e: ginkgo timeline
2022-12-21 13:53:28 -08:00
Han Kang
e13fc3701c expose prometheus.Registerer so that we can hook into this from external sources
Change-Id: I0b4aa2218e309722a85143a50200e9e105020866
2022-12-21 13:40:55 -08:00
Jordan Liggitt
badde798c4
Update 1.24 publishing go version to go1.19.4 2022-12-21 15:16:53 -05:00
Kante Yin
c8908716ee Make handling scheduleResult more readable
Signed-off-by: Kante Yin <kerthcet@gmail.com>
2022-12-22 01:22:34 +08:00
Fabian Fulga
407bd6a4af
Revert "Add e2e tests for node log viewer" (#114636)
This reverts commit ff92963551.
2022-12-21 08:07:27 -08:00
tangwz
a4ab559ba4 Improve performance of NodeResourcesFit scoring
Signed-off-by: tangwz <tangwz.com@gmail.com>
2022-12-21 23:23:47 +08:00
Kubernetes Prow Robot
a6d66d15f6
Merge pull request #114632 from neolit123/1.27-fix-dry-run-server-version
kubeadm: handle dry run GET actions from fake discovery
2022-12-21 04:11:26 -08:00
Lubomir I. Ivanov
54b73deaca kubeadm: handle dry run GET actions from fake discovery
The kubeadm dry run client reactor code is flawed as it assumes
all invoked "get" verb actions can be casted to GetAction.
Apparently that is not the case when Discovery().ServerVersion()
and other discovery calls are made. In such cases the action
type is the bare ActionImpl.

Catch if an action can be casted to ActionImpl and construct a
GetAction from it. GetActionImpl only suppersets ActionImpl with
a Name field (empty string in this case).

Add unit test for Discovery().ServerVersion().
2022-12-21 11:49:59 +02:00
Maciej Szulik
26d4f23216
Add atiratree as sig-apps reviewer 2022-12-21 10:46:13 +01:00
thdrnsdk
0f823b333f fit typo 2022-12-21 08:23:29 +00:00
Wojciech Tyczyński
cbbc8ec69e Add microbenchmark for listing from watchcache 2022-12-21 08:45:27 +01:00
Wojciech Tyczyński
34de5fa73d Explicit sorting in TestList storage test 2022-12-21 08:45:27 +01:00
Wojciech Tyczyński
ef8c4fbca8 Reuse generic List test for watchcache 2022-12-21 08:45:27 +01:00
Arda Güçlü
a5698efff2 Ignore api-resources not found error until it's ready 2022-12-21 10:34:53 +03:00
Wojciech Tyczyński
aaaee155dd Fix lack of sorting of list results in watchcache 2022-12-21 08:25:37 +01:00
Wojciech Tyczyński
da8d197a72 Fix inconsistency in returning list results both in etcd3 and watchcache 2022-12-21 08:25:37 +01:00
songxiao-wang87
e09c1327b0 Making a run test.
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2022-12-21 07:00:35 +00:00
Patrick Ohly
cbb6ea5ca4 e2e: remove deprecated SuppressProgressReporting
It's not needed anymore and ginkgo warns about it.
2022-12-21 07:55:07 +01:00
Patrick Ohly
1c66b708ec ginkgo-e2e.sh: remove deprecated --slow-spec-threshold
From the warning message that ginkgo now emits:

  --slow-spec-threshold is deprecated --slow-spec-threshold has been deprecated
  and will be removed in a future version of Ginkgo.  This feature has proved
  to be more noisy than useful.  You can use --poll-progress-after, instead, to
  get more actionable feedback about potentially slow specs and understand
  where they might be getting stuck.

We already use --poll-progress-after.
2022-12-21 07:55:07 +01:00
Patrick Ohly
766e7e07da e2e framework: verify JUnit result, not the in-memory structs
The old tests were no longer passing with Ginkgo v2.5.0. Instead of keeping the
old approach of checking recorded spec results, now the tests actually cover
what we care about most: the results recorded in JUnit.

This also gets rid of having to repeat the stack backtrace twice (once as part
of the output, once for the separate backtrace field).
2022-12-21 07:55:07 +01:00
Patrick Ohly
f6cdd37046 e2e framework: move JUnit write function
This makes it possible to unit test it.
2022-12-21 07:55:07 +01:00
Patrick Ohly
a53753575a e2e framework: stop overriding ginkgo verbosity/progress
The default settings from Ginkgo are useful enough for Kubernetes since
timeline support was added (https://github.com/onsi/ginkgo/issues/1069).
2022-12-21 07:55:07 +01:00
Patrick Ohly
463d42aebf e2e framework: remove injection of failures and skips into GinkgoWriter
Ginkgo's timeline support will do that for us now.
2022-12-21 07:55:07 +01:00
Patrick Ohly
f4a837affb e2e framework: avoid storing redundant failure message string
All information that we want will be written into the failure XML element's
data. We don't need the message tag and don't want it because our
tools (kettle, testgrid, spyglass) would then just concatenate the two strings.

This gets implemented for us by Ginkgo. However, truncating the failure message
is not supported there at the moment. It's unclear how important that is,
therefore this (recently added feature) gets removed.
2022-12-21 07:55:07 +01:00
Patrick Ohly
6db4b741dd e2e: dump full report information
The Ginkgo CLI output no longer has the full output. We need the reports
generated by Ginkgo for that.
2022-12-21 07:55:07 +01:00
Kubernetes Prow Robot
55181b72a2
Merge pull request #113799 from r4f4/nettest-priv-ip
tests: network: Prefer internal IPs first
2022-12-20 17:37:24 -08:00
Kubernetes Prow Robot
e218e0ede4
Merge pull request #114602 from Shubham82/Remove_context
Removed the reverted changes from Changelogv1.26.md
2022-12-20 16:31:36 -08:00
Kubernetes Prow Robot
6a48538090
Merge pull request #114326 from sunnylovestiramisu/fixReconstructionBug
Add pod to dsw if termination is not completed during reconstruction
2022-12-20 16:31:24 -08:00
Kubernetes Prow Robot
7814d10882
Merge pull request #114611 from soltysh/wait_timeout
Fix wait test timeout
2022-12-20 13:17:25 -08:00
Kubernetes Prow Robot
5882479457
Merge pull request #114585 from JoelSpeed/fix-resource-requirements-claims
Resource Claims must be a map type, not set
2022-12-20 12:11:24 -08:00
Jefftree
6b443c2304 Add jefftree to OWNERS 2022-12-20 19:30:42 +00:00
Joel Speed
e50e8a0c91
Resource claims should be a map type 2022-12-20 19:05:07 +00:00
Kubernetes Prow Robot
ff23a12e64
Merge pull request #112019 from antoninbas/use-framework-helpers-to-create-namespaces
e2e: Use framework helpers to create namespaces
2022-12-20 10:17:56 -08:00
Kubernetes Prow Robot
40cdba5bcd
Merge pull request #110710 from harshanarayana/bug/GIT-110697/refactor-active-deadline-second-tests
job_controller: refactor job controller to be able to inject FakeClock for UTs
2022-12-20 10:17:45 -08:00
Kubernetes Prow Robot
d84e4baf9a
Merge pull request #114608 from neolit123/1.27-fix-dry-run-kubelet-backup-bug
kubeadm: revert feature to backup kubelet config for "upgrade node"
2022-12-20 09:00:06 -08:00
Kubernetes Prow Robot
9b98d873f4
Merge pull request #114594 from pacoxu/remove-testdata-v1.24
drop the api testdata for v1.24.0
2022-12-20 08:59:54 -08:00
Kubernetes Prow Robot
b704b96565
Merge pull request #114578 from ardaguclu/wrap-ctx-error-until
Embed context deadline exceeded in error to let errors.Is can work
2022-12-20 08:59:43 -08:00