Kubernetes Prow Robot
08160f7975
Merge pull request #113465 from chendave/golang_generic
...
kubeadm: bump to use golang generic
2022-12-14 11:55:34 -08:00
Kubernetes Prow Robot
261855929f
Merge pull request #114195 from chewong/aws-sdk-go-v1.44.147
...
Bump github.com/aws/aws-sdk-go to v1.44.147
2022-12-14 10:47:45 -08:00
Kubernetes Prow Robot
7403090e40
Merge pull request #113309 from swatisehgal/devicemgr-e2e-remove-flakiness
...
node: e2e: device plugins: Deflake e2e tests
2022-12-14 10:47:34 -08:00
Kubernetes Prow Robot
4b27077eb2
Merge pull request #114428 from SataQiu/clean-rest-20221212
...
apiserver: cleanup unused StrategyExceptions
2022-12-14 06:47:34 -08:00
Ernest Wong
a4e4cec28f
Bump github.com/aws/aws-sdk-go to v1.44.147
2022-12-14 14:18:46 +00:00
Kubernetes Prow Robot
68f808e6db
Merge pull request #111371 from sivchari/improve-naming
...
feat: improve naming
2022-12-14 02:23:37 -08:00
Kubernetes Prow Robot
a35650b833
Merge pull request #114469 from pohly/e2e-ginkgo-timeouts-cleanups
...
e2e ginkgo timeouts: cleanup commits
2022-12-14 01:01:34 -08:00
Patrick Ohly
fdc03dd2f8
e2e kubectl: improve Gomega check
...
gomega.Succeed is the recommend way of checking for an error. gomega.BeNil
prints a less useful failure message.
2022-12-14 07:39:51 +01:00
Patrick Ohly
2695ed6a0a
e2e: add missing error checks
...
Not checking for some error conditions must have been an oversight.
2022-12-14 07:39:51 +01:00
Patrick Ohly
8168434f0c
e2e storage: explain why cleanup is done inside the function
...
This code must run during the test and thus cannot be moved into DeferCleanup.
2022-12-14 07:39:51 +01:00
Patrick Ohly
f30d1867e6
e2e storage: remove obsolete testCleanups
2022-12-14 07:39:48 +01:00
Kubernetes Prow Robot
5943f50dfa
Merge pull request #114414 from my-git9/ioutil/apiextensions-apiserver1
...
fix: remove ioutil for new go version
2022-12-13 19:41:33 -08:00
Kubernetes Prow Robot
fa8ef76a8b
Merge pull request #113335 from danwinship/cleanup-sctp-tests
...
Clean up SCTP tests
2022-12-13 18:33:34 -08:00
Dave Chen
8c7609fbe2
kubeadm: bump to use golang generic
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-12-14 10:31:18 +08:00
xin.li
c95d5d5147
fix: remove ioutil for new go version
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-12-14 09:38:09 +08:00
Kubernetes Prow Robot
546d4054ac
Merge pull request #113930 from gnufied/refactor-mock-tests
...
Refactor mock tests in different files
2022-12-13 17:27:34 -08:00
Kubernetes Prow Robot
25efa7701a
Merge pull request #114459 from alexzielenski/apiserver/discovery/aggregator-deadlock
...
fix double lock and excercise its codepath in tests
2022-12-13 15:59:46 -08:00
Kubernetes Prow Robot
3ceb213fc1
Merge pull request #113508 from p-slavcheva/fix-diff-osexit
...
Replace os.Exit in diff
2022-12-13 15:59:34 -08:00
Kubernetes Prow Robot
f524d765f4
Merge pull request #113151 from ncdc/refactor-crd-conversion
...
Clean up CRD conversion code structure
2022-12-13 14:53:48 -08:00
Kubernetes Prow Robot
c2b5457dfa
Merge pull request #109877 from yibozhuang/local-pv-prefilter-result
...
scheduler volumebinding: leverage PreFilterResult for bound local PVs
2022-12-13 14:53:34 -08:00
Dan Winship
41e1435d97
Remove [Disruptive] from Feature:SCTPConnectivity tests
...
The Feature:SCTPConnectivity tests cannot run at the same time as the
"X doesn't cause sctp.ko to be loaded" tests, since they may cause
sctp.ko to be loaded. We had dealt with this in the past by marking
them [Disruptive], but this isn't really fair; the problem is more
with the sctp.ko-checking tests than it is with the SCTPConnectivity
tests. So make them not [Disruptive] and instead make the
sctp.ko-checking tests be [Serial].
2022-12-13 16:24:42 -05:00
Dan Winship
4cee7197eb
Move two SCTP tests
...
There were two SCTP tests grouped together in
test/e2e/network/service.go, but one of them wasn't a service test...
so move the SCTP service test to be grouped with the other service
tests, and the SCTP hostport tests to be grouped with other
non-service tests.
2022-12-13 16:24:40 -05:00
Dan Winship
d9981065dd
Drop iptables-specific test from SCTP HostPort test
...
The SCTP HostPort test was checking that creating a pod with an SCTP
HostPort would create a certain iptables rule, but the handling of
HostPorts is now up to CRI, not kubelet, so kubernetes e2e cannot
assume it will implement the feature in any specific way.
(The test still ensures that (a) the apiserver accepts SCTP HostPorts,
and (b) neither kubelet nor the runtime causes the SCTP kernel module
to be loaded as part of creating a pod with an SCTP HostPort.)
2022-12-13 16:22:06 -05:00
Dan Winship
c6cc056675
Replace iptables-proxy-specific SCTP e2e test with a unit test
...
We had a test that creating a Service with an SCTP port would create
an iptables rule with "-p sctp" in it, which let us test that
kube-proxy was doing vaguely the right thing with SCTP even if the e2e
environment didn't have SCTP support. But this would really make much
more sense as a unit test.
2022-12-13 16:21:12 -05:00
Hemant Kumar
9e5d0828e0
use defercleanup in all the places
2022-12-13 15:54:55 -05:00
Kubernetes Prow Robot
233f9c210a
Merge pull request #114092 from anggao/update_method_name
...
e2e: Update GetExternalIP and GetInternalIP method name to make them more explicit.
2022-12-13 12:39:46 -08:00
Kubernetes Prow Robot
cffc7a1391
Merge pull request #110473 from lzhecheng/disruptive-skip-ssh-not-working
...
Skip tests if SSH not working
2022-12-13 12:39:35 -08:00
Andy Goldstein
beb7d6cff1
CRConverter: change to UnstructuredList
...
Change the CRConverter interface to use *unstructured.UnstructuredList
for input/output to simplify what converter implementers must implement.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:52:39 -05:00
Andy Goldstein
0976267f0f
Make empty unstructured check common
...
Move the empty unstructured object check from the webhook converter to
the delegating converter, so other converters don't have to repeat the
same logic.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:46:28 -05:00
Andy Goldstein
0bdcb93b06
Create new conversion Factory interface
...
Create a new conversion Factory interface for CRDs, and split out
NewDelegatingConverter as a standalone package-level function, instead
of being part of CRConverterFactory.
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:38:21 -05:00
Andy Goldstein
02f8c48f75
Rename crConverterInterface to CRConverter
...
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-12-13 14:38:05 -05:00
Hemant Kumar
6dd94f5663
Refactor mock tests in different files
...
Change code to use pointer for mock driver setup
2022-12-13 14:26:07 -05:00
Kubernetes Prow Robot
bb6edfb96b
Merge pull request #114454 from pohly/e2e-framework-output-test-flake
...
e2e framework: fix unit test flake
2022-12-13 10:28:15 -08:00
Kubernetes Prow Robot
2df02b3ef5
Merge pull request #114425 from pohly/e2e-ginkgo-timeouts-defer-cleanup
...
e2e ginkgo timeouts: simplify code
2022-12-13 10:28:09 -08:00
Kubernetes Prow Robot
c9fb0c114d
Merge pull request #114407 from princepereira/ppereira-internal-traffic-policy
...
Windows Kube-Proxy implementation for internal traffic policy
2022-12-13 10:27:57 -08:00
Kubernetes Prow Robot
8280fd9671
Merge pull request #114171 from aojea/loadbalancer_mutability
...
e2e loadbalancer test connectivity within cluster first
2022-12-13 10:27:45 -08:00
Kubernetes Prow Robot
e6bc669227
Merge pull request #113795 from DangerOnTheRanger/validatingadmissionpolicy-crd-integration-tests
...
Add CRD integration tests for ValidatingAdmissionPolicy
2022-12-13 10:27:34 -08:00
Alexander Zielenski
7510afb72c
fix double lock and excercise its codepath in tests
...
would cause a deadlock if an aggregated apiserver decided to respect ETags for its aggregated discovery document,
2022-12-13 10:01:06 -08:00
Kubernetes Prow Robot
eaa7e1c775
Merge pull request #114435 from seans3/openapi-getter-refactor
...
Unexport OpenAPIGetter factory method
2022-12-13 08:39:45 -08:00
Kubernetes Prow Robot
19a0aaaaa0
Merge pull request #114261 from alculquicondor/reduce-job-test-load
...
Reduce load of Job integration test
2022-12-13 08:39:33 -08:00
Swati Sehgal
213a6edc57
node: e2e: Add descriptive messages for operation/error checks
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-13 14:54:48 +00:00
Zhecheng Li
21c41e79e5
Skip tests if SSH not working
...
Functions involves TestVolumeUnmountsFromDeletedPodWithForceOption
need to check if SSH works.
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
2022-12-13 14:38:21 +00:00
Patrick Ohly
0df49542b1
e2e framework: fix unit test flake
...
The Gingo v2 time suffix is hh:mm:ss without the .xyz sub-second details if the
time stamp happens to land exactly on a second.
This change fixes test flakes like the following:
-STEP: Building a namespace api object, basename test-namespace
+STEP: Building a namespace api object, basename test-namespace 12/13/22 11:43:53
--- FAIL: TestCleanup (36.79s)
2022-12-13 15:29:18 +01:00
Kubernetes Prow Robot
6b9035513b
Merge pull request #113981 from TommyStarK/unit-tests/cmd-kube-controller-manager-app-options
...
cmd/kube-controller-manager/app/options: Improving test coverage
2022-12-13 06:25:34 -08:00
petya.slavcheva1
2dce194e16
Replace os.exit in diff
2022-12-13 14:27:35 +01:00
TommyStarK
454290c583
cmd/kube-controller-manager/app/options: Improving test coverage
...
Add a snippet of the expected error string related to the aspect being tested
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-13 14:05:48 +01:00
Kubernetes Prow Robot
10376ad1fa
Merge pull request #113285 from pacoxu/release-note-update
...
update release-note for cherry-picks of #110255
2022-12-13 04:43:45 -08:00
Kubernetes Prow Robot
6ae43ffa6d
Merge pull request #110252 from swatisehgal/add-security-contact
...
Noderesourcetopology- api: Repo Bootstrap
2022-12-13 04:43:34 -08:00
Antonio Ojea
2b0372f873
e2e loadbalancer test connectivity within cluster first
...
Change-Id: Iaced995e5e0433c9095cb522aa3e1de2105c931e
2022-12-13 12:26:13 +00:00
Kubernetes Prow Robot
f77dc4e6be
Merge pull request #114443 from SataQiu/fix-kubeadm-20221213
...
kubeadm: add missing --cri-socket flag for upload-certs phase
2022-12-13 02:05:35 -08:00