Monis Khan
cd91e59f7c
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:15 -04:00
Kubernetes Prow Robot
62503f254e
Merge pull request #103413 from mgutierrez98/refactor-whitelist-blacklist
...
Refactored files containing whitelist/blacklist to allowlist/denylist…
2021-07-01 18:12:25 -07:00
Kubernetes Prow Robot
9ca75c1f49
Merge pull request #103243 from ii/promote-statefulset-status-test
...
Promote to Conformance StatefulSet Patch, Read and Replace Status test +3
2021-07-01 14:28:02 -07:00
Kubernetes Prow Robot
062bc359ca
Merge pull request #102444 from sanwishe/resourceStartTime
...
Expose container start time in kubelet /metrics/resource endpoint
2021-07-01 14:27:51 -07:00
mgutierrez98
1cfbb0aa25
remove webhook.go to revert changes to conformance test
2021-07-01 20:24:46 +00:00
Kubernetes Prow Robot
3334703eb2
Merge pull request #103242 from ii/promote-deployment-status-test
...
Promote to Conformance Patch, Read and Replace DeploymentStatus test +1
2021-07-01 13:18:04 -07:00
Kubernetes Prow Robot
cd94e840cb
Merge pull request #103241 from ii/promote-statefulset-list-deletecollection
...
Promote to Conformance StatefulSet List, Patch & DeleteCollection Test +3
2021-07-01 13:17:52 -07:00
Jordan Liggitt
49d31c45b1
PodSecurity: baseline hostProcess check
2021-07-01 15:49:33 -04:00
Kubernetes Prow Robot
1861e4756d
Merge pull request #103396 from praveenghuge/master-to-main-cleanup
...
k8s.io master to main cleanup
2021-07-01 04:45:54 -07:00
Kubernetes Prow Robot
a0c83ba938
Merge pull request #103385 from ravisantoshgudimetla/fix-ubernetes-tests-2
...
[storage] [test] Ensure proper resource creation
2021-07-01 00:06:06 -07:00
Kubernetes Prow Robot
dbfea1e2aa
Merge pull request #103365 from liggitt/podsecurity-feature-test
...
PodSecurity: make failure integration tests feature-aware
2021-07-01 00:05:54 -07:00
Praveen Ghuge
db3534dd64
master too main cleanup
2021-06-30 21:56:29 -07:00
Kubernetes Prow Robot
ea0098b811
Merge pull request #103219 from mgutierrez98/refactor-wait_go
...
Renamed variable within wait_test containing master to control plane
2021-06-30 20:59:54 -07:00
Jordan Liggitt
ba6b4c5a18
PodSecurity: test GA-only cases and alpha/beta fields separately
2021-06-30 22:08:11 -04:00
Kubernetes Prow Robot
642f42d62b
Merge pull request #103364 from aramase/check-privileged
...
[PodSecurity] Add privileged containers baseline check
2021-06-30 16:11:48 -07:00
ravisantoshgudimetla
67bc23411b
[storage] [test] Ensure proper resource creation
...
Ensure resources are created in zone with schedulable
nodes. For example, if we have 4 zones with 3 zones
having worker nodes and 1 zone having master nodes(unscheduable
for workloads), we should not create resources like PV, PVC or
pods in that zone.
2021-06-30 18:01:57 -04:00
Anish Ramasekar
5bd3334ad6
[PodSecurity] Add privileged containers baseline check
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-06-30 16:39:28 -04:00
Kubernetes Prow Robot
9c360b6185
Merge pull request #103361 from m14815/commit-21.6.2
...
Error string should not be capitalized or end with punctuation.
2021-06-30 11:50:17 -07:00
Kubernetes Prow Robot
044fd6fdf6
Merge pull request #99829 from palnabarun/migrate-to-go-embed
...
Replace go-bindata with //go:embed
2021-06-30 10:37:03 -07:00
Lee Verberne
c11041ad99
Remove ShareProcessNamespace tags from e2e tests
...
This feature became GA in 1.17 and feature gate removed in 1.19. It
should run unconditionally.
2021-06-30 18:12:30 +02:00
maruiyan
9c150b0f22
Error string should not be capitalized or end with punctuation.
2021-06-30 23:23:30 +08:00
maruiyan
0f33f8d685
Remove Redundant type conversion
2021-06-30 11:17:15 +08:00
Kubernetes Prow Robot
7ad7c0757a
Merge pull request #103160 from ravisantoshgudimetla/fix-ubernetes-tests
...
Run ubernetes tests on gke only
2021-06-29 18:29:14 -07:00
Kubernetes Prow Robot
c9bff73105
Merge pull request #103179 from tanjing2020/runtimeclass
...
[e2e] Destroy the created runtimeclass resources at the end of the test case.
2021-06-29 17:07:15 -07:00
Kubernetes Prow Robot
f2e47502fd
Merge pull request #103076 from wzshiming/fix/flake-gracefulnodeshutdown-dbus
...
Fix the GracefulNodeShutdown e2e test running on dbus that refuses to manually start
2021-06-29 11:19:50 -07:00
Nabarun Pal
ac41e56582
docs: add documentation on adding files to the embedded data
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 23:30:50 +05:30
ravisantoshgudimetla
c65b80a637
[storage] [test] Remove extra zone test
...
We're running ubernetes tests
`should only be allowed to provision PDs in zones
where nodes exist`
on gcp&gke. While the test is useful in exercising
the scenario of identifying extra zone and
creating a node in it, not every Kube
distribution uses the same approach to create a node,
further if even there is an extra zone, we cannot
guarantee the zone to have enough quota. There can also
be other GCP specific edge cases all of which cannot be
covered within this test. So, removing the test
as agreed upon with the storage team
2021-06-29 12:52:58 -04:00
Kubernetes Prow Robot
756203fda0
Merge pull request #102576 from dobsonj/101911
...
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-29 06:54:40 -07:00
Nabarun Pal
bbccf2ecb4
e2e-node: move to embedded test manifests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:49 +05:30
Nabarun Pal
d98b2dd2d6
generated: remove usage of go-bindata
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:48 +05:30
Nabarun Pal
68b334d02b
test: setup embedded file sources for manifests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:46 +05:30
Kubernetes Prow Robot
3d87fd6a9a
Merge pull request #103273 from XudongLiuHarold/fix-loadbalancerclass-test-name
...
fix loadbalancerclass integration test funcation name
2021-06-29 05:40:41 -07:00
vivian-xu
ceb42d0938
Update github.com/pkg/errors with go native errors pkg
2021-06-29 17:39:49 +08:00
Kubernetes Prow Robot
ebcb4a2d88
Merge pull request #103104 from pacoxu/npd-088
...
update npd to v0.8.8
2021-06-29 02:30:40 -07:00
Mengjiao Liu
8e4212c01a
test/integration: rename package and files name from master to controlplane in test/integration
2021-06-29 17:21:29 +08:00
Nabarun Pal
3af6329caf
e2e-framework: add an EmbeddedFileSource to sources
...
The data structure would wrap an embedded filesystem andthe root
directory relative to which the embedded filesystem is constructed.
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 13:36:29 +05:30
Francesco Romani
c69ad8c57a
e2e: increase readiness gate timeout
...
We're trying to fix https://github.com/kubernetes/kubernetes/issues/75355
sicne long time, and we believe the current timeout could
actually be too low (despite being "forever", which is 30s).
To validate this theory, we set the timeout to one full minute.
Also, make the logging more verbose to make the troubleshooting easier.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-29 09:01:31 +02:00
Kubernetes Prow Robot
d92f6c424d
Merge pull request #103099 from liggitt/podsecurity
...
PodSecurity admission
2021-06-28 20:46:52 -07:00
Harold
477aef192f
fix loadbalancerclass integration test funcation name
2021-06-28 20:07:02 -07:00
Kubernetes Prow Robot
9866f9364e
Merge pull request #103112 from fromanirh/cpumanager-e2e-fixes
...
e2e: node: remove obsolete AlphaFeature tag
2021-06-28 19:36:39 -07:00
pacoxu
ffdf3f5007
update node-problem-detector npd to v0.8.8
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-Authored-By: vteratipally <vteratipally@users.noreply.github.com>
2021-06-29 09:35:32 +08:00
tanjing2020
f80f9eeb6d
Destroy the created runtimeclass resources at the end of the test case.
2021-06-29 09:20:40 +08:00
Kubernetes Prow Robot
ee459b8969
Merge pull request #103265 from fromanirh/e2e-node-fix-npd
...
e2e: node: fix npd test failures bumping image
2021-06-28 17:03:50 -07:00
Kubernetes Prow Robot
38f012320f
Merge pull request #101947 from cynepco3hahue/memory_manager_move_to_beta
...
memory manager: move to beta
2021-06-28 15:38:28 -07:00
Jordan Liggitt
42dc070b47
PodSecurity: kube-apiserver integration test
2021-06-28 17:45:36 -04:00
Francesco Romani
889dcb5b54
e2e: node: fix npd test failures bumping image
...
The PR https://github.com/kubernetes/kubernetes/pull/100041 updated
node-problem-detector to v0.8.7, but unfortunately we didn't update
also the image using in the e2e_node tests.
As result, the tests were failing like
E2eNode Suite: [sig-node] NodeProblemDetector [NodeFeature:NodeProblemDetector] [Serial] SystemLogMonitor should generate node condition and events for corresponding errors
_output/local/go/src/k8s.io/kubernetes/test/e2e_node/node_problem_detector_linux.go:301
Timed out after 60.000s.
Expected success, but got an error:
<*errors.errorString | 0xc0011f2600>: {
s: "expected total number of events was 4, actual events counted was 7\nEvents
This in turn was one of the contributing factors in making the
pull-kubernetes-node-kubelet-serial lane constantly failing.
This patch updates the image used in the tests, fixing the failure.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-28 16:32:12 +02:00
Stephen Heywood
1b73a0040a
Promote Stateful Status e2e test to Conformance
2021-06-28 11:24:59 +12:00
Stephen Heywood
405e9a5172
Promote Deployment Status e2e test to Conformance
2021-06-28 11:04:30 +12:00
Stephen Heywood
d3ad1d77f3
Promote Statefulset list and deleteCollection e2e test to Conformance
2021-06-28 10:06:27 +12:00
Rajas Kakodkar
266ffa8526
bug fix in sctp test
2021-06-27 21:53:41 +05:30
Kubernetes Prow Robot
e974bcd471
Merge pull request #103235 from thejoycekung/debian-setcap-image-bump
...
Update debian, debian-iptables, setcap images to pick up CVE fixes
2021-06-26 16:21:23 -07:00
Ciprian Hacman
1721be087d
nodeport tests: node addresses must match the service IP family
2021-06-26 10:00:46 +03:00
Joyce Kung
0a8a9188c9
Update debian-iptables image to buster-v1.6.5
2021-06-25 20:45:20 -04:00
mgutierrez98
70124846fa
control plane typo in node role path
2021-06-26 00:33:32 +00:00
Antonio Ojea
2eb50ee2fd
fix comment on dual-stack integration test
2021-06-25 23:24:49 +02:00
mgutierrez98
80171465b3
Renamed variable containing master to control plane
2021-06-25 21:20:29 +00:00
Kubernetes Prow Robot
017b359770
Merge pull request #103180 from aojea/collect_ipfamily
...
Services tests for NodePorts must match the Node Address and Service IP family
2021-06-25 12:13:32 -07:00
Kubernetes Prow Robot
d47448cc85
Merge pull request #103114 from learner0810/fix/remove-errors-pkg
...
update to remove github.com/pkg/errors
2021-06-25 12:13:11 -07:00
Kubernetes Prow Robot
b132b69700
Merge pull request #103073 from ravisantoshgudimetla/add-e2e-minReadySeconds
...
StatefulSet minReadySeconds e2e
2021-06-25 12:12:59 -07:00
Kubernetes Prow Robot
e19dc07ac5
Merge pull request #102898 from khenidak/fix-prefer-dualstack
...
fix auto upgraded preferDual-Stack services (in cluster upgrade)
2021-06-25 10:58:08 -07:00
Kubernetes Prow Robot
9254610765
Merge pull request #103129 from XudongLiuHarold/service-loadbalancer-class-e2e
...
Promote loadbalancerclass feature to beta
2021-06-25 09:48:57 -07:00
Antonio Ojea
916dbc335c
nodeport tests: node addresses must match the service IP family
2021-06-25 10:34:42 +02:00
Antonio Ojea
02a3caba9c
refactor default IP family cluster detection
2021-06-25 10:34:42 +02:00
Claudiu Belu
9accb994df
tests: Wait for the network connectivity first
...
Some tests are checking the network connectivity using gomega.Consistently,
which will fail if any of the checks fails. This could lead to flakyness in
some scenarios in which kube-proxy was supposed to apply Policies for
Kubernetes services.
We can instead wait for the network connectivity to work first using gomega.Eventually,
after which we can check the consistency.
2021-06-25 00:56:37 -07:00
Kubernetes Prow Robot
7a9c8940fd
Merge pull request #102682 from chendave/e2e_storage
...
Check empty zone after the validation of providers
2021-06-24 18:56:44 -07:00
Kubernetes Prow Robot
7eae33cb0e
Merge pull request #101464 from Nick-Triller/deflake_assert_events
...
e2e: deflake test by not relying on events
2021-06-24 17:44:45 -07:00
Xudong Liu
fe161579e2
Add integration test to promote serviceloadbalancerclass feature to beta.
2021-06-24 17:30:17 -07:00
Kubernetes Prow Robot
68ec927725
Merge pull request #103106 from wzshiming/fix/remove-errors-pkg
...
update to remove github.com/pkg/errors
2021-06-24 16:38:12 -07:00
Kubernetes Prow Robot
36a4904af2
Merge pull request #103111 from muma378/master
...
uses native errors instead of github.com/pkg/errors
2021-06-24 14:17:53 -07:00
Claudiu Belu
a7c48e9707
images: Removes OS Version workaround for manifest list images
...
For manifest lists containing Windows images, it is important to also have the "os.version"
annotation set, as it is needed by the Windows nodes, so they can pull the appropriate image
from the list.
Previously, the docker manifest CLI did not have the capability to set it, so, we had to set
it outselves in the manifest list's image JSON file. This is no longer necessary since
docker 20.10.0, which includes docker manifest annotate --os-version.
The docker installed in the image gcr.io/k8s-testimages/gcb-docker-gcloud:v20210622-762366a
satisfies this version requirement.
2021-06-24 13:39:44 +00:00
Kubernetes Prow Robot
164ce31e7f
Merge pull request #103074 from wongma7/volumelimitsmigration
...
Disable deprecated volume limits test when CSI migration enabled and replace with CSI-specific test
2021-06-24 05:41:53 -07:00
Kubernetes Prow Robot
73eac7ae66
Merge pull request #102986 from mengjiao-liu/rename-master
...
Rename master to apiserver in test/integration
2021-06-24 05:41:41 -07:00
Kubernetes Prow Robot
aae9c3418f
Merge pull request #103109 from niulechuan/cleanup/test-e2e-framework
...
Remove usage of github.com/pkg/errors
2021-06-24 01:57:40 -07:00
lzj
7cf30d5690
fix/remove-errors-pkg
2021-06-24 16:09:59 +08:00
Marek Siarkowicz
ebe550bd48
Upgrade etcd to 3.5.0
2021-06-24 09:15:17 +02:00
肖旸
cf07d42337
removes unused libraries
2021-06-24 09:43:09 +08:00
sanwishe
43f8f58895
add containers starttime metrics for metrics/resource endpoint
...
Signed-off-by: sanwishe <jiang.mingzhi35@zte.com.cn>
2021-06-24 02:53:21 +08:00
Kubernetes Prow Robot
15a60d1a19
Merge pull request #100180 from fromanirh/tm-e2e-fix-wait
...
e2e: TM: wait for SRIOV devices in pod scope tests
2021-06-23 11:42:10 -07:00
Odin Ugedal
0839c00b76
Increase pressure timout on DiskPressure test
2021-06-23 20:12:46 +02:00
Kubernetes Prow Robot
0ae157df39
Merge pull request #100641 from mauriciopoppe/external-storage-multivolume-windows
...
Enable GCE PD CSI multivolume tests with windows nodes
2021-06-23 10:36:11 -07:00
Shiming Zhang
674802147c
update to remove github.com/pkg/errors
2021-06-23 22:56:48 +08:00
ravisantoshgudimetla
cf9510751d
StatefulSet minReadySeconds e2e
2021-06-23 08:23:23 -04:00
Francesco Romani
47615c2020
e2e: node: remove obsolete AlphaFeature tag
...
The CPUManager graduated to beta a while ago (k8s 1.10?)
so let's get rid of the obsolete Alpha tag on its e2e tests.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-23 12:34:45 +02:00
肖旸
e7a240395e
uses native errors instead of github.com/pkg/errors
2021-06-23 18:13:44 +08:00
Niu Lechuan
12dcd2f84d
Remove usage of github.com/pkg/errors
...
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io>
2021-06-23 17:46:23 +08:00
Kubernetes Prow Robot
56efa75173
Merge pull request #102418 from m14815/commit-21.5.4
...
Remove Redundant alias
2021-06-22 21:00:22 -07:00
Kubernetes Prow Robot
af60bebde3
Merge pull request #97028 from knabben/e2e-restart-kubelet
...
Adding restart kubelet flag on e2e test
2021-06-22 21:00:09 -07:00
Kubernetes Prow Robot
c48adbb3e8
Merge pull request #103071 from aojea/esipp_nodepor
...
wait for endpoints to be available
2021-06-22 18:28:38 -07:00
Kubernetes Prow Robot
13e7cba5ca
Merge pull request #103050 from ardaguclu/fix-node-auth-dualstack
...
Fix NodeAuthenticator tests in dual stack
2021-06-22 18:28:29 -07:00
Kubernetes Prow Robot
268cab5f44
Merge pull request #102022 from adtac/sbeta
...
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Kubernetes Prow Robot
2453f07e93
Merge pull request #102396 from odinuge/restart_test
...
Restart test: Kill container runtime with SIGKILL
2021-06-22 13:10:10 -07:00
Matthew Wong
cd318aec0b
Disable deprecated volume limits test when migration enabled and replace with CSI-specific test
2021-06-22 11:31:00 -07:00
Mauricio Poppe
6583b05f07
replace more powershell commands with /bin/sh in volume/fixtures.go
2021-06-22 18:27:55 +00:00
Mauricio Poppe
7aa8a497df
replaced usage of powershell commands with linux commands
2021-06-22 18:27:55 +00:00
Mauricio Poppe
f0d7e9c9d1
undo windows compatibility changes because the linux commands work
2021-06-22 18:27:54 +00:00
Mauricio Poppe
9a146bc3e9
Remove [LinuxOnly] string from ginkgo tests
2021-06-22 18:27:54 +00:00
Mauricio Poppe
54070a6628
Enable another test in windows, use a /bin/sh command instead of a PS one
2021-06-22 18:27:53 +00:00
Mauricio Poppe
ee34cd640a
enable gcpdcsi multivolume tests with windows nodes
2021-06-22 18:27:50 +00:00
Khaled (Kal) Henidak
58a83ecbdb
integeration tests
2021-06-22 17:40:21 +00:00
Artyom Lukianov
d4767ed5eb
memory manager: move to beta
...
Move the memory manager feature to beta.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 20:15:29 +03:00
Kubernetes Prow Robot
6dd9deea3d
Merge pull request #103038 from aojea/ips_panics
...
don't panic (just fail) if nodeIPs are not found
2021-06-22 07:44:11 -07:00
Kubernetes Prow Robot
985ac8ae50
Merge pull request #101030 from cynepco3hahue/pod_resources_memory_interface
...
Extend pod resource API response to return the information from memory manager
2021-06-22 06:35:58 -07:00
Artyom Lukianov
681905706d
e2e node: provide tests for memory manager pod resources metrics
...
- verify memory manager data returned by `GetAllocatableResources`
- verify pod container memory manager data
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03:00
Shiming Zhang
3daef0a534
Allows manual restart of dbus to work in Ubuntu.
2021-06-22 15:59:30 +08:00
Kubernetes Prow Robot
7f4abd897e
Merge pull request #102414 from divyenpatel/use-ga-topology-labels-for-vsphere
...
Update vSphere volume topology label to GA
2021-06-21 18:13:57 -07:00
Antonio Ojea
249db7ceb3
wait for endpoints to be available
2021-06-22 01:49:24 +02:00
Divyen Patel
518844fd25
use GA topology labels for vsphere
2021-06-21 10:37:31 -07:00
Kubernetes Prow Robot
0f4fd721e5
Merge pull request #102963 from andrewsykim/granular-services-remove-internet-tests
...
test/e2e/network: remove dependency to google.com for in-cluster networking tests
2021-06-21 10:06:51 -07:00
Arda Güçlü
676958c2bd
Fix NodeAuthenticator tests in dual stack
2021-06-21 15:41:13 +03:00
Antonio Ojea
6d3fd8353c
don't panic if nodeIPs are not found
2021-06-21 10:59:09 +02:00
Kubernetes Prow Robot
513ae557a3
Merge pull request #103002 from TeweiLuo/remove-unmanaged-zone-tests
...
Remove gcepd unmanaged zone test.
2021-06-20 23:44:51 -07:00
Andrew Sy Kim
afea48d23f
test/e2e/network: remove dependency to google.com for in-cluster networking tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-20 19:19:02 -04:00
Claudiu Belu
f9e4a015e2
tests: Spawn poststart / prestop pods on the same node as the http pod
...
In the case of multinode clusters, the http server pod and the test cluster can
spawn on different nodes, which can be problematic for poststart / prestop hooks,
as they are executed by the kubelet itself, and the cross-node lifecycle hook might
fail (according to the Kubernetes network model, it is not mandatory for kubelet to
be able to access pods on a different node).
This commit ensures that the test pod spawns on the same node as the http server pod.
2021-06-19 23:13:39 -07:00
tewei.luo
72a53288a5
Remove gcepd unmanaged zone test.
...
This test verifies an implementation detail in the in-tree gcepd
plugin. The behavior is not implementated in the gcepd CSI driver
and therefore the test will be obsolete after CSI migration.
2021-06-19 04:13:11 +00:00
Kubernetes Prow Robot
5b671d41c2
Merge pull request #102980 from mengjiao-liu/clean-up-master
...
Clean up the master term in test/integration comments
2021-06-18 19:27:01 -07:00
Kubernetes Prow Robot
33c4383985
Merge pull request #102657 from pohly/subpath-test-flake
...
storage e2e: extend timeouts for subpath restart tests
2021-06-18 12:12:05 -07:00
Kubernetes Prow Robot
4afb72a863
Merge pull request #100183 from jsafrane/fix-unstage-retry
...
Mark volume as uncertain after Unmount* fails
2021-06-18 11:04:06 -07:00
Mengjiao Liu
e977740ae6
Rename master to apiserver in test/integration
2021-06-18 17:40:46 +08:00
Mengjiao Liu
4eab19ae7d
Clean up the master term in test/integration comments
2021-06-18 16:31:05 +08:00
Kubernetes Prow Robot
dc54636c6d
Merge pull request #102965 from jsturtevant/hostprocesstest-update
...
Use the hostprocess feature flag and assign a user
2021-06-17 15:50:05 -07:00
James Sturtevant
762eeb0988
Use the hostprocess feature flag and assign a user
2021-06-17 14:42:24 -07:00
Kubernetes Prow Robot
75151fa524
Merge pull request #102933 from andrewsykim/net-pol-legacy
...
test/e2e/network: mark tests in test/e2e/network/netpol/network_legacy.go with NetworkPolicyLegacy
2021-06-17 14:08:05 -07:00
Mengjiao Liu
da35add03f
Rename master to apiserver in test/integration
2021-06-17 15:48:39 +08:00
Kubernetes Prow Robot
a68644ba24
Merge pull request #102254 from ii/Riaankl-statefulset-list-deletecollection
...
Write StatefulSet List, Patch & DeleteCollection Test +3 endpoints
2021-06-16 18:22:19 -07:00
Andrew Sy Kim
9e694a45f9
test/e2e/network: mark tests in test/e2e/network/netpol/network_legacy.go with NetworkPolicyLegacy
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-16 19:44:27 -04:00
Kubernetes Prow Robot
738a3ae473
Merge pull request #102931 from andrewsykim/e2e-gce-tag
...
test/e2e/network: mark network_tiers.go tests with GCE tag
2021-06-16 16:02:00 -07:00
Stephen Heywood
3c59e742f3
Create List, Patch & DeleteCollection StatefulSet Test
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
e2e test validates the following 3 extra endpoints
- patchAppsV1NamespacedStatefulSet
- listAppsV1StatefulSetForAllNamespaces
- deleteAppsV1CollectionNamespacedStatefulSet
2021-06-17 09:21:38 +12:00
Kubernetes Prow Robot
c81f2773dc
Merge pull request #102920 from dims/move-to-github.com/coreos/go-systemd/v22
...
Switch to github.com/coreos/go-systemd/v22 and drop older package
2021-06-16 12:48:41 -07:00
Kubernetes Prow Robot
cda98f20b2
Merge pull request #102918 from jsafrane/cloning-topology
...
Run volume cloning tests in the same topology segment
2021-06-16 12:48:32 -07:00
Kubernetes Prow Robot
8e48d992aa
Merge pull request #102349 from ii/promote-replicaset-status-test
...
Promote Read, Patch & Replace ReplicaSet Status +3 endpoints
2021-06-16 12:48:00 -07:00
Kubernetes Prow Robot
851b7276a5
Merge pull request #102796 from ahg-g/ahg-cc
...
Move scheduler plugin set and configuration defaulting to CC
2021-06-16 11:44:00 -07:00
Kubernetes Prow Robot
727b4307f0
Merge pull request #102348 from ii/promote-daemonset-status-test
...
Promote Read, Patch & Replace DaemonSet Status e2e test to Conformance +3 endpoints
2021-06-16 09:43:59 -07:00
Jan Safranek
54ad7e40f1
Add e2e test for NodeUnstage error cases
2021-06-16 18:39:03 +02:00
Kubernetes Prow Robot
a4c1698f86
Merge pull request #102866 from SergeyKanzhelev/skipMoreTestsUnlessExecProbeTimeoutSet
...
skipping more tests in case when ExecProbeTimeout set to false
2021-06-16 08:37:59 -07:00
Davanum Srinivas
7fcdbbef06
Switch to github.com/coreos/go-systemd/v22 and drop older package
...
- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-16 11:14:16 -04:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Jan Safranek
057422504a
Run volume cloning tests in the same topology segment
...
Some CSI drivers can't clone a volume into other topology segment (e.g. a
cloud availability zone). The scheduler does not know about these
restrictions and schedules pods with PVCs that clone a volume mostly
randomly.
Run all volume cloning tests in the same topology segment, if such segment
is available and has at least one schedulable node.
2021-06-16 15:41:33 +02:00
Kubernetes Prow Robot
0bc75afcf2
Merge pull request #102260 from ii/deployment-status-test
...
Write Patch, Read and Replace DeploymentStatus test +1
2021-06-16 05:50:10 -07:00
Kubernetes Prow Robot
13ccdfa726
Merge pull request #102256 from ii/statefulset-status-test
...
Write StatefulSet Patch, Read and Replace Status test +3
2021-06-16 05:49:58 -07:00
Andrew Sy Kim
480093bd1f
test/e2e/network: mark network_tiers.go tests with GCE tag
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-16 07:27:53 -04:00
Odin Ugedal
e2477171ca
Ensure images are pulled after eviction tests
2021-06-16 12:52:21 +02:00
Patrick Ohly
f298a658ae
e2e metrics: remove redundant checks around metrics tests
...
The MetricsGrabber itself knows now whether it supports each
component. The checks inside the tests therefore are redundant at best
or worse, they are wrong: for example, on a KinD cluster the check for
"has master node registered" failed and metrics grabbing from
scheduler and controller manager were skipped unnecessarily.
2021-06-16 12:02:41 +02:00
Patrick Ohly
a4c7e91b59
e2e metrics: skip tests when metrics grabbing is disabled
...
The MetricsGrabber checked whether a component supported metrics
grabbing, but then tests didn't have an API to use the result of that
check. Because metrics grabbing is an optional debug feature, tests
must skip checks that depend on metrics data or, when the entire
test is about metrics data, skip the test.
This is now supported with a special error that gets wrapped and
returned by the individual Grab functions.
2021-06-16 12:02:41 +02:00
Patrick Ohly
1d3420ca72
e2e metrics: check whether debug handlers are available
...
This can be checked by trying to retrieve log output. As in the case
of no pod found, a warning gets emitted when log retrieval fails and
metrics grabbing gets disabled.
Logging is checked instead of actual metrics retrieval because the
latter is more complex and thus more likely to fail for other reasons.
2021-06-16 12:02:41 +02:00
Patrick Ohly
5e9076da93
e2e: grab controller and scheduler metrics via port forwarding
...
The previous approach with grabbing via a nginx proxy had some
drawbacks:
- it did not work when the pods only listened on localhost (as
configured by kubeadm) and the proxy got deployed on a different
node
- starting the proxy raced with starting the pods, causing
sporadic test failures because the proxy was not set up
properly unless it saw all pods when starting the e2e.test
- the proxy was always started, whether it is needed or not
- the proxy was left running after a test and then the next
test run triggered potentially confusing messages when
it failed to create objects for the proxy
The new approach is similar to "kubectl port-forward" + "kubectl get
--raw". It uses the port forwarding feature to establish a TCP
connection via a custom dialer, then lets client-go handle TLS and
credentials.
Somehow verifying the server certificate did not work. As this
shouldn't be a big concern for E2E testing, certificate checking gets
disabled on the client side instead of investigating this further.
2021-06-16 12:02:40 +02:00
Jan Safranek
3e0269ce6e
Move common code to ensureTopologyRequirements
...
Every call to ensureTopologyRequirements has the same setup + checks.
Therefore move this common code into the call to reduce redundancy.
2021-06-16 11:24:29 +02:00
Kubernetes Prow Robot
6298e1fe6a
Merge pull request #102895 from jingxu97/june/skipmatrics
...
Skip migrated metrics for Windows CSI tests
2021-06-15 19:50:11 -07:00
Kubernetes Prow Robot
d5e37cf9b6
Merge pull request #102346 from ii/promote-daemonset-list-deletecollection
...
Promote Daemonset list and deleteCollection e2e test to Conformance +2 Endpoints
2021-06-15 19:49:59 -07:00
Kubernetes Prow Robot
100e993141
Merge pull request #102347 from ii/promote-replicaset-list-deletecollection
...
Promote Replicaset list and deleteCollection e2e test to Conformance +2 endpoints
2021-06-15 18:45:59 -07:00
Stephen Heywood
5ca47deb0a
Promote DaemonSet Status e2e test to Conformance
2021-06-16 13:08:22 +12:00
Stephen Heywood
f7d02f4d25
Promote ReplicaSet Status e2e test to Conformance
2021-06-16 12:52:56 +12:00
Jing Xu
8fb909291f
Skip migrated metrics for Windows CSI tests
...
The Windows CSI migration test are failing due to issue https://github.com/kubernetes/kubernetes/issues/102893
Change-Id: I8c4c1b376a915f1a0982a9be5e35960886cc77bf
2021-06-15 15:21:35 -07:00
Kubernetes Prow Robot
3a47ddccdf
Merge pull request #100488 from liggitt/protobuf
...
update etcd, grpc, protobuf dependencies
2021-06-15 14:49:42 -07:00
Kubernetes Prow Robot
b43e4ec89b
Merge pull request #102857 from ingvagabund/drop-kube-scheduler-insecure-port-bits
...
kube-scheduler: stop using insecure serving bits
2021-06-15 13:42:12 -07:00
Kubernetes Prow Robot
a5be86fee7
Merge pull request #101316 from ravisantoshgudimetla/add-minReadySeconds-impl
...
Add min ready seconds impl
2021-06-15 13:41:43 -07:00
Kubernetes Prow Robot
fa152d25d8
Merge pull request #102209 from odinuge/node-e2e-fix
...
Ignore first SIGINT in node-e2e tests
2021-06-15 11:31:23 -07:00
ravisantoshgudimetla
ceb1dbd2f1
statefulsets: MinReadySeconds implementation
...
https://github.com/kubernetes/kubernetes/pull/100842
introduced featuregate. This PR implements the logic
behind it.
2021-06-15 12:59:54 -04:00
Kubernetes Prow Robot
37da905c0c
Merge pull request #99310 from ankeesler/exec-plugin-interactive
...
exec credential provider: InteractiveMode support
2021-06-15 09:46:01 -07:00
Jordan Liggitt
52b629efbc
Drop use of deprecated clientv3.SetLogger
2021-06-15 09:53:06 -04:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Jordan Liggitt
ff2c614245
Switch to non-deprecated timestamppb.Now()
2021-06-15 09:53:06 -04:00
Jordan Liggitt
1134456c89
Fix CSI mock driver to get marshaleable grpc error
2021-06-15 09:53:06 -04:00
Andrew Keesler
e427d2f22a
test/cmd: kubectl and exec plugins don't fight for stdin
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-06-15 09:01:18 -04:00
Andrew Keesler
cd83d89ac9
exec credential provider: InteractiveMode support
...
The value here is that the exec plugin author can use the kubeconfig to assert
how standard input is treated with respect to the exec plugin, e.g.,
- an exec plugin author can ensure that kubectl fails if it cannot provide
standard input to an exec plugin that needs it (Always)
- an exec plugin author can ensure that an client-go process will still call an
exec plugin that prefers standard input even if standard input is not
available (IfAvailable)
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-06-15 09:01:17 -04:00
Kubernetes Prow Robot
36a19df91b
Merge pull request #102143 from wangyysde/promote-cronjob-integration
...
Promote cronjob integration test to batch/v1
2021-06-15 03:56:01 -07:00
Kubernetes Prow Robot
4e7fc6df63
Merge pull request #100369 from wzshiming/fix/restart-dbus-for-graceful-node-shutdown
...
After DBus restarts, make GracefulNodeShutdown work again
2021-06-14 20:50:00 -07:00
Kubernetes Prow Robot
94707017e1
Merge pull request #102773 from bart0sh/PR0097-run_remote-report-error
...
run_remote: improve error reporting
2021-06-14 19:00:25 -07:00
Sergey Kanzhelev
ff0f83b4b2
skipping more tests in case when ExecProbeTimeout set to false
2021-06-15 00:24:09 +00:00
Jan Chaloupka
7560f33e27
kube-scheduler: stop using insecure serving bits
2021-06-14 22:50:53 +02:00
Kubernetes Prow Robot
51cbebab1f
Merge pull request #102687 from mengjiao-liu/rename-master-to-controlplane
...
test/integration: Rename master to controlplane
2021-06-14 09:49:16 -07:00
Kubernetes Prow Robot
4ebf4a08c0
Merge pull request #100447 from JornShen/add_netpol_immutable_label_for_ns
...
add e2e test for default label selector for NS in netpol
2021-06-14 09:49:04 -07:00
Kubernetes Prow Robot
4aae71695a
Merge pull request #102366 from cndoit18/fix-time-format
...
fix(timezone): Change the time zone in the api data to UTC
2021-06-11 06:54:59 -07:00
Kubernetes Prow Robot
b57263b324
Merge pull request #102775 from jsafrane/cleanup-multivolume
...
Cleanup multivolume tests
2021-06-10 16:04:25 -07:00
Kubernetes Prow Robot
f32dd210a2
Merge pull request #102726 from giuseppe/fix-summary-test
...
test: adjust summary test for cgroup v2
2021-06-10 16:04:12 -07:00
Kubernetes Prow Robot
f008ba0fed
Merge pull request #102062 from serathius/etcd-server
...
Update Etcd server image to 3.5.0-rc.0-0
2021-06-10 08:23:27 -07:00
Kubernetes Prow Robot
8955463c17
Merge pull request #102745 from ahg-g/ahg-provider
...
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-10 07:17:39 -07:00
Kubernetes Prow Robot
521be6344e
Merge pull request #102558 from Jerry-Ge/unroll-extenders
...
Unroll ScheduleAlgorithm#Extenders() to Scheduler.go
2021-06-10 07:17:27 -07:00
Jan Safranek
29aa4c0ee8
Check content of volumes in snapshot/clone multivolume tests
...
Check that both original and its restored snapshot / clone have the same
content during the test.
2021-06-10 14:22:00 +02:00
Ed Bartosh
89284a1ba7
run_remote: improve error reporting
...
Included more info to the error message.
2021-06-10 14:34:05 +03:00
Odin Ugedal
1c8675fc02
Ensure node e2e apiserver and test suite can open enough files
...
The apiserver and test suite in node e2e runs under the sshd daemon
that can limit the amount of files it can open. Set a higher limit
to address the issues.
Signed-off-by: Odin Ugedal <odin@uged.al>
2021-06-10 13:12:03 +02:00
Jan Safranek
68f139548b
Remove unused parameters from TestConcurrentAccessToRelatedVolumes
2021-06-10 10:41:47 +02:00
Jerry-Ge
110c39ef60
unroll extenders
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Co-authored-by: Huang-Wei <wei.huang1@ibm.com>
2021-06-10 08:31:44 +08:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -04:00
Kubernetes Prow Robot
90132378f0
Merge pull request #102710 from freehan/net-tier-fix
...
fix net-tiers e2e test
2021-06-09 13:35:27 -07:00
Kubernetes Prow Robot
4f854e39f2
Merge pull request #102689 from cpanato/go1165
...
[go1.16] Update to go1.16.5
2021-06-09 12:31:27 -07:00
Minhan Xia
a84b91f08c
fix net-tiers e2e test
2021-06-09 11:17:37 -07:00
Marek Siarkowicz
12447bc803
Upgrade etcd server version to 3.5.0-rc.0
2021-06-09 17:00:05 +02:00
atiratree
c882437f22
e2e test: bump ProgressDeadlineSeconds in Deployment iterative rollouts
...
align it with WaitForDeploymentComplete timeout to give the Deployment a chance to complete on contended environments
2021-06-09 15:24:30 +02:00
Giuseppe Scrivano
c98306a09e
test: adjust summary test for cgroup v2
...
on cgroup v2 the reported metric is recursive for the entire and it
includes all the sub cgroups.
Adjust the test accordingly.
Closes: https://github.com/kubernetes/kubernetes/issues/99230
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-06-09 14:04:06 +02:00
Kubernetes Prow Robot
a3abd06ad5
Merge pull request #102690 from tsmetana/fix-e2e-csi-mock-pv-leak
...
CSI e2e: stop leaking pvs in CSI mock snapshot test
2021-06-09 03:05:47 -07:00
atiratree
9d636fea04
e2e test: fix Pause in Deployment iterative rollouts
2021-06-09 10:28:35 +02:00
Odin Ugedal
c0c9f1f318
Ignore first SIGINT in node-e2e tests
...
Node e2e tests exceeding the global timeout are sent SIGINT, resulting
in no artifacts or console output. This will ignore the first SIGINT,
and since all children processes are being stopped due to SIGINT, we can
clean up before exiting.
2021-06-09 10:12:05 +02:00
Jonathan Dobson
484eb01822
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-08 13:57:35 -06:00
Patrick Ohly
528baa09f6
e2e storage: disable health-monitor controller in hostpath deployment
...
This reverts commit
c15fd76ee9
. Most (all?) of the hostpath
tests and several other tests started to fail again in
gce-scale-master-correctness after re-enabling the controller. This
shows that it was not just the obsolete agent which causes scalability
problems, but also the controller.
It has to be disabled until the scalability problems are addressed.
2021-06-08 20:27:05 +02:00
Kubernetes Prow Robot
cc7721362c
Merge pull request #102665 from gnufied/add-online-expansion-cap
...
Add explicit capability for online volume expansion
2021-06-08 08:33:36 -07:00
Kubernetes Prow Robot
f52d1bbd81
Merge pull request #102598 from dims/drop-viper-stuff-in-test
...
Drop `viper-config` config for tests and get rid of viper dependency
2021-06-08 08:33:24 -07:00
Tomas Smetana
3968ee532d
CSI e2e: stop leaking pvs in CSI mock snapshot test
2021-06-08 14:14:44 +02:00
Carlos Panato
1524526991
[go1.16] Update to go1.16.5
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-06-08 14:11:32 +02:00
Mengjiao Liu
0fcd3c951c
test/integration: Rename master to controlplane or apiserver
2021-06-08 17:26:57 +08:00
Mengjiao Liu
257b494478
test/integration: Rename masterConfig to instanceConfig
2021-06-08 17:21:47 +08:00
Mengjiao Liu
ac5535c949
test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions
2021-06-08 16:58:46 +08:00
Dave Chen
8d0936b743
Check empty zone after the validation of providers
...
This make sure the testcase that cannot run locally will be skipped
instead of throwing the misleading failure message.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-06-08 13:51:21 +08:00
jornshen
f22b07d8b4
add e2e test for immutable label selector in netpol
2021-06-08 09:52:12 +08:00
Kubernetes Prow Robot
588d984407
Merge pull request #102538 from jsafrane/test-xfs
...
Add e2e test for a volume + its clone used on the same node
2021-06-07 17:00:03 -07:00
Kubernetes Prow Robot
d59c06541b
Merge pull request #102627 from pohly/enable-health-check-controller
...
e2e storage: enable health-check controller in hostpath deployment
2021-06-07 13:41:08 -07:00
Hemant Kumar
95c8b02096
Add explicit capability for online volume expansion
2021-06-07 13:43:18 -04:00
Jan Safranek
28511e82ad
Add e2e test for a volume + its clone used on the same node
...
CSI driver need to pass special mount opts to XFS filesystem to be able to
mount a volume + its clone or its restored snapshot on the same node. Add a
test to exhibit this behavior.
The test is optional for now, giving CSI drivers time to fix it.
2021-06-07 18:29:47 +02:00
Patrick Ohly
2067b69b92
storage e2e: extend timeouts for subpath restart tests
...
These tests have been flaky for a long time, with a relatively low
rate of flakes. Nonetheless it seems better to extend the timeouts to
reduce the flakiness.
2021-06-07 11:39:17 +02:00
pacoxu
64946cd50d
fix flake integration rotation via informer
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-07 15:44:53 +08:00
Kubernetes Prow Robot
9d27400fe2
Merge pull request #102040 from njuptlzf/fix_conversion
...
Fix auditing failed of request: encoding failed
2021-06-05 19:58:38 -07:00
njuptlzf
7b0fbb7292
add audit log test cases for cross-group subresource
2021-06-06 09:52:05 +08:00
Kubernetes Prow Robot
a52571144f
Merge pull request #102597 from mengjiao-liu/rename-masterConfig
...
test/integration: Rename masterConfig to controlPlaneConfig
2021-06-05 10:41:05 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
...
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Patrick Ohly
c15fd76ee9
e2e storage: enable health-check controller in hostpath deployment
...
It was disabled together with the agent to avoid test failures in
gce-master-scale-correctness (https://github.com/kubernetes/kubernetes/issues/102452 ). That
solved the problem, but we still need to check whether the controller
alone works.
2021-06-05 18:16:19 +02:00
chymy
b250a985d2
Fix misspelling and misgrammar
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-06-05 05:02:17 -04:00
Davanum Srinivas
d9f82f7eba
Drop viper stuff in test/
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-04 09:38:22 -04:00
wangyysde
558bdd18aa
Update cronjob integration test to batch/v1
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-06-04 21:04:21 +08:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Kubernetes Prow Robot
a4e5239bdc
Merge pull request #102591 from pohly/disable-health-monitor
...
storage e2e: disable health check containers
2021-06-04 05:37:26 -07:00
Benjamin Elder
45179bb989
update debian-iptables to v1.6.2
...
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Patrick Ohly
c26c423b1c
storage e2e: disable health check containers
...
They are not needed for any of the tests and may be causing too much
overhead (see
https://github.com/kubernetes/kubernetes/issues/102452#issuecomment-854452816 ).
We already disabled them earlier and then re-enabled them again
because it wasn't clear how much overhead they were causing. A recent
change in how the sidecars get
deployed (https://github.com/kubernetes/kubernetes/pull/102282 ) seems
to have made the situation worse again. There's no logical explanation
for that yet, though.
(cherry picked from commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f)
2021-06-04 09:57:02 +02:00
Kubernetes Prow Robot
271f54632b
Merge pull request #102533 from aojea/lb_flakes
...
Lb flakes
2021-06-03 20:53:38 -07:00
Kubernetes Prow Robot
4acbd1d7c8
Merge pull request #102420 from m14815/commit-21.5.2
...
Error message should not be capitalized.
2021-06-03 19:39:25 -07:00
Kubernetes Prow Robot
1d19db80a8
Merge pull request #102421 from m14815/commit-21.5.1
...
Fix a grammar error in doc
2021-06-03 18:33:26 -07:00
Kubernetes Prow Robot
9f7c9c322f
Merge pull request #101738 from matthyx/deflake-startupprobe
...
fix manual trigger of readinessProbe on startupProbe success
2021-06-03 14:34:42 -07:00
Adhityaa Chandrasekar
ba708e5fc9
graduate SuspendJob to beta
...
Also adds a label to two existing Job metrics.
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-06-03 18:48:32 +00:00
David Eads
84590fe27c
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-03 13:54:35 -04:00
Mengjiao Liu
ab45d5e496
part of master to controlplane in test/integration
...
SetMaster -> SetAPIServer
2021-06-04 00:08:13 +08:00
cndoit18
51717256f9
fix(timezone): the timezone is standardized to UTC
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2021-06-03 23:55:39 +08:00
Mengjiao Liu
77b5ad2fb0
Part of master to controlplane in test/integration(1.22)
2021-06-03 18:29:05 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Kubernetes Prow Robot
2e12da1ce0
Merge pull request #102539 from liggitt/websocket-service-watch
...
Fix closing of decorated watcher channel on timeout
2021-06-02 16:15:23 -07:00
Kubernetes Prow Robot
babe9cd4a7
Merge pull request #102526 from pohly/csi-driver-pod-events
...
storage e2e: capture driver pod events
2021-06-02 16:15:09 -07:00
Antonio Ojea
b8edcd3bb3
add loadbalancer name to ESIPP tests so regex pick them
2021-06-02 22:38:12 +02:00
Antonio Ojea
8e2eeffa79
PokeHTTP default timeout to avoid hanging connections
2021-06-02 22:38:12 +02:00
Antonio Ojea
21073e3b34
loadbalancer outer poll loops should have a longer timeout that inner loop
2021-06-02 22:38:08 +02:00
Antonio Ojea
27e20e226e
e2e lb use same variable for endpoint path
2021-06-02 22:24:10 +02:00
Jordan Liggitt
bd2d63dd57
Fix closing of decorated watcher channel on timeout
2021-06-02 15:25:31 -04:00
Kubernetes Prow Robot
f98e9caa77
Merge pull request #102509 from danwinship/sctp-is-not-tcp
...
Clarify and split up the "not actually SCTP" SCTP NetworkPolicy test
2021-06-02 09:46:23 -07:00
Patrick Ohly
53af002742
storage e2e: capture driver pod changes, including all events
...
As seen in https://github.com/kubernetes/kubernetes/issues/102452 , we
currently don't have pod events for the CSI driver pods because of the
different namespace and would need them to determine whether the
driver gets evicted.
Previously, only changes of the pods where logged. Perhaps even more
interesting are events in the namespace.
2021-06-02 17:37:03 +02:00
Dan Winship
211e974722
Clarify and split up the "not actually SCTP" SCTP NetworkPolicy test
...
These tests *do* apply to plugins that don't support SCTP.
2021-06-02 09:10:25 -04:00
Dan Winship
4b0d0d6fc7
Fix spurious Feature tags on some NetworkPolicy tests
...
The "[Feature:SCTP]" tag was needed on "should not allow access by TCP
when a policy specifies only SCTP" back when SCTP was alpha, because
it wasn't possible to create a policy that even mentioned SCTP without
enabling the feature gate. This no longer applies, and the tag was
removed from the original copy of network_policy.go, but accidentally
got left behind in the netpol/ version.
Likewise, the newly-added "should not allow access by TCP when a
policy specifies only UDP" got tagged "[Feature:UDP]", but this was
never necessary, and is inconsistent with other UDP tests anyway.
Similarly, we need "[Feature:SCTPConnectivity]" on tests that make
SCTP connections, because that functionality is not available in all
clusters, but "[Feature:UDPConnectivity]" is unnecessary and
inconsistent.
2021-06-02 09:10:25 -04:00
Anish Ramasekar
f3f59d420a
remove LinuxOnly tags for subset of dual-stack tests
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-06-01 16:54:54 +00:00
Kubernetes Prow Robot
037e7f8f37
Merge pull request #102279 from mengjiao-liu/update-NewMasterConfig
...
Part5: master to controlplane in test/integration(1.22)
2021-06-01 08:22:28 -07:00
Kubernetes Prow Robot
c4df930252
Merge pull request #102292 from tsmetana/fix-local-pv-e2e-pv-leak
...
Local PV e2e: fix leaked local volumes
2021-05-31 08:28:26 -07:00
Claudiu Belu
c4e644406e
test images: Adds windows-nanoserver image
...
This image is the same as "gcr.io/authenticated-image-pulling/windows-nanoserver:v1"
that is used for the "should be able to pull from private registry with secret"
test on Windows.
Adding this image will allow other people to build and push their own
images to their own private registries.
2021-05-29 06:23:33 -07:00
Kubernetes Prow Robot
e6136c0303
Merge pull request #102417 from m14815/commit-21.5.5
...
Uniform output string.
2021-05-28 20:28:24 -07:00
Kubernetes Prow Robot
bc8acbc43e
Merge pull request #102328 from lentzi90/update-cni-plugins
...
Update CNI plugins v0.9.1
2021-05-28 10:16:46 -07:00
maruiyan
39d7404961
Uniform output string.
2021-05-28 16:45:12 +08:00
maruiyan
47c8c48e2c
Remove Redundant alias
2021-05-28 16:34:37 +08:00
Odin Ugedal
d5cb5065c4
Skip node container manager test on systemd
2021-05-28 10:24:24 +02:00
Odin Ugedal
2787e8c18c
Kill container runtime with SIGKILL
...
Make sure to use SIGKILL so that the service is killed in a dirty way.
In case container runtime use "Restart=on-abnormal" in systemd, killing
with SIGTERM will not restart the service, as the kill looks intentional
and clean. This is used by cri-o by default.
2021-05-28 10:16:23 +02:00
maruiyan
1b6cf83cf4
Error message should not be capitalized.
2021-05-28 16:00:05 +08:00
Mengjiao Liu
d3f92af74f
Part of master to controlplane in test/integration
...
NewMasterConfig -> NewControlPlaneConfig
2021-05-28 14:39:52 +08:00
maruiyan
02bade4644
Fix a grammar error in doc
2021-05-28 11:48:29 +08:00
Kubernetes Prow Robot
fc9aacecca
Merge pull request #102272 from mengjiao-liu/term-NewIntegrationTestMasterConfig
...
Part2: master to controlplane in test/integration(1.22)
2021-05-27 19:46:23 -07:00
Kubernetes Prow Robot
6bac142190
Merge pull request #102138 from damemi/balance-pods-parallel
...
(scheduler e2e) Create balanced pods in parallel
2021-05-27 14:04:23 -07:00
Mike Dame
36cdb72eb6
(scheduler e2e) Create balanced pods in parallel
2021-05-27 16:01:18 -04:00
Kubernetes Prow Robot
e8760b95bb
Merge pull request #102336 from SataQiu/remove-podpreset
...
cleanup PodPreset testdata
2021-05-27 11:36:23 -07:00
Kubernetes Prow Robot
a5b117fab4
Merge pull request #102363 from mengjiao-liu/promote-cronjob-batchv1-storage
...
CronJob: switch storage version to batch/v1 in 1.22
2021-05-27 10:06:23 -07:00
Sascha Grunert
0ed0714f8c
Simplify kube-cross dependency handling
...
We can indirectly retrieve the kube-cross version from the
`build/build-image/cross/VERSION` for the sample-apiserver. This allows
us to simplify the handling in `build/dependencies.yaml` as well as
the required approval (via `OWNERS`) if the kube-cross version changes.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:46 +02:00
Kubernetes Prow Robot
6db6c80656
Merge pull request #102364 from saschagrunert/cross
...
Update kube-cross to v1.16.4-2
2021-05-27 05:50:24 -07:00
Kubernetes Prow Robot
c495744436
Merge pull request #101960 from knight42/fix/deflake-metrics-proxy
...
Deflake tests that need to grab metrics from controller-manager or scheduler
2021-05-27 03:40:23 -07:00
Sascha Grunert
ae4db677f4
Update kube-cross to v1.16.4-2
...
This patch bumps kube-cross to the latest release.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 12:18:28 +02:00
Mengjiao Liu
c694b9f761
CronJob: switch storage version to batch/v1 in 1.22
2021-05-27 18:07:16 +08:00
Jian Zeng
781c65a40c
fix: skip pods with empty ip
2021-05-27 16:06:34 +08:00
Kubernetes Prow Robot
29e5e4df4b
Merge pull request #99777 from JornShen/add_e2e_api_validate_endport
...
add API e2e test for port ranges of netpolices
2021-05-26 19:34:23 -07:00
Kubernetes Prow Robot
31f6cca256
Merge pull request #102282 from pohly/csi-driver-update
...
storage e2e: use csi-driver-host-path v1.7.2 in single pod
2021-05-26 13:46:27 -07:00
Kubernetes Prow Robot
7cfdc089cc
Merge pull request #102212 from mattcary/csidriver
...
Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc)
2021-05-26 13:46:19 -07:00
Kubernetes Prow Robot
3e9c865d9d
Merge pull request #100531 from sjenning/storage-e2e-reduce-pod-count
...
e2e: reduce pods used in shared local pv test
2021-05-26 12:07:37 -07:00
Kubernetes Prow Robot
02d0878690
Merge pull request #100435 from lauchokyip/fixSort
...
Fixed sort-by not sorting Resources as expected
2021-05-26 09:29:38 -07:00
Kubernetes Prow Robot
494dc731d7
Merge pull request #98077 from jayunit100/jay-netpol-win
...
NetworkPolicy E2E enablement for Windows
2021-05-26 06:35:21 -07:00
jornshen
90e215dfd2
add api e2e test for port ranges of netpolices
2021-05-26 20:00:11 +08:00
SataQiu
9cfbf06225
cleanup PodPreset testdata
2021-05-26 19:57:29 +08:00
Mohamed chiheb Ben jemaa
60b719b98b
102295: Add Log statement in exec_util.go for ClientSet Creation
2021-05-26 12:37:26 +01:00
Kubernetes Prow Robot
efd7df5c99
Merge pull request #102301 from liggitt/psp-sa-group-e2e
...
Grant PSP permissions to all serviceaccounts in e2e, not just default
2021-05-26 01:43:33 -07:00
Lennart Jern
507710b50f
Update CNI plugins v0.9.1
...
ref: https://github.com/containernetworking/plugins/releases/tag/v0.9.1
Signed-off-by: Lennart Jern <lennart.jern@est.tech>
2021-05-26 11:02:04 +03:00
Patrick Ohly
4acb6a865c
storage e2e: use csi-driver-host-path v1.7.2 in single pod
...
The new default deployment in that release puts sidecars into the same
pod as the driver. This is expected to reduce load during testing.
2021-05-26 09:07:46 +02:00
Stephen Heywood
e89d2a7779
Promote Daemonset list and deleteCollection e2e test to Conformance
2021-05-26 14:30:43 +12:00
Stephen Heywood
5e4c59ba99
Promote Replicaset list and deleteCollection e2e test to Conformance
2021-05-26 14:24:39 +12:00
Chok Yip Lau
e43e9696cc
Fixed sort-by not sorting Resources as expected
2021-05-25 21:37:52 -04:00
jay vyas
8651fcb25a
Implement a windows Netpol NewModel
2021-05-25 21:08:29 -04:00
Matthew Cary
df4c34e771
Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc)
...
Change-Id: I51ddf0014dcfe476495e324ee33aa658e7199477
2021-05-25 23:50:15 +00:00
Kubernetes Prow Robot
91200bac44
Merge pull request #102252 from smarterclayton/pod_termination
...
e2e: Flag questionable durations in container status on termination
2021-05-25 15:57:27 -07:00
Kubernetes Prow Robot
b0e9cdb298
Merge pull request #101853 from sanposhiho/scheduler_perf/fix/error-handling-correctly
...
scheduler_perf: correct error handling
2021-05-25 15:57:15 -07:00
Jordan Liggitt
f871475a5e
Grant PSP permissions to all serviceaccounts in e2e, not just default
2021-05-25 17:49:21 -04:00
Marko Mudrinić
3bcc15e19d
Update debian-iptables to buster-v1.6.1
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:03 +02:00
Kubernetes Prow Robot
1b4cfdb445
Merge pull request #102291 from bart0sh/PR0096-e2e-hugepages-delete-pod
...
e2e: hugepages: delete test pod after the test
2021-05-25 10:46:42 -07:00
Kubernetes Prow Robot
548f16dbbb
Merge pull request #101992 from zshihang/bound
...
BoundServiceAccountTokenVolume ga
2021-05-25 07:52:22 -07:00
Tomas Smetana
2c79f52de9
Local PV e2e: fix leaked local volumes
2021-05-25 16:24:30 +02:00
Ed Bartosh
38c56883f1
e2e: hugepages: delete test pod after the test
...
Current test assumes that test pod is deleted when the test
namespace is deleted. However, namespace deletion is an asynchronous
operation. The pod may still be running and allocating hugepages
resources when next test case creates another pod that requests
the same hugepages resources. This can cause kubelet to fail the test
pod with this kind of error:
OutOfhugepages-2Mi: Node didn't have enough resource: hugepages-2Mi
requested: 6291456, used: 6291456, capacity: 10485760
Explicitly deleting test pod should fix this issue.
2021-05-25 17:09:55 +03:00
Kubernetes Prow Robot
7229ea343d
Merge pull request #100292 from saschagrunert/pause-3.5
...
Update pause image to v3.5
2021-05-25 06:24:22 -07:00
Kubernetes Prow Robot
b96c86f1b9
Merge pull request #102012 from alculquicondor/enable-indexed-job-test
...
Remove feature label from Indexed Job E2E test
2021-05-25 00:36:22 -07:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
...
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
Kubernetes Prow Robot
ae381b6107
Merge pull request #102021 from huffmanca/add-sleep-to-snapshotting-tests
...
Update snapshotting tests to use volumeHandle for CSI volumes when waiting for NodeUnpublish
2021-05-24 21:49:21 -07:00
Kubernetes Prow Robot
f545438bd3
Merge pull request #101587 from nixpanic/in-tree/block-metrics
...
Fix a panic for in-tree drivers that partialy support Block volume metrics
2021-05-24 16:18:47 -07:00
Kubernetes Prow Robot
943e0c2f91
Merge pull request #101394 from Huang-Wei/dynamic-events-handler
...
sched: dynamic event handlers registration
2021-05-24 16:18:40 -07:00
Kubernetes Prow Robot
d036dd20e1
Merge pull request #100507 from ii/daemonset-status-test
...
Write AppsV1DaemonSetStatus test - +3 endpoints
2021-05-24 16:18:33 -07:00
Kubernetes Prow Robot
851d37ed40
Merge pull request #102238 from TeweiLuo/fix_repd_tests
...
Fix GCE regional PD tests.
2021-05-24 13:39:05 -07:00
Kubernetes Prow Robot
9f1ffca06b
Merge pull request #101260 from ii/replicaset-status-test
...
Write Read, Patch & Replace ReplicaSet Status +3 endpoints
2021-05-24 13:38:20 -07:00
Christian Huffman
79ce0632fd
Corrects node wait to search for volumeHandle
2021-05-24 15:28:34 -04:00
Peri Thompson
69019a03d3
Add netpol tests for windows
...
Co-authored-by: Jay Vyas <jvyas@vmware.com>
2021-05-24 13:28:04 -04:00
Clayton Coleman
2d361d4306
e2e: Flag questionable durations in container status on termination
...
The e2e that create/deletes pods rapidly and verifies their status
was reporting a very long timing:
timings total=12.211347385s t=491ms run=2s execute=450402h8m25s
in a few scenarios. Add error checks that clarify when this happens
and why. Report p50/75/90/99 latencies on teardown as observed from
the test for baseline for future changes.
2021-05-24 11:48:42 -04:00
tewei.luo
396bd37a5f
Fix GCE regional PD tests.
...
Need to set storage class returned by the apiserver which contains
the "Name" field derived from "GenerateName".
2021-05-24 04:12:20 +00:00
Kubernetes Prow Robot
d8f9e4587a
Merge pull request #101742 from ravisantoshgudimetla/promote-maxSurge-beta
...
Promote DS MaxSurge to beta
2021-05-23 04:33:38 -07:00
Kubernetes Prow Robot
d7903669c4
Merge pull request #96299 from ggriffiths/snapshot_controller_metrics_e2e_tests
...
Add Snapshot Controller e2e metric tests
2021-05-23 03:33:37 -07:00
Kubernetes Prow Robot
916ed1d3ad
Merge pull request #100543 from chaitanyabandi/variable-expansion
...
Don't replace pod annotations in variable expansion test
2021-05-21 17:43:37 -07:00
Kubernetes Prow Robot
661b76f864
Merge pull request #102216 from enj/enj/t/exec_global_cache
...
Add integration test for exec plugin global cache
2021-05-21 16:41:37 -07:00
Wei Huang
1b3a124ba6
Scheduler now registers event handlers dynamically
...
- move clusterEventMap to Configurator
- dynamic event handlers registration for core API resources
- dynamic event handlers registration for custom resources
2021-05-21 13:47:06 -07:00
Chaitanya Bandi
0681a44672
Don't replace pod annotations in variable expansion test
...
This change fixes the "Variable Expansion should verify that a failing subpath
expansion can be modified during the lifecycle of a container" conformance test
where the annotations are replaced with those used by the test, instead of
appending them.
This may cause undesirable side-effects with other controllers that may be
using pod annotations.
2021-05-21 13:38:04 -07:00
Monis Khan
a45ffd0771
Add integration test for exec plugin global cache
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-21 16:17:32 -04:00
Andrew Keesler
9dee2b95c2
exec credential provider: don't run exec plugin with basic auth
...
If a user specifies basic auth, then apply the same short circuit logic
that we do for bearer tokens (see comment).
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 13:51:03 -04:00
Kubernetes Prow Robot
164ba3ad7d
Merge pull request #102152 from ankeesler/exec-plugin-integration-test
...
test/integration/client: test exec calls metric
2021-05-21 09:42:10 -07:00
Andrew Keesler
584acb2cfe
test/integration/client: test exec calls metric
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 09:20:47 -04:00
Kubernetes Prow Robot
fed3a4520d
Merge pull request #102089 from ardaguclu/test-node-authn-ipv6-formating
...
Add Node IP IPv6 formatting in NodeAuthenticator tests
2021-05-21 05:10:46 -07:00
Grant Griffiths
564e531aa7
Add Snapshot Controller e2e metric tests
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-05-20 23:29:23 -07:00
Stephen Heywood
683138f911
Create e2e daemon set status lifecycle test
...
e2e test validates the following 3 extra endpoints
- replaceAppsV1NamespacedDaemonSetStatus
- readAppsV1NamespacedDaemonSetStatus
- patchAppsV1NamespacedDaemonSetStatus
2021-05-21 11:58:11 +12:00
Stephen Heywood
31f30383d8
Create e2e Replicaset status lifecycle test
...
e2e test validates the following 3 extra endpoints
- replaceAppsV1NamespacedReplicaSetStatus
- readAppsV1NamespacedReplicaSetStatus
- patchAppsV1NamespacedReplicaSetStatus
2021-05-21 10:45:38 +12:00
Kubernetes Prow Robot
6e4e32985a
Merge pull request #99576 from marosset/windows-host-process-work
...
Windows host process work
2021-05-20 14:16:15 -07:00
Aldo Culquicondor
13f10a323c
Remove feature label from Indexed Job E2E test
2021-05-20 20:35:32 +00:00
Kubernetes Prow Robot
44cffa1ef7
Merge pull request #102157 from neolit123/1.22-remove-cluster-status-from-e2e
...
kubeadm: remove e2e test for ClusterStatus
2021-05-20 13:14:28 -07:00
Kubernetes Prow Robot
77e769b040
Merge pull request #100754 from liggitt/warning-ga
...
Graduate WarningHeader feature to GA
2021-05-20 13:14:16 -07:00
Niels de Vos
fd3bbf6f9e
Add e2e testing for Block volume metrics
...
The in-tree drivers support gathering the capacity of the Block volume.
Make sure that Kubelet exposes these for the matching PVCs.
2021-05-20 16:37:12 +02:00
Kubernetes Prow Robot
29e4fdab4d
Merge pull request #102167 from aojea/removekubemci
...
remove ingress kubemci tests from e2e
2021-05-20 05:49:04 -07:00
Kubernetes Prow Robot
584fbd23d6
Merge pull request #101889 from pacoxu/add-e2e-log-cleanup
...
e2e: add log for running which cleanup action
2021-05-20 03:47:04 -07:00
Kubernetes Prow Robot
f4f238e038
Merge pull request #101601 from AliceZhang2016/indexed-job-stable-hostname
...
specify pod name and hostname in indexed job
2021-05-20 01:41:05 -07:00
Antonio Ojea
da9ec0d4c7
remove ingress kubemci tests from e2e
2021-05-20 10:18:43 +02:00
Kubernetes Prow Robot
254c77bb89
Merge pull request #101612 from ikeeip/tests_e2e_resolve_todo_1
...
cleanup: remove TODO at e2e scheduling preemption test
2021-05-19 20:49:04 -07:00
Kubernetes Prow Robot
f01c9e8683
Merge pull request #102030 from aojea/ingress_beta
...
bump ingress e2e tests to v1
2021-05-19 17:23:17 -07:00
marosset
ae424160bd
Adding e2e test for HostProcess containers on Windows
2021-05-19 16:24:14 -07:00
Kubernetes Prow Robot
3cc0ca0988
Merge pull request #102129 from SataQiu/clean-critical-pod-annotation
...
Cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
2021-05-19 15:25:31 -07:00
Kubernetes Prow Robot
4e0245389f
Merge pull request #101995 from ii/Riaankl-daemonset-list-deletecollection
...
Write List and DeleteCollection DaemonSet Test +2 endpoints
2021-05-19 15:25:15 -07:00
Kubernetes Prow Robot
8709f18356
Merge pull request #101382 from ii/Riaankl-update-ineligible_endpoints.yaml
...
Add NetworkPolicy Endpoint to Ineligible endpoints
2021-05-19 15:24:52 -07:00
Lubomir I. Ivanov
6d6c6cfb0d
kubeadm: remove e2e test for ClusterStatus
...
Remove the e2e test for ClusterStatus in the kubeadm suite.
The object was deprecated in a previous release and is no longer
written by kubeadm v1.22 in the kubeadm-config config map.
2021-05-20 01:15:05 +03:00
Kubernetes Prow Robot
43c39ea7da
Merge pull request #101261 from ii/Riaankl-replicaset-list-deletecollection
...
Write ReplicaSet List and DeleteCollection test +2 endpoints
2021-05-19 14:22:50 -07:00
ravisantoshgudimetla
040e9c8b51
Promote DS MaxSurge to beta
2021-05-19 16:12:52 -04:00
Mengxue Zhang
e64e34e029
specify pod name and hostname in indexed job
2021-05-19 15:30:13 +00:00
xing-yang
e3cc96e002
Update test/e2e/framework/volume owners file
2021-05-19 13:43:21 +00:00
Antonio Ojea
5ffed5133d
tag ingress multicluster test and adapt to v1
2021-05-19 13:28:22 +02:00
Antonio Ojea
c822a1f2c6
gcp ingress only supports ImplementationSpecific path type
2021-05-19 11:48:01 +02:00
SataQiu
ff18e391e9
cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
2021-05-19 17:46:35 +08:00
Antonio Ojea
7b38012e74
add pathtype to scale ingress
2021-05-19 11:41:49 +02:00
Konstantin Misyutin
351f4e9c9c
cleanup: remove TODO at e2e scheduling preemption test
...
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-05-19 17:34:50 +08:00
Antonio Ojea
fa56d296e0
e2e ingress don't set class if empty
2021-05-19 10:23:49 +02:00
Antonio Ojea
0839ed41ac
mark test that restart kcm as disruptive
2021-05-19 09:31:57 +02:00
Kubernetes Prow Robot
80093635c6
Merge pull request #102109 from mauriciopoppe/remove-v1beta1-test-volume-provisioning
...
Remove v1beta1 volume provisioning test
2021-05-18 23:33:20 -07:00
Stephen Heywood
3c1576ae57
Create e2e Deployment status lifecycle test
...
e2e test validates the following 3 endpoints
- readAppsV1NamespacedDeploymentStatus
- replaceAppsV1NamespacedDeploymentStatus
- patchAppsV1NamespacedDeploymentStatus
2021-05-19 16:34:10 +12:00
Stephen Heywood
bcfa3604a2
Create e2e test for Statefulset Status endpoints
...
e2e test validates the following 3 endpoints
- patchAppsV1NamespacedStatefulSetStatus
- readAppsV1NamespacedStatefulSetStatus
- replaceAppsV1NamespacedStatefulSetStatus
2021-05-19 16:17:19 +12:00
Shiming Zhang
990d0949c4
Add test, after restart dbus, should be able to gracefully shutdown
2021-05-19 10:06:06 +08:00
Zihong Zheng
903c2301cf
Update dns autoscaler test to look at node allocatable instead of capacity
2021-05-18 16:33:49 -07:00
Antonio Ojea
8f5020a3aa
skip nginx controller e2e tests
2021-05-18 22:49:07 +02:00
Mauricio Poppe
88165b02ba
remove v1beta1 volume provisioning test
2021-05-18 20:46:57 +00:00
Antonio Ojea
7d7179ebfd
bump e2e test to ingress v1
2021-05-18 21:42:48 +02:00
Kubernetes Prow Robot
1bd66f0301
Merge pull request #100859 from lack/relax_mount_propagation_e2e_test
...
Position e2e Mount Propagation test to be kubelet-specific
2021-05-18 09:44:49 -07:00
Jordan Liggitt
4b45d0d921
Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94"
...
This reverts commit b1b06fe0a4
, reversing
changes made to 382a33986b
.
2021-05-18 09:13:47 -04:00
Kubernetes Prow Robot
7ccd90e7d7
Merge pull request #102004 from chendave/ceph_rbd
...
Fix the ceph deploy for e2e testing for ARM64
2021-05-18 05:53:31 -07:00
Arda Güçlü
0965cad63a
Use builtin JoinHostPort function
2021-05-18 14:49:02 +03:00
Arda Güçlü
2ae12e6345
Add Node IP IPv6 formatting in NodeAuthenticator tests
2021-05-18 11:47:15 +03:00
Kubernetes Prow Robot
5c58620118
Merge pull request #101726 from ankeesler/exec-plugin-integration-test
...
test/integration/client: add TestExecPluginRotationViaInformer
2021-05-18 01:29:30 -07:00
Dave Chen
f95a56a99b
Fix the ceph deploy for e2e testing for ARM64
...
- ceph deploy on ARM64 depends on "libec_jerasure_neon.so" which is not included
in `ceph-base` package in fedora26 distro, updated the distro to fedora33 to
fix the issue
```
sh ./mon.sh "$(hostname -i)"
/usr/lib64/ceph/erasure-code/libec_jerasure_neon.so: cannot open shared object file
```
- default pool `rbd` is not created on arm64, need to created this pool manually.
```
rbd import --image-feature layering block foo
rbd: error opening default pool 'rbd'
```
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-05-18 16:01:05 +08:00
Andrew Keesler
a14cd8e3de
test/integration/client: add TestExecPluginRotationViaInformer
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-17 17:22:09 -04:00
Kubernetes Prow Robot
4d4b530114
Merge pull request #101903 from cynepco3hahue/e2e_remote_kernel_args
...
e2e node: make possible to add additional kernel arguments
2021-05-17 13:39:59 -07:00
Kubernetes Prow Robot
b1b06fe0a4
Merge pull request #101888 from kolyshkin/update-runc-rc94
...
vendor: bump runc to rc94
2021-05-17 09:43:30 -07:00
Peri Thompson
f01cc7f09a
replace hardcoded docker image
2021-05-17 14:18:26 +01:00
pacoxu
8255288b20
e2e: add log for running which cleanup action
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-16 15:50:43 +08:00
Jian Zeng
32c14da902
fix(metrics-proxy): wait for enough component pods to show up first
...
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-15 22:07:05 +08:00
Kubernetes Prow Robot
49a60be8ab
Merge pull request #101496 from ahg-g/ahg-nss-beta
...
Graduate pod affinity NamespaceSelector to Beta
2021-05-14 08:48:04 -07:00
Abdullah Gharaibeh
e49d1144d5
graduate pod affinity NamespaceSelector to Beta
2021-05-14 10:44:57 -04:00
vaibhav
a1e56b4f6d
Update the typo in values of pods in performance-config.yaml
2021-05-14 17:16:48 +05:30
Shihang Zhang
88b31814f4
BoundServiceAccountTokenVolume ga
2021-05-13 20:45:47 -07:00
Kubernetes Prow Robot
8abdf8cf45
Merge pull request #99840 from deads2k/try-beta
...
update to handle beta removals in 1.22
2021-05-13 16:42:05 -07:00
Kubernetes Prow Robot
9739592e84
Merge pull request #101895 from pacoxu/scheduler-proxy-port-wait
...
e2e: waiting for scheduler pod to expose metrics once
2021-05-13 09:34:38 -07:00
David Eads
d6a4afa5b8
update integration tests to reflect the kube version to stop serving removed APIs
2021-05-13 12:04:15 -04:00
Kubernetes Prow Robot
b7e50cd60c
Merge pull request #101931 from ii/update-current-term-period
...
Increase TerminationGracePeriodSeconds to 1 second
2021-05-13 07:12:26 -07:00
Kubernetes Prow Robot
f35e587087
Merge pull request #99899 from hasheddan/update-node-e2e-note
...
Update dependencies in local node test runner
2021-05-13 03:54:25 -07:00
pacoxu
c496b1d335
e2e: waiting for scheduler pod to expose metrics once
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-13 16:54:35 +08:00
Kubernetes Prow Robot
1c8f2c3d77
Merge pull request #100753 from johnSchnake/newCustomRegistries
...
Clean up and make more image handling consistent
2021-05-12 22:10:24 -07:00
Kubernetes Prow Robot
e6e6536c1f
Merge pull request #101950 from liggitt/watch-order
...
Make watch order conformance test reliable
2021-05-12 17:26:24 -07:00
Jordan Liggitt
630573adac
Make watch order conformance test reliable
2021-05-12 08:38:01 -04:00
Stephen Heywood
4e3d006001
Increase TerminationGracePeriodSeconds to 1
2021-05-12 11:09:34 +12:00
Masaki Kimura
382f37142c
storage e2e: auto detect sector size
2021-05-11 22:32:05 +00:00
Jordan Liggitt
7877539e30
Promote apiserver_requested_deprecated_apis metric to stable
2021-05-11 16:25:14 -04:00
Artyom Lukianov
93ff47b05b
e2e node: make possible to add additional kernel arguments
...
Add an option to configure additional kernel arguments during
the setup of e2e node environment.
The example:
cos-stable1:
image_family: cos-89-lts # docker v19.03.6, deprecated after 2021-06-24
project: cos-cloud
metadata: "user-data<test/e2e_node/jenkins/cos-init-live-restore.yaml,gci-update-strategy=update_disabled"
kernel_arguments:
- "numa=fake=2"
machine: n1-standard-4
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-05-11 13:49:32 +03:00
Sascha Grunert
9e372bffef
e2e: test SSH port on NodeSSHHosts
...
Before assuming that a certain host runs an SSH server, we now test its
`SSHPort` for connectivity. This means that the test `should be able to
run crictl on the node` can be now more failure proof by checking only
hosts where SSH actually runs. Beside that, we can also test all hosts
and not only the first one.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-11 08:32:09 +02:00
sanposhiho
074f25523b
scheduler_perf: correct error handling
2021-05-11 11:47:20 +09:00
Kubernetes Prow Robot
0e13f93c26
Merge pull request #101461 from cynepco3hahue/fix_race_condition_under_memory_manager_test
...
e2e node: fix the race condition under the memory manager test
2021-05-10 18:51:36 -07:00
Giuseppe Scrivano
a460aaf41d
test: adjust number of expected page faults
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-05-10 17:34:49 -07:00
Kubernetes Prow Robot
7563d3092e
Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr
...
refactor: disable insecure serving in controller-manager
2021-05-10 13:49:36 -07:00
Kubernetes Prow Robot
117952b397
Merge pull request #101833 from pacoxu/patch-9
...
upgrade nvidia-driver-installer to 2.0.5
2021-05-10 09:45:41 -07:00
Davanum Srinivas
79e5a1d5f1
Use tonistiigi/binfmt instead of our multi-arch register.sh
...
Looking deeper into the logs there are a lot of errors like:
`script exited with error 1`
Initial reaction was that there was a problem with download, but it
looks like the script we use to register the qemu emulators may be at
fault, let's try this alternate mechanism.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-08 20:25:30 -04:00
Paco Xu
6ec2228b90
upgrade nvidia-driver-installer to 2.0.5
2021-05-08 20:28:44 +08:00
Kubernetes Prow Robot
c05810cc5d
Merge pull request #96702 from lingsamuel/wait-for-delete-ignore-not-found
...
Fix `kubectl wait --for=delete` ignore not found
2021-05-07 20:29:17 -07:00
Kubernetes Prow Robot
e4b01cf0d1
Merge pull request #101806 from jingxu97/may/multivolumetest
...
Fix multivolume access tests for Windows
2021-05-07 16:47:25 -07:00
Kubernetes Prow Robot
62bc76b0de
Merge pull request #101809 from justaugustus/go116
...
[go1.16] Update to go1.16.4
2021-05-07 15:41:18 -07:00
Kubernetes Prow Robot
f697cb8d94
Merge pull request #101684 from jackfrancis/e2e-wait-for-nodes-retyable-error
...
test: retryable error in wait for ready nodes test
2021-05-07 14:35:03 -07:00
Kubernetes Prow Robot
c224ca7674
Merge pull request #101800 from dims/add-a-retry-for-apk-operations
...
[agnhost] Add a retry for apk operations
2021-05-07 13:32:10 -07:00
Kubernetes Prow Robot
548fb43643
Merge pull request #101292 from AliceZhang2016/job_controller_metrics
...
Graduate indexed job to beta
2021-05-07 13:31:44 -07:00
Stephen Augustus
5b530da51f
[go1.16] Update to go1.16.4
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-05-07 15:47:54 -04:00
Jack Francis
e67bce7077
test: retryable error in wait for ready nodes test
2021-05-07 12:19:36 -07:00
Jing Xu
5e5a3ce85a
Fix multivolume access tests for Windows
...
Fix issue for multivolume access tests
Change-Id: I7e00d8bfe9682540b60b5998f78f2a48550934af
2021-05-07 10:53:40 -07:00
Davanum Srinivas
fdaa44da73
[agnhost] Add a retry for apk operations
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-07 12:44:37 -04:00
Kubernetes Prow Robot
f101acdbe2
Merge pull request #97663 from heqg/unused-variable-Code
...
remove unused variable of Code
2021-05-06 19:41:02 -07:00
Jing Xu
89edde3b31
Add function to copy a single pod log in podlogs
...
The existing function in podlogs is copyAllLogs from a namespace. Add a
new function to copy log from a single pod.
Change-Id: I39d139a2a57d72a0af3432626b0c02c1b43333d2
2021-05-06 16:31:46 -07:00
Nick Triller
5ea0162906
e2e: deflake test by not relying on events
2021-05-06 10:49:21 +02:00
Kubernetes Prow Robot
413ac5db56
Merge pull request #101709 from aojea/svc_multiport
...
conformance test for Services should validate behaviour
2021-05-06 01:47:15 -07:00
Kubernetes Prow Robot
25f9b6b1d0
Merge pull request #98906 from pacoxu/deflake/resource-quota
...
deflake a resource quota check for best-effort pods
2021-05-05 23:09:15 -07:00
Kubernetes Prow Robot
70481591b3
Merge pull request #98629 from wzshiming/fix-pull-image-url
...
Fix pull empty image URL
2021-05-05 20:21:15 -07:00
John Schnake
0adf70b61b
Clean up and make more image handling consistent
...
- Cleans up some of the image registry handling by
initializing values in a more consistent and clear
manner.
- Adds the Docker library registry to the list of
values that is override-able.
- Adds a few branches to logic to ensure each registry
is handled the same.
2021-05-05 21:08:29 -05:00
Kubernetes Prow Robot
add13090e2
Merge pull request #101732 from spencer-p/master
...
Promote kube-addon-manager to v9.1.5
2021-05-05 18:49:17 -07:00
Matthias Bertschy
3916c00955
fix manual trigger of readinessProbe on startupProbe success
2021-05-05 11:21:40 +02:00
Spencer Peterson
a119b767d0
Promote kube-addon-manager to v9.1.5
...
Change-Id: Iffebad61634831b0c34eb54517a2543c75c55d68
2021-05-04 12:14:52 -07:00
Kubernetes Prow Robot
9126048c9c
Merge pull request #101707 from enj/enj/i/bad_cadata
...
client-go transport: assert that final CA data is valid
2021-05-04 07:29:11 -07:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
Michael Taufen
b33cd86a27
Update tests to use agnhost 2.32
...
Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.
Original fix: https://github.com/kubernetes/kubernetes/pull/101589
Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
2021-05-03 14:23:46 -07:00
Antonio Ojea
2dc4dba562
conformance test for Services should validate behavior
...
Current test for service with endpoints only validate the API objects,
however, doesn't validate that the implementation of Services works.
This mean that a cluster without any component implementing Services,
can pass Conformance.
2021-05-03 17:19:54 +02:00
Stephen Heywood
11eca39ff6
Switch TerminationGracePeriodSeconds from 0 to 1 seconds
2021-05-03 10:11:38 +12:00
Jian Zeng
97b5d2a300
test: update test cases of TestComponentSecureServingAndAuth
2021-05-03 00:35:16 +08:00
Jian Zeng
c4c2574778
refactor(e2e): grab metrics from controller-manager via nginx
...
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:12:06 +08:00
Kubernetes Prow Robot
2d13e0be08
Merge pull request #101693 from wangyysde/update-PodDisruptionBudget-testing-manifests-v1
...
update PodDisruptionBudget's Version to v1 in e2e testing manifests
2021-05-01 14:30:11 -07:00
Kubernetes Prow Robot
8daa2e8a4e
Merge pull request #101689 from aojea/revert_e2e_probe
...
Revert "Deflake startupProbe e2e test"
2021-05-01 10:04:00 -07:00
wangyysde
fc1a83c96f
update PodDisruptionBudget's Version from v1beta1 to v1 in e2e testing manifests files
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-01 22:15:51 +08:00
Kubernetes Prow Robot
c5b900b69c
Merge pull request #97399 from davidxia/comment-typo
...
Fix typo in comment
2021-05-01 04:57:59 -07:00
Antonio Ojea
3511357c0a
Revert "Deflake startupProbe e2e test"
...
This reverts commit bcd582030f
.
2021-05-01 10:29:03 +02:00
Kubernetes Prow Robot
ba5b2ea82b
Merge pull request #101595 from bobbypage/gpu
...
test: Update nvidia-driver-installer used in gce-device-plugin-gpu job
2021-04-30 10:24:29 -07:00
Mengxue Zhang
2d2ee6bc3a
change default feature gate value of IndexedJob
2021-04-30 14:36:15 +00:00
Kubernetes Prow Robot
f039f94a6f
Merge pull request #101589 from mtaufen/fix-agnhost-ca
...
agnhost: Try both in-cluster and external discovery
2021-04-30 07:28:10 -07:00
Kubernetes Prow Robot
8d949052c8
Merge pull request #101582 from tsmetana/k8s-fix-aws-kms-key-test
...
Fix invalid AWS KMS key test flake
2021-04-29 18:10:52 -07:00
David Porter
28acfab74c
Update cos-gpu-installer image
...
This installer image should be compatible with COS-M85 images,
specifically `cos-85-13310-1041-9`
2021-04-29 14:58:47 -07:00
Kubernetes Prow Robot
204ff6caeb
Merge pull request #101586 from liggitt/delete-partition-tests
...
Remove inactive failing tests
2021-04-29 11:36:23 -07:00
Kubernetes Prow Robot
eb326fdc07
Merge pull request #100262 from chaitanyabandi/daemon-ns-patch
...
use Patch API to add namespace annotations
2021-04-29 11:36:11 -07:00
Kubernetes Prow Robot
19c7089245
Merge pull request #101569 from wzshiming/test/e2e-node-shutdown
...
Fix flake for GracefulNodeShutdown e2e
2021-04-29 09:01:25 -07:00
Michael Taufen
0b3b99c096
Try both in-cluster and external discovery
...
The conformance test for ServiceAccountIssuerDiscovery is currently
configured with --in-cluster-discovery, which only supports token
validation against in-cluster endpoints. Many cloud providers provide
their own, external endpoints for OIDC discovery, and because the iss
claim in tokens will point to these endpoints, but the client in this
test only trusts the Cluster CA, it will fail to connect to the external
discovery endpoints when validating the token.
To ensure that the conformance test at least supports scenario where
both the discovery doc endpoint and JWKS endpoint are cluster-local and
the scenario where both endpoints are cluster-external, this PR has the
test try both and requires at least one to pass.
Caveat: The test still won't support a configuration where one
endpoint is cluster-local and the other is external. We don't yet have
evidence that this is a configuration that is used in practice, so this
initial hotfix will at least fix the conformance test for the "both
external" configuration we know providers already use. Note that if one
endpoint is cluster-local, and the other is cluster-external, tokens can
still only be validated in-cluster, because both endpoints must be
accessible to Relying Parties that validate tokens.
2021-04-29 08:56:02 -07:00
Kubernetes Prow Robot
6e29545168
Merge pull request #99998 from matthyx/deflake-startupprobe
...
Deflake startupProbe e2e test
2021-04-29 01:16:50 -07:00
Kubernetes Prow Robot
db70c2a96a
Merge pull request #99348 from chymy/e2e-rck-unused
...
Remove unused code in test/e2e/{upgrades,storage,network}
2021-04-28 21:02:50 -07:00
Shiming Zhang
91beb10aa4
Fix flake for GracefulNodeShutdown e2e
2021-04-29 10:52:00 +08:00
Kubernetes Prow Robot
e6b4fa3811
Merge pull request #101352 from ahg-g/ahg-nss-integration
...
Added integration test for pod affinity namespace selector
2021-04-28 08:00:50 -07:00
Jordan Liggitt
94a8c7af15
Remove inactive failing tests
2021-04-28 10:03:07 -04:00
Tomas Smetana
8773e0d491
Fix invalid AWS KMS key test flake
2021-04-28 13:22:49 +02:00
Matthias Bertschy
bcd582030f
Deflake startupProbe e2e test
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-04-28 07:07:01 +02:00
Kubernetes Prow Robot
1cab0adcd5
Merge pull request #101487 from deads2k/annotate-A
...
add --all-namespaces to kubectl annotate,label
2021-04-27 20:56:49 -07:00
Kubernetes Prow Robot
21ab9c4175
Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
...
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Abdullah Gharaibeh
ebf0bca3ce
Added integration test for pod affinity namespace selector
2021-04-27 14:13:08 -04:00
Kubernetes Prow Robot
3f98b98c69
Merge pull request #101488 from dcbw/e2e-net-firewall
...
e2e/network/firewall: don't assume nodes are exposed externally
2021-04-26 22:15:36 -07:00
Kubernetes Prow Robot
17f3990ea1
Merge pull request #100484 from gavinfish/e2e-storage-suffix
...
Remove suffixes for VolumeSnapshotClasses in E2E tests
2021-04-26 17:37:03 -07:00
Riaan Kleinhans
0733bcde2f
Create List and DeleteCollection DaemonSet Test
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
e2e test validates the following 2 extra endpoints
- listAppsV1ReplicaSetForAllNamespaces
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-27 11:50:47 +12:00
David Eads
ad0cff7b61
add --all-namespaces to kubectl annotate,label
2021-04-26 13:04:19 -04:00
Dan Williams
f86ddbea70
e2e/network/firewall: don't assume nodes are exposed externally
...
If no nodes have NodeExternalIP addresses, then clearly none of the
services are exposed externally, and the test should succeed.
Seen in OpenShift CI.
2021-04-26 10:25:21 -05:00
Kubernetes Prow Robot
2b54418d66
Merge pull request #100387 from jsturtevant/test-image-doc-updates
...
Doc updates to clarify the image promotion process
2021-04-26 06:25:01 -07:00
Kubernetes Prow Robot
3e71ecc6b3
Merge pull request #101329 from ahg-g/ahg-nss-bench
...
Added benchmarks for pod affinity NamespaceSelector
2021-04-25 19:07:00 -07:00