Commit Graph

116291 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ddf958ee06
Merge pull request #118097 from jsafrane/add-kind-e2e
Add test for starting kubelet with a CSI volume mounted
2023-05-24 06:24:50 -07:00
Kubernetes Prow Robot
e11c5284ad
Merge pull request #118229 from aroradaman/github-user-rename
proxy/ipvs: github user name change: daman1807 -> aroradaman
2023-05-24 05:25:03 -07:00
Kubernetes Prow Robot
74bd0ecdf4
Merge pull request #118223 from pohly/test-integration-vmodule-removal
integration: remove special verbosity for garbagecollector and graph_builder
2023-05-24 05:24:50 -07:00
Keita Mochizuki
0813904404
Fix: Restricted profile comply with PSS (#117543)
* restricted profile comply with PSA v1.27

* add test case

* Reflect review comments

* Reflect review comments 2

* Reflect review comments 3
2023-05-24 04:16:49 -07:00
Daman Arora
c68f858658 proxy/ipvs: github user name change: daman1807 -> aroradaman
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-05-24 16:00:20 +05:30
Kubernetes Prow Robot
b2522655b3
Merge pull request #117047 from charles-chenzz/add_continue
replace deprecated set.String in storage/validation
2023-05-24 02:48:49 -07:00
Patrick Ohly
d459b4429f integration: remove special verbosity for garbagecollector and graph_builder
The setting for garbagecollector was added 7 years ago in 9ac91e5172 for
"debugging gc".  graph_builder was added 6 years in a98801c1 when restoring the
-vmodule parameter after some temporary removal, without an explanation.

It seems safe to assume that the garbage collector has been debugged
sufficiently...

These defaults cause performance overhead:
- Enabling -vmodule slows down all log calls because checking verbosity
  cannot take a simpler fast path.
- The amount of log output is much higher for those files.

The amount of log data also caused test output to get truncated, removing the
actual test failure explanation.
2023-05-24 10:02:53 +02:00
Arda Güçlü
0bff705acd
Preserve code blocks in templates.Normalizer (#118029)
* Preserve code blocks in templates.Normalizer

Currently, if templates.LongDesc function is invoked multiple times
for a string including a code block, this code block is converted to
invalid code block.

The reason of this issue is that blackfriday package, which templates package uses, relies on
4 * indentation to detect code blocks. This PR always preserves
4 * indentation in code blocks to always detect it code blocks in also
post invocations.

* Add indentations to test for code blocks

* Use strings.repeat for repetition
2023-05-23 23:20:49 -07:00
Kubernetes Prow Robot
484645e817
Merge pull request #116659 from claudiubelu/skip-flaky-tests-2
unit tests: Skip flaky tests on Windows (part 2)
2023-05-23 20:04:48 -07:00
Kubernetes Prow Robot
e28866e976
Merge pull request #117393 from HirazawaUi/use-wait-replace-loop
Use wait to avoid blocking the SIGTERM handler
2023-05-23 19:07:00 -07:00
Kubernetes Prow Robot
de12f89cd4
Merge pull request #116994 from mmiranda96/fix/116505
Create local copy to avoid potential race condition
2023-05-23 19:06:49 -07:00
Kubernetes Prow Robot
7f8c4315dc
Merge pull request #118210 from BenTheElder/dra-build-normal-base
use standard base image in dra dev
2023-05-23 14:22:56 -07:00
Kubernetes Prow Robot
c136b4884d
Merge pull request #117017 from ike-ma/arm-ci
Setup e2e_node to support testing on ARM64
2023-05-23 14:22:49 -07:00
Kubernetes Prow Robot
551868d863
Merge pull request #118002 from ii/remove-get-endpoints
Remove Get * APIResources endpoints from the pending_eligible_endpoints.yaml file
2023-05-23 13:23:00 -07:00
Kubernetes Prow Robot
02acacba43
Merge pull request #118001 from ii/promote-apiresources-test
Promote e2e test for APIResources endpoints + 12 Endpoints
2023-05-23 13:22:48 -07:00
Benjamin Elder
e0b7f31ce6 use standard base image in dra dev
kind is on containerd 1.7.x now
2023-05-23 11:46:30 -07:00
Kubernetes Prow Robot
8b8dfcad12
Merge pull request #117586 from mimowo/preemption-for-critical-pods
Add DisruptionTarget condition when preempting for critical pod
2023-05-23 11:22:27 -07:00
Kubernetes Prow Robot
1dc8384cdd
Merge pull request #118185 from marosset/windows-fix-mem-limit-e2e-test
Fixing windows memory allocation e2e tests after a refactor
2023-05-23 10:24:38 -07:00
Kubernetes Prow Robot
74c66a8b39
Merge pull request #116231 from kannon92/kubelet-image-cleanup
Using parsers in applyDefaultImageTag and adding error test cases.
2023-05-23 10:24:27 -07:00
Kubernetes Prow Robot
12386e2de1
Merge pull request #114053 from brianpursley/fix-update-translations
hack/update-translations.sh: Improve backslash handling
2023-05-23 09:06:29 -07:00
Jan Šafránek
149f4878a7
Simplify DeferCleanup.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2023-05-23 14:46:05 +02:00
Kubernetes Prow Robot
61d455ed11
Merge pull request #118200 from pohly/csi-storage-capacity-timeout
e2e: apply timeout for CSI Storage Capacity test only to node
2023-05-23 01:58:27 -07:00
Patrick Ohly
dbb6d25f13 e2e: apply timeout for CSI Storage Capacity test only to node
Applying it to the entire spec included cleaning up, which makes predicting the
acceptable duration harder because it includes code not owned by the test
itself. It's better to specify a timeout only for the test code itself.
2023-05-23 08:29:10 +02:00
Kubernetes Prow Robot
828495bcc0
Merge pull request #118061 from ty-dc/pr/runc
Bump runc to v1.1.7
2023-05-22 23:06:37 -07:00
Kubernetes Prow Robot
1cad20dece
Merge pull request #117935 from saschagrunert/cri-errors-additional
Allow runtimes to provide additional context on CRI pull errors
2023-05-22 23:06:26 -07:00
Kubernetes Prow Robot
6d6d858ef2
Merge pull request #118191 from liggitt/local-up
fix using stale binaries in local-up-cluster
2023-05-22 18:16:20 -07:00
Jordan Liggitt
1b206399f6
fix using stale binaries in local-up-cluster 2023-05-22 20:03:58 -04:00
Kubernetes Prow Robot
b5ce9a576d
Merge pull request #117963 from humblec/gomega-euqal-1
e2e: use gomega.Expect instead of framework.ExpectEqual in  `kubectl`
2023-05-22 16:48:31 -07:00
Kubernetes Prow Robot
d2dc976247
Merge pull request #117591 from zshihang/master
graduate LegacyServiceAccountTokenTracking to GA
2023-05-22 16:48:20 -07:00
Kubernetes Prow Robot
2e632c9c28
Merge pull request #118187 from thockin/update-vendor_log_capture_cleanup
Fix update-vendor.sh logging
2023-05-22 15:51:06 -07:00
Tim Hockin
ece68cf833
Fix update-vendor.sh logging
Previously it would corrupt the log when it ran stuff like:
    go mod tidy >> "${LOG_FILE}" 2>&1
because this would reopen the file.  Also, if that failed, the `finish`
function would be called ALSO with output to the log.

Now we let &1 and &2 always be the log, and &11 and &22 are the real
stdout/stderr, which means we have to say that explicitly when we want
output.

No, I cannot do `OUT="&11"` - I would have to use `eval` to make that
work.
2023-05-22 14:51:30 -07:00
Mark Rossetti
cba8c1f5e2
Fixing windows memory allocation e2e tests after a refactor
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-05-22 13:36:21 -07:00
Kubernetes Prow Robot
ce05a4f7fc
Merge pull request #118176 from humblec/agnhost-manifest
test/e2e: use agnhost latest version in the manifest
2023-05-22 10:43:11 -07:00
Kubernetes Prow Robot
27661b66cf
Merge pull request #118084 from enj/enj/f/cache_get_expired
kmsv2: ignore cache key expiration on reads
2023-05-22 10:42:59 -07:00
Kubernetes Prow Robot
ea028befc1
Merge pull request #118053 from aleskandro/fix-nil-affinity-update
Updating the nodeAffinity of gated pods having nil affinity should be allowed
2023-05-22 09:35:09 -07:00
Kubernetes Prow Robot
d9df6b0331
Merge pull request #117251 from linxiulei/wh
Make connection lost retryable in webhook
2023-05-22 09:34:58 -07:00
Monis Khan
86a258b13a
kmsv2: ignore cache key expiration on reads
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-05-22 11:51:23 -04:00
Humble Chirammal
89439b570f test/e2e: use agnhost latest version in the manifest
https://github.com/kubernetes/kubernetes/pull/118125

The image has got promoted via:

https://github.com/kubernetes/k8s.io/pull/5310

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-22 19:59:30 +05:30
Kubernetes Prow Robot
da0a1a05b9
Merge pull request #118125 from humblec/json-serializerwithoptions
test/e2e: Use json.NewSerializerWithOptions in place of json/yaml newSerializers
2023-05-22 07:12:32 -07:00
Jan Safranek
b30720fc9f Add test for starting kubelet with a CSI volume mounted
To test https://github.com/kubernetes/kubernetes/issues/117745,
restart kubelet with a CSI volume mounted *and* the API server running as a
static pod.

The test heavily uses `kind` containers and the fact that it uses the API
server as a static pod.
2023-05-22 15:31:40 +02:00
Humble Chirammal
ad9e264c3c test/e2e: Use json.NewSerializerWithOptions in place of json/yaml newSerializers.
condidering NewSerializer* funcs are deprecated with
NewSerializerWithOptions(), the test functions are adjusted to the same.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-22 18:44:30 +05:30
Kubernetes Prow Robot
6356023cb4
Merge pull request #118171 from tklauser/ipam-remove-comments
registry/core/service: remove incorrect comments
2023-05-22 04:30:30 -07:00
Tobias Klauser
0f5535ea25
registry/core/service: remove incorrect comments
These interface methods are not only used for testing. Remove the
incorrect comments.
2023-05-22 12:35:43 +02:00
Kubernetes Prow Robot
b31774d39b
Merge pull request #118124 from humblec/kubeadm-etcd
test/e2e: remove redundunt type conversion, unused variable...etc
2023-05-22 01:08:22 -07:00
Kubernetes Prow Robot
3903a7e1f0
Merge pull request #118164 from pohly/scheduler_perf_results
scheduler-perf: inject "benchmark" as name into JSON result filename
2023-05-22 00:06:20 -07:00
Patrick Ohly
2db577a560 scheduler-perf: inject "benchmark" as name into JSON result filename
This is required because an empty name is no longer supported: the
perf-dashboard is run with --allow-parsers-matching-all-tests=false with causes
perfdash to skip current configuration for BenchmarkPerfResults as it does not
have name
set (4674704f45/perfdash/metrics-downloader.go (L165-L167)).

The perf-dash config needs to be updated accordingly.
2023-05-22 08:07:15 +02:00
Kubernetes Prow Robot
1dba84be8a
Merge pull request #118156 from HirazawaUi/update-webhook-test-to-go-1.21
Update webhook test code to golang 1.21
2023-05-21 09:52:19 -07:00
HirazawaUi
b6364dddfe update webhook test to go 1.21 2023-05-21 21:32:45 +08:00
Kubernetes Prow Robot
badcf9ab46
Merge pull request #118150 from neolit123/1.28-fix-pointer-comp-test
kubeadm: remove function pointer comparison in phase test
2023-05-20 23:10:18 -07:00
Kubernetes Prow Robot
c7c41d27b4
Merge pull request #117834 from NoicFank/cleanup-scheduler-node-must-not-nil-in-snapshot
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 15:16:18 -07:00