Commit Graph

107985 Commits

Author SHA1 Message Date
Fabio Bertinatto
5ccef5c25e test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine 2022-04-06 14:25:40 -03:00
Jordan Liggitt
e570744ca9 Revert "add test to dry-run for unwanted generated values"
This reverts commit 48994c1518.
2022-04-06 12:34:49 -04:00
Jordan Liggitt
adb7621919 Revert "remove unwanted values returned from dry-run"
This reverts commit 60c1d58d02.
2022-04-06 12:34:42 -04:00
kerthcet
fbf07e989c fix: forget to call close() in error
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-06 22:21:23 +08:00
pengpeng wu
0b076a3dc3 Fix: test case wrong output in cmd/kubeadm/app/cmd/completion_test.go 2022-04-06 10:59:58 +08:00
Kubernetes Prow Robot
820247a3ae
Merge pull request #109321 from jsturtevant/disable-conformance-test-for-windows
Disable newly enabled Conformance node->pod tests for Windows
2022-04-05 19:42:55 -07:00
Kubernetes Prow Robot
e9497e5999
Merge pull request #109212 from alexzielenski/copylock-fix
apimachinery: remove implicit copy of a lock
2022-04-05 17:16:55 -07:00
James Sturtevant
3d09201dbd Disable node->pod tests for Windows 2022-04-05 16:17:13 -07:00
Kubernetes Prow Robot
8cd689e40d
Merge pull request #109283 from s-urbaniak/ratchet-e2e
test/e2e/framework: use restricted policy by default, default existing tests to privileged
2022-04-05 14:37:25 -07:00
Mayank Kumar
376b3c4b9a fix some nits from API changes 2022-04-05 13:41:29 -07:00
Kubernetes Prow Robot
25fa92cd7d
Merge pull request #109314 from SergeyKanzhelev/properRetryInSSH
fix the retry logic in ssh in test framework
2022-04-05 13:34:01 -07:00
Kubernetes Prow Robot
66369f47ec
Merge pull request #109294 from Riaankl/NetworkPolicyStatus_endpoints
Add NetworkPolicyStatus to ineligible_endpoints.yaml
2022-04-05 13:33:49 -07:00
Kubernetes Prow Robot
a1a9dc066c
Merge pull request #109256 from chendave/nullpointer
Fix the nil pointer dereference for comformance spec validation
2022-04-05 13:33:37 -07:00
Kubernetes Prow Robot
5163909f64
Merge pull request #108867 from pohly/storage-capacity-conformance
storage capacity conformance
2022-04-05 13:33:24 -07:00
Alexander Zielenski
0706fb72b6 fix remove implicit copy of a lock
addressing #109197

fix packag enaming
2022-04-05 11:56:48 -07:00
Kubernetes Prow Robot
2da1558909
Merge pull request #109213 from bridgetkromhout/kep-1435
Feature flag change when moving from alpha to beta
2022-04-05 10:33:37 -07:00
Sergey Kanzhelev
ee80dd19db fix the retry logic in ssh in test framework 2022-04-05 17:14:58 +00:00
Kubernetes Prow Robot
c13d3369d5
Merge pull request #109267 from ii/promote-job-status-test
Promote Read, Replace, Patch BatchV1NamespacedJobStatus test - +3 endpoints
2022-04-05 08:23:49 -07:00
Kubernetes Prow Robot
68d26c868f
Merge pull request #107631 from lzhecheng/fix-retry-svc-to-update
Avoid updating Services with stale specs
2022-04-05 08:23:37 -07:00
Madhav Jivrajani
ae55bcda44 hack/jenkins: Remove GODEBUG workaround for sha1 changes
This commit undoes the GODEBUG=x509sha1=1 workaround.
The problem should be fixed in Go 1.18.1 now.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-04-05 20:41:19 +05:30
Kubernetes Prow Robot
c6478308f8
Merge pull request #109154 from jsafrane/fix-azure-disk-migrated-zones
Fix translation of Azure availability zones
2022-04-05 06:15:36 -07:00
Sergiusz Urbaniak
1495c9f2cd
test/e2e/*: default existing tests to privileged pod security policy
This is to ensure that all existing tests don't break when defaulting
the pod security policy to restricted in the e2e test framework.
2022-04-05 08:41:12 +02:00
zhucan
1c1faf97ee generated code and doc
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2022-04-05 11:36:24 +08:00
Humble Chirammal
c74b393771 csi: add nodeExpandSecret support for CSI client
CSI spec 1.5 enhanced the spec to add optional secrets field to
NodeExpandVolumeRequest. This commit adds NodeExpandSecret to the
CSI PV source and also derive the expansion secret in csiclient to
send it out as part of the nodeexpand request.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2022-04-05 11:36:23 +08:00
zhucan
eb2ebddf61 fix: add unit test
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2022-04-05 11:35:14 +08:00
Kubernetes Prow Robot
0424c7c74d
Merge pull request #109114 from tkashem/client-go-retry-thread-safe
client-go: make retry in Request thread safe
2022-04-04 16:49:36 -07:00
Abu Kashem
6618b8ef7c
client-go: make retry in Request thread safe 2022-04-04 18:02:15 -04:00
Kubernetes Prow Robot
c4fdf3ded6
Merge pull request #109290 from gnufied/fix-inline-migrations-spec
Fix error for inline migrated volumes
2022-04-04 14:35:47 -07:00
Kubernetes Prow Robot
71cf2ea2da
Merge pull request #108664 from mkimuram/e2e-anyvolumedatasource
Add initial E2E tests for `AnyVolumeDatasource` feature
2022-04-04 14:35:36 -07:00
Kubernetes Prow Robot
11a6146283
Merge pull request #109245 from alculquicondor/fix-nominate
Fix: abort nominating a pod that was already scheduled to a node
2022-04-04 12:55:51 -07:00
Kubernetes Prow Robot
97bf2986cd
Merge pull request #109050 from MadhavJivrajani/client-go-retry
rest: Ensure response body is fully read and closed before retry
2022-04-04 12:55:38 -07:00
Riaan Kleinhans
a4a6d70168
Add NetworkPolicyStatus to ineligible list 2022-04-05 07:36:38 +12:00
Jordan Liggitt
869d0b81e1 Fix bug treating metadata fields as unknown fields 2022-04-04 13:51:15 -04:00
Jordan Liggitt
7de6100dae Expand cmd tests of modifying schema-declaring custom resources 2022-04-04 13:51:15 -04:00
Jordan Liggitt
2afad7cc76 Expand unit tests of pruning of unknown fields in metadata 2022-04-04 13:51:15 -04:00
Kubernetes Prow Robot
92a1d0f84c
Merge pull request #109271 from liggitt/field-validation-beta
Revert "Enable ServerSideFieldValidation feature gate on by default in beta
2022-04-04 10:30:11 -07:00
Hemant Kumar
5da524d973 Fix error for inline migrated volumes
Inline migrated volumes report a PV, even though they are not backed
by PV.
2022-04-04 13:14:29 -04:00
Jordan Liggitt
f12d001b20 Revert "Adjust testing for server-side validation as default"
This reverts commit f234cb142a.
2022-04-04 12:26:51 -04:00
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
Pavel Beschetnov
7da800f822 Only log requests for configured consumptions in ResourceConsumer 2022-04-04 11:28:01 +00: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