Commit Graph

107846 Commits

Author SHA1 Message Date
Jordan Liggitt
34522912d7 Revert "Enable ServerSideFieldValidation feature gate on by default in beta"
This reverts commit a3a24e1c7b.
2022-04-04 12:26:49 -04:00
Masaki Kimura
cd634b59ac Implement initial E2E test for AnyVolumeDataSource 2022-04-04 16:10:39 +00:00
Kubernetes Prow Robot
a814b2af1c
Merge pull request #109272 from liggitt/cronjob-feature-gate
Move cron job feature gate to correct file
2022-04-04 08:56:23 -07:00
Kubernetes Prow Robot
a315ec3388
Merge pull request #108590 from claudiubelu/tests/enable-windows-tests
tests: Enables a few Conformance tests for Windows (part 1)
2022-04-04 08:56:11 -07:00
Aldo Culquicondor
429457e184 Fix: abort nominating a pod that was already scheduled to a node
Change-Id: Iacb8530769e7a93e3bc8384cf51d7a8fd9a192e1
2022-04-04 10:52:59 -04:00
Kubernetes Prow Robot
3b5044fefd
Merge pull request #109218 from Abirdcfly/delete_test
cleanup: skip a test validate time_zone letter case in darwin
2022-04-04 07:38:12 -07:00
Abu Kashem
68c8c458ee client-go: reset request body after response is read and closed
This commit refactors the retry logic to include resetting the
request body. The reset logic will be called iff it is not the
first attempt. This refactor is nescessary mainly because now
as per the retry logic, we always ensure that the request body
is reset *after* the response body is *fully* read and closed
in order to reuse the same TCP connection.

Previously, the reset of the request body and the call to read
and close the response body were not in the right order, which
leads to race conditions.

This commit also adds a test that verifies the order in which
the function calls are made to ensure that we seek only after
the response body is closed.

Co-authored-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-04-04 19:46:14 +05:30
Johannes Scheerer
a3b7f219a1
Cleanup KUBE-NODE-PORT chain in filter table.
When cleaning up iptables rules and ipsets used by kube-proxy in IPVS mode
iptables chain KUBE-NODE-PORT needs to be deleted before ipset
KUBE-HEALTH-CHECK-NODE-PORT can be removed. Therefore, deletion of
iptables chain KUBE-NODE-PORT is added in this change.
2022-04-04 16:10:06 +02:00
Sergiusz Urbaniak
f578b9a40d
test/e2e/framework: use restricted policy by default 2022-04-04 13:58:59 +02:00
Kubernetes Prow Robot
00bd91e558
Merge pull request #109269 from liggitt/local-up-nokubelet-noproxy
Fix local-up-cluster for running only an API server
2022-04-04 03:44:11 -07:00
Abirdcfly
ceceb96f3d
cleanup: skip a test validate time_zone letter case in darwin
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-04-04 16:50:45 +08:00
Patrick Ohly
c681ff2320 storage e2e: set fstype for CSI ephemeral inline volumes
This doesn't affect in-tree testing, but some out-of-tree usage of the
pre-defined test patterns with non-default fstype.
2022-04-04 10:09:43 +02:00
Patrick Ohly
556794d469 storage capacity: promote CRUD test to conformance 2022-04-04 07:53:05 +02:00
Jordan Liggitt
495b01ef6c Move cron job feature gate to correct file 2022-04-03 22:56:01 -04:00
Jordan Liggitt
2a30f1c31b Reorder process shutdown in test-cmd and exit immediately 2022-04-03 22:40:30 -04:00
Jordan Liggitt
3e9cdf6193 Fix local-up-cluster for running only an API server 2022-04-03 22:28:30 -04:00
Stephen Heywood
c709baa9a0 Promote e2e job status test to Conformance 2022-04-04 13:22:57 +12:00
Kubernetes Prow Robot
c6153a93d0
Merge pull request #109242 from cici37/addTest
Add separate cost limit test.
2022-04-02 11:34:09 -07:00
Qiming Teng
37d5e9292e Generated files 2022-04-02 10:16:51 -07:00
Qiming Teng
971046e26e Tweak Quantity docstring for ease of reference generation
This PR improves the doc string for the Quantity type in hope to ease
the reference docs generation.
2022-04-02 10:03:43 -07:00
Kubernetes Prow Robot
e04a4e1c5b
Merge pull request #105599 from jonyhy96/fix-pod-workers-test
fix: pod workers test
2022-04-02 06:50:09 -07:00
Dave Chen
1b5d8b0b9b Fix the nil pointer dereference for comformance spec validation
`verify-conformance-yaml.sh` is used to verify the test spec of
conformance e2e test are valid.

Bascically, it calls `e2e.test` binary to dump the test spec and
then walk the source to generate the `conformance.yaml`.

If the `e2e.test` binary is outdated, it's possible that `testInfo`
is nil.

Access the field from nil will result to `nil pointer dereference`

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-04-02 16:53:39 +08:00
Paco Xu
3a9c6f2a2f remove deprecated kubectl.kubernetes.io/default-logs-container support 2022-04-02 16:40:34 +08:00
Kubernetes Prow Robot
8e0ac5b6a1
Merge pull request #109222 from pacoxu/flake-nfs
use privileged enforce level for nfs test
2022-04-01 21:22:22 -07:00
Kubernetes Prow Robot
14cc997d03
Merge pull request #107178 from SataQiu/deprecated-20211222
kube-controller-manager: remove unused option deployment-controller-sync-period for deployment controller
2022-04-01 21:22:10 -07:00
Mayank Kumar
c352fa5146 add maxunavailable to kubectl describe 2022-04-01 20:25:36 -07:00
Kubernetes Prow Robot
3024ddcfe2
Merge pull request #109241 from ravisantoshgudimetla/sts-ar-optional
Make STS available replicas optional
2022-04-01 19:52:20 -07:00
Kubernetes Prow Robot
d6ad0ff194
Merge pull request #109170 from dims/correctly-attribute-some-data-structures-from-gotestsum
Correctly attribute some data structures from gotestsum repository
2022-04-01 19:52:09 -07:00
Kubernetes Prow Robot
0184d77f50
Merge pull request #109238 from jpbetz/reduce-time-cel-validation-tests
Flake fix: validate each expression once in primary CEL correctness suite
2022-04-01 17:04:08 -07:00
cici37
48ca0df53a Add separate cost limit test. 2022-04-01 15:14:28 -07:00
Mauricio Poppe
47f13ef136 Bump CSI Proxy to v1.1.1-gke.0 2022-04-01 21:45:25 +00:00
Kubernetes Prow Robot
a329549899
Merge pull request #109239 from liggitt/integration-parallel
set parallelism in integration tests using GOMAXPROCS
2022-04-01 13:50:21 -07:00
Kubernetes Prow Robot
bfaeca817c
Merge pull request #109119 from Huang-Wei/shorten-taint-msg
compact scheduling failure msg for taint/toleration mismatch
2022-04-01 13:50:10 -07:00
Davanum Srinivas
108e3e28a9
Correctly attribute some datastructures from gotestsum repository
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-04-01 14:49:15 -04:00
Kubernetes Prow Robot
978d9683f5
Merge pull request #108930 from MaxRenaud/kep2086
Add sync_proxy_rules_no_endpoints_total metric
2022-04-01 10:00:47 -07:00
Jordan Liggitt
975bfaf8ba set parallelism in integration tests with GOMAXPROCS 2022-04-01 12:55:41 -04:00
ravisantoshgudimetla
807ae0c318 [sts] api: Make available replicas optional 2022-04-01 11:54:50 -04:00
Alexander Zielenski
dcbf693e0a
remove unused packages 2022-04-01 08:54:06 -07:00
ravisantoshgudimetla
9eb544e78a [sts] Generated: Make available replicas optional 2022-04-01 11:54:02 -04:00
Max Renaud
6454248b6b Moved counting logic to accommodate rebase 2022-04-01 15:52:21 +00:00
Joe Betz
8920b2d95e Only validate each expression once in primary CEL correctness suite 2022-04-01 11:04:58 -04:00
Mike Spreitzer
2ea3afe425 Update flag descriptions for watch cache 2022-04-01 10:14:57 -04:00
Paco Xu
fc186d5616 use privileged enforce level for nfs test 2022-04-01 15:22:34 +08:00
Bridget Kromhout
3143cd71d0
Feature flag change when moving from alpha to beta
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
2022-03-31 19:23:36 -05:00
Kubernetes Prow Robot
885f14d162
Merge pull request #109188 from wojtek-t/pf_mitigate_delegated_requests
Fix the overestimated cost of deletaged API requests in P&F
2022-03-31 15:49:17 -07:00
Kubernetes Prow Robot
64e711085b
Merge pull request #108016 from jiahuif-forks/feature/leader-migration-v1-api
v1 types for Leader Migration
2022-03-31 15:49:05 -07:00
Kubernetes Prow Robot
cc3a250f6a
Merge pull request #108491 from liggitt/feature-defaults-test
Exercise defaulting tests with/without features enabled
2022-03-31 14:43:06 -07:00
Kubernetes Prow Robot
17381762dd
Merge pull request #109200 from dashpole/fix_lint
Fix copylock vet errors in component-base metrics
2022-03-31 12:06:36 -07:00
Max Renaud
61b7e6c49c Changed usage of NodeLocal* to *PolicyLocal 2022-03-31 18:55:47 +00:00
Max Renaud
198367a486 Added test where both policies are set 2022-03-31 18:54:28 +00:00