Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
Kubernetes Prow Robot
c3769096c6
Merge pull request #96439 from Huang-Wei/sched-policy-defaultpreemption
...
Fix a bug that DefaultPreemption plugin is disabled when using scheduler policy
2020-11-11 07:44:18 -08:00
Kubernetes Prow Robot
7766559c6d
Merge pull request #96433 from cmluciano/cml/dualstackagnhost
...
dualstack: Use Agnhost in place of BusyBox
2020-11-11 07:42:10 -08:00
Jan Safranek
94ebfec526
Add GinkgoRecover to a local storage go routine
...
All goroutines must have 'defer ginkgo.GinkgoRecover()' for ginkgo to
report errors correctly.
2020-11-11 16:10:29 +01:00
Kubernetes Prow Robot
5d5ff49b9b
Merge pull request #96383 from xing-yang/update_snapshot_crds
...
Update snapshot CRDs to v1
2020-11-11 05:11:49 -08:00
Kubernetes Prow Robot
5a75f64315
Merge pull request #95046 from SergeyKanzhelev/runtimeClass
...
RuntimeHandler test - mark as serial instead of disruptive and provide non-serial alternative
2020-11-11 02:43:48 -08:00
Kubernetes Prow Robot
423f8731ef
Merge pull request #95719 from tsmetana/add-pv_collector-provisioner-metric
...
PV Controller: Add plugin name and volume mode to PV metrics
2020-11-11 01:49:49 -08:00
Kubernetes Prow Robot
a27a357ba1
Merge pull request #86102 from derekwaynecarr/downward-api
...
Add support for hugepages in downward API
2020-11-10 21:43:57 -08:00
Kubernetes Prow Robot
7e62b1cab8
Merge pull request #96122 from cmluciano/cml/dualstackudpnode
...
dualstack: use correct IPFamily list for conntrack checks in e2e
2020-11-10 17:51:40 -08:00
Wei Huang
47a7c374c6
Fix a bug that DefaultPreemption plugin is disabled when using scheduler policy
2020-11-10 17:48:32 -08:00
Kubernetes Prow Robot
57908e7b8f
Merge pull request #96045 from leilajal/master
...
tests to check metrics labels
2020-11-10 17:48:32 -08:00
knight42
1a9600dc16
fix(test::npd): provide NPD with proper kubeconfig
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-11 09:47:09 +08:00
Kubernetes Prow Robot
f102cc887e
Merge pull request #95895 from roycaihw/apiserver-lease-gc
...
Apiserver lease garbage collector
2020-11-10 16:46:41 -08:00
Haowei Cai
bfebc7aefd
generated
2020-11-10 15:32:16 -08:00
Haowei Cai
4794ba18ed
integration test
2020-11-10 15:32:15 -08:00
Kubernetes Prow Robot
a5bce462d0
Merge pull request #94812 from aojea/e2ehostnet2
...
e2e test for services using pods with hostNetwork as backend
2020-11-10 14:35:38 -08:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Christopher M. Luciano
8f384ce972
dualstack: Use Agnhost in place of BusyBox
...
There is a large effort to use Agnhost to limit dependencies and
overall image size.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-10 16:44:06 -05:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
Kubernetes Prow Robot
84745e2db4
Merge pull request #96381 from karan/npd-test-cmd
...
Fix command and arg in NPD e2e
2020-11-10 12:44:16 -08:00
Sergey Kanzhelev
9408c5d1e6
added new runtimeclass test and changed Disruptive to Serial
2020-11-10 20:31:34 +00:00
Christopher M. Luciano
fa7a802d55
dualstack: use correct IPFamily list for conntrack checks in e2e
...
We hardcode the index number in the KubeProxy/Conntrack e2es and
CollectAddresses returns 4 mixed IP Family addresses in a dualstack
cluster. This change ensures that the serverNodeInfo.nodeIP has only
valid addresses for the expected IPFamily per test case.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-10 15:02:29 -05:00
Kubernetes Prow Robot
02528ce91a
Merge pull request #96247 from saikat-royc/iss-95590
...
e2e test for PodFsGroupChangePolicy feature
2020-11-10 11:45:03 -08:00
Saikat Roychowdhury
a07096952b
FsgroupChange policy test suite
2020-11-10 08:36:07 +00:00
Kubernetes Prow Robot
9778f05c7b
Merge pull request #96320 from Huang-Wei/cleanup-annotation-wording
...
cleanup dated wording "NominatedNodeName annotation"
2020-11-09 20:56:54 -08:00
Kubernetes Prow Robot
2e55fa82df
Merge pull request #96330 from jingxu97/nov/snapshot
...
Modify storage snapshottable test for Windows
2020-11-09 19:52:41 -08:00
xing-yang
3379395471
Change snapshot test to use v1 apis
2020-11-10 02:27:38 +00:00
Kubernetes Prow Robot
6e95025994
Merge pull request #92165 from RenaudWasTaken/v1-pod-resources
...
Graduate the Pod Resources API to G.A
2020-11-09 18:24:41 -08:00
Kubernetes Prow Robot
4261200724
Merge pull request #93873 from roycaihw/storage-version/handler
...
Apiserver updates storageversions API and filters certain write requests during bootstrap
2020-11-09 17:30:41 -08:00
Jing Xu
de7eb94388
Modify storage snapshottable and disruptive test for Windows
...
Update snapshottable and disable disruptive test for Windows
Change-Id: I9d6beb25078c1941e405bf61545caae30326ddd1
2020-11-09 16:54:29 -08:00
Yu Liao
9eb0463265
Fixed failure: ProvisioningFailed: Failed to provision volume with StorageClass "standard": invalid AccessModes [ReadWriteOnce ReadOnlyMany ReadWriteMany]: only AccessModes [ReadWriteOnce ReadOnlyMany] are supported
2020-11-09 16:23:38 -08:00
Kubernetes Prow Robot
fe37798329
Merge pull request #94115 from andrewsykim/fix-dockershim-exec
...
kubelet: respect exec probe timeouts
2020-11-09 16:08:55 -08:00
Kubernetes Prow Robot
e5194dd936
Merge pull request #96202 from alculquicondor/default-node-affinity
...
Add AddedAffinity to NodeAffinity Filter and Score plugin
2020-11-09 15:14:55 -08:00
Kubernetes Prow Robot
c84c3c4858
Merge pull request #96124 from adtac/apf1ginkgo
...
e2e: add APF flowcontrol request drown-out test
2020-11-09 15:14:41 -08:00
Kubernetes Prow Robot
1d6bd259d2
Merge pull request #95608 from MHBauer/re-enable-benchmark
...
enable benchmark by matching test config
2020-11-09 12:48:41 -08:00
Gautier Delorme
eed1047c6f
update e2e kubectl test
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2020-11-09 21:23:55 +01:00
Aldo Culquicondor
3ce145787a
Add AddedAffinity to the NodeAffinityArgs
...
And use it in Filter and Score.
Change-Id: I173d8f2d5578762e9873181d5b44ea30b6dbbbc2
2020-11-09 15:19:15 -05:00
Karan Goel
ee93b3f837
Fix command and arg in NPD e2e
2020-11-09 10:58:09 -08:00
Andrew Sy Kim
81ad32e3a4
kubelet: add e2e test for exec readiness probe timeout
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Andrew Sy Kim
733862ed7f
kubelet: stop skipping docker exec livenessprobe timeout test
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-09 13:03:28 -05:00
Kubernetes Prow Robot
23839ba649
Merge pull request #96305 from twosigma/fixe2etestbug
...
Fixing expected pod subdomain to match framework.TestContext.ClusterD…
2020-11-09 08:22:26 -08:00
Kubernetes Prow Robot
0cba30d891
Merge pull request #95954 from sttts/sttts-go-openapi
...
apiextensions: replace go-openapi with kube-openapi fork for validation
2020-11-09 07:18:27 -08:00
Kubernetes Prow Robot
d2fd467123
Merge pull request #96310 from tsmetana/fix-recycler-test
...
PV e2e: fix race in NFS recycling test
2020-11-09 05:52:26 -08:00
Dr. Stefan Schimanski
f63b6772ca
Update bazel
2020-11-09 10:26:39 +01:00
Dr. Stefan Schimanski
69b0699610
apiextensions: switch validation to kube-openapi
2020-11-09 10:26:38 +01:00
Haowei Cai
b5b93004b5
generated
2020-11-08 18:53:40 -08:00
Chao Xu
fa1805cc5c
Add an integration test.
...
To make sure that the storage version filter can block certain requests until
the storage version updates are completed, and that the apiserver works
properly after the storage version updates are done.
2020-11-08 18:53:40 -08:00
Kubernetes Prow Robot
f43007543c
Merge pull request #96326 from Huang-Wei/cleanup-sched-perf
...
Update docs and fix redundant logic of scheduler perf
2020-11-08 18:35:37 -08:00
Wei Huang
267acdbe81
Update docs and fix redundant logic of scheduler perf
2020-11-06 23:45:09 -08:00
Kubernetes Prow Robot
4949078001
Merge pull request #93459 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
...
Updated Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-06 19:53:36 -08:00
Kubernetes Prow Robot
151c2799d1
Merge pull request #96279 from cmluciano/cml/netutilsipv4
...
dualstack: cleanup IsIPv4 duplicates in favor of k8s/utils functions
2020-11-06 18:09:50 -08:00
Kubernetes Prow Robot
281866b35c
Merge pull request #95533 from roycaihw/apiserver-lease-controller
...
Add kube-apiserver lease controller
2020-11-06 18:09:37 -08:00
Shihang Zhang
22ae49bb5d
Promote TokenRequest e2e test to Conformance
2020-11-06 13:51:48 -08:00
Wei Huang
b5eeb8cd0f
cleanup dated wording "NominatedNodeName annotation"
2020-11-06 13:42:01 -08:00
Haowei Cai
39f8daf967
generated
2020-11-06 13:33:08 -08:00
Haowei Cai
3761a00e5b
add kube-apiserver-lease-controller poststart hook
2020-11-06 13:33:08 -08:00
Kubernetes Prow Robot
58f82efe70
Merge pull request #95032 from claudiubelu/test-images/multiarch
...
test images: Removes -p yes flag from qemu-user-static script call
2020-11-06 12:24:29 -08:00
Kubernetes Prow Robot
ba39cf58ec
Merge pull request #96302 from harche/summary_test_fix
...
Increase the timeout to allow summary test pods to start
2020-11-06 11:29:25 -08:00
Stephen Heywood
36f4527956
Add constant PodReadyTimeout to e2e test
2020-11-07 08:21:15 +13:00
Stephen Heywood
079764ebd5
Adjusted timings and management of pods in e2e test
2020-11-07 08:21:15 +13:00
Caleb Woodbine
6035ccd46c
Create Pod+PodStatus resource lifecycle test
2020-11-07 08:21:15 +13:00
Javier Diaz-Montes
c8da7128eb
Ensuring default DNS cluster-domain of Kubelet is cluster.local
...
Currently e2e tests run under test-e2e-node have a cluster-domain
equals to "". This change makes test-e2e-node consistent with other
e2e tests. For example, in hack/ginkgo-e2e.sh, cluster-domain
defaults to cluster.local and it can be changed by defining KUBE_DNS_DOMAIN.
2020-11-06 13:42:13 -05:00
Javier Diaz-Montes
d7e47cfb19
Fixing expected pod subdomain to match framework.TestContext.ClusterDNSDomain
2020-11-06 13:20:46 -05:00
Adhityaa Chandrasekar
f79e7cde68
e2e: add APF flowcontrol request drown-out test
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-06 17:35:14 +00:00
Kubernetes Prow Robot
edb105e255
Merge pull request #96307 from claudiubelu/test-images/auth
...
test images: Authenticate in order to push images
2020-11-06 09:03:16 -08:00
Tomas Smetana
bc23dd9e81
PV e2e: fix race in NFS recycling test
2020-11-06 16:38:11 +01:00
Derek Carr
7eb37a7497
Add support to size memory backed volumes
2020-11-06 09:35:14 -05:00
Maciej Szulik
2e74df97a4
Introduce kubectl-convert plugin
2020-11-06 12:04:36 +01:00
Harshal Patil
199b49941f
Increase the timeout to allow summary test pod to start
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-11-06 15:54:13 +05:30
Kubernetes Prow Robot
8f6ffb24df
Merge pull request #96236 from adtac/apfsnakecase
...
APF: use snake_case in metric labels
2020-11-06 02:20:50 -08:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Kubernetes Prow Robot
0bb732842a
Merge pull request #95971 from chrishenzie/e2e-stress-snapshots
...
Add E2E stress test suite for creation / deletion of VolumeSnapshot resources
2020-11-05 14:25:03 -08:00
Kubernetes Prow Robot
43a0007fae
Merge pull request #96062 from Huang-Wei/sched-aware-of-nodes
...
Ensure created nodes are present in scheduler cache before scheduling
2020-11-05 13:13:05 -08:00
Christopher M. Luciano
dfbda1dc40
dualstack: cleanup IsIPv4 duplicates in favor of utils
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-05 14:29:23 -05:00
Kubernetes Prow Robot
bb4d8b0746
Merge pull request #96176 from mrunalp/mrunal_node_approver
...
Add mrunalp as a node approver
2020-11-05 10:53:29 -08:00
Kubernetes Prow Robot
d39562fd93
Merge pull request #95863 from RaunakShah/snap_e2e
...
Volume snapshot e2e test to validate PVC finalizer
2020-11-05 10:53:06 -08:00
Leila Jalali
79e1ba1ae6
minor changes in adding tests for checking metrics labels
2020-11-05 18:42:28 +00:00
Kubernetes Prow Robot
fe48ad8d22
Merge pull request #96265 from liggitt/quota-flake
...
Deflake existing configmap count
2020-11-05 09:26:18 -08:00
Kubernetes Prow Robot
b47044c611
Merge pull request #96257 from aojea/externalips
...
Revert "add e2e test for Service ExternalIPs"
2020-11-05 09:26:08 -08:00
Kubernetes Prow Robot
a6a74bf2e9
Merge pull request #96173 from twosigma/removealphae2e
...
Removing Alpha annotation as the feature is graduating to Beta in v1.20
2020-11-05 09:25:50 -08:00
Chris Henzie
fb6bc4f8b0
E2E stress test suite for VolumeSnapshots
...
Introduces a new test suite that creates and deletes many
VolumeSnapshots simultaneously to test snapshottable storage plugins
under load.
2020-11-05 08:58:13 -08:00
Kubernetes Prow Robot
eca53507be
Merge pull request #95187 from twosigma/addingfailscenario
...
Adding failure scenario for long FQDN and setHostnameAsFQDN feature
2020-11-05 08:28:53 -08:00
Kubernetes Prow Robot
ba645bb939
Merge pull request #95993 from serathius/datapolicy-e2e-framework
...
Add datapolicy tags to test/e2e/framework
2020-11-05 06:31:22 -08:00
Jordan Liggitt
cfd74b9570
Deflake existing configmap count
2020-11-05 08:21:12 -05:00
Kubernetes Prow Robot
4364ef6206
Merge pull request #95678 from SaiHarshaK/kubectl-version-check
...
check if kubectl version required values are empty
2020-11-05 02:46:54 -08:00
Antonio Ojea
76a9c8695a
Revert "add e2e test for Service ExternalIPs"
...
This reverts commit 0ed8fd6dc9
.
It turns out that ExternalIPs are not allowed to be reachable from
pods until the IP is present in the node.
However, due to a kube-proxy limitation it was working in environment
that used CNIs without bridges for the pods.
2020-11-05 10:35:24 +01:00
Claudiu Belu
5152919611
test images: Authenticate in order to push images
...
We cannot push images without being authenticated.
2020-11-04 23:22:30 -08:00
Kubernetes Prow Robot
8bdd10b7d7
Merge pull request #96197 from zshihang/token
...
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 22:51:05 -08:00
Kubernetes Prow Robot
fdd2f51e68
Merge pull request #92787 from divyenpatel/fix-e2e-test-vsphere_statefulsets
...
fixed e2e vsphere statefulsets test
2020-11-04 20:46:52 -08:00
Shihang Zhang
d40f0c43c4
separate RootCAConfigMap from BoundServiceAccountTokenVolume
2020-11-04 17:10:39 -08:00
Kubernetes Prow Robot
f75316e294
Merge pull request #96238 from claudiubelu/test-images/set-root-home
...
test images: sets HOME=/root in cloudbuild.yaml
2020-11-04 16:41:07 -08:00
Mrunal Patel
b78be8446f
Add mrunalp as node approver
...
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-11-04 15:48:30 -08:00
Kubernetes Prow Robot
d40b23bdbe
Merge pull request #96050 from knight42/fix/npd-test
...
fix(test::npd): fix node problem detector test
2020-11-04 15:46:53 -08:00
Claudiu Belu
54d0c1e1d2
test images: Removes -p yes flag from qemu-user-static script call
...
Currently, the Image Builder job is failing as it cannot build images
for other architecture types. This happens because the Image Builder image
does not have any of the expected qemu-* binaries in /usr/bin/ needed in order to
run qemu-binfmt-conf.sh with the -p yes flag, so that flag is removed.
2020-11-04 23:01:24 +00:00
Kubernetes Prow Robot
468f9f6cac
Merge pull request #96138 from verb/1.20-cli-debug-unalpha
...
Remove alpha from kubectl debug command invocation
2020-11-04 14:47:07 -08:00
Adhityaa Chandrasekar
f9d57a8d5d
APF: use snake_case in metric labels
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-04 22:19:54 +00:00
shahra
e95af138b5
Volume snapshot e2e test to validate
...
VolumeSnapshotContent and PVC finalizer
2020-11-04 14:08:24 -08:00
Kubernetes Prow Robot
b835457c6e
Merge pull request #96220 from claudiubelu/test-images/experimental
...
test images: set DOCKER_CLI_EXPERIMENTAL=enabled
2020-11-04 13:26:03 -08:00
Kubernetes Prow Robot
cfc7887847
Merge pull request #96184 from ii/promote-replicationcontroller
...
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 13:25:53 -08:00
Leila Jalali
9de601910f
minor changes to tests for checking metrics labels based on review comments
2020-11-04 21:23:25 +00:00
Sai Harsha Kottapalli
06148eda25
check if kubectl version required values are empty
2020-11-05 02:51:43 +05:30
Kubernetes Prow Robot
6a3fd8f3d7
Merge pull request #96204 from knight42/fix/curl-bearer-token
...
fix: pass bearer token to curl using --header instead of --oauth2-bearer
2020-11-04 10:38:53 -08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Lee Verberne
30262e9b14
Remove alpha from kubectl debug
2020-11-04 17:45:28 +01:00
Claudiu Belu
cf838ca180
test images: set DOCKER_CLI_EXPERIMENTAL=enabled
...
docker buildx requires DOCKER_CLI_EXPERIMENTAL=enabled to be set
in order to be used.
This environment variable is not getting plumbed through from the
test/images/cloudbuild.yaml file, causing the docker buildx commands
to fail.
2020-11-04 14:23:44 +00:00
Kubernetes Prow Robot
739768d086
Merge pull request #93458 from ii/create-deployment-resource-lifecycle-test
...
Updated Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-11-04 01:08:04 -08:00
Kubernetes Prow Robot
e1909c70e2
Merge pull request #96194 from jayunit100/patch-15
...
Add a verbosity option to framework.exec
2020-11-04 00:14:12 -08:00
Kubernetes Prow Robot
89ba702d8a
Merge pull request #96144 from qinpingli/1893972
...
Bug 1893972: Skip the sig-storage e2e test as early as possible
2020-11-04 00:14:04 -08:00
Claudiu Belu
5de5ae6bd3
test images: sets HOME=/root in cloudbuild.yaml
...
The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx
We need to set the Home to /root explicitly since we're using docker buildx
2020-11-03 22:19:18 -08:00
Kubernetes Prow Robot
e54448a307
Merge pull request #96116 from DP19/add-e2e-test-for-external-ips
...
add e2e test for Service ExternalIPs
2020-11-03 17:04:17 -08:00
Kubernetes Prow Robot
e25f3d75b8
Merge pull request #95065 from JornShen/replace_restarting_kas_kp_e2e_network_provider
...
refector service some e2e cases to make it runing in multi providers
2020-11-03 17:04:03 -08:00
Wei Huang
a146cb0aa0
Replace calls to cs.CoreV1().Nodes().Create() with createNode()
2020-11-03 15:25:44 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache
2020-11-03 15:25:44 -08:00
Kubernetes Prow Robot
941e9242a5
Merge pull request #96128 from MHBauer/node-e2e-partial-fix
...
reenable e2e_node services & debugging improvements
2020-11-03 14:58:17 -08:00
jay vyas
38e49e0e0f
Add a verbosity option to exec
...
Exec is a utility function but, if you call it and are already planning to either suppress or print the exec command before hand, its ability to log can be redundant or a hinderance on test readability
2020-11-03 17:20:48 -05:00
Kubernetes Prow Robot
7e1f4a9fa3
Merge pull request #95831 from cpanato/fix-test-flaky
...
use patch instead of replace to test the dry-run option
2020-11-03 13:28:03 -08:00
Hippie Hacker
6d08d1681f
Increasing withTimeout for ReplicationController Lifecycle test steps
2020-11-04 08:50:35 +13:00
Kubernetes Prow Robot
1c403c311e
Merge pull request #95453 from danwinship/egress-networkpolicy-tests
...
Don't depend on DNS in NetworkPolicy tests
2020-11-03 11:44:04 -08:00
Eric Ernst
b26b755e94
resource-metrics: add pod metrics e2e test
...
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 10:14:13 -08:00
Morgan Bauer
9b8c1dcd19
reenable e2e_node services & debugging improvements
...
- re-enable e2e_node services
- call GenerateSecureToken for e2e_node Conformance test-suite
- add log messages indicating location in process
- move log messages to some more accurate locations
2020-11-03 10:09:56 -08:00
Javier Diaz-Montes
19c70c7edc
Removing Alpha annotation as the feature is graduating to Beta in v1.20
2020-11-03 11:39:56 -05:00
Carlos Panato
a9ff313c5b
use patch instead of replace to test the dry-run option
2020-11-03 14:27:16 +01:00
Qin Ping
2c1ede513d
Skip the sig-storage e2e test as early as possible
2020-11-03 08:50:25 +00:00
Kubernetes Prow Robot
17376e6aef
Merge pull request #92850 from tallclair/netexec
...
Enhance agnhost netexec for SSRF E2Es
2020-11-02 18:10:14 -08:00
knight42
186be6f0d2
fix(test::npd): fix node problem detector test
...
Since the insecure port of apiserver has been disabled in e2e node tests,
we could create a service account in the test for node problem detector
and then bind the cluster role `system:node-problem-detector` with this
service account.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-03 08:57:52 +08:00
Stephen Heywood
2c4117dc73
Adjusted e2e test watch timeouts, logging and pod management
2020-11-03 11:20:27 +13:00
Kubernetes Prow Robot
716e38a102
Merge pull request #95841 from chewong/do-not-hardcode-nginx-image
...
fix: do not hardcode nginx image URL in rc e2e test case
2020-11-02 13:41:42 -08:00
Kubernetes Prow Robot
0dbfe2633e
Merge pull request #95781 from ii/porter-add-verbose-flag
...
Add verbose flag to porter so http method can be returned to client
2020-11-02 13:41:33 -08:00
Kubernetes Prow Robot
df3d0eb8d4
Merge pull request #95345 from harche/summary_test
...
Make stats summary tests more flexible
2020-11-02 13:41:11 -08:00
Kubernetes Prow Robot
e947440a4c
Merge pull request #94925 from yue9944882/apf-e2e
...
E2E cases for APF
2020-11-02 13:40:43 -08:00
Tim Allclair
c05a350b4f
Update usage information for --http-override
2020-11-02 13:30:55 -08:00
Tim Allclair
354cb6ca91
Bump agnhost version
2020-11-02 13:30:55 -08:00
Tim Allclair
700006f2d9
Add override option to netexec
2020-11-02 13:30:22 -08:00
Tim Allclair
9156360234
Add a redirect handler to netexec
2020-11-02 13:30:22 -08:00
Tim Allclair
a15f5ea836
Add optional code to netexec echo endpoint
2020-11-02 13:30:22 -08:00
Kubernetes Prow Robot
922fc82914
Merge pull request #95847 from qingsenLi/k8s201024
...
fix typo in e2e test
2020-11-02 11:56:43 -08:00
DP19
0ed8fd6dc9
add e2e test for Service ExternalIPs
2020-11-02 13:57:23 -05:00
yue9944882
c28036efa5
e2e cases for apf
2020-11-03 02:27:57 +08:00
Kubernetes Prow Robot
d1c296431e
Merge pull request #96059 from knight42/refactor/migrate-health-check
...
refactor: migrate health checks of control-plane off insecure port in tests
2020-11-02 08:21:08 -08:00
Abu Kashem
53a1307f68
make backoff parameters configurable for webhook
...
Currently webhook retry backoff parameters are hard coded, we want
to have the ability to configure the backoff parameters for webhook
retry logic.
2020-11-01 10:18:25 -05:00
Kubernetes Prow Robot
19ae1d7edc
Merge pull request #96014 from Jefftree/remove-bdd
...
Remove behaviors
2020-10-30 21:10:51 -07:00
knight42
3c4d6859c8
refactor: migrate health checks of control-plane off insecure port in tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-31 11:39:25 +08:00
Kubernetes Prow Robot
bf67247124
Merge pull request #93258 from zshihang/token
...
mv TokenRequest and TokenRequestProjection to GA
2020-10-30 16:36:51 -07:00
Kubernetes Prow Robot
68c41e261e
Merge pull request #95977 from robscott/esm-test-fix
...
Updating EndpointSliceMirroring e2e test to accept multiple slices
2020-10-30 15:46:51 -07:00
Kubernetes Prow Robot
4b65f70652
Merge pull request #95740 from cici37/moveCCM
...
Move cloud-controller-manager to staging k8s.io/cloud-provider
2020-10-30 13:48:51 -07:00
Kubernetes Prow Robot
3d62aad55e
Merge pull request #96023 from chrishenzie/e2e-cleanup-non-namespaced-objects
...
Cleanup non-namespaced objects in e2e test during interrupts
2020-10-30 11:14:36 -07:00
Kubernetes Prow Robot
332d17c7f5
Merge pull request #95731 from farah/split-scheduler
...
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-30 11:14:22 -07:00
jornshen
1d83b28dfe
refector service some e2e cases to make it runing in multi providers
...
the cases are as fellow:
- "should work after restarting kube-proxy"
- "should work after restarting apiserver"
2020-10-30 19:39:02 +08:00
Leila Jalali
4cff1311c5
Added tests to check metrics labels
2020-10-30 11:15:50 +00:00
Kubernetes Prow Robot
f2ed1b5580
Merge pull request #96016 from cici37/informer
...
Move informer_factory to staging
2020-10-30 00:44:06 -07:00
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
Stephen Heywood
f005b3a5f7
Add json-response flag to porter
...
Provides a response that includes a body and a method. This response
will enable a client (e2e test) to confirm that a proxy did not alter
the http method.
2020-10-30 14:48:16 +13:00
Kubernetes Prow Robot
f99ad43dbb
Merge pull request #95575 from oomichi/remove-non-ascii-20201014
...
Replace non-ascii string under test/
2020-10-29 18:36:18 -07:00
Kubernetes Prow Robot
ba75a6dbd7
Merge pull request #96012 from khenidak/clusterIPs-labeling
...
add tests that update services while gate is off
2020-10-29 17:40:45 -07:00
Kubernetes Prow Robot
e91cb0b1b5
Merge pull request #95196 from thockin/auto-wipe-linked-service-fields
...
Automatically wipe dependent fields on service "type" updates
2020-10-29 17:40:06 -07:00
Chris Henzie
830d7cecd7
Cleanup non-namespaced objects in e2e test during interrupts
2020-10-29 13:12:23 -07:00
cici37
a91a2cdad6
Move informer_factory to staging
2020-10-29 12:20:33 -07:00
Jefftree
4d979f6f12
Remove behaviors
2020-10-29 12:05:54 -07:00
Khaled (Kal) Henidak
7bdc244f4a
add tests that update services while gate is off
2020-10-29 18:59:48 +00:00
Kubernetes Prow Robot
1968e96165
Merge pull request #95856 from knight42/refactor/disable-apiserver-insecure-port
...
refactor(apiserver): disable insecure port
2020-10-29 10:47:58 -07:00
Marek Siarkowicz
7f59610f49
Add datapolicy tags to test/e2e/framework
2020-10-29 18:08:32 +01:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Kubernetes Prow Robot
518b826b1d
Merge pull request #95962 from xing-yang/manifests_owners
...
Update testing-manifests/storage-csi owners file
2020-10-28 23:36:59 -07:00
Rob Scott
2c7d186669
Updating EndpointSliceMirroring e2e test to accept multiple slices
...
Due to informer caching, this caused some flaky test failures.
2020-10-28 22:49:17 -07:00
Kubernetes Prow Robot
ab02182419
Merge pull request #95965 from Huang-Wei/pc-conformance-deleteCollection
...
Update PriorityClass conformance test to cover DeleteCollection
2020-10-28 18:37:12 -07:00
Kubernetes Prow Robot
1a37266208
Merge pull request #95411 from MHBauer/log-containerd
...
always collect containerd logs during e2e-node tests
2020-10-28 16:16:59 -07:00
Wei Huang
6ccbd3c9a9
Update PriorityClass conformance test to cover DeleteCollection
2020-10-28 15:35:46 -07:00
xing-yang
b55bf4c49b
Update testing-manifests/storage-csi owners file
2020-10-28 21:21:02 +00:00
Kubernetes Prow Robot
d4771b9519
Merge pull request #95907 from aojea/testdualslices
...
dualstack endpoints integration tests
2020-10-28 13:53:53 -07:00
Kubernetes Prow Robot
9391b6d844
Merge pull request #95577 from knabben/remove-flake-pre-stop
...
Removing flaky tag from preStop test
2020-10-28 12:49:57 -07:00
Tim Hockin
4f8fb1d3ca
Wipe some fields on service "type" updates
...
Service has had a problem since forever:
- User creates a service type=LoadBalancer
- We silently allocate them a NodePort
- User changes type to ClusterIP
- We fail the operation because they did not clear NodePort
They never asked for or used the NodePort!
Dual-stack introduced some dependent fields that get auto-wiped on
updates. This carries it further.
If you squint, you can see Service as a big, messy discriminated union,
with type as the discriminator. Ignoring fields for non-selected
union-modes seems right.
This introduces the potential for an apply loop. Specifically, we will
accept YAML that we did not previously accept. Apply could see the
field in local YAML and not in the server and repeatedly try to patch it
in. But since that YAML is currently an error, it seems like a very low
risk. Almost nobody actually specifies their own NodePort values.
To mitigate this somewhat, we only auto-wipe on updates. The same YAML
would fail to create. This is a little inconsistent. We could
auto-wipe on create, too, at the risk of more potential impact.
To do this properly, we need to know the old and new values, which means
we can not do it in defaulting or conversion. So we do it in strategy.
This change also adds unit tests and updates e2e tests to rely on and
verify this behavior.
2020-10-28 10:41:26 -07:00
Antonio Ojea
6526714e9a
dualstack endpoints integration tests
...
add integration tests to verify the behaviour of the endpoints
and endpointslices controller with dual stack services.
Since services can be single or dual stack, endpoints should be
generated for each IP family in the endpoint slice controller.
The legacy endpoint controller only will generate endpoints
in the first IP family configured in the service.
integration fix
2020-10-28 12:02:56 +01:00
Kubernetes Prow Robot
34ae23110a
Merge pull request #95337 from cmluciano/cml/kproxylabeltest
...
proxy: label kube_proxy test with more unique label
2020-10-27 20:44:10 -07:00
Kubernetes Prow Robot
90b3168987
Merge pull request #95040 from MHBauer/unflake-perf-tests
...
move node performance tests to separate job
2020-10-27 20:43:56 -07:00
Kubernetes Prow Robot
e5c4e74994
Merge pull request #95884 from ii/promote-e2e-verify-PriorityClass-endpoints
...
Promote: verify PriorityClass endpoints e2e test to Conformance +5 Endpoints
2020-10-27 16:36:09 -07:00
Kubernetes Prow Robot
7af88f3d98
Merge pull request #95780 from jingxu97/oct/resizetest
...
Enable Volume Expansion tests for Windows
2020-10-27 16:35:56 -07:00
Kubernetes Prow Robot
f00ec1b449
Merge pull request #95679 from EdDev/test-e2e-remove-w8-4-pod-running-after-createsync
...
test, e2e: Remove duplication when using PodClient.CreateSync
2020-10-27 15:32:11 -07:00
Renaud Gaubert
501f7b16d9
Update podresources api e2e_node tests
2020-10-27 11:23:39 -07:00
Jing Xu
eeb649d31e
Enable Volume Expansion tests for Windows
...
enable volume expansion test for Windows with ntfs file system
Change-Id: I6b8027c5e149588f66b8896a78ec5cd0e47984fe
2020-10-26 18:28:43 -07:00
Kubernetes Prow Robot
87cc9bca0f
Merge pull request #95867 from jsafrane/e2e-podexec-stderr
...
Log PodExec stdout + stderr
2020-10-26 17:55:59 -07:00
Stephen Heywood
017de540eb
Promote verify PriorityClass endpoints e2e test to Conformance
2020-10-27 12:36:28 +13:00
Kubernetes Prow Robot
227aa51b94
Merge pull request #95868 from xing-yang/update_test_owners
...
Update test/e2e/storage owners file
2020-10-26 16:24:12 -07:00
Antonio Ojea
b61faa388c
add e2e test for services with hostNetwork endpoints
...
we are missing tests that check the connectivity against services
that have backend pods with hostNetwork: true.
Because the tests run in parallel, it is possible that the pods used as
backends try to bind to the same port, and since all of them use the
host network, the scheduler will fail to create them due to port conflicts,
so we run them serially.
We have to skip networking tests with udp and endpoints using
hostNetwork, because they have a known issue.
2020-10-26 23:08:24 +01:00
Antonio Ojea
734d5bbed0
e2e use functional options to configure NetworkingTest
...
NetworkingTest is used to test different network scenarios.
Since new capabilites and scenarios are added, like SCTP or HostNetwork
for pods, we need a way to configure it with minimum disruption and code
changes.
Go idiomatic way to achieve this is using functional options.
2020-10-26 22:18:05 +01:00
Antonio Ojea
d382f299a1
fix e2e service test container listening port
...
the e2e test container used for the "Networking Granular Checks: Services"
tests only needs to listen in one port to perform do network checks.
This port is unrelated to the other ports used in the test, so we may
use a different number to avoid possible conflicts.
2020-10-26 22:07:36 +01:00
Khaled Henidak (Kal)
6675eba3ef
dual stack services ( #91824 )
...
* api: structure change
* api: defaulting, conversion, and validation
* [FIX] validation: auto remove second ip/family when service changes to SingleStack
* [FIX] api: defaulting, conversion, and validation
* api-server: clusterIPs alloc, printers, storage and strategy
* [FIX] clusterIPs default on read
* alloc: auto remove second ip/family when service changes to SingleStack
* api-server: repair loop handling for clusterIPs
* api-server: force kubernetes default service into single stack
* api-server: tie dualstack feature flag with endpoint feature flag
* controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service
* [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service
* kube-proxy: feature-flag, utils, proxier, and meta proxier
* [FIX] kubeproxy: call both proxier at the same time
* kubenet: remove forced pod IP sorting
* kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy
* e2e: fix tests that depends on IPFamily field AND add dual stack tests
* e2e: fix expected error message for ClusterIP immutability
* add integration tests for dualstack
the third phase of dual stack is a very complex change in the API,
basically it introduces Dual Stack services. Main changes are:
- It pluralizes the Service IPFamily field to IPFamilies,
and removes the singular field.
- It introduces a new field IPFamilyPolicyType that can take
3 values to express the "dual-stack(mad)ness" of the cluster:
SingleStack, PreferDualStack and RequireDualStack
- It pluralizes ClusterIP to ClusterIPs.
The goal is to add coverage to the services API operations,
taking into account the 6 different modes a cluster can have:
- single stack: IP4 or IPv6 (as of today)
- dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4
* [FIX] add integration tests for dualstack
* generated data
* generated files
Co-authored-by: Antonio Ojea <aojea@redhat.com>
2020-10-26 13:15:59 -07:00
Kubernetes Prow Robot
9cc882de87
Merge pull request #95592 from fromanirh/tm-e2e-avoid-sriovdp-leak
...
e2e: topology manager: avoid sriov device plugin pod leak on test failures
2020-10-26 09:29:02 -07:00
xing-yang
1d22030894
Update test/e2e/storage owners file
2020-10-26 13:36:59 +00:00
Kubernetes Prow Robot
0ec6602679
Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2
...
test images: Adds Windows Container images support (part 2)
2020-10-26 06:19:02 -07:00
Jan Safranek
96e3bc1bfa
Log PodExec stdout + stderr
...
e2e tests should log stdout / stderr of failed commands executed via
PodExec. "command terminated with exit code 1" is not really useful.
2020-10-26 13:22:18 +01:00
Tomas Smetana
75574401e7
Add e2e test for the newPV Controller metric
2020-10-26 13:05:06 +01:00
qingsenLi
c4d0191466
fix typo in e2e test
2020-10-24 15:53:22 +08:00
Kubernetes Prow Robot
84096f02e9
Merge pull request #94968 from Lion-Wei/fix-session-affinity-case
...
fix session affinity related flaky cases in ipvs proxy mode
2020-10-23 15:19:00 -07:00
Ernest Wong
cb78e889ff
fix: do not hardcode nginx image URL in rc e2e test case
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2020-10-23 13:35:40 -07:00
Kubernetes Prow Robot
237dae5a5e
Merge pull request #95807 from Huang-Wei/postfilter-int-test-flake
...
Deflake PostFilter integration test
2020-10-23 12:15:16 -07:00
Kubernetes Prow Robot
77b725784c
Merge pull request #94723 from knight42/refactor/e2e-node
...
refactor: migrate node e2e tests off insecure port
2020-10-23 10:56:31 -07:00
Christopher M. Luciano
22b8cd5e51
proxy: label kube_proxy test with more unique label
...
The kube_proxy SIGDescribe previously only had Network in the title
and made it more difficult to select just the test cases in the
kube_proxy file and would end up running anything with Network in the
text area of SIGDescribe e2e tests.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-23 13:47:23 -04:00
Kubernetes Prow Robot
0c00f7b0f6
Merge pull request #95777 from alculquicondor/default-pod-spread-integration
...
Add integration test for Default PodTopologySpread
2020-10-23 00:12:07 -07:00
Lion-Wei
624f5f9fdc
extend request interval to make session affinity cases stable
2020-10-23 13:48:49 +08:00
Kubernetes Prow Robot
ba8ce9c81b
Merge pull request #95769 from alculquicondor/relax_spreading_e2e
...
Add more Pods and relax skew in E2E spread test
2020-10-22 22:17:17 -07:00
Kubernetes Prow Robot
824ad083ea
Merge pull request #95737 from verb/1.20-cli-debug-test
...
Add integration test for kubectl debug
2020-10-22 22:17:07 -07:00
Kubernetes Prow Robot
43747b55f2
Merge pull request #95713 from ii/promote-replicationcontroller
...
Promote ReplicationController lifecycle test - +7 endpoint coverage
2020-10-22 22:16:58 -07:00
Kubernetes Prow Robot
82cc713b13
Merge pull request #95328 from aojea/conntrack_invalid
...
add ipv6 support to the image issue-74839
2020-10-22 22:16:16 -07:00
Ali
bfdeda58b7
Delete framework/v1alpha1 folder and change remaining import paths
2020-10-23 13:16:13 +11:00
Wei Huang
6e7b20543c
Deflake PostFilter integration test
2020-10-22 13:48:50 -07:00
Aldo Culquicondor
f6fb0bd308
Add integration test for Default PodTopologySpread
...
Simulating a cluster with 500 nodes in 3 zones, deploying 3, 12 and 27 Pods belonging to the same service.
Change-Id: I16425594012ea7bd24b888acedb12958360bff97
2020-10-22 13:42:50 -04:00
Rajas Kakodkar
0269e2d042
bump qemu version
...
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-10-22 16:34:53 +00:00
Morgan Bauer
9eb0d76f5b
prepare node performance tests to move to separate job
2020-10-21 16:55:49 -07:00
Kubernetes Prow Robot
ededd08ba1
Merge pull request #95676 from jdef/patch-1
...
fix "forbidden" test flakes
2020-10-21 13:09:03 -07:00
Kubernetes Prow Robot
ffb233ff2d
Merge pull request #95155 from cmluciano/cml/netpolapie2e
...
netpol: Add CRUD tests for NetworkPolicy API
2020-10-21 13:08:50 -07:00
Aldo Culquicondor
1840fcd4bb
Add more Pods and relax skew in E2E spread test
...
A spreading test is more meaningful with a greater number of Pods. However, we cannot always expect perfect spreading. We accept a skew of 2 for 5*z Pods, where z is the number of zones.
Change-Id: Iab0de06a95974fbfec604f003b550f15db618ebd
2020-10-21 14:10:43 -04:00
Kubernetes Prow Robot
161df49979
Merge pull request #95594 from soltysh/fix_e2e
...
Fix --dry-run invocation in kubectl e2e
2020-10-21 10:28:20 -07:00
Harshal Patil
bff8109eb7
Adjust the acceptable value of UsageNanoCores
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-21 22:00:44 +05:30
Lee Verberne
d0503b228f
Add integration test for kubectl debug
2020-10-21 11:13:46 +02:00
Kubernetes Prow Robot
5d49a6253c
Merge pull request #95035 from harche/selinux_kubelet
...
Add SELinux labels for kubelet on Fedora CoreOS
2020-10-20 21:06:19 -07:00
Kubernetes Prow Robot
6b7e8070b6
Merge pull request #94796 from harche/rtclass_test
...
Move the RuntimeClass tests out of node-kubelet-orphans
2020-10-20 13:44:20 -07:00
Kubernetes Prow Robot
0f21596f65
Merge pull request #95299 from MHBauer/serial-npd-tests
...
mark node-problem-detector as serial
2020-10-20 10:22:08 -07:00
Kubernetes Prow Robot
3fe372c3da
Merge pull request #95631 from alculquicondor/enable-default-spreading
...
Graduate DefaultPodTopologySpread to beta
2020-10-20 07:58:09 -07:00
Kubernetes Prow Robot
b8ecff28d3
Merge pull request #93126 from gaurav1086/getCSINodeLimits_fix_range_issue
...
[e2e/storage] fix range iterator copy issue in getCSINodeLimits
2020-10-19 18:20:07 -07:00
Stephen Heywood
995583938a
Promote Replication Controller lifecycle e2e test to Conformance
2020-10-20 12:24:52 +13:00
Hippie Hacker
c383dc7b1f
Promote Replication Controller Lifecycle
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
2020-10-20 11:56:03 +13:00
Aldo Culquicondor
87c8349bdc
Graduate DefaultPodTopologySpread to beta
...
And set to enabled by default
Change-Id: Ie4cc4758c52492924cb0663450f2747908cb5882
2020-10-19 16:58:09 -04:00
Kubernetes Prow Robot
dc6b7f848d
Merge pull request #95626 from ii/update-metadata-for-delete-collection-events
...
Switch "Events" conformance metadata from v1.19 to v1.20 to reflect actual applicable release
2020-10-19 11:10:13 -07:00
Francesco Romani
82a730f116
e2e: topomgr: fix ginkgo log
...
Due to a rebase glitch the fmt.Sprintf() was lost.
This patches restores it improving the logs readability.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-19 19:28:01 +02:00
Christopher M. Luciano
62ac60c4b5
netpol: Add CRUD tests for NetworkPolicy API
...
CRUD operations are the extent of conformance testing that we can add
for NetworkPolicy tests since we require a 3rd party plugin like CNI
for enforcement.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-10-19 13:22:42 -04:00
Claudiu Belu
4dbb55fe85
test images: Adds Windows support (part 2)
...
Adds Windows support for most of the images.
Adds a README explaining the image building process, including the
Windows Container image building process.
2020-10-19 16:54:28 +00:00
knight42
d321ac52a2
refactor: migrate node e2e tests off insecure port
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-20 00:12:58 +08:00
Claudiu Belu
2161a97505
tests: Refactor agnhost image pod usage - common (part 2)
...
A previous commit added a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-10-18 08:44:38 -07:00
Edward Haas
c104671401
test, e2e: Remove duplication when using PodClient.CreateSync
...
The CreateSync method includes the waiting for the pod to become running
and returns a fresh new pod instance.
In addition, errors are asserted in the method.
Therefore, there is no need for the callers to repeat these operations.
Some, like the error assertions, will never be reached in case they
occur as they will explode from within the method itself.
Signed-off-by: Edward Haas <edwardh@redhat.com>
2020-10-18 15:42:06 +03:00
James DeFelice
1a12c8084b
fix test flakes
...
I've observed this test occasionally failing due to 403 errors. I think there's something racing within apiserver w/ respect to RBAC and that if this test were more patient, then it would not flake this way.
2020-10-17 17:15:28 -04:00
Antonio Ojea
97a13a0f87
e2e don't use hardcoded name for containers name
2020-10-17 11:44:45 +02:00
Kubernetes Prow Robot
c1a781cce7
Merge pull request #93889 from claudiubelu/test-images/switch-to-buildx
...
Test images: switch to buildx
2020-10-17 01:10:12 -07:00
Kubernetes Prow Robot
8058942aa2
Merge pull request #95574 from swetharepakula/disable-test
...
Disable ExternalTrafficPolicy Test for large clusters
2020-10-16 18:42:12 -07:00
Kubernetes Prow Robot
f738e5b320
Merge pull request #94440 from claudiubelu/tests/agnhost-usage-refactor-2
...
tests: Refactor agnhost image pod usage - common (part 1)
2020-10-16 14:58:12 -07:00
Swetha Repakula
b38ff20f71
Disable test for large clusters
...
- Due to performance issues, service controller updates are slow
in large clusters, causing failing tests. Tag can be removed once
performance issues are resolved
2020-10-16 14:27:15 -07:00
Kubernetes Prow Robot
7b40b3410b
Merge pull request #94595 from claudiubelu/tests/agnhost-usage-refactor-5
...
tests: Refactor agnhost image pod usage - network
2020-10-16 09:01:40 -07:00
Claudiu Belu
0d24b05434
test images: Switches to buildx
...
Currently, some of the E2E test images have Windows support, and one of the goals is for most of
them to have Windows support. For that, the Image Builder is currently building those Windows
container images using a few Windows Server nodes (for 1809, 1903, 1909) with Remote Docker
enabled which are hosted on an azure subscription dedicated for CNCF.
With this, the Windows nodes dependency is removed entirely, as the images can be also built with
docker buildx. One additional benefit to this is that adding new supported Windows OS versions
to the E2E test images manifest lists becomes a lot easier (we wouldn't have to create a new Windows
Server node that matches that new OS version, assign DNS name, update certificates, etc.), and it
also becomes easier for other people to build their own E2E windows test images.
However, some dependencies are still required to run on a Windows machine. To solve this, we can
just pull helper images: e2eteam/powershell-helper:6.2.7 and e2eteam/busybox-helper:1.29.0. Their
Dockerfiles and a Makefile for them has been included in this commit. If any change is required to
them, then a new image will be built and tagged under a different version, but they are pretty
straight-forward and shouldn't require changes.
However, there is a small concern when it comes to the build time: Windows servercore images are
very large (for example, mcr.microsoft.com/windows/servercore:ltsc2019 is 4.99GB uncompressed, and
about ~2 GB compressed - those images are already cached on the Windows Server builder nodes, so
this isn't an issue there), and we currently support 1809, 1903, and 1909 (soon to add 2004).
This can lead to build times that are too big.
We have changed the base image to nanoserver (uncompressed size: 250MB), but some images still
require some DLLs or some other dependencies that can be fetched from a servercore image.
A separate job has been defined that would build a scratch windows-servercore-cache image monthly,
and then we can just get those dependencies from this cache, which will be very small.
This would be preferred, as the Windows images update periodically, and those dependencies
could be updated as well.
2020-10-16 10:42:49 +00:00
Kubernetes Prow Robot
cd8b87f25a
Merge pull request #95562 from wojtek-t/fix_metrics
...
Fix metrics reporting in kube-apiserver
2020-10-15 21:13:25 -07:00
Kubernetes Prow Robot
a5adff2b89
Merge pull request #95527 from mattcary/gke-xfs
...
Enable XFS tests for recent GKE COS versions
2020-10-15 17:35:25 -07:00
Stephen Heywood
d1caabdabd
Switch events conformance metadata from v1.19 to v1.20
2020-10-16 11:06:22 +13:00
Morgan Bauer
1ac20e931e
CAP_NET_RAW should be NET_RAW
...
Format of Capability adds CAP_ prefix automatically.
Add commentary as test progress output.
Clear up some existing comments.
2020-10-15 10:14:22 -07:00
Morgan Bauer
24125781d7
enable benchmark by matching test config
...
Change kubernetes/test-infra@fc3e91a from 105 -> 90 causes this test
not to be run.
2020-10-15 08:14:49 -07:00
Kubernetes Prow Robot
943b1dbf53
Merge pull request #95495 from deads2k/remove-secondary-retry
...
remove secondary client retries in e2e tests
2020-10-15 08:06:39 -07:00
David Eads
64c099d670
remove secondary client retries in e2e tests
2020-10-15 08:30:42 -04:00
wojtekt
3d2a80643a
Fix metrics reporting in kube-apiserver
2020-10-15 13:50:33 +02:00
Maciej Szulik
788ef39cab
Fix --dry-run invocation in kubectl e2e
2020-10-15 12:51:58 +02:00
Kenichi Omichi
788e7d9360
Replace non-ascii string under test/
2020-10-15 03:35:08 +00:00
Amim Knabben
b340bb5f95
Removing flaky tag from test
2020-10-14 21:00:24 -04:00
Francesco Romani
009b5356cb
e2e: node: topomgr: avoid plugin leak on test fail
...
We need to make sure we tear down the sriov device plugin pod
should the tests fail, to avoid leaking pods in the test environment.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-14 23:01:58 +02:00
Kubernetes Prow Robot
9891ac4d4d
Merge pull request #95333 from jayunit100/node_port_udp_fast_test
...
Node port udp fast test
2020-10-13 18:19:54 -07:00
Kubernetes Prow Robot
1c4f83e8c2
Merge pull request #95340 from Huang-Wei/priority-class-endpoints
...
PriorityClass lifecycle tests
2020-10-13 16:25:54 -07:00
Matthew Cary
b670fee999
Enable XFS tests for recent GKE COS versions
2020-10-13 14:31:06 -07:00
Wei Huang
f8cfbc8ac1
PriorityClass lifecycle tests
2020-10-13 12:06:07 -07:00
Ali
09b2e8f638
Move scheduler interface to pkg/scheduler/framework
2020-10-13 13:13:27 +11:00
Antoni Zawodny
636bd041fe
Fix the busybox image tag in kubemark hollow nodes
2020-10-12 17:50:41 +02:00
Kubernetes Prow Robot
57a46531f5
Merge pull request #95321 from harche/fix_cap
...
add CAP_NET_RAW capability to CRI stats summery test
2020-10-12 08:14:48 -07:00
jay vyas
e7a9a94da8
simpler addition of nodeport basic validation
2020-10-11 11:36:02 -04:00
Kubernetes Prow Robot
c72b30b3b7
Merge pull request #93534 from everpeace/score-in-preemption-handle
...
scheduler: expose Run[Pre]ScorePlugins functions to PreemptionHandle(through PluginRunner)
2020-10-09 20:34:47 -07:00
Kubernetes Prow Robot
3e36ac3093
Merge pull request #95378 from danwinship/fix-dual-stack-canaries
...
fix kubelet iptables monitoring on dual-stack
2020-10-09 19:38:59 -07:00
Kubernetes Prow Robot
6d5f928023
Merge pull request #95397 from masap/test-integratio/fix-warning
...
test-integration: Fix using deprecated default cluster IPs
2020-10-09 15:57:48 -07:00
Dan Winship
3b9f358eb9
Don't depend on DNS in NetworkPolicy tests
...
The NetworkPolicy tests work by trying to connect to a service by its
name, which means that for the tests that involved creating egress
policies, it had to always create an extra rule allowing egress for
DNS, but this assumed that DNS was running on UDP port 53. If it was
running somewhere else (eg if you changed the CoreDNS pods to use port
5353 to avoid needing to give them the NET_BIND_SERVICE capability)
then the NetworkPolicy tests would fail.
Fix this by making the tests connect to their services by IP rather
than by name, and removing all the DNS special-case rules. There are
other tests that ensure that Service DNS works.
2020-10-09 16:16:43 -04:00
Dan Winship
3f4c2d6fe0
Improve logging of iptables canary test
...
Since it's [Disruptive] it only runs in periodic jobs so it's better
to have too much debugging info than too little.
2020-10-09 11:59:21 -04:00
Kubernetes Prow Robot
ee297b6f4d
Merge pull request #95053 from tanjunchen/replace-k8s-master
...
test/e2e/framework/:use the term 'Control Plane' in comment
2020-10-08 19:31:05 -07:00
Morgan Bauer
459a20c607
always collect containerd logs
...
containerd is almost always running, even below docker
2020-10-08 12:40:01 -07:00
Masashi Honma
bcbd16b94b
test-integration: Fix using deprecated default cluster IPs
...
The integration test for pods produces a warning caused by using deprecated
default cluster IPs.
$ make test-integration WHAT=./test/integration/pods GOFLAGS="-v"
W1007 17:25:28.217410 100721 services.go:37] No CIDR for service cluster IPs specified. Default value which was 10.0.0.0/24 is deprecated and will be removed in future releases. Please specify it using --service-cluster-ip-range on kube-apiserver.
This warning appears 36 times after running all tests. This patch removes all
the warnings.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-08 20:38:58 +09:00
Kubernetes Prow Robot
128b697d55
Merge pull request #95276 from jayunit100/95216_ginkgo
...
Have udp tests return idiomatic ginkgo errors, update reporting of mutating parts
2020-10-07 10:44:15 -07:00
Antonio Ojea
a0887285f5
add ipv6 support to the image issue-74839
...
Co-authored-by: Dan Winship <danwinship@redhat.com>
2020-10-07 18:30:47 +02:00
Kubernetes Prow Robot
777e84e184
Merge pull request #95101 from a1k24/patch-92402-staticcheck
...
fixes test/integration/ttlcontroller staticcheck
2020-10-07 02:16:42 -07:00
Kubernetes Prow Robot
7a5b058f27
Merge pull request #95016 from Jefftree/remove-kubeconform
...
Remove kubeconform
2020-10-06 16:54:42 -07:00
Kubernetes Prow Robot
5430a828e1
Merge pull request #95150 from adelina-t/patch-2
...
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
2020-10-06 14:14:42 -07:00
Kubernetes Prow Robot
810560dc98
Merge pull request #95318 from aojea/fixsudo
...
e2e hostexec commands does not need sudo
2020-10-06 13:00:56 -07:00
Kubernetes Prow Robot
9e1e551e83
Merge pull request #95335 from marosset/windows-e2e-owners-update
...
Adding marosset to test/e2e/windows/OWNERS approver
2020-10-06 11:16:42 -07:00
marosset
669d480a4e
Adding marosset to test/e2e/windows/OWNERS approver
2020-10-06 17:21:18 +00:00
Kubernetes Prow Robot
f30d6a463d
Merge pull request #93779 from yodarshafrir1/fix_restart_job_failure_with_restart_policy_never
...
Fix job backoff limit for restart policy Never
2020-10-06 10:02:44 -07:00
Harshal Patil
a4cd6f13c8
Add SELinux labels for kubelet on Fedora CoreOS
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 14:53:47 +05:30
Harshal Patil
17e5f4e836
add CAP_NET_RAW capability to CRI stats summery test
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 13:37:08 +05:30
Antonio Ojea
33602279a2
e2e hostexec commands does not need sudo
2020-10-06 09:36:49 +02:00
Kubernetes Prow Robot
1a66eb7b8a
Merge pull request #89482 from renatoviana12/master
...
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
jay vyas
8630dc924a
Update test/e2e/framework/network/utils.go
...
add logging about min/max interval
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-10-05 19:01:33 -04:00
Kubernetes Prow Robot
5e44d8ebaf
Merge pull request #95015 from Jefftree/bdd-remove-dependency
...
Remove dependency on behaviors for conformance walk.go
2020-10-05 13:04:19 -07:00
Javier Diaz-Montes
97b2082b0a
Adding Bazel dependencies
2020-10-05 15:25:41 -04:00
Javier Diaz-Montes
d4b18a646f
Adding failure scenario for long FQDN and setHostnameAsFQDN feature
2020-10-05 15:25:37 -04:00
Kubernetes Prow Robot
613ee7f0db
Merge pull request #95233 from jsafrane/framework-start-error
...
Add error text to kube-system wait error
2020-10-05 10:35:43 -07:00
Morgan Bauer
3658f66db7
mark node-problem-detector as serial
2020-10-05 07:00:07 -07:00
jay vyas
56def96d9d
Update DialFromNode to return values as is done w/ other tests. Update
...
comments to clarify missing probability check function (since they need
to be updated anyways b/c of the return value introduced)
2020-10-04 15:59:20 -04:00
Kubernetes Prow Robot
2603cc1fcf
Merge pull request #94835 from zshihang/upgrade
...
upgrade test for BoundServiceAccountTokenVolume
2020-10-03 14:17:05 -07:00
Kubernetes Prow Robot
b2730aa483
Merge pull request #95261 from sjenning/fix-pods-e2e
...
test: e2e: fix race in pods test
2020-10-02 21:47:04 -07:00
Kubernetes Prow Robot
bf9354d8cc
Merge pull request #95202 from rikatz/remove-master-clusterinfo
...
Change kubectl clusterinfo to non offensive words
2020-10-02 14:19:04 -07:00
Seth Jennings
b7c74338e8
test: e2e: fix race in pods test
2020-10-02 14:32:31 -05:00
tanjunchen
818238ae74
test/e2e/framework/:use the term 'Control Plane' in comment
2020-10-02 08:54:29 -07:00
Kubernetes Prow Robot
7029430ae3
Merge pull request #94542 from oomichi/remove-FailfWithOffset
...
Remove unused FailfWithOffset()
2020-10-01 19:27:18 -07:00
Kubernetes Prow Robot
5549a0d9bb
Merge pull request #95012 from nodo/add-namespace-to-post-based-namespace-creation
...
Make the creation of namespace using POST and PATCH consistent
2020-10-01 17:37:20 -07:00
Kubernetes Prow Robot
1ec3345eb6
Merge pull request #94922 from knabben/pre-stop-e2e
...
Verify pod termination with E2E PreStop hook
2020-10-01 16:35:19 -07:00
Kenichi Omichi
99e9096034
Remove unused FailfWithOffset()
...
The function has been unused from outside of e2e framework at all
since 30b3472f89
which added the function.
This removes it for code cleanup.
2020-10-01 21:04:12 +00:00
Kubernetes Prow Robot
c58a26d77f
Merge pull request #95014 from erain/feature/remove-unmaintained-sd-logging-e2e-tests
...
Remove unmaintained stackdriver logging e2e test
2020-10-01 13:43:19 -07:00
Amim Knabben
68ce3cf3d4
Verify pod termination with E2E PreStop hook
2020-10-01 16:04:07 -04:00
Kubernetes Prow Robot
05b3e8911a
Merge pull request #95166 from vishsangale/master-to-control-plane-test-e2e-GetMasterHost
...
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-10-01 11:49:19 -07:00
Kubernetes Prow Robot
cc68a78ef5
Merge pull request #95160 from jayunit100/patch-12
...
Delete federation tests from sig-network because they are disruptive and no longer relevant
2020-10-01 10:47:19 -07:00
Andrea Nodari
3cb510e33e
Make the creation of namespace using POST and PATCH consistent
...
PATCH verb is used when creating a namespace using server-side apply,
while POST verb is used when creating a namespace using client-side
apply.
The difference in path between the two ways to create a namespace led to
an inconsistency when calling webhooks. When server-side apply is used,
the request sent to webhooks has the field "namespace" populated with
the name of namespace being created. On the other hand, when using
client-side apply the "namespace" field is omitted.
This commit aims to make the behaviour consistent and populates the
"namespace" field when creating a namespace using POST verb (i.e.
client-side apply).
2020-10-01 18:05:49 +02:00
Kubernetes Prow Robot
3536a488e6
Merge pull request #95234 from jayunit100/remove-7kb-log-message
...
print out the raw pod json instead of the whole golang struct
2020-10-01 08:48:54 -07:00
Kubernetes Prow Robot
1b4fa94c21
Merge pull request #95229 from aojea/sourcelb
...
e2e can't use both pod.Name and pod.GenerateName
2020-10-01 07:00:54 -07:00
jay vyas
4c52ce7f87
just log essential pod info
2020-10-01 08:32:41 -04:00
Jan Safranek
6e85ebd0cd
Add error text to kube-system wait error
...
On HA API server hiccups we saw a prow job with error:
fail [k8s.io/kubernetes@v1.19.0/test/e2e/e2e.go:284]: Sep 30 17:06:08.313: Error waiting for all pods to be running and ready: 0 / 0 pods in namespace "kube-system" are NOT in RUNNING and READY state in 10m0s
POD NODE PHASE GRACE CONDITIONS
The failure should include the last error from API server, if it's
available:
fail [k8s.io/kubernetes@v1.19.0/test/e2e/e2e.go:284]: Oct 1 11:29:45.220: Error waiting for all pods to be running and ready: 0 / 0 pods in namespace "kube-system" are NOT in RUNNING and READY state in 10m0s
Last error: Get "https://localhost:6443/api/v1/namespaces/kube-system/replicationcontrollers ": dial tcp [::1]:6443: connect: connection refused
POD NODE PHASE GRACE CONDITIONS
2020-10-01 13:33:14 +02:00
Ricardo Pchevuzinske Katz
ab129349ac
Change kubectl clusterinfo to non offensive words
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-01 08:25:52 -03:00
Antonio Ojea
3e182e84ea
e2e can't use both pod.Name and pod.GenerateName
...
This fixes a problem when using the framework helper
e2epod.CreateExecPodOrFail() more than once in the same test.
The problem is that this function was creating pods with both the
pod.Name and pod.GenerateName set.
The second pod failed to be created with a 500 with Reason ServerTimeout
indicating a unique name could not be found in the time allotted,
xref https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/
2020-10-01 12:28:06 +02:00
Adelina Tuvenie
9d0e1c64c2
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
...
With the changes introduced by agnhost refactoring PR ( #87266 ), this test was left searching for a invalid container name. Updated to the proper name.
2020-10-01 12:28:18 +03:00
Kubernetes Prow Robot
89fdf5e7d3
Merge pull request #95167 from vishsangale/master-to-control-plane-GetAllMasterAddresses
...
Updated symbol 'framework.GetAllMasterAddresses' to not use word 'mas…
2020-09-30 18:00:53 -07:00
Renato Viana
316eff8dee
Fixed percentage behavior in instr
...
fixed syntax, wrote a test
fixed a test
.
1
Update staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
added test
.
fix
fix test
fixed a test
gofmt
lint
fix
function name
validation fix
.
godocs added
.
2020-09-30 21:23:05 +01:00
Kubernetes Prow Robot
e67fa02095
Merge pull request #94433 from aojea/iperf
...
remove iperf e2e test ip family tags
2020-09-30 12:54:54 -07:00
Kubernetes Prow Robot
4373d9aadd
Merge pull request #95132 from jluhrsen/nw-policy-debug
...
Network policy test debug and cleanup
2020-09-30 11:24:54 -07:00
jay vyas
1c5ad9b7e7
remove dns_common.go delete configmap stuff
2020-09-30 11:12:56 -04:00
jay vyas
77b78a2c1f
Remove federation tests entirely because they break clusters and aren't relevant anymore
2020-09-30 08:26:28 -04:00
Kubernetes Prow Robot
def8fe3b4e
Merge pull request #94685 from verb/ec-admission
...
Convert to EphemeralContainers for validation in EphemeralContainersREST
2020-09-30 00:29:25 -07:00
a1k24
b3d43207e8
resolve PR comment ( add nil check )
2020-09-30 11:54:23 +05:30
a1k24
8854924e65
fixes test/integration/ttlcontroller staticcheck
2020-09-30 11:54:23 +05:30
Vishwanath Sangale
b8e733fb94
Updated symbol 'framework.GetAllMasterAddresses' to not use word 'master'
2020-09-29 21:43:10 -07:00
Vishwanath Sangale
395a6d89f6
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-09-29 21:05:39 -07:00
Kubernetes Prow Robot
aaf9883747
Merge pull request #95055 from vinaykul/e2e-tests
...
Add LookForStringInPodExecToContainer(...) that takes container name as argument.
2020-09-29 12:05:25 -07:00
Kubernetes Prow Robot
ac519b43bd
Merge pull request #94828 from aojea/sctpflake
...
Fix sctp job flakes
2020-09-28 18:29:25 -07:00
Vinay Kulkarni
334cde51bf
Add LookForStringInPodExecToContainer that takes container name parameter, modify LookForStringInPodExec to call the new function.
2020-09-28 19:57:13 +00:00
Kubernetes Prow Robot
4b24dca228
Merge pull request #95078 from jingxu97/sep/subpathtest
...
Disable one subpath test for windows
2020-09-27 12:46:48 -07:00
Claudiu Belu
d37cbeb388
tests: Refactors agnhost image pod usage - network
...
A previous commit created a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-26 05:56:31 -07:00
Claudiu Belu
c99b18580d
tests: Refactor agnhost image pod usage - common (part 1)
...
A previous commit added a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-26 05:29:33 -07:00
Kubernetes Prow Robot
75448b3205
Merge pull request #94881 from nixpanic/test/e2e/storage/dd-without-cache
...
e2e: skip write/read cache when running Block-mode RWX PVC tests
2020-09-25 17:36:48 -07:00
Jing Xu
b80acc39a0
Disable one subpath test for windows
...
Disable subpath test "should be able to unmount after the subpath
directory is deleted" for windows because the test will fail when
deleting a dir while another container still use it.
2020-09-25 16:48:16 -07:00
Kubernetes Prow Robot
0f39af90ed
Merge pull request #94364 from wojtek-t/efficient_watch_resumption
...
Efficient watch resumption
2020-09-25 15:42:48 -07:00
Kubernetes Prow Robot
d66695653c
Merge pull request #95003 from jsafrane/cinder-delete-preprovisioned
...
Fail a test on pre-provisioned Cinder volume deletion error
2020-09-25 14:26:48 -07:00
Jamo Luhrsen
ae63d6495d
Collect debugs before framework.Failf
...
having framework.DumpDebugInfo after the FailF was
a noop and we are losing those potentially helpful
logs when we need them the most (on a failure)
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2020-09-25 13:22:24 -07:00
Kubernetes Prow Robot
ccfdc09f35
Merge pull request #91683 from tedyu/mirror-pod-owner-ref
...
Mirror pod without OwnerReference should not be created
2020-09-25 11:02:48 -07:00
Niels de Vos
f2bf2ab76e
e2e/storage: disable caching when writing/reading to block PVCs
...
By passing "oflag=nocache" and "iflag=direct", caching should be
disabled while writing/reading with "dd" to a block device. The
TestConcurrentAccessToSingleVolume() test is known to fail with certain
storage backends (like Ceph RBD) when caching is enabled.
The default BusyBox image used for testing does not support the required
options for "dd". So instead of running with BusyBox, run the test with
a Debian image.
2020-09-25 14:38:32 +02:00
Niels de Vos
00b6d7ccee
e2e: add option to create pods with different image in pod.Config
...
For testing certain features, the BusyBox image does not provide all the
tools that are needed. Notably 'dd' from BusyBox does not support
direct-io that is required for skipping caches while doing writes and
reads on a Block-mode PVC attached to different nodes.
2020-09-25 11:01:59 +02:00
Kubernetes Prow Robot
3a7d7101c5
Merge pull request #94876 from linux-on-ibm-z/nonewprivs-s390x
...
Add s390x support for nonewprivs
2020-09-25 01:37:11 -07:00
Vinay Kulkarni
18f8c14359
Fix LookForStringInPodExec(...) to take container name as argument, and refactor function usage
...
Ref: PR 92127 review discussion https://github.com/kubernetes/kubernetes/pull/92127/files#r447853904
2020-09-25 02:15:21 +00:00
Kubernetes Prow Robot
1f0d71cd0d
Merge pull request #95044 from spiffxp/add-controlplane-type-alias
...
Rename controlplane.Master struct to Instance
2020-09-24 16:53:20 -07:00
Kubernetes Prow Robot
90be932b60
Merge pull request #95027 from aojea/aoreview
...
auto nominate aojea to test reviewers
2020-09-24 15:29:25 -07:00
Kubernetes Prow Robot
807db805c3
Merge pull request #94969 from wojtek-t/list_all_namespaces_lease
...
Add test for listing Leases from all namespace
2020-09-24 13:57:39 -07:00
Kubernetes Prow Robot
9646d5998c
Merge pull request #94822 from JornShen/replace_e2essh_e2e_service_tests
...
Replace e2essh on e2e service tests
2020-09-24 13:57:11 -07:00
Daniel Smith
13b6a929bc
It's an 'Instance' of apiserver
2020-09-24 16:14:29 -04:00
Shihang Zhang
637235e893
upgrade test for BoundServiceAccountTokenVolume
2020-09-24 09:55:05 -07:00
Kubernetes Prow Robot
769f047675
Merge pull request #95024 from chendave/exported
...
Use the exported struct member directly
2020-09-24 09:24:34 -07:00
Valerii Ponomarov
c55b6cdbb4
agnhost image: use actual DNS domain instead of hardcoded cluster.local
...
'agnhost' image uses hardcoded 'cluster.local' value for DNS domain.
It leads to failure of a bunch of HPA tests when test cluster is
configured to use custom DNS domain and there is no alias for
default 'cluster.local' one.
So, fix it by reusing it's own function for reading DNS domain suffixes.
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
2020-09-24 14:24:16 +03:00
Antonio Ojea
bafea472d2
add aojea to test reviewers
2020-09-24 12:21:28 +02:00
Dave Chen
a9b71c198b
Use the exported struct member directly
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-09-24 16:15:11 +08:00
Kubernetes Prow Robot
d9b576d61e
Merge pull request #93384 from zhouya0/support_kubectl_delete_foreground
...
Support kubectl delete orphan/foreground/background options
2020-09-23 23:58:04 -07:00
Kubernetes Prow Robot
aad834b073
Merge pull request #94438 from claudiubelu/tests/agnhost-usage-refactor-4
...
tests: Refactors agnhost image pod usage in tests
2020-09-23 15:36:05 -07:00
Kubernetes Prow Robot
d9bb58fc49
Merge pull request #95009 from jsafrane/cinder-remove-ext3
...
Remove ext2 + ext3 tests from most volume plugins
2020-09-23 14:36:39 -07:00
Kubernetes Prow Robot
d3860a2b15
Merge pull request #95008 from jayunit100/reverting-antonios-revert
...
Reverting antonios revert (and re-adding the original fix to breadth first polling which was lost in the original pr)
2020-09-23 14:36:30 -07:00
Jefftree
6b8c8e44d8
Update bazel
2020-09-23 14:27:49 -07:00
Antonio Ojea
beef6ae512
e2e tests must consider duplicate endpoint slices
...
In some cases the EndpointSlice controller will create more
EndpointSlices than necessary resulting in some duplication. This is
valid and tests should only fail here if less EndpointSlices than
expected are added.
2020-09-23 22:56:02 +02:00
Jefftree
88b22516ea
Remove kubeconform
2020-09-23 13:33:37 -07:00
Jefftree
fe972b8f2f
Remove dependency on behaviors for conformance generation
2020-09-23 13:28:06 -07:00
Yu Yi
754a289f43
Remove unmaintained stackdriver logging e2e test
...
Signed-off-by: Yu Yi <yiyu@google.com>
2020-09-23 19:24:38 +00:00
Kubernetes Prow Robot
4ad26f2626
Merge pull request #89425 from claudiubelu/test-images/switch-to-nanoserver
...
test images: uses nanoserver
2020-09-23 10:14:10 -07:00
Jan Safranek
c4e6572912
Remove ext2 + ext3 tests
...
Testing with the default FS (ext4) is IMO enough, ext2/ext3 does not add much
value. It's handled by the same kernel module anyway.
Leave ext2/ext3 only in GCE PD which is tested in kubernetes/kubernetes CI
jobs regularly to catch regressions.
2020-09-23 17:32:50 +02:00
jay vyas
60c8a36a7b
Add failure logic to tests that rely on side-effect-free dial functions.
2020-09-23 09:36:23 -05:00
jay vyas
64548b3cfa
Adding back in the breadth-first-polling logic.
...
"Revert "Merge pull request #93837 from jayunit100/DialFromContainerB""
This reverts commit f7a28c3904
.
2020-09-23 09:09:38 -05:00
Jan Safranek
76254d88a5
Fail test when Cinder volume deletion fails
2020-09-23 14:41:29 +02:00
Jan Safranek
b003187053
Add extra log when Cinder volume deletion fails
...
"cinder show <id>" output will help us to debug what's wrong with the
Cinder volume.
2020-09-23 14:41:10 +02:00
Jan Safranek
ead8707f3a
Delete pre-provisioned Cinder volume by ID
2020-09-23 14:38:45 +02:00
jornshen
40474d7e2a
Replace e2essh on e2e service tests
...
test can execute whever hosts have ssh or not
relevant case:
"should be able to up and down services"
"should implement service.kubernetes.io/service-proxy-name"
"should implement service.kubernetes.io/headless"
2020-09-23 19:21:57 +08:00
Krzysztof Siedlecki
a96cbba6fb
using kubectl apply to create metric adapter
2020-09-23 11:13:32 +02:00
Kubernetes Prow Robot
d19aec8bf1
Merge pull request #92985 from serathius/summary
...
Move Kubelet Summary API to staging directory
2020-09-22 22:30:08 -07:00
Kubernetes Prow Robot
3783e03dc9
Merge pull request #87266 from claudiubelu/tests/agnhost-usage-refactor
...
tests: Refactor agnhost image pod usage
2020-09-22 19:40:08 -07:00
Kubernetes Prow Robot
61a2d0d34e
Merge pull request #94740 from tangwz/feat_use_Ticker_in_throughput
...
scheduler_perf: use time.Ticker in throughput measurement
2020-09-22 18:34:08 -07:00
Claudiu Belu
89eae73323
tests: Refactors agnhost image pod usage in tests
...
A previous commit created a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-22 13:09:49 -07:00
Antonio Ojea
f7a28c3904
Revert "Merge pull request #93837 from jayunit100/DialFromContainerB"
...
This reverts commit 61490bba46
, reversing
changes made to 9ecab1b4b2
.
Some methods from the networking e2e tools are dialing from a
containter to another container, and failing the test if there was no
connectivity. This PR modified the methods to return an error instead of
failing the test.
However, these methods were used by other tests in the framework, and
they are not checking if the method returns an error, expecting that
the method fail the test. With this change, any connectivity problem
will go unnoticed on the tests that are not asserting the error, so we
need to revert to previous state.
2020-09-22 21:53:10 +02:00
Kubernetes Prow Robot
f2fcbac083
Merge pull request #94292 from Jiawei0227/stress-test
...
[e2e]Fail early on stress test and improve logging
2020-09-22 12:23:11 -07:00
Kubernetes Prow Robot
3b568bbe5d
Merge pull request #94232 from swetharepakula/multiple-services
...
Add e2e multiple endpoint services test
2020-09-22 12:23:00 -07:00
Kubernetes Prow Robot
61490bba46
Merge pull request #93837 from jayunit100/DialFromContainerB
...
intra-pod test improvements for bug-triage and node-level reporting
2020-09-22 12:22:50 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
Antonio Ojea
1dbf915e7b
wait until the iptables rules are programmed
2020-09-22 15:50:22 +02:00
wojtekt
a65fec2a8a
Add test for listing Leases from all namespace
2020-09-22 14:27:49 +02:00
Kubernetes Prow Robot
82d924cea5
Merge pull request #94840 from dashpole/update_owners
...
Move dashpole to emeritus in kubelet
2020-09-21 21:23:02 -07:00
Kubernetes Prow Robot
dd466bccde
Merge pull request #94527 from brahmaroutu/mount-utils-2
...
Change code to use staging/k8s.io/mount-utils
2020-09-21 17:46:47 -07:00
Kubernetes Prow Robot
cdc7a2949b
Merge pull request #94760 from harche/crio_tests_fix
...
Add a check for crio service before starting node e2e tests
2020-09-21 08:56:31 -07:00
Claudiu Belu
46c820e793
test images: uses nanoserver
...
Using Windows nanoserver container images as a base instead of the current
Windows servercore image will reduce the image size by about ~10x.
However, the nanoserver image lacks several things we need:
- netapi32.dll
- powershell
- certain powershell commands
- chocolatey cannot be used
When building the nanoserver images, we are going to use a Windows servercore helper,
in which we are going to install the necessary dependencies, and then copy them over
to our nanoserver image, including necessary DLLs.
Other notable changes include:
- switch from wget to curl (wget was a powershell alias).
- implement in code getting the DNS suffix list and DNS server list.
- reimplement getting file permissions for mounttest.
2020-09-21 04:53:44 -07:00
tangwz
518c502f54
scheduler_perf: use time.Ticker in throughput measurement
2020-09-19 09:36:17 +08:00
Kubernetes Prow Robot
b86e725694
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
2020-09-18 15:08:27 -07:00
Harshal Patil
2ad5f014a1
Add a check for crio service before starting node e2e tests
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-18 18:09:54 +05:30
Kubernetes Prow Robot
085beca6e1
Merge pull request #94854 from knight42/fix/run_kubectl_apply_tests
...
test(apply): deflake run_kubectl_apply_tests(round 3)
2020-09-17 19:34:45 -07:00
Matthew Cary
299a296c7a
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
2020-09-18 00:44:39 +00:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Matthew Cary
74dbf274d9
update storageos vendor for FilteredDial change
2020-09-18 00:07:32 +00:00
Kubernetes Prow Robot
ff1d6e8c1d
Merge pull request #93252 from adtac/scheduler-perf
...
scheduler_perf: refactor to allow arbitrary workloads
2020-09-17 14:08:46 -07:00
Adhityaa Chandrasekar
71bc9ce9c2
scheduler_perf: refactor to allow arbitrary workloads
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-17 19:22:20 +00:00
Stephen Augustus
00a07cfd86
build: Update to debian-iptables:buster-v1.3.0
...
- Uses iptables 1.8.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-17 13:06:27 -04:00
Kubernetes Prow Robot
73b4f09dce
Merge pull request #94777 from claudiubelu/test-images/echoserver-fix
...
test images: Fixes echoserver s390x image
2020-09-17 08:12:45 -07:00
knight42
57619aa9d7
test(apply): deflake run_kubectl_apply_tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-17 22:51:19 +08:00
Kubernetes Prow Robot
660e1e4969
Merge pull request #94789 from zhouya0/cleanup_ns_flag
...
Clean up remaining ns flag
2020-09-17 07:08:45 -07:00
Kubernetes Prow Robot
3eb90c19d0
Merge pull request #94693 from smarterclayton/busybox_substitute
...
test/e2e: Busybox image is not being templatized
2020-09-17 05:24:58 -07:00
Rajas Kakodkar
7566da7f81
Add support for s390x
...
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-09-17 02:50:20 -07:00
Claudiu Belu
d663b07f7d
test images: Fixes echoserver s390x image
...
When trying to build the s390x image, it would fail when running the apk
command with the following error:
ERROR: Unable to open root: Bad address
ERROR: Failed to open apk database: Bad address
This can be fixed by updating the third_party/multiarch/qemu-user-static/register/register.sh
and third_party/multiarch/qemu-user-static/register/qemu-binfmt-conf.sh scripts
and their usage to a newer version [1].
Additionally, the packages nginx-mod-http-lua and nginx-mod-http-lua-upstream
cannot be found in the regular http://dl-cdn.alpinelinux.org/alpine/v3.9/main/s390x/
repository, but we can use an older one [2].
[1] https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
[2] http://dl-cdn.alpinelinux.org/alpine/v3.8/main
2020-09-17 09:34:40 +00:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Kubernetes Prow Robot
51184187b9
Merge pull request #94823 from zhouya0/fix_e2e_hpa_failure
...
Fix e2e autoscaling namespace error
2020-09-16 21:12:44 -07:00
Kubernetes Prow Robot
09b3f6dbb3
Merge pull request #93214 from trashhalo/prefer-error
...
test: prefer NoError/Error over Nil/NotNil
2020-09-16 15:10:45 -07:00
Clayton Coleman
aaa90476cb
test/e2e: Busybox image is not being templatized
...
All images used by e2e tests must use templates in order to allow
relocation. In addition this is hitting Dockerhub which will be
getting throttled soon.
2020-09-16 14:54:03 -04:00
David Ashpole
0ffc149ccc
move dashpole to emeritus in kubelet
2020-09-16 11:52:35 -07:00
Kubernetes Prow Robot
338d233c50
Merge pull request #93961 from aledbf/kubectl
...
Refactor kubectl stdin test
2020-09-16 07:45:19 -07:00
Kubernetes Prow Robot
5d095c8a44
Merge pull request #94785 from robscott/endpointslice-e2e-gc
...
Increasing acceptable timeout for EndpointSlice garbage collection
2020-09-16 06:29:19 -07:00
Manuel Alejandro de Brito Fontes
ee2c4e514f
Refactor kubectl without stdin test
2020-09-16 09:31:59 -03:00
Antonio Ojea
3eeed2f7fe
e2e sctp support for ipv6
2020-09-16 11:47:11 +02:00
Kubernetes Prow Robot
fcba5fe4e4
Merge pull request #94800 from mborsz/revert-92643-connDebug
...
Revert "conntrack e2e test debug connections"
2020-09-16 02:35:20 -07:00
Kubernetes Prow Robot
0a02eda2a2
Merge pull request #94380 from julianvmodesto/update-diff-csa-to-ssa-test
...
Ensure `kubectl diff --server-side` does not conflict with client-side apply
2020-09-16 01:25:20 -07:00
zhouya0
3b8603acbc
Fix e2e autoscaling namespace error
2020-09-16 14:01:44 +08:00
Rob Scott
4aef5b8f4c
Increasing acceptable timeout for EndpointSlice garbage collection
...
This should help minimize flakiness for these tests.
2020-09-15 21:32:48 -07:00
zhouya0
59bc823547
Delete namespace parameter in create adapter
2020-09-16 11:44:30 +08:00
Kubernetes Prow Robot
3e8e0dbf4a
Merge pull request #94482 from oomichi/expect_no_error-2
...
Use ExpectNoError(err) for some e2e tests
2020-09-15 18:27:19 -07:00
Kubernetes Prow Robot
303810c7a2
Merge pull request #94782 from adtac/SpreadServiceOrFail
...
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
2020-09-15 16:21:33 -07:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
...
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Kubernetes Prow Robot
e7b9453972
Merge pull request #93537 from timuthy/enhancement.move-resourcequota
...
Move ResourceQuota admission to k8s.io/apiserver lib
2020-09-15 12:26:58 -07:00
Kubernetes Prow Robot
396dd2555d
Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
...
Do not allow manual changes to manageFields via subresources
2020-09-15 12:26:43 -07:00
Kubernetes Prow Robot
fd9828b02a
Merge pull request #92632 from RenaudWasTaken/move-podresources-api
...
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Kubernetes Prow Robot
825cf52702
Merge pull request #94747 from pwang7/patch-1
...
e2e test support microk8s
2020-09-15 08:58:21 -07:00
Renaud Gaubert
4eadf40448
Run gofmt
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 06:22:44 -07:00
Renaud Gaubert
ba95a8c641
run hack/update-vendor.sh
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Renaud Gaubert
60304452ff
Move podresources api to k8s.io/kubelet/pkg/apis
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Maciej Borsz
bb6d0f9820
Revert "conntrack e2e test debug connections"
2020-09-15 12:16:56 +02:00
Harshal Patil
feea9f3708
Move the RuntimeClass tests out of node-kubelet-orphans
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-15 12:51:38 +05:30
Kubernetes Prow Robot
e36e68f5f6
Merge pull request #94779 from SergeyKanzhelev/supportPidLimitsGAFollowUp
...
follow up cleanup after SupportPodPidLimits GA
2020-09-15 00:12:07 -07:00
wojtekt
af61e8fbdf
Test watchcache being updated in multietcd setup
2020-09-15 08:19:13 +02:00
zhouya0
438ec9be49
Clean up remaining ns flag
2020-09-15 10:43:51 +08:00
Kubernetes Prow Robot
76e0e25118
Merge pull request #94609 from soltysh/kubectl_e2e
...
Use namespace flag passed to RunKubectl* methods
2020-09-14 19:16:06 -07:00
Adhityaa Chandrasekar
9970966844
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-14 20:32:06 +00:00
Sergey Kanzhelev
2a9228eb3c
follow up cleanup after SupportPodPidLimits GA
2020-09-14 18:50:24 +00:00
Kubernetes Prow Robot
54df1fdc90
Merge pull request #94090 from deads2k/podpreset
...
remove pod presets
2020-09-14 10:43:13 -07:00
David Eads
c0c033b12f
generated
2020-09-14 09:24:41 -04:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Stephen Augustus
fc673df1e4
test/{images,utils/image}: Add justaugustus as reviewer
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-14 09:11:50 -04:00
Pu Wang
40f2d1b8ff
e2e test support microk8s
...
microk8s run kubelet service as `snap.microk8s.daemon-kubelet.service`, instead of `kubelet.service`.
so e2e should use `systemctl list-units *kubelet* --state=running` to find out kubelet service of microk8s.
2020-09-13 16:11:50 +08:00
Kubernetes Prow Robot
66334f02e8
Merge pull request #94731 from spiffxp/rm-http-ingress-gce-tests
...
Remove tests related to HTTPS support for ingress-gce
2020-09-12 04:08:56 -07:00
David Ashpole
20863a8b43
add retry for creating metrics grabber to fix test flakes
2020-09-11 13:52:45 -07:00
Aaron Crickenberger
deffddbfb5
Remove tests related to HTTPS support for ingress-gce
2020-09-11 13:32:27 -07:00
Mike Danese
d182ecc1f9
output go_binary rule directly from go_binary_conditional_pure
...
And same for go_test_conditional_pure.
Instead of aliasing. Aliases are annoying in a number of ways. This is
specifically bugging me now because they make the action graph harder to
analyze programmatically. By using aliases here, we would need to handle
potentially aliased go_binary targets and dereference to the effective
target.
The comment references an issue with `pure = select(...)` which appears
to be resolved considering this now builds.
2020-09-11 13:19:37 -07:00
Stephen Augustus
a4a98f440c
[go1.15] Update to go1.15.2
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:12 -07:00
Maciej Szulik
eec4a04c2d
Use namespace flag passed to RunKubectl* methods
2020-09-11 14:51:03 +02:00
Kubernetes Prow Robot
f5a42d69c9
Merge pull request #93475 from ravisantoshgudimetla/fix-kubelet-scc
...
Strip unnecessary security contexts on Windows
2020-09-10 18:14:14 -07:00
Kubernetes Prow Robot
c7d6f796fe
Merge pull request #94144 from gnufied/prevent-stale-pv-read
...
Reduce offline volume expansion flake
2020-09-10 14:22:31 -07:00
Kubernetes Prow Robot
ac6447c76f
Merge pull request #94318 from gnufied/fix-namespace-deletion
...
Prevent deletion of namespace again
2020-09-10 10:46:03 -07:00
Kubernetes Prow Robot
6085d90897
Merge pull request #92064 from roycaihw/storage-version/serve-api
...
Serve storage-versions API in kube-apiserver
2020-09-10 10:45:48 -07:00
Lee Verberne
bf0a33d1de
Use EphemeralContainers for storage validation
...
When updating ephemeral containers, convert Pod to EphemeralContainers
in storage validation. This resolves a bug where admission webhook
validation fails for ephemeral container updates because the webhook
client cannot perform the conversion.
Also enable the EphemeralContainers feature gate for the admission
control integration test, which would have caught this bug.
2020-09-10 17:24:52 +02:00
Hemant Kumar
4614817100
Increase time it takes for second pod to startup for offline resizing
2020-09-10 10:03:12 -04:00
Kubernetes Prow Robot
c3b888f647
Merge pull request #93930 from pohly/multi-volume-generic-ephemeral-test-fix
...
e2e storage: skip multi-volume generic ephemeral volume test
2020-09-10 02:33:45 -07:00
Kubernetes Prow Robot
88e3c95d7c
Merge pull request #94647 from pohly/ephemeral-fixes
...
storage E2E: explicitly wait for PV deletion after ephemeral test
2020-09-09 20:43:44 -07:00
Kubernetes Prow Robot
b56d0acaf5
Merge pull request #94653 from jsafrane/tolerate-missing-objects
...
Tolerate NotFound errors when deleting snapshots
2020-09-09 12:21:46 -07:00
Hemant Kumar
c4ce420667
Prevent deletion of namespace again
2020-09-09 11:22:08 -04:00
Kubernetes Prow Robot
293a53f2c0
Merge pull request #94140 from derekwaynecarr/pid-ga
...
Promote PidLimits to GA
2020-09-09 06:35:52 -07:00
Jan Safranek
7df879ea95
Tolerate NotFound errors when deleting snapshots
2020-09-09 14:50:11 +02:00
Patrick Ohly
16635f5902
storage E2E: explicitly wait for PV deletion after ephemeral test
...
Even with foreground deletion, removal of the PVs that may have been
created for a pod with generic ephemeral volumes happens
asynchronously, in the worst case after the test has completed and the
driver for the volume got removed.
Perhaps this can be fixed in Kubernetes itself, but for now we need to
deal with it as part of the test.
2020-09-09 13:14:46 +02:00
Haowei Cai
07506ab384
generated
2020-09-08 19:14:36 -07:00
Chao Xu
86dd4ce3b5
Let kube-apiserver host the storage version API
...
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-09-08 19:14:36 -07:00
Wei Huang
d8def59871
Initialize scheduler's podInformer in sharedInformerFactory
...
Scheduler's specific podInfomer is now initialized inside the sahredInformerFactory.
2020-09-08 12:57:17 -07:00
Kubernetes Prow Robot
7d4fb9dc2b
Merge pull request #94614 from sttts/sttts-fix-non-unique-test-env-var
...
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 09:43:43 -07:00
Kubernetes Prow Robot
4847c69ced
Merge pull request #91442 from saschagrunert/seccomp-ga-e2e
...
Update seccomp e2e test for GA
2020-09-08 04:53:58 -07:00
Dr. Stefan Schimanski
aa04982471
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 13:45:32 +02:00
Kubernetes Prow Robot
b16070f3ce
Merge pull request #92643 from aojea/connDebug
...
conntrack e2e test debug connections
2020-09-07 05:03:42 -07:00
Kubernetes Prow Robot
1f708f6e62
Merge pull request #94112 from damemi/sort-endpoints
...
Remove canonicalization of endpoints by endpoints controller for better comparison
2020-09-04 22:13:40 -07:00
Stephen Solka
203679cc61
prefer NoError/Error over Nil/NotNil
2020-09-04 18:35:52 -04:00
Tim Usner
70d440bc7e
Move ResourceQuota admission to k8s.io/apiserver
2020-09-04 14:53:52 +02:00
Antonio Ojea
0004b199d5
do not mutate endpoints in the apiserver
...
the endpoints API handler was using the Canonicalize() method to
reorder the endpoints, however, due to differences with the
endpoint controller RepackSubsets(), the controller was considering
the endpoints different despite they were not, generating unnecessary
updates evert resync period.
2020-09-04 08:42:45 -04:00
Kenichi Omichi
12c0eaef25
Use ExpectNoError(err)
...
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Kubernetes Prow Robot
48d5d204c3
Merge pull request #92614 from tnqn/onfailure-recreate
...
Don't create a new sandbox for pod with RestartPolicyOnFailure if all containers succeeded
2020-09-03 14:57:40 -07:00
Kubernetes Prow Robot
f736be5721
Merge pull request #94397 from wojtek-t/stop_setting_selflink
...
Stop setting SelfLink in kube-apiserver.
2020-09-03 12:31:55 -07:00
Kubernetes Prow Robot
8da7c92a2f
Merge pull request #93975 from avr1254/master
...
Removed broken link to Analytics
2020-09-03 06:16:09 -07:00
Matthew Fenwick
81219ca9d2
address review comments
2020-09-02 21:49:45 -04:00
Kubernetes Prow Robot
0455c2d5e7
Merge pull request #94407 from lavalamp/big-rename
...
Control Plane is a better name
2020-09-02 14:49:55 -07:00
Kubernetes Prow Robot
17efe1d627
Merge pull request #93394 from liggitt/shorten-apimachinery-test
...
Shorten watch restart test, run in parallel
2020-09-02 12:09:06 -07:00
Daniel Smith
a86afc12df
update scripts
2020-09-02 10:49:40 -07:00
Daniel Smith
15e0e3e90e
rename
2020-09-02 10:48:26 -07:00
Daniel Smith
75f835aa08
move port definitions to a common location
2020-09-02 10:48:25 -07:00
Antonio Ojea
b0dfe256f5
remove iperf e2e test ip family tags
2020-09-02 17:39:38 +02:00
Kubernetes Prow Robot
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
...
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07:00
Kubernetes Prow Robot
dd6c53d035
Merge pull request #93946 from alexzimmer96/68026-pkg-controller-resourcequota
...
Refactor pkg/controllers/resourcequota to fix golint errors
2020-09-01 19:41:06 -07:00
Kubernetes Prow Robot
3cb89eb948
Merge pull request #94373 from MHBauer/fix-94370
...
relax matcher for ResourceMetricsAPI test
2020-09-01 18:44:28 -07:00
Kubernetes Prow Robot
6e663379ed
Merge pull request #94204 from tkashem/impersonation-with-apf
...
Impersonated user with a specified group should not fail flow schema match in Priority & Fairness
2020-09-01 18:44:00 -07:00
Kubernetes Prow Robot
19820b7bf1
Merge pull request #93876 from jsafrane/fix-wait-errormsg
...
Fix waiting for PVC to get bound
2020-09-01 18:43:42 -07:00
Swetha Repakula
e6428ae214
Add e2e multiple endpoint services test
...
- ensures that when multiple services with the same selector will
function even if one of the services is deleted
2020-09-01 16:36:33 -07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
wojtekt
2539912a22
Stop setting SelfLink in kube-apiserver.
2020-09-01 20:57:38 +02:00
Kubernetes Prow Robot
e23d83eead
Merge pull request #93710 from Jiawei0227/attachable2non
...
Detect volume attach-ability in the middle of attaching
2020-08-31 17:39:50 -07:00
Julian V. Modesto
690c6b2f25
Update kubectl diff --server-side
test.
...
In 1.19, we made it so that upgrading from client-side `kubectl apply`
to server-side `kubectl apply --server-side` does not conflict.
This means that `kubectl diff --server-side` should work the same:
server-side apply diffing a resource managed originally with client-side apply
should not result in conflicts.
2020-08-31 15:49:44 -04:00
Morgan Bauer
8936adc146
relax matcher for ResourceMetricsAPI test
...
Instead of requiring only exactly the pods created, allow other pods
to exist by ignoring any extra matches.
2020-08-31 09:53:33 -07:00
Stephen Augustus
e59d9f372d
Update CNI plugins to v0.8.7
...
ref: https://github.com/containernetworking/plugins/releases/tag/v0.8.7
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-31 09:01:07 -04:00
Federico Paolinelli
254905caa7
Mark SCTPConnectivity tests as disruptive.
...
Since the SCTP module verification tests were added, their result may be affected by
running the SCTPConnectivity tests. For this reason, they are now marked as disruptive.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:32 +02:00
Federico Paolinelli
345cab6ee9
Add tests for SCTP network policies.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:29 +02:00
Claudiu Belu
13849214c1
tests: Refactor agnhost image pod usage
...
Creates a few agnhost related functions that creates agnhost
pods / containers for general purposes.
The following commits will refactor tests to use those functions.
2020-08-29 15:48:03 -07:00
Kubernetes Prow Robot
044f9102dd
Merge pull request #94054 from vareti/shorten-test-run-time
...
start kube-apiserver and webhook server only once to shorten the webhook audit test time
2020-08-29 07:11:19 -07:00
Kubernetes Prow Robot
2ca9ee3928
Merge pull request #94229 from derekwaynecarr/verify-container-state-running
...
Verify running mirror pod has running containers
2020-08-28 22:15:19 -07:00
Kubernetes Prow Robot
9ac9616361
Merge pull request #94310 from twosigma/movee2etestfqdn
...
Moving SetHostnameAsFQDn e2e tests to e2e_node directory to include tests in Node Testgrid
2020-08-28 17:15:19 -07:00
Andi Li
673af97bcd
Fix testpattern check
2020-08-28 13:44:42 -04:00
Javier Diaz-Montes
0f5a03195b
Moving e2e tests to e2e_node directory
2020-08-28 12:54:12 -04:00
Andi Li
d915463451
Combine switch case into one case
2020-08-28 12:36:15 -04:00
Andi Li
5b4dffb6b7
Ran hack/update-bazel.sh but discarded changes to root build file
2020-08-28 12:36:15 -04:00
Andi Li
e748ec3de2
Move common portion of dynamic snapshot out of switch statement
2020-08-28 12:36:15 -04:00
Andi Li
7918f69055
Remove custom hash function, generate a random UUID for snapshot and snapcontent name instead
2020-08-28 12:36:15 -04:00
Andi Li
86af5a5ec3
Stack snapshot tests into one to reuse snapshot resource and reduce time taken on prow.
2020-08-28 12:36:15 -04:00
Andi Li
a4498846b1
Quick commit
2020-08-28 12:36:15 -04:00
Andi Li
854645d7c3
Remove snapshot class from prepv test because it is not needed.
...
Prepv snapshots only need to specify driver.
2020-08-28 12:36:15 -04:00
Andi Li
42b2d1c52c
Combine two tests with overlap to reduce overall snapshot test suite time
2020-08-28 12:36:15 -04:00
Andi Li
e78aee9965
Add pre provisioned snapshot tests
...
Make pre provisioned snapshots using CSI driver by
1. Take a dynamic snapshot with retain policy
2. Delete the dynamic snapshot and content
3. Create a preprovisioned snapshot with snapshotHandle
This commit adds a preprovisiond test pattern, all snapshots made using
create snapshot resource become prepv snapshots. All exisitng test cases
now run again with prepv snapshots.
2020-08-28 12:36:15 -04:00