Commit Graph

111258 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Kubernetes Prow Robot
ad563ccd47
Merge pull request #113155 from logicalhan/proxy-metric
migrate usage of `merge` to `MergeBuckets` for static analysis
2022-10-19 13:57:25 -07:00
Kubernetes Prow Robot
45636684a4
Merge pull request #112897 from fromanirh/podresources-metrics-e2e-tests
register podresources metrics
2022-10-19 13:57:18 -07:00
Kubernetes Prow Robot
a2827c4915
Merge pull request #111978 from Jefftree/aggregated-discovery-types
Aggregated discovery types
2022-10-19 13:57:07 -07:00
Kubernetes Prow Robot
962235c86a
Merge pull request #110559 from danishprakash/danish-default-storageclass
pkg/admission/storageclass: pick one storageclass conditionally if >1 present
2022-10-19 13:56:55 -07:00
Tim Hockin
d9a58a39b6
logo: better alignment of layers
The existing logo, particularly the one with border, did not have the
border as a full underlying layer, just the visible portion.  It was
possible to see individual pixels in some modes, which cause problems
with, for example, cutting machines.

Now the background is a full underlay.  Updated both logos to newer
inkscape settings.
2022-10-19 12:17:25 -07:00
Yuan Chen
dd1b4fa407 Replace error string with ErrorList in scheduler valiation test
Remove expected status

Remove unnecessary code

Revert changes to BindVerb
2022-10-19 12:14:57 -07:00
Jordan Liggitt
a5d785fae8
Record metric for lifecycle fallback to http 2022-10-19 14:45:25 -04:00
Kubernetes Prow Robot
ccb6275142
Merge pull request #113084 from dims/bump-aws-sdk-go-for-1.26
Pick up new AWS region by bumping aws-sdk-go for 1.26
2022-10-19 11:35:19 -07:00
Kubernetes Prow Robot
1e4e17973f
Merge pull request #113012 from xmcqueen/master
Fix node-perf test tf-wide-deep: bumped image version, and removed arm64 arch testing #109295
2022-10-19 11:35:07 -07:00
Cici Huang
5870db436a update feature gate name in release note 2022-10-19 18:32:06 +00:00
Jordan Liggitt
122b43037e
Record event for lifecycle fallback to http 2022-10-19 14:11:36 -04:00
Aldo Culquicondor
b8bd168180 Simplify tests for job metrics by resetting them
Change-Id: I20a0acbbb179bf895953b9d7af72625a2191b8eb
2022-10-19 13:52:00 -04:00
Jefftree
2e01fbb59a Add discovery types 2022-10-19 17:27:25 +00:00
Kubernetes Prow Robot
126986016e
Merge pull request #113167 from alculquicondor/job_test_owners
Add SIG Apps owners for job integration tests
2022-10-19 10:03:14 -07:00
Kubernetes Prow Robot
bf14677914
Merge pull request #112546 from oscr/the-the
grammar: replace all occurrences of "the the" with "the"
2022-10-19 10:03:02 -07:00
Billie Cleek
dfaaa144ab fallback to http when lifecycle handler request should have been https 2022-10-19 09:51:52 -07:00
Jason Simmons
5a6acf85fa Align lifecycle handlers and probes
Align the behavior of HTTP-based lifecycle handlers and HTTP-based
probers, converging on the probers implementation. This fixes multiple
deficiencies in the current implementation of lifecycle handlers
surrounding what functionality is available.

The functionality is gated by the features.ConsistentHTTPGetHandlers feature gate.
2022-10-19 09:51:52 -07:00
Kubernetes Prow Robot
42c1f881cc
Merge pull request #113165 from swatisehgal/e2e-deviceplugin-logs
node: e2e: device plugins: Add more logs for clarity
2022-10-19 08:59:14 -07:00
Kubernetes Prow Robot
3eeb7cb57f
Merge pull request #113077 from lixiaobing1/WithTransportCredentials
replace WithInsecure() with WithTransportCredentials()
2022-10-19 08:59:02 -07:00
Aldo Culquicondor
f21cd0c53d Add SIG Apps owners for job integration tests
Change-Id: I5c6198d10388ee7ce1fb7ae8d2f2b2144993688b
2022-10-19 10:38:07 -04:00
Kubernetes Prow Robot
68e110b53c
Merge pull request #113150 from seans3/flaky-test-cmd-fix
Removes test of deprecated --dry-run value
2022-10-19 07:23:13 -07:00
Kubernetes Prow Robot
ca17d9ba2b
Merge pull request #113127 from tangwz/parallel_preemption
Do pod preemption in parallel.
2022-10-19 07:23:01 -07:00