Commit Graph

111283 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e876d63ec2
Merge pull request #113244 from SataQiu/print-detail-20221021
kubeadm: print the detailed manifest info when decoding it into runtime.Object fails
2022-10-21 02:59:50 -07:00
SataQiu
93ece333e6 kubeadm: print the detailed manifest info when decoding it into runtime.Object fails 2022-10-21 16:50:17 +08:00
Kubernetes Prow Robot
fe9d04763b
Merge pull request #113231 from Huang-Wei/cleanup-sched-main-test
cleanup scheduler server_test.go
2022-10-21 00:45:51 -07:00
Kubernetes Prow Robot
98533290e9
Merge pull request #113229 from BenTheElder/more-shell-tidy
more shellcheck cleanups
2022-10-20 22:25:50 -07:00
Kubernetes Prow Robot
2313e2b825
Merge pull request #113176 from alculquicondor/finalizer_metric
Add metric for terminated pods with tracking finalizer
2022-10-20 20:52:01 -07:00
Kubernetes Prow Robot
b9973d28f2
Merge pull request #113074 from andrewsykim/apiserver-lease-gc-tests
add unit tests for apiserverleasegc controller
2022-10-20 20:51:50 -07:00
Kubernetes Prow Robot
f3ae27f5ef
Merge pull request #113213 from pohly/e2e-instrumentation-dead-code-removal
test/e2e/instrumentation/logging/utils: remove dead package
2022-10-20 18:25:14 -07:00
Wei Huang
761d06d91a
cleanup scheduler server_test.go 2022-10-20 18:09:05 -07:00
Benjamin Elder
64ed5964d5 permit self-assignment line for clarity and also fear of touching get-kube.sh 2022-10-20 16:22:11 -07:00
Benjamin Elder
bf3df26efd disable SC2120 on functions with optional parameters
https://www.shellcheck.net/wiki/SC2120#exceptions
2022-10-20 16:22:11 -07:00
Benjamin Elder
239b3338e9 idiomatically check for empty variable 2022-10-20 16:22:10 -07:00
Kubernetes Prow Robot
615929ed88
Merge pull request #113133 from sxllwx/fix-issue-111985
Fix DeleteCollection API decode DeleteOptions fail
2022-10-20 16:09:22 -07:00
Kubernetes Prow Robot
f33ddd1b9c
Merge pull request #113210 from dims/ensure-we-are-using-gnu-date-for-builds
Ensure we are using GNU date for builds
2022-10-20 14:51:22 -07:00
Kubernetes Prow Robot
fc866d87dc
Merge pull request #113208 from soltysh/azure_timeouts
Set default test timeouts first, only then modify the required ones
2022-10-20 12:07:20 -07:00
Kubernetes Prow Robot
f765d0bd37
Merge pull request #113183 from dashpole/new_trace_api
Add new tracing library to bridge otel and utiltrace apis
2022-10-20 12:07:07 -07:00
Kubernetes Prow Robot
fb9b466f30
Merge pull request #113159 from pacoxu/patch-3
flake: wait for crd ready in kubectl apply script
2022-10-20 12:06:56 -07:00
Kubernetes Prow Robot
dbb3b4f340
Merge pull request #113212 from pohly/e2e-progress-on-stdout-removal
e2e: remove JSON progress output on stdout
2022-10-20 10:29:12 -07:00
Kubernetes Prow Robot
0a08757181
Merge pull request #113128 from pohly/e2e-storage-cleanup
e2e storage: cleanup with context
2022-10-20 10:29:00 -07:00
Kubernetes Prow Robot
dc3c9c0101
Merge pull request #113202 from oscr/update-golangci-lint
hack/tools: update golangci-lint version (1.48.0 -> 1.50.0)
2022-10-20 08:57:15 -07:00
Kubernetes Prow Robot
8305358630
Merge pull request #108494 from sanposhiho/RunScorePlugins-return-type
change framework.RunScorePlugins to return slice organized by node
2022-10-20 08:57:02 -07:00
Aldo Culquicondor
12d308f5c4 Add metric for terminated pods with tracking finalizer
Change-Id: I26f3169588c30ed82250cb7baff8e277f8d13bb7
2022-10-20 11:35:20 -04:00
David Ashpole
729085287d
add new tracing library to bridge otel and utiltrace apis 2022-10-20 14:40:51 +00:00
Patrick Ohly
3e560e8341 e2e: remove JSON progress output on stdout
The original intention was to address "frustration of end users running the e2e
suite is that they take a significant amount of time and it is difficult to
gauge progress".

But Ginkgo's output is different now than it was in Kubernetes 1.19. If users
want to see progress, then "ginkgo --progress" might provide enough
information.

Printing to os.Stdout doesn't work as intended anyway when output redirection
is enabled (the default for parallel runs) and causes these JSON snippets to
appear as "show stdout" for each failed test in a Prow job, which is
distracting.
2022-10-20 16:33:10 +02:00
Davanum Srinivas
ec71e53adb
Ensure we are using GNU date for builds
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-10-20 10:12:23 -04:00
Kubernetes Prow Robot
7423cc931f
Merge pull request #112691 from aimuz/apiextensions-apiserver-change-to-cmp
apiextensions-apiserver: change k8s.io/apimachinery/pkg/util/diff to github.com/google/go-cmp/cmp
2022-10-20 07:01:01 -07:00
Maciej Szulik
24d30bf8b2
Set default test timeouts first, only then modify the required ones 2022-10-20 15:35:17 +02:00
Patrick Ohly
f15d7f6cca e2e storage: eliminate context.TODO and cleanup callbacks
Tests should accept a context from Ginkgo and pass it through to all functions
which may block for a longer period of time. In particular all Kubernetes API
calls through client-go should use that context. Then if a timeout occurs,
the test returns immediately because everything that it could block on will
return.

Cleanup code then needs to run in a separate Ginkgo node, typically
DeferCleanup, which ensures that it gets a separate context which has not timed
out yet.
2022-10-20 13:56:59 +02:00
Patrick Ohly
d8d3dc9476 e2e storage: eliminate explicit test driver cleanup
Cleanup can be handled inside the setup code with ginkgo.DeferCleanup. This
simplifies the code.
2022-10-20 13:56:59 +02:00
Oscar Utbult
de1fff9afa hack/tools: update golangci-lint version (1.48.0 -> 1.50) 2022-10-20 13:51:10 +02:00
Kubernetes Prow Robot
687b001648
Merge pull request #113190 from BenTheElder/shell-fixups
assorted small shell script fixes
2022-10-20 03:34:57 -07:00
Kubernetes Prow Robot
9bcb81e13f
Merge pull request #113175 from liggitt/pr_normalize_probes_lifecycle_handlers
Record event and metric for lifecycle fallback to http
2022-10-20 02:31:08 -07:00
Kubernetes Prow Robot
fc4344a748
Merge pull request #111706 from tallclair/audit-error
More useful audit error logs
2022-10-20 02:30:56 -07:00
Patrick Ohly
f314c6b831 test/e2e/instrumentation/logging/utils: remove dead package
The code is not imported anywhere in k/k and therefore should
be removed.
2022-10-20 10:59:31 +02:00
Benjamin Elder
49354dc645 fix iterating over files in hack/verify-generated-swagger-docs.sh 2022-10-19 23:46:18 -07:00
Benjamin Elder
68a4ced74f fix SC2155 delcare and assign seperately in build/common.sh
see: https://www.shellcheck.net/wiki/SC2155
2022-10-19 23:46:18 -07:00
Benjamin Elder
4c7189f54b fix SC2267 GNU xargs -i is deprecated in favor of -I{} in cluster/gce/util.sh
see: https://www.shellcheck.net/wiki/SC2267
2022-10-19 23:46:18 -07:00
Benjamin Elder
95d08c58e3 avoid masking return values in hack/make-rules/make-help.sh 2022-10-19 23:46:18 -07:00
Benjamin Elder
f72938f2d4 disable SC 1091
see: https://www.shellcheck.net/wiki/SC1091
2022-10-19 23:46:18 -07:00
Benjamin Elder
103e6cdd3c declare and assign seperately in hack/verify-e2e-test-ownership.sh 2022-10-19 23:46:18 -07:00
Benjamin Elder
94c0ec317b Don't assign DOCKER an array in hack/lib/util.sh
DOCKER is otherwise used to be the command name (perhaps podman), but we were conflating DOCKER_OPTS in kube::util::ensure_docker_daemon_connectivity.

Split out docker opts.

This fixes shellcheck warning that docker is assigned an array and then a string in some scripts.
2022-10-19 23:46:18 -07:00
Paco Xu
da070707de flake: wait for crd ready in kubectl apply script 2022-10-20 12:58:04 +08:00
Benjamin Elder
8f6c631772 fix readonly masks return value in test.sh 2022-10-19 21:53:45 -07:00
Kubernetes Prow Robot
f14ebac384
Merge pull request #113178 from cici37/fixRN
Fix feature gate name in release note
2022-10-19 20:34:56 -07:00
sanposhiho
cbf1ea5e68 change framework.RunScorePlugins to return slice organized by node 2022-10-20 01:04:38 +00:00
Kubernetes Prow Robot
0a689af469
Merge pull request #112858 from alexzielenski/cel-admission-hook
CEL Admission Plugin
2022-10-19 17:45:15 -07:00
Kubernetes Prow Robot
adec07998b
Merge pull request #112675 from aimuz/improve-readability
improve readability, code nesting too deep
2022-10-19 17:45:07 -07:00
Kubernetes Prow Robot
ad26b315f2
Merge pull request #86139 from jasimmons/pr_normalize_probes_lifecycle_handlers
Normalize HTTP  lifecycle handlers with HTTP probers
2022-10-19 17:44:56 -07:00
Kubernetes Prow Robot
b21efbb537
Merge pull request #113180 from thockin/logo
logo: better alignment of layers
2022-10-19 16:35:07 -07:00
Kubernetes Prow Robot
453039f47b
Merge pull request #113153 from yuanchen8911/error
Replace error string with ErrorList in scheduler validation testing
2022-10-19 16:34:56 -07:00
Kubernetes Prow Robot
05b46d7ce2
Merge pull request #113166 from alculquicondor/simply_job_metrics_test
Simplify tests for job metrics by resetting them
2022-10-19 13:57:32 -07:00