Kir Kolyshkin
8820f4d381
TestWatchRestartsIfTimeoutNotReached: fix
...
This fixes the following error:
> test/integration/apimachinery/watch_restart_test.go:232:5: call to (*T).Fatalf from a non-test goroutine
Update: the previous fix (commit 1ce55e3afe that uses panic)
looks way too severe; it seems it is enough to call t.Errorf and return
from goroutine. The test will time out and fail anyway.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2022-03-23 10:19:38 -07:00
Daniel Smith
2831f9a343
remove unneeded references
2022-03-23 15:26:38 +00:00
Kubernetes Prow Robot
24a71990e0
Merge pull request #108445 from pohly/storage-capacity-ga
...
storage capacity GA
2022-03-23 08:06:21 -07:00
Kubernetes Prow Robot
a6e65a246c
Merge pull request #107986 from wzshiming/promote/shutdown-based-on-pod-priority
...
Promote graceful shutdown based on pod priority to beta
2022-03-23 08:06:09 -07:00
Andrew Sy Kim
a4b79590eb
move cluster/gce/gci/credential-provider to test/e2e_node/plugins/gcp-credential-provider
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-03-23 10:30:02 -04:00
Andrew Sy Kim
ddeb1e1352
cluster/gce/gci/credential-provider: add barebones GCP credential provider for testing only
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com >
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
758d78a662
test/e2e_node: add a test pulling a private GCR image
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com >
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
f440a69c70
test/e2e_node: install and configure kubelet credential provider
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com >
2022-03-23 10:30:01 -04:00
Abu Kashem
6acbe7e645
client-go: chain the error returned by rate limiter
2022-03-23 08:29:28 -04:00
Davanum Srinivas
3470453e01
Fix for verify: generated-stable-metrics problem
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-23 08:02:53 -04:00
Davanum Srinivas
1ce55e3afe
fix govet on golang 1.18
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-23 08:02:53 -04:00
Yuvaraj Kakaraparthi
801c39b478
kubectl: API changes to support --subresource in kubectl
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com >
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com >
2022-03-23 11:19:58 +05:30
ravisantoshgudimetla
82f701aae2
pod admission test
2022-03-22 14:58:27 -04:00
Kubernetes Prow Robot
41501c4fcf
Merge pull request #108704 from MartinForReal/feat/add_bootid_for_windows
...
Add bootid support for windows node.
2022-03-22 10:36:11 -07:00
Davanum Srinivas
d8f1da5ecb
golang: Update to 1.18 from 1.18rc1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-03-22 09:47:35 -04:00
Kubernetes Prow Robot
0b8a665d50
Merge pull request #108613 from Huang-Wei/fix-v1beta3-order
...
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-22 01:01:44 -07:00
Patrick Ohly
f5340fdd02
storage capacity: CRUD conformance test
...
This is needed for GA APIs. This one is based on
test/e2e/common/node/runtimeclass.go.
2022-03-22 08:12:56 +01:00
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
...
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Kubernetes Prow Robot
0053a0e0fd
Merge pull request #108782 from cfryanr/expirationseconds_conformance
...
Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
2022-03-21 20:19:55 -07:00
Kubernetes Prow Robot
7cf5c02980
Merge pull request #107979 from XudongLiuHarold/promote-loadbalancerclass-to-ga
...
Promote load balancer class to GA
2022-03-21 17:54:13 -07:00
Xudong Liu
c8a6c7f338
promote load balancer class to GA
...
Signed-off-by: Xudong Liu <xudongliuharold@gmail.com >
2022-03-21 16:16:13 -07:00
Mike Miranda
44e3280799
Increase timeout for stats check
2022-03-21 22:20:57 +00:00
Stephen Heywood
b5edb55bbc
Create e2e job status test
...
e2e test validates the following 3 extra endpoints
- patchBatchV1NamespacedJobStatus
- readBatchV1NamespacedJobStatus
- replaceBatchV1NamespacedJobStatus
2022-03-22 10:26:44 +13:00
Wei Huang
d330f4dcb4
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-21 10:46:26 -07:00
Ryan Richard
e29ac0f8be
Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
...
Remove the comment "As of v1.22, this field is beta and is controlled
via the CSRDuration feature gate" from the expirationSeconds field's
godoc.
Mark the "CSRDuration" feature gate as GA in 1.24, lock its value to
"true", and remove the various logic which handled when the gate was
"false".
Update conformance test to check that the CertificateSigningRequest's
Spec.ExpirationSeconds field is stored, but do not check if the field
is honored since this functionality is optional.
2022-03-18 14:41:43 -07:00
David Porter
7ac2896a14
test: increase timeout in pod collection deletion
...
Increase the current timeout of 1 minute for waiting for all pods to be
deleted to avoid flakiness. To avoiding hardcoding a timeout, use the
built in framework's `PodDelete` timeout which defaults to 5 minutes.
While we are in here, also change `framework.PodStartTimeout` to use
`f.Timeouts.PodStart` since `framework.PodStartTimeouts` are marked as
deprecated.
Signed-off-by: David Porter <david@porter.me >
2022-03-18 13:40:29 -07:00
Kubernetes Prow Robot
cd6af9e64b
Merge pull request #106155 from enj/enj/i/webhook_rest_config
...
webhook: use rest.Config instead of kubeconfig file as input
2022-03-18 12:23:56 -07:00
Kubernetes Prow Robot
0ade4678a7
Merge pull request #108771 from andrewsykim/bump-agnhost
...
Bump agnhost@v2.36 to include changes for --delay-shutdown flag
2022-03-18 00:15:17 -07:00
Kubernetes Prow Robot
ad751e8520
Merge pull request #108710 from kevindelgado/ssfv-testing-improvement
...
Exact Matching for Field Validation Integration Tests
2022-03-17 21:21:16 -07:00
Jian Li
c55658cd9f
e2e/cleanup: fix package name and dir name mismatches
2022-03-18 11:41:27 +08:00
MartinForReal
d529b7e10b
add bootid support for windows node.
...
Signed-off-by: MartinForReal <fanshangxiang@gmail.com >
2022-03-18 02:17:52 +00:00
Monis Khan
fef7d0ef1e
webhook: use rest.Config instead of kubeconfig file as input
...
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file. This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format. This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.
Signed-off-by: Monis Khan <mok@vmware.com >
2022-03-17 20:47:42 -04:00
Kevin Delgado
7983932800
Exact Matching for Field Validation Tests
2022-03-17 22:08:49 +00:00
Sergey Kanzhelev
29e8bef315
RuntimeClass and PodOverhead promotion to GA
2022-03-17 21:49:32 +00:00
Andrew Sy Kim
07ac998e3b
test/images: clarify documentation around bumping test image versions
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-03-17 14:28:41 -04:00
Andrew Sy Kim
9b5b77ac81
test/images/agnhost: bump agnhost to v2.36
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-03-17 11:47:04 -04:00
Kubernetes Prow Robot
9e50a332d8
Merge pull request #108366 from smarterclayton/terminating_not_terminated
...
Delay writing a terminal phase until the pod is terminated
2022-03-17 08:29:21 -07:00
Kubernetes Prow Robot
48ee98fabf
Merge pull request #108757 from liggitt/service-account-conformance
...
Exercise Get of serviceaccount in e2e
2022-03-17 00:41:30 -07:00
Kubernetes Prow Robot
6340b19dda
Merge pull request #108750 from andrewsykim/agnhost-netexec-termination
...
agnhost: support --delay-shutdown flag for the net and netexec subcommands
2022-03-16 18:35:26 -07:00
Kubernetes Prow Robot
a7740c83f2
Merge pull request #108714 from SergeyKanzhelev/podOverheadConformance
...
pod overhead test to be made a Conformance
2022-03-16 18:35:19 -07:00
Kubernetes Prow Robot
5cb6fab8f6
Merge pull request #105585 from fengzixu/improvement-volume-health
...
add volume kubelet_volume_stats_health_abnormal to kubelet
2022-03-17 01:32:38 +00:00
Jordan Liggitt
654dc8686b
Exercise Get of serviceaccount in e2e
2022-03-16 20:24:50 -04:00
Kubernetes Prow Robot
b195a64d45
Merge pull request #108644 from Jefftree/googleapis-gnostic
...
googleapis/gnostic -> google/gnostic and update kube-openapi
2022-03-16 15:14:10 -07:00
Sergey Kanzhelev
6b3758bb95
pod overhead test to be made a Conformance
2022-03-16 21:35:02 +00:00
Kubernetes Prow Robot
52ab081283
Merge pull request #108593 from claudiubelu/tests/update-pod-collection-test
...
tests: Updates the should delete a collection of pods test
2022-03-16 13:50:23 -07:00
Andrew Sy Kim
ff997ae5a0
agnhost/net: support --delay-shutdown flag
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-03-16 16:46:43 -04:00
Andrew Sy Kim
d981aa118f
agnhost/netexec: support --delay-shutdown flag
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-03-16 16:46:43 -04:00
Kubernetes Prow Robot
0b3629ae7d
Merge pull request #108432 from iXinqi/add-write-file-test
...
Add gMSA Reading and Writing Files Test Case
2022-03-16 12:36:10 -07:00
David Porter
d6cd51e5c0
test: Verify that nodes do not transition to Failed while ready
...
Signed-off-by: David Porter <david@porter.me >
2022-03-16 13:15:03 -04:00
David Porter
c70f1955c4
test: Add E2E for job completions with cpu reservation
...
Create an E2E test that creates a job that spawns a pod that should
succeed. The job reserves a fixed amount of CPU and has a large number
of completions and parallelism. Use to repro github.com/kubernetes/kubernetes/issues/106884
Signed-off-by: David Porter <david@porter.me >
2022-03-16 13:15:03 -04:00