Commit Graph

19803 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bb0906dcb2
Merge pull request #99929 from lala123912/lint_clean
Remove unused/dead code
2021-04-08 16:00:34 -07:00
Kubernetes Prow Robot
a40da10099
Merge pull request #99713 from ankeesler/exec-plugin-integration-test
Exec plugin integration test
2021-04-08 15:59:17 -07:00
Kubernetes Prow Robot
e9d7247447
Merge pull request #99072 from cynepco3hahue/e2e_fix_memory_manager_tests
e2e: fix memory manager tests
2021-04-08 14:27:40 -07:00
Jack Francis
5a43067915 respect ExecProbeTimeout 2021-04-07 12:38:19 -07:00
Andrew Keesler
d00202bd3e
exec credential provider: informer happy path integration test
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-07 14:46:40 -04:00
Antonio Ojea
7c7d003e5c e2e test with hostNetwork pods can't run in parallel
the tests with pods using hostNetwork need to bind pods for the
test. Since they use hostNetwork the ports are limited, hence, if
more than one run in parallel, one is going to fail because will not
be able to get the port.
2021-04-07 20:07:18 +02:00
Sergey Kanzhelev
4b05fe6644 podUnknown is marked as Obsolete 2021-04-06 22:43:08 +00:00
RA489
67d30f32f6 kubeadm: Add RA489 as reviewer 2021-04-06 21:45:39 +05:30
Nicolas Mitchell
0e994e9481 return error with non-unique workload name in scheduler_perf_test 2021-04-06 10:24:04 -04:00
Mengxue Zhang
200ef16f1d list pod list once to avoid timeout 2021-04-06 13:44:11 +00:00
Andrew Keesler
c984a1c834
test/integration/client: ditch unused code
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-06 09:40:57 -04:00
Mauricio Poppe
1e1252ed8c use LinuxOnly annotation instead of e2eskipper to skip windows tests 2021-04-05 20:21:53 +00:00
jay vyas
cd58735777
add network-policy label automatically 2021-04-05 09:36:15 -07:00
Davanum Srinivas
766c6706c4
Fix file mode condition for host_path storage test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-05 09:25:45 -04:00
Nicolas Mitchell
338b06fb69 validate test/workload names in validateTestCases 2021-04-04 14:18:39 -04:00
James Sturtevant
d0683b8ce2 align some of the pod start up times 2021-04-02 11:29:38 -07:00
James Sturtevant
dab1325c29 increase timeout for pods to start 2021-04-01 12:28:50 -07:00
Claudiu Belu
665e2004f1 Windows tests: Adds [Feature:GPUDevicePlugin] tag to Device Plugin test
The test verifies a specific feature, in which GPUs are required, thus, cannot
be run in most testing environments. We should exclude this test from most test jobs.
We'll be doing this by adding the [Feature:GPUDevicePlugin] tag (which is also being
used by test/e2e/scheduling/nvidia-gpus.go), and then add it to the ginkgo skip regex.
2021-04-01 11:36:13 -07:00
Mauricio Poppe
55bed0bb66 skip default storageclass test with windows nodes 2021-03-31 17:21:57 +00:00
pacoxu
ce50018a76 part1 of e2e: master to apiserver/control-plane
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-31 15:50:18 +08:00
Davanum Srinivas
57ddfb7314
Switch to newer agnhost image
We have an update to the image in
f9aaf71ccb, we need to bump to use this
image.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-30 20:15:36 -04:00
Niekvdplas
fec272a7b2 Fixed several spelling mistakes 2021-03-30 23:02:09 +02:00
Mauricio Poppe
7b0b47c132 remove sleep 1 and check later if the test is flaky 2021-03-30 20:04:10 +00:00
Andrey Smirnov
f9aaf71ccb test/e2e: fix the OIDC discovery test with ECDSA service account key
By default oidc library enables only `RS256` signature validation
method.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-30 22:58:50 +03:00
Wei Huang
e7f67b1a63
Surface kube config in scheduler framework handle 2021-03-30 11:54:59 -07:00
Casey Callendrello
1efd456bcf test/e2e: handle ipv6 addresses in netpol tests
The tests, as written, don't correctly join ip and port for v6
addresses.

use net.JoinHostPort to handle this case.
2021-03-30 16:41:06 +02:00
Kubernetes Prow Robot
770d3f181c
Merge pull request #99734 from wgahnagl/sysctls-conformance
Promote sysctls e2e test to Conformance
2021-03-26 18:26:43 -07:00
Kubernetes Prow Robot
931516a87b
Merge pull request #100191 from jingxu97/mar/deployment
Fix deployment lifecycle test issue
2021-03-25 17:13:49 -07:00
Kubernetes Prow Robot
4333e5caa7
Merge pull request #100553 from adtac/suspend-intfail
job controller: don't mutate shared cache object
2021-03-25 10:31:29 -07:00
David Eads
cbd762814f use a non-deprecated API to check kube-proxy 2021-03-25 12:41:50 -04:00
drfish
aa0b284ca1 Make integration tests not depend on e2e tests 2021-03-25 23:02:52 +08:00
Skyler Clark
c6b99025a6
adds sysctls conformance tests 2021-03-25 09:28:25 -04:00
Kubernetes Prow Robot
2eb6911e83
Merge pull request #94334 from RaunakShah/volume_provision_perf
Add e2e test to validate performance metrics of volume lifecycle operations
2021-03-24 23:47:29 -07:00
Adhityaa Chandrasekar
4118dff509 suspend integration tests: run all subtests in pre-submit
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-25 06:36:00 +00:00
Kubernetes Prow Robot
533931cfe5
Merge pull request #100549 from RaunakShah/fix_snapshot_cleanup
Fix check before deleting PV in Snapshot e2e test
2021-03-24 21:41:29 -07:00
Kubernetes Prow Robot
e34046c81d
Merge pull request #100537 from pohly/storage-capacity-e2e-test
storage e2e: verify CSIStorageCapacity publishing
2021-03-24 20:01:41 -07:00
shahra
6a97ff529d Fix check before deleting PV in Snapshot e2e test 2021-03-24 18:34:44 -07:00
Jing Xu
787559581f Fix deployment lifecycle and ReplicaSet test issue
The pause image should not run sleep commands. This will cause pod fail
to start correctly.

See details in issue #100047. We discovered some behavior about
development in certain cases like new pod fail to start correctly, but will be further investigated.

Change-Id: I9761bbefa694f6fe51a6f1e7561fa7e566ce4d8f
2021-03-24 18:22:13 -07:00
Kubernetes Prow Robot
bcab4c35d2
Merge pull request #100540 from mauriciopoppe/remove-selinuxoptions
Remove SELinuxOptions double setup in pod spec
2021-03-24 18:01:28 -07:00
Mauricio Poppe
7455b1ae94 update ephemeral volume tests with windows 2021-03-25 00:13:52 +00:00
Kubernetes Prow Robot
68c021261c
Merge pull request #100519 from tanjing2020/validateOOMScoreAdjSettingIsInRange
Fix the wrong judgment of oom_score_adj
2021-03-24 16:23:28 -07:00
Patrick Ohly
d7a086ddd8 storage e2e: simplify CSIStorageCapacity test
We can support topology detection for all drivers with a single
topology key by allowing different nodes to have the same topology
value. This makes the test a bit more generic and its configuration
simpler.
2021-03-24 22:31:43 +01:00
shahra
34e4a5f22c Add e2e test to validate performance metrics of volume lifecycle operations.
This test currently validates latency and throughput of volume
provisioning against a high baseline.
2021-03-24 13:50:32 -07:00
Kubernetes Prow Robot
d8193c9503
Merge pull request #100464 from listx/remove-listx-from-owners
test/utils/image: remove listx from OWNERS
2021-03-24 13:49:42 -07:00
Kubernetes Prow Robot
e57223876d
Merge pull request #100295 from adtac/suspend-int
add integration test for suspended jobs
2021-03-24 13:49:30 -07:00
Mauricio Poppe
d9c4d8bff8 remove selinuxoptions because it's configured before 2021-03-24 18:58:54 +00:00
Patrick Ohly
b9b5d13b6d storage e2e: verify CSIStorageCapacity publishing
Drivers need to opt into the new test. Depending on how the driver
describes its behavior, the check can be more specific. Currently it
distinguishes between getting any kind of information about the
storage class (i.e. assuming that capacity is not exhausted) and
getting one object per node (for local storage). Discovering nodes
only works for CSI drivers.

The immediate usage of this new test is for csi-driver-host-path with
the deployment for distributed provisioning and storage capacity
tracking. Periodic kubernetes-csi Prow and pre-merge jobs can run this
test.

The alternative would have been to write a test that manages the
deployment of the csi-driver-host-path driver itself, i.e. use the E2E
manifests. But that would have implied duplicating the
deployments (in-tree and in csi-driver-host-path) and then changing
kubernetes-csi Prow jobs to somehow run for in-tree driver definition
with newer components, something that currently isn't done. The test
then also wouldn't be applicable to out-of-tree driver deployments.

Yet another alternative would be to create a separate E2E test suite
either in csi-driver-host-path or external-provisioner. The advantage
of such an approach is that the test can be written exactly for the
expected behavior of a deployment and thus be more precise than the
generic version of the test in k/k. But this again wouldn't be
reusable for other drivers and also a lot of work to set up as no such
E2E test suite currently exists.
2021-03-24 18:18:27 +01:00
Seth Jennings
0eb40b3ded e2e: reduce pods used in shared local pv test 2021-03-24 10:07:45 -05:00
tanjing2020
d0882e69e2 Fix the wrong judgment of oom_score_adj 2021-03-24 16:13:20 +08:00
drfish
244d7a5d67 Remove suffixes for VolumeSnapshotClasses in E2E tests 2021-03-23 21:24:28 +08:00
Kubernetes Prow Robot
375c9abfa2
Merge pull request #99873 from liggitt/etcd-compatibility
Add Etcd compatibility test
2021-03-23 05:27:36 -07:00
caiweidong
850759ec87 Preempting: do not delete the victim if it just exits in WaitingPods 2021-03-23 14:37:36 +08:00
Kubernetes Prow Robot
1822523afb
Merge pull request #100345 from ravisantoshgudimetla/fix-ds-test
Tighten DS rollout catching function
2021-03-22 18:51:35 -07:00
Linus Arver
8f6ca1c649 test/utils/image: remove listx from OWNERS
Removing myself from OWNERS as I haven't had the bandwidth to go over
these reviews for a long time.

This should have been part of #99718, which has already been merged.
2021-03-22 14:22:51 -07:00
Kubernetes Prow Robot
1a983bb958
Merge pull request #100418 from swetharepakula/eps-conformance
Promote EndpointSlice API test to Conformance
2021-03-22 13:27:35 -07:00
卢振兴10069964
4d595b9129 log format optimization 2021-03-22 11:15:25 +08:00
drfish
0558ca1918 Unify some methods in e2e common 2021-03-21 21:51:56 +08:00
Ikko Ashimine
7baa7dbdbe
test: fix typo in chaosmonkey.go
defered -> deferred
2021-03-21 12:20:00 +09:00
Swetha Repakula
9c1f9c3962 Promote EndpointSlice API test to Conformance 2021-03-19 23:28:35 +00:00
ravisantoshgudimetla
f339061816 Tighten DS rollout catching function 2021-03-19 16:02:41 -04:00
Ernest Wong
42011ecfe4
test image: bump agnhost version to 2.30
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-19 11:12:45 -07:00
Kubernetes Prow Robot
ac5f05b374
Merge pull request #100359 from chewong/increase-dns-timeout
agnhost: increase dns timeout from 5 seconds to 20 seconds
2021-03-19 08:04:33 -07:00
Kubernetes Prow Robot
0fecc01567
Merge pull request #100300 from DangerOnTheRanger/reboot-flake-fix
Fix E2E node reboot test flake
2021-03-18 16:30:36 -07:00
Kubernetes Prow Robot
7f8ef6fbce
Merge pull request #100189 from aramase/update-dualstack-test
update dual-stack test description to remove alpha
2021-03-18 15:26:36 -07:00
Kubernetes Prow Robot
b57a8bacad
Merge pull request #100383 from jsturtevant/update-to-latest-promoted-busybox
Update busybox that includes windows nltest
2021-03-18 14:12:35 -07:00
Kubernetes Prow Robot
f28cb4659d
Merge pull request #99698 from spiffxp/verify-e2e-test-ownership
add verify-e2e-test-ownership.sh
2021-03-18 12:19:07 -07:00
James Sturtevant
a8eff25ff3 update busybox that includes windows nltest 2021-03-18 12:03:56 -07:00
Wei Huang
9d1ef9f4c5
unregister Service events if a plugin doesn't implement EventsToRegister() 2021-03-18 11:04:06 -07:00
Maru Newby
253df78f1b Tag Multi-AZ scheduling tests as serial
As per mdame, we can't ensure that the cluster is actually balanced
if other tests are adding or deleting pods in parallel.
2021-03-18 10:31:03 -07:00
Mauricio Poppe
2ac6d4d133 fix Pod Disks schedule pods each with a PD test in windows 2021-03-18 17:19:09 +00:00
Francesco Romani
fc0955c26a e2e: topomgr: use deletePodSync for faster delete
Previously the code used to delete pods serially.
In this patch we factor out code to do that in parallel,
using goroutines.

This shaves some time in the e2e tm test run with no intended
changes in behaviour.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-18 13:28:16 +01:00
Adhityaa Chandrasekar
1341e35a96 add integration test for suspended jobs
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-18 12:22:14 +00:00
Kubernetes Prow Robot
0c6d922812
Merge pull request #100057 from mauriciopoppe/pd-csi-volumesnapshot-flaky
Snapshot e2e test: wait for the node to stop using a volume before taking a snapshot
2021-03-18 01:15:19 -07:00
Kermit Alexander
81040d386f Return last pod error when apierrors.IsNotFound returns true in WaitForPodCondition. 2021-03-18 00:53:26 +00:00
Kermit Alexander
3213e36430 Always check passed podCondition in WaitForPodCondition. 2021-03-17 23:14:29 +00:00
Ernest Wong
0a368288ac
agnhost: increase dns timeout from 5 seconds to 20 seconds
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-17 16:07:35 -07:00
Aaron Crickenberger
e12e5be329 test/e2e: Add ownership info to README 2021-03-17 16:48:11 -04:00
Claudiu Belu
327093093d
test images: Fixes Windows busybox image
The image "e2eteam/powershell-helper:6.2.7-linux-cache" is a Linux image. Because we're running "docker buildx build --platform windows/amd64", docker buildx will consider it as a Windows image unless we explicitly specify otherwise. If the image's platform is not correctly identified, we can run into problems when trying to build the image.

We are already doing something similar with the windows-servercore-cache image.
2021-03-17 16:51:06 +02:00
Kubernetes Prow Robot
3d1d8731bd
Merge pull request #99866 from claudiubelu/test-images/powershell-helper-linux-cache
test images: powershell-helper linux cache
2021-03-16 17:02:56 -07:00
Kubernetes Prow Robot
da341b5cfc
Merge pull request #100290 from ii/promote-service-status-test
Promote ServiceStatus lifecycle e2e test to Conformance  +4 endpoint coverage
2021-03-16 15:57:16 -07:00
Katrina Verey
8bae3b449a Fix kubectl drain integration tests
These tests were not performing evictions because:
- Test pods were not on the test node (fixed with spec.nodeName)
- The test pods are unmanaged and require the --force flag to be evicted
  (added the flag)
- The test node does not run pods, which prevents pod deletion from
  finalizing (worked around with --skip-wait-for-delete-timeout)
2021-03-16 15:52:00 -07:00
Kubernetes Prow Robot
d4f1102690
Merge pull request #100260 from liggitt/pdb-crud
Replicate update/patch operations from eviction test in conformance CRUD test
2021-03-16 14:50:40 -07:00
Kubernetes Prow Robot
72cc3f2112
Merge pull request #99860 from chewong/fix-99470
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
2021-03-16 14:49:30 -07:00
Kubernetes Prow Robot
c78b5497ae
Merge pull request #99638 from chendave/perf_config
Enable scheduler_perf to support scheduler config file
2021-03-16 14:49:03 -07:00
Kubernetes Prow Robot
8ae116003b
Merge pull request #100303 from cpanato/revert-100179
revert removal of gcr.io/gke-release from pr #100179
2021-03-16 13:13:04 -07:00
Maciej Szulik
d30e79d090
Add more details to daemon set test 2021-03-16 18:39:14 +01:00
Claudiu Belu
ac6ebc260c test images: powershell-helper linux cache
We can cache the powershell-helper image's results into a scratch Linux image using
docker buildx. This will allow us to spend less time pulling the data we need from the
powershell-helper image when we need it.

Additionally, docker buildx might have some issues with cross-registry images, so this
will allow us to circumvent it.
2021-03-16 17:07:50 +00:00
Mauricio Poppe
c95975d3f3 wait until the node is not using the volume before taking a snapshot 2021-03-16 16:09:38 +00:00
Carlos Panato
c0e61e95a0
revert removal of gcr.io/gke-release from pr 100179 2021-03-16 16:30:18 +01:00
Dave Chen
d50c0aeb5f Enable scheduler_perf to support scheduler config file
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-03-16 23:13:40 +08:00
Kermit Alexander
c2aa40ca13 Do not early exit if pod is not found in WaitForPodCondition. 2021-03-16 14:44:19 +00:00
Kubernetes Prow Robot
bd23f4ff1e
Merge pull request #99888 from mauriciopoppe/storage-windows-tests
Refactor on windows e2e storage related tests
2021-03-15 19:40:34 -07:00
Ernest Wong
573535691b
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-15 19:14:14 -07:00
Chaitanya Bandi
93be90da9a use Patch API to add namespace annotations
While adding annotations to the namespace, using the Update API may result in
conflicts as "the object has been modified; please apply your changes to the
latest version and try again". Use Patch API to avoid this.

Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-15 15:13:36 -07:00
Kubernetes Prow Robot
aac64ec9b3
Merge pull request #100199 from chaitanyabandi/ns-patch
use Patch API to add namespace label
2021-03-15 14:20:53 -07:00
Stephen Heywood
af1f64bee8 Promote ServiceStatus lifecycle e2e test to Conformance 2021-03-16 10:07:05 +13:00
Jordan Liggitt
e7b0ec5857 Replicate update/patch operations from eviction test in conformance CRUD test 2021-03-15 16:54:45 -04:00
Jordan Liggitt
86a8271624 Ensure storage version is understood by prior releases 2021-03-15 11:58:44 -04:00
Kubernetes Prow Robot
b345913c5e
Merge pull request #100188 from alculquicondor/job-api-fixes
Only default Job fields when feature gates are enabled
2021-03-15 07:35:06 -07:00
Kubernetes Prow Robot
b458d97feb
Merge pull request #99670 from jsturtevant/windows-gmsa
Include nltest in the windows busybox image
2021-03-15 05:01:05 -07:00
Kubernetes Prow Robot
9657dd77a3
Merge pull request #100179 from cpanato/GH-1525-gke
test: remove gcr.io/gke-release since it is deprecated
2021-03-14 23:49:04 -07:00
Kubernetes Prow Robot
e814c55e78
Merge pull request #100121 from pacoxu/e2e-volume-registry/cleanup
remove e2e volume registry as it is not used
2021-03-14 18:43:04 -07:00
wojtekt
7ac0711af4 Split upgrade tests into sig-owned directories 2021-03-13 12:35:15 +01:00
Kubernetes Prow Robot
96f5e60308
Merge pull request #100173 from wojtek-t/cleanup_describe_23
Remove double-ownership of PV ResourceQuota tests
2021-03-12 21:21:04 -08:00
Kubernetes Prow Robot
d39c427d01
Merge pull request #100050 from neolit123/1.21-tag-node-probe-test-with-kubelet-version
e2e/common/node: tag tests with MinimumKubeletVersion
2021-03-12 18:01:03 -08:00
Kubernetes Prow Robot
ce6ddbe939
Merge pull request #100172 from wojtek-t/cleanup_describe_21
Move GPU upgrade tests to node directory
2021-03-12 16:53:03 -08:00
Chaitanya Bandi
4e0069b909 use Patch API to label namespace to avoid conflicts
While labeling the namespace using the Update API may result in conflicts as
"the object has been modified; please apply your changes to the latest version
and try again". Use Patch API to avoid this.

Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-12 15:17:24 -08:00
Aldo Culquicondor
e6c3d7b34d Only default Job fields when feature gates are enabled
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Wei Huang
68ff3168b8
sched: fix a bug that literal 'p99' is mapped to 95th-percentile 2021-03-12 12:03:12 -08:00
Anish Ramasekar
4cd09e15cf
update dual-stack test description to remove alpha
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-12 09:58:50 -08:00
Carlos Panato
bd32786b20
test: remove gcr.io/gke-release since it is deprecated 2021-03-12 14:35:10 +01:00
Francesco Romani
04f091790e e2e: TM: wait for SRIOV devices in pod scope tests
The Topology Manager e2e tests wants to run on real multi-NUMA system
and want to consume real devices supported by device plugins; SRIOV
devices happen to be the most commonly available of such devices.

The tests need to wait for resource availability before to actually
run the tests, or they will fail with a false negative, also relatively
hard to debug.

An optimization was added in commit 56106439cf to minimize the restarts,
speed up the execution and make a nasty, yet not fully understood, flake
with SRIOV device plugin much less likely.

Unfortunately the pod-scope tests were mistakenly left over.
This Patch fixes that.
CI lanes did NOT fail (and will not fail) because the CI machines aren't
multi NUMA nor expose SRIOV devices, so the relevant portion of the test
will just skip, avoiding the issue.

However, this resurfaces when running the testsuite on bare metal; this
is how we noticed.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-12 11:01:56 +01:00
wojtekt
be87a9331b Remove double-ownership of PV ResourceQuota tests 2021-03-12 08:15:00 +01:00
Kubernetes Prow Robot
faa5c8ccd4
Merge pull request #99375 from ehashman/probe-kep-2238
Add Probe-level terminationGracePeriodSeconds
2021-03-11 23:10:18 -08:00
wojtekt
5744e44cad Move GPU upgrade tests to node directory 2021-03-12 08:00:11 +01:00
Kubernetes Prow Robot
251177e521
Merge pull request #100154 from jsturtevant/windows-volume-tests
[sig-windows] Write to unique file to avoid conflicts with other tests
2021-03-11 21:54:17 -08:00
Kubernetes Prow Robot
5ae856c36f
Merge pull request #100107 from robscott/rollback-100027
Rolling back PR 100027
2021-03-11 17:28:41 -08:00
Kubernetes Prow Robot
d43ffff007
Merge pull request #99298 from zshihang/csi
graduate CSIServiceAccountToken to beta
2021-03-11 17:28:25 -08:00
Kubernetes Prow Robot
019c892181
Merge pull request #100082 from logicalhan/etcd-stable
rename apiserver_storage_object_counts to apiserver_storage_objects
2021-03-11 16:24:30 -08:00
James Sturtevant
5dacb7ba88 write to unique file to avoid conflicts 2021-03-11 15:56:28 -08:00
Elana Hashman
06e634e216
Add e2es for terminationGracePeriod override 2021-03-11 14:38:06 -08:00
Kubernetes Prow Robot
2eb32e930a
Merge pull request #100137 from wojtek-t/cleanup_describe_22
Further refactoring of upgrade tests and removal of etcd upgrade tests which isn't even run
2021-03-11 13:36:18 -08:00
Wei Huang
b93b4a2c96
sched: fix a bug that metrics of init or collected pods are re-collected 2021-03-11 10:28:39 -08:00
wojtekt
ac0e7b57ab Remove etcd upgrade test - it's not being run 2021-03-11 14:41:48 +01:00
wojtekt
811d4aaaf6 Split GetUpgradeContext to a dedicated file 2021-03-11 14:39:32 +01:00
Jan Chaloupka
34c2672115 Skip PodTopologySpread tests in a single node cluster scenario 2021-03-11 12:32:09 +01:00
Kubernetes Prow Robot
823fa75643
Merge pull request #98900 from Huang-Wei/churn-cluster-op
Introduce a churnOp to scheduler perf testing framework
2021-03-11 02:00:24 -08:00
Kubernetes Prow Robot
784df7a37e
Merge pull request #100056 from pacoxu/patch-6
[test-only] e2e fix: loosen newTestResourceQuota to 10 configmaps
2021-03-11 00:18:53 -08:00
Kubernetes Prow Robot
b4648b11f9
Merge pull request #100030 from wojtek-t/cleanup_describe_20
Split upgrade tests logic to generic and provider-specific
2021-03-11 00:18:44 -08:00
Kubernetes Prow Robot
eb0c118a9d
Merge pull request #99759 from jpbetz/apply-extract
Add Extract support to client-go apply builders
2021-03-11 00:18:36 -08:00
Kubernetes Prow Robot
91a7be0c2f
Merge pull request #98884 from fedepaol/hostnetworkudp
Network Tests: bind host network udp listeners to hostIPs
2021-03-11 00:18:24 -08:00
pacoxu
59d96263e4 remove e2e volume registry as it is not used 2021-03-11 15:54:33 +08:00
Mauricio Poppe
5d9053014e Update tests to use common pod functions from framework/pod/utils.go 2021-03-11 07:25:56 +00:00
Kubernetes Prow Robot
cd66a33b32
Merge pull request #100092 from liggitt/conformance-pdb
[test-only] Promote PDB CRUD e2e tests to conformance
2021-03-10 22:42:35 -08:00
Paco Xu
2105d7ef6e e2e fix: loosen configmap to 10 in resource quota 2021-03-11 11:24:00 +08:00
Kubernetes Prow Robot
3baa0358b9
Merge pull request #100106 from justaugustus/go116
[go1.16] Update to go1.16.1
2021-03-10 17:34:23 -08:00
Rob Scott
68cfaa401c
Rolling back PR 100027
This PR was filed as a temporary workaround to reduce flakiness. Now
that the root cause has been fixed by #100103 we can restore the full
test.
2021-03-10 17:21:46 -08:00
Stephen Augustus
13ef775df2 [go1.16] Update to go1.16.1
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-10 19:06:57 -05:00
Kubernetes Prow Robot
23af91b293
Merge pull request #97779 from tiloso/staticcheck-test-integration-gs
Fix staticcheck in test/integration/{garbagecollector,scheduler_perf}
2021-03-10 16:04:23 -08:00
Lubomir I. Ivanov
d9facaec82 e2e/common/node: tag test with MinimumKubeletVersion
The tests:
"Pod liveness probe, container exec timeout, restart"
"Pod readiness probe, container exec timeout, not ready"

cannot be run against a kubelet older than 1.20.

Tag them with [MinimumKubeletVersion:1.20].
2021-03-11 01:03:05 +02:00
Kubernetes Prow Robot
c2ff2910fd
Merge pull request #98797 from sxllwx/fix/issue98606
(integration) adjust the test's client-side detection of a successful timeout case to include the connection reset
2021-03-10 12:28:22 -08:00
Kubernetes Prow Robot
4b6e3e164f
Merge pull request #99221 from jsturtevant/windows-host-stats-provider
Get filesystem stats for files on Windows
2021-03-10 11:09:23 -08:00
Kubernetes Prow Robot
be419673a2
Merge pull request #98677 from zachmandeville/ineligible_endpoint
add ineligible_endpoints.yaml
2021-03-10 08:15:14 -08:00
Jordan Liggitt
be58ad6fec Promote PDB CRUD e2e tests to conformance 2021-03-10 11:02:47 -05:00
Joe Betz
987657a80f Add extract apply function generation 2021-03-10 06:13:51 -08:00
Han Kang
50e6f15dee rename apiserver_storage_object_counts to conform to best practices (apiserver_storage_objects)
Change-Id: I8c08a37cd3ed7c943a6691185f750e55d389dd3a
2021-03-10 04:32:27 -08:00
Kubernetes Prow Robot
4740173f33
Merge pull request #100045 from swetharepakula/eps-ga-conformance
Add Endpoint Slice API Test
2021-03-10 00:35:43 -08:00
Kubernetes Prow Robot
b7d23d7111
Merge pull request #99661 from kevindelgado/status-wiping
Server-Side Apply status wiping
2021-03-10 00:35:14 -08:00
Kubernetes Prow Robot
956de2644f
Merge pull request #100036 from dims/revert-andrewsykim-conformance-probe-tests
Revert : conformance: promote container exec probe timeout tests
2021-03-09 20:37:13 -08:00
Shihang Zhang
4ad1c71174 graduate CSIServiceAccountToken to beta 2021-03-09 18:36:35 -08:00
Kubernetes Prow Robot
a43bd5e3da
Merge pull request #100027 from aojea/fixmirrorin
fix flake integration test endpoint slice mirroring updates
2021-03-09 17:39:41 -08:00
Kubernetes Prow Robot
410d092d8a
Merge pull request #99643 from pohly/generic-ephemeral-volume-beta
generic ephemeral volume beta
2021-03-09 17:39:26 -08:00
Kevin Delgado
a1fac8cbd9 Server-Side Apply: Status Wiping/Reset Fields
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.

Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com>
Co-authored-by: Kevin Delgado <kevindelgado@google.com>
2021-03-10 01:02:18 +00:00
Swetha Repakula
29a1246410 Add Endpoint Slice API Test 2021-03-10 00:08:27 +00:00
Kubernetes Prow Robot
e57e476153
Merge pull request #99862 from jsturtevant/windows-gmsa-full-fix
[Test] [sig-windows] Make sure the GMSA output doesn't have failures when resolving the domain
2021-03-09 16:08:16 -08:00
Kubernetes Prow Robot
3e110b3d8c
Merge pull request #98034 from Jefftree/testing
ServerSideApply E2E tests
2021-03-09 16:07:34 -08:00
Kubernetes Prow Robot
21d5787b40
Merge pull request #84740 from mortent/PromotePDBConformance
Promote PodDisruptionBudget e2e test to Conformance
2021-03-09 16:07:04 -08:00
Varsha Teratipally
82434ec818 bump npd version to latest v0.8.7 2021-03-09 22:48:27 +00:00
Kubernetes Prow Robot
770a9504ea
Merge pull request #95734 from fromanirh/podresources-concrete-resources-apis
podresources APIs: concrete resources apis: implement GetAllocatableResources
2021-03-09 14:29:04 -08:00
Davanum Srinivas
6c76fe9c14
Skip test when depending on feature
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-09 17:22:10 -05:00
Davanum Srinivas
ecc8de7083
Revert : conformance: promote container exec probe timeout tests
Reverting af3e118b1f and
2242d0ffc4 as these tests fail when
ExecProbeTimeout feature gate is turned on.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-09 17:05:07 -05:00
Antonio Ojea
4c8be7793c fix integration endpointslicemirroring
it can happen that there are multiple slices, and some of them
outdated, so we relax the test to check that at least one
has the corresponding fields mirrored.
2021-03-09 22:38:14 +01:00
Morten Torkildsen
08e0a46757 Promote PodDisruptionBudget e2e test to Conformance 2021-03-09 12:26:02 -08:00
wojtekt
d3ec5a5138 Move non-provider specific upgrade tests logic to upgrades package 2021-03-09 21:17:15 +01:00
wojtekt
f5fab2672e Rename functions to eliminate master word 2021-03-09 21:17:15 +01:00
wojtekt
99fdb84ae8 Split GCE/GKE upgrade mechanics to a separate file 2021-03-09 20:58:58 +01:00
Kubernetes Prow Robot
eeccc9f9c0
Merge pull request #99992 from wojtek-t/cleanup_describe_19
Refactor upgrade tests in preparation for explicit ownership
2021-03-09 11:06:16 -08:00
Kubernetes Prow Robot
afca3dace4
Merge pull request #99785 from erain/issue/98270
metrics: etcd_object_counts->apiserver_storage_object_counts(stable)
2021-03-09 11:05:50 -08:00
Kubernetes Prow Robot
046ad61479
Merge pull request #99290 from mortent/PromotePDBsToGA
Promote PodDisruptionBudget to policy/v1
2021-03-09 11:05:05 -08:00
Jefftree
1ebfb6d679 Add E2E tests for SSA 2021-03-09 10:28:21 -08:00
Federico Paolinelli
b69bc865b4 Bump up the agnhost version used
This is needed to consume the changes in https://github.com/kubernetes/kubernetes/pull/98883

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 18:39:31 +01:00
Kubernetes Prow Robot
8a599510d3
Merge pull request #99935 from MikeSpreitzer/ratelimit-realtest
Enable, rate limit, and test APF controller fights
2021-03-09 09:19:36 -08:00
Morten Torkildsen
66e722765a Update e2e tests to use the policy v1 api 2021-03-09 10:29:11 -05:00
Morten Torkildsen
621aed4d32 generated 2021-03-09 10:29:11 -05:00
Morten Torkildsen
21fba79d45 Promote PDBs to GA 2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
16e9c682ff
Merge pull request #99495 from wojtek-t/cleanup_describe_8
Move ownership of core events test to sig-instrumentation
2021-03-09 04:27:38 -08:00
Francesco Romani
d7a30e1b08 podresources: getallocatable: add feature gate
Add feature gate to disable the GetAllocatableResources API.
The feature gate isd alpha stage, disabled by default.

Add e2e test to demonstrate the behaviour with feature gate disabled.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:14:56 +01:00
Francesco Romani
16d5ac3689 node: e2e: docs and fix for teardownSRIOVConfig
Document why teardownSRIOVPod has to wait for all the containers
to be gone before to end, and why is important.

Additionally, change the code to wait for all the containers to be gone,
not just the first. This is both a little cleaner and a little safer,
even though it seems the current code caused no issues so far.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
adfff27279 node: e2e: run deleteSync in parallel
speedup the cleanup after testcases deleting pods in separate
goroutines.
The post-test cleanup stage must be done carefully since pod require
exclusive allocation - so pods must take all the steps to properly
cleanup the tests to avoid to pollute the environment, but
this has a negative effect on test duration (take longer).

Hence, we add safe speedups like doing pod deletions in parallel.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
9c69db3f04 e2e: node: add tests for GetAllocatableResources
Add e2e tests for the new GetAllocatableResources API.
The tests are added in the `podresources_test` suite
created previously in this series.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
4e7434028c e2e: node: bootstrap podresources tests
Start e2e tests for the existing List() API.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:35 +01:00
Federico Paolinelli
fa963f55ae Un-skip the hostnetwork udp endpoint test.
Since the test is being fixed, we can run the test.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 11:52:35 +01:00
Federico Paolinelli
a0ca1fd63f Network Tests: bind host network udp listeners to hostIPs
When listening on udp, the reply is sent using a src address which is
the address of the gateway interface. This means that when listening to
any, the reply can be sent out with a src ip which is different from the
request's target ip. This confuses natting and "connectionful" udp
services do not work.
Here, we force the endpoint to listen from the hostIP and from podIPs,
to cover both dual stack and legacy clusters.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 11:52:35 +01:00
wojtekt
bd3d1e7af0 Refactor upgrade tests to share more code 2021-03-09 10:06:12 +01:00
wojtekt
04a196a3dc Unify masterUpgrade and nodeUpgrade signatures 2021-03-09 08:50:49 +01:00
wojtekt
d1f721b73f Cleanup upgrade functions 2021-03-09 08:36:10 +01:00
Patrick Ohly
25f4174148 testdata: drop the alpha EphemeralVolumeSource.ReadOnly field
This is the result of
   UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api
after removing the ReadOnly field from the API. The test data
for older releases must be updated because the current code
no longer supports that field.

The removal itself is okay because the struct was declared
as alpha.

Because EphemeralVolumeSource is embedded quite a lot, different types
are affected. Here is one example:

       --- FAIL: TestCompatibility/extensions.v1beta1.DaemonSet/v1.20.0 (0.04s)
            compatibility.go:476: json differs
            compatibility.go:477:   string{
                  	... // 12941 identical bytes
                  	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, //  |               }|
                  	0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, //  |.              }|
                - 	0x2c, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // -|,.              |
                - 	0x22, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, // -|"readOnly": true|
                  	0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, //  |.            }. |
                  	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, //  |         }.     |
                  	... // 31426 identical bytes
                  }

            compatibility.go:482: yaml differs
            compatibility.go:483:   string{
                  	... // 22893 identical bytes
                  	0x34, 0x22, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x65, 0x70, 0x68, 0x65, 0x6d, //  |4".        ephem|
                  	0x65, 0x72, 0x61, 0x6c, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, //  |eral:.          |
                - 	0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x0a, 0x20, // -|readOnly: true. |
                - 	0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,                                           // -|         |
                  	0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, //  |volumeClaimTempl|
                  	0x61, 0x74, 0x65, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, //  |ate:.           |
                  	... // 5965 identical bytes
                  }

            compatibility.go:488: proto differs
            compatibility.go:490:   (
                  	"""
                  	... // 459 identical lines
                  	                }
                  	              }
                - 	              2: 1
                  	            }
                  	          }
                  	... // 1083 identical lines
                  	"""
                  )

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
2021-03-09 08:24:52 +01:00
Patrick Ohly
555d4a12bf generic ephemeral volumes: drop ReadOnly field
As discussed during the alpha review, the ReadOnly field is not really
needed because volume mounts can also be read-only. It's a historical
oddity that can be avoided for generic ephemeral volumes as part
of the promotion to beta.
2021-03-09 08:22:48 +01:00
wojtekt
6d4a601b72 Compute upgradeContext once in upgrade tests 2021-03-09 08:14:30 +01:00
Kubernetes Prow Robot
40a411a61a
Merge pull request #99912 from dims/capture-logs-from-containerd-installation-service
Capture logs from containerd-installation service
2021-03-08 22:53:38 -08:00
Kubernetes Prow Robot
faa3a5fbd4
Merge pull request #99916 from swetharepakula/eps-ga-e2e
Promote Endpoint Slice E2E Tests to Conformance
2021-03-08 20:47:45 -08:00
Kubernetes Prow Robot
841cb4adc4
Merge pull request #99844 from minbaev/scheduler-test-perf-optimization
add if check for number of scheduled pods to be greater than 0
2021-03-08 20:47:37 -08:00
Kubernetes Prow Robot
7eb99191a1
Merge pull request #98116 from aojea/mirror_dual
slice mirroring controller should mirror annotations (but endpoints.kubernetes.io/last-change-trigger-time annotation) and labels
2021-03-08 20:47:12 -08:00
jay vyas
c94ce8c507
Add default namespace labels to all namespaces for selectors (#96968)
* namespace by name default labelling

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>

* Make some logic improvement into default namespace label

* Fix unit tests

* minor change to trigger the CI

* Correct some tests and validation behaviors

* Add Canonicalize normalization and improve validation

* Remove label validation that should be dealt by strategy

* Update defaults_test.go
add fuzzer
ns spec

* remove the finalizer thingy

* Fix integration test

* Add namespace canonicalize unit test

* Improve validation code and code comments

* move validation of labels to validateupdate

* spacex will save us all

* add comment to testget

* readablility of canonicalize

* Added namespace finalize and status update validation

* comment about ungenerated names

* correcting a missing line on storage_test

* Update the namespace validation unit test

* Add more missing unit test changes

* Let's just blast the value. Also documenting the workflow here

* Remove unnecessary validations

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Co-authored-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-03-08 20:46:59 -08:00
Kubernetes Prow Robot
c7e2439173
Merge pull request #99954 from deads2k/storage-beta
switch most e2e tests to storage/v1 over v1beta1
2021-03-08 19:24:26 -08:00
Kubernetes Prow Robot
761cdf33a2
Merge pull request #99952 from ii/Promote-ReplicaSet-Test
Promote ReplicaSet Replace and Patch Test +2 Endpoints
2021-03-08 19:24:18 -08:00
Kubernetes Prow Robot
8d394cda11
Merge pull request #99857 from wojtek-t/cleanup_describe_18
Stop using SIGDescribe for upgrade tests to reflect reality
2021-03-08 19:23:54 -08:00
Kubernetes Prow Robot
b85313b6dd
Merge pull request #99853 from wojtek-t/cleanup_describe_17
Cleanup the remaining multi-owned sig-node tests
2021-03-08 19:23:44 -08:00
Kubernetes Prow Robot
eacb4bc8f0
Merge pull request #99852 from wojtek-t/cleanup_describe_16
Cleanup test/e2e/upgrades directory
2021-03-08 19:23:36 -08:00
Kubernetes Prow Robot
5f0b88b043
Merge pull request #98791 from pacoxu/kubetest/external-ips
skip checking nodeport on external addrs in conformance tests
2021-03-08 19:22:59 -08:00
lala123912
127b675a15 Remove unused/dead code 2021-03-09 09:34:37 +08:00
Kubernetes Prow Robot
0df8c69731
Merge pull request #99960 from knabben/fix-runtime-config
Enabling runtime config on E2E node tests
2021-03-08 16:28:00 -08:00
Kubernetes Prow Robot
5c8c72cf2f
Merge pull request #99941 from dims/adding-dims-as-approver-for-test
Adding dims as approver for test/
2021-03-08 16:27:52 -08:00
Kubernetes Prow Robot
a0341d7471
Merge pull request #98727 from adtac/suspend
batch API: add suspended job
2021-03-08 16:26:59 -08:00
Kubernetes Prow Robot
14c25eed8d
Merge pull request #99641 from pohly/storage-capacity-beta
CSIStorageCapacity beta API
2021-03-08 15:04:59 -08:00
Antonio Ojea
c421e22e2c slice mirroring controller mirror annotations
Add support to the endpoint slice mirroring controller to mirror
annotations, in addition to labels, but don´t mirror endpoint
triggertime annotation.

Also, fix a bug in the endpointslice mirroring controller, that
wasn't updating the mirrored slice with the new labels, in case
that only the endpoint labels were modified.
2021-03-08 23:20:08 +01:00
Kubernetes Prow Robot
1c06a72c97
Merge pull request #98067 from verb/1.21-test-ec-disabled
Add integration test for disabled ephemeral containers
2021-03-08 13:39:00 -08:00
David Eads
80ff06fe84 Enable, rate limit, and test APF controller fights
Using real time.
2021-03-08 16:24:39 -05:00
Riaan Kleinhans
c3fb2c002a Promote ReplicaSet e2e test to Conformance 2021-03-09 09:54:04 +13:00
James Sturtevant
c9eff4e906 Get filesystem stats for files on Windows 2021-03-08 12:50:23 -08:00
Amim Knabben
0341e4c2f3 Enabling runtime config on E2E node tests 2021-03-08 15:45:06 -05:00
Yu Yi
77950ba79b metrics: promote apiserver_storage_object_counts to stable
- rename etcd_object_counts to apiserver_storage_object_counts

CONTEXT https://github.com/kubernetes/kubernetes/issues/98270
FIXES https://github.com/kubernetes/kubernetes/issues/98270
2021-03-08 20:28:55 +00:00
Adhityaa Chandrasekar
a0844da8f7 batch: add suspended job
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Kubernetes Prow Robot
eb4dafb7f1
Merge pull request #99651 from umohnani8/cri
Move CRIContainerLogRotation to GA
2021-03-08 12:07:20 -08:00
Patrick Ohly
4c7e4c6316 CSIStorageCapacity: enable E2E tests by default
With the feature now in beta, tests should run in the normal jobs.
2021-03-08 20:59:52 +01:00
Patrick Ohly
5ca0814165 CSIStorageCapacity: use beta API 2021-03-08 20:52:50 +01:00
Patrick Ohly
504f105a9e CSIStorageCapacity: prepare tests for enabling the feature by default
Defaults and validation are such that the field has to be set when
the feature is enabled, just as for the other boolean fields. This
was missing in some tests, which was okay as long as they ran
with the feature disabled. Once it gets enabled, validation will
flag the missing field as error.

Other tests didn't run at all.
2021-03-08 20:52:50 +01:00
Kubernetes Prow Robot
72d92159bc
Merge pull request #99925 from logicalhan/stable-latencies
promote apiserver_request_duration_seconds to STABLE
2021-03-08 11:04:46 -08:00
Kubernetes Prow Robot
8e6c7b5825
Merge pull request #99204 from pohly/podlog-after-termination
test: err more towards ignoring logs from terminated pods
2021-03-08 11:04:38 -08:00
David Eads
b8194cf77c switch most e2e tests to storage/v1 over v1beta1 2021-03-08 13:04:24 -05:00
Swetha Repakula
17beeaf47a Promote EndpointSlice E2E Tests to Conformance 2021-03-08 09:44:47 -08:00
Swetha Repakula
3ef94fbe3e Update e2e tests to use EndpointSlice v1 API 2021-03-08 09:44:47 -08:00
Kubernetes Prow Robot
71764b1309
Merge pull request #99939 from aojea/agnhost2.29
update agnhost readme
2021-03-08 09:31:54 -08:00
Kubernetes Prow Robot
4fccba9e06
Merge pull request #99800 from deads2k/beta-more
remove more CRD v1beta1 client dependencies from test integration
2021-03-08 07:51:54 -08:00
Artyom Lukianov
cff9ecd317 e2e: fix memory manager tests
Restart the kubelet and wait for hugepages resources to appear
under the node.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-08 15:03:28 +02:00
Davanum Srinivas
1a374db38e
Adding dims as approver for test/
In 16fb6733a1, i signed up as a reviewer
for test/ (8 months ago).

Here's what i have to show for it:
https://github.com/kubernetes/kubernetes/pulls?q=is%3Apr+is%3Amerged+label%3Aarea%2Ftest+commenter%3Adims

Especially see the most recent conformance related reviews. Hoping this
is enough of a track record!

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-08 07:26:13 -05:00
Antonio Ojea
97fba66df6 update agnhost readme 2021-03-08 11:55:12 +01:00
chenyw1990
57a3b0abd6 reduce configmap and secret watch of kubelet 2021-03-08 16:55:39 +08:00
pacoxu
520ce44c55 skip test on External IP of NodePort in conformance test 2021-03-08 16:55:34 +08:00
Han Kang
69e3d89a38 promote apiserver_request_duration_seconds to STABLE
Change-Id: I1b050b812738719aedd7ac6f4794ec742812e12d
2021-03-07 17:14:36 -08:00
Benjamin Elder
1a7cf6c91a remove bazel logic from test/integration/framework 2021-03-07 15:27:44 -08:00
Benjamin Elder
bf33ee380a remove bazel from start-kubemark.sh 2021-03-07 13:09:01 -08:00
Davanum Srinivas
ce35b2f2e7
capture additional logs related to containerd
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-07 13:48:07 -05:00
Kubernetes Prow Robot
90851a0fb5
Merge pull request #99905 from BenTheElder/shellchecked
update verify-shellcheck to v0.7.1, fix nits, multi-arch digest pinning, fix new lint errors
2021-03-06 22:17:53 -08:00
Kubernetes Prow Robot
e688f22da0
Merge pull request #99214 from jpbetz/apply-client-go-builders2-typedclient
Add Apply to client-go's typed client
2021-03-06 22:17:41 -08:00
Kubernetes Prow Robot
4cf8823fba
Merge pull request #98074 from kwiesmueller/admission-reset-managedFields
Reset managedFields corrupted by admission controllers
2021-03-06 21:15:42 -08:00
Kubernetes Prow Robot
d6a9061cb4
Merge pull request #99870 from swetharepakula/eps-ga-controller
Graduate EndpointSlice Controllers to GA
2021-03-06 19:57:45 -08:00
Joe Betz
0b42cae157 Add integration test 2021-03-06 20:50:52 -05:00
Kubernetes Prow Robot
a44db4f9ef
Merge pull request #99889 from aojea/imageutil
image util unbound variable
2021-03-06 16:45:41 -08:00
Swetha Repakula
108fd44f7c Graduate EndpointSlice feature gate to GA 2021-03-06 15:58:47 -08:00
Swetha Repakula
1925d94b18 Graduate EndpointSlice Controllers to GA
- EndpointSlice controller will stop writing to Topology field
 - EndpointSlice controller will only provide NodeName and Zone on
 EndpointSlices
2021-03-06 15:58:47 -08:00
Kubernetes Prow Robot
f8151b121f
Merge pull request #99732 from soltysh/clean_run_flags
Drop deprecated run flags and deprecate unused ones
2021-03-06 15:24:01 -08:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Kubernetes Prow Robot
c88d9bed17
Merge pull request #99851 from soltysh/cronjob_conformance
Promote cronjob e2es to conformance
2021-03-06 14:21:49 -08:00
Benjamin Elder
a0cd54a7f1 fix trivial shell quoting issues surfaced by shellcheck v0.7.1 2021-03-06 13:19:17 -08:00
Kubernetes Prow Robot
92c3349cef
Merge pull request #99898 from liggitt/token-flake
Update flaky volume toleration regex to include projected volumes
2021-03-06 12:50:52 -08:00
Kubernetes Prow Robot
1485c6b76f
Merge pull request #99822 from dekkagaijin/addon
Update kube-addon-manager to v9.1.4
2021-03-06 12:50:37 -08:00
Kubernetes Prow Robot
ffa4e3414e
Merge pull request #99788 from logicalhan/stable-m
promote apiserver_request_total to STABLE status
2021-03-06 12:50:13 -08:00
Kubernetes Prow Robot
ce1a720bed
Merge pull request #99733 from soltysh/drop_generators
Clean unused generators
2021-03-06 12:49:56 -08:00
Kubernetes Prow Robot
1289c883a2
Merge pull request #99718 from listx/remove-listx-owners
remove listx from OWNERS
2021-03-06 12:49:41 -08:00
Kubernetes Prow Robot
c193c1b234
Merge pull request #98376 from matthyx/mega
Make all health checks probing consistent
2021-03-06 11:45:41 -08:00
Kubernetes Prow Robot
a954818194
Merge pull request #99612 from derekwaynecarr/e2e-downward-api-hugepages
e2e testing for hugepages downward api
2021-03-06 10:47:42 -08:00
Maciej Szulik
f38ef2fbc6
Drop deprecated run flags and deprecate unused ones 2021-03-06 19:09:06 +01:00
Maciej Szulik
3c9bbe427b
Promote cronjob e2es to conformance 2021-03-06 19:01:02 +01:00
Kubernetes Prow Robot
bf448a1eaa
Merge pull request #99212 from damemi/alculquicondor-log-timestamp
Logarithmic timestamp comparison for downscaling
2021-03-06 09:47:41 -08:00
hasheddan
b85fbfc2b9
Update dependencies in local node test runner
Updates comment on building dependencies step in the local node test
runner to reflect the binaries that are actually produced.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-03-06 10:41:18 -06:00
Jordan Liggitt
8bbb6704c1 Update flaky volume toleration regex to include projected volumes 2021-03-06 11:39:36 -05:00
Kubernetes Prow Robot
377ed3c2a6
Merge pull request #96441 from smarterclayton/daemonset_surge_impl
DaemonSet controller respects MaxSurge during update
2021-03-06 08:23:42 -08:00
Kubernetes Prow Robot
4770211dad
Merge pull request #99197 from soltysh/cronjob_e2e
Switch to batch/v1 in cronjob's e2es
2021-03-06 06:59:41 -08:00
Matthias Bertschy
b203fb0565 Deflake e2e test for startupProbe 2021-03-06 14:43:45 +01:00
Antonio Ojea
88fbd7c509 image util unbound variable 2021-03-06 12:10:06 +01:00
Kubernetes Prow Robot
55a5d4faf3
Merge pull request #98883 from fedepaol/netexecmultilisten
Agnhost: make it possible to pass the addresses to listen on for udp
2021-03-05 23:31:41 -08:00
Kubernetes Prow Robot
ed6b9addbf
Merge pull request #96347 from cofyc/kep1845
Prioritizing nodes based on volume capacity
2021-03-05 14:45:43 -08:00
James Sturtevant
94a5efcd12 make sure the output doesn't have failures 2021-03-05 13:36:14 -08:00
Aldo Culquicondor
a8d105ab72 Logarithmic timestamp comparison for ReplicSet downscaling
Change-Id: I0657ea0ce41b98fdee1a5307b5826a10deaff98c
2021-03-05 15:58:26 -05:00
Swetha Repakula
a9891b4b9b Graduate EndpointSlice API to GA
* Removes discovery v1alpha1 API
  * Replaces per Endpoint Topology with a read only DeprecatedTopology
  in GA API
  * Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
wojtekt
ae8baefeff Cleanup the remaining multi-owned sig-node tests 2021-03-05 20:27:31 +01:00
wojtekt
fa5f303a09 Stop using SIGDescribe for upgrade tests to reflect reality 2021-03-05 20:25:56 +01:00
Maciej Szulik
0603a14be1
Switch to batch/v1 in cronjob's e2es 2021-03-05 19:08:27 +01:00
Kubernetes Prow Robot
42c1ccb38e
Merge pull request #99701 from wojtek-t/cleanup_describe_13
Tag storage windows tests with [Feature:Windows] instead of [sig-windows]
2021-03-05 10:00:47 -08:00
Lee Verberne
334cf82cb3 Add test for disabled EphemeralContainers feature
This adds an integration test to validate expected behavior when the
EphemeralContainers feature gate is disabled.
2021-03-05 18:38:32 +01:00
wojtekt
93ff0e5c68 Cleanup test/e2e/upgrades directory 2021-03-05 18:19:46 +01:00
Derek Carr
6215b12c84 e2e testing for hugepages downward api 2021-03-05 11:11:27 -05:00
Yecheng Fu
8f3782226f Prioritizing nodes based on volume capacity: integration tests 2021-03-05 23:59:25 +08:00
wojtekt
3a8e84c2da Move ownership of core events test to sig-instrumentation 2021-03-05 16:47:16 +01:00
Alexander Minbaev
359116f525 add if check for number of scheduled pods to be greater than 0 2021-03-05 09:05:42 -06:00
David Eads
c14ff1a674 remove more CRD v1beta1 client dependencies 2021-03-05 08:10:47 -05:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1 2021-03-05 12:44:23 +01:00
Maciej Szulik
f8b2cf653c
Drop batch/v2alpha1 leftovers 2021-03-05 12:44:21 +01:00
jornshen
cd2af69ef9 refector netpol/policies.go 2021-03-05 19:21:36 +08:00
Federico Paolinelli
f6451c93b1 Bump up agnhost version to 2.29
This is to consume the changes for binding the udp listeners of netexec
to specific addresses.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:09 +01:00
Federico Paolinelli
5125f1fc31 Agnhost: make it possible to pass the addresses to listen on for udp
The current udp implementation listens on any for tcp, udp and tcp. There
are some cases where it makes sense to listen on specific addresses
(especially udp, see https://github.com/kubernetes/kubernetes/issues/95565).
This is because UDP is connectionless, and in order to conntrack to
work, the application must ensure that the src of the reply is the same
as the dest of the request. The easiest way to do that is to bind
explicitly on an ip.
Here we pass an optional parameter that contains a comma separated list
of addresses.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:08 +01:00
Jake Sanders
fb40ab2cde Update kube-addon-manager to v9.1.4 2021-03-04 22:39:46 -08:00
Matthias Bertschy
431e6a7044 Move readinessManager updates handling to kubelet 2021-03-05 07:02:25 +01:00
Matthias Bertschy
4870e64ac1 Improve update time of readiness state 2021-03-05 07:02:24 +01:00
Kubernetes Prow Robot
d8311ea0ad
Merge pull request #99703 from claudiubelu/tests/new-httpd-nginx
tests: Uses newly promoted httpd and nginx images
2021-03-04 20:32:21 -08:00
Kubernetes Prow Robot
292bdbf8a6
Merge pull request #99797 from voutcn/patch-1
Fix the image path of resource-consumer in README.
2021-03-04 18:34:56 -08:00
Kubernetes Prow Robot
48f1b8fb28
Merge pull request #99293 from chymy/e2e-kubectl
Remove unused field in test/e2e/kubectl/kubectl.go
2021-03-04 18:34:41 -08:00
Kubernetes Prow Robot
4293a6329b
Merge pull request #99805 from bobbypage/shutdown-test
Fixes to node shutdown e2e test
2021-03-04 16:06:35 -08:00
Kubernetes Prow Robot
2975ef7c55
Merge pull request #99737 from alculquicondor/indexed-job-e2e
Integration and e2e tests for Indexed job
2021-03-04 14:41:21 -08:00
Kubernetes Prow Robot
ae4f2ac43d
Merge pull request #98018 from ii/service-status-life-cycle-test
Write Service Status Life Cycle test - +4 endpoint coverage
2021-03-04 14:40:22 -08:00
Kubernetes Prow Robot
2d9cb74bc7
Merge pull request #99798 from freehan/test-fix
Mark ingress neg test as flaky
2021-03-04 13:40:14 -08:00
Kubernetes Prow Robot
a8476e5570
Merge pull request #99792 from logicalhan/owners
add myself to owners for etcd metrics
2021-03-04 13:39:31 -08:00
David Porter
bd2e557b25 Fixes to node shutdown e2e test
- Test was failing due to using `sleep infinity` inside the busybox
  container which was going into a crash loop. `sleep infinity` isn't
  supported by the sleep version in busybox, so replace it with a `while
  true; sleep loop`.

- Replace usage of dbus message emitting from gdbus to dbus-send. The
  test was failing on ubuntu which doesn't have gdbus installed.
  dbus-send is installed on COS and Ubuntu, so use it instead.

- Replace check of pod phase with the test util function `PodRunningReady`
  which checks both phase as well as pod ready condition.

- Add some more verbose logging to ease future debugging.
2021-03-04 12:16:47 -08:00
Han Kang
cfd00de686 bump apiserver_request_total to STABLE status
We've dropped the content-type field since it is effectively unbounded
(we had a sec-vuln about this before actually). We retain all other
fields, despite their unboundedness due to the fact that we can now
explicitly set bounds on label values.

Change-Id: Icc483fc6a17ea6382928f4448643cda6f3e21adb
2021-03-04 11:39:15 -08:00
Kubernetes Prow Robot
3cab9f5d74
Merge pull request #99584 from cynepco3hahue/e2e_fix_hugepages_tests
e2e node: fix hugepages test flakiness
2021-03-04 11:00:48 -08:00
Kubernetes Prow Robot
0d4924e371
Merge pull request #99439 from minbaev/fix-typos
Fix typo in util.go
2021-03-04 11:00:22 -08:00
Dinghua Li
88dbe814dc Fix the image path of resource-consumer in README. 2021-03-04 10:50:03 -08:00
Aldo Culquicondor
85448df364 Add E2E test for indexed job 2021-03-04 18:31:35 +00:00
Aldo Culquicondor
18e35a86ed Add integration test for Indexed Job 2021-03-04 18:31:35 +00:00
Minhan Xia
e9ef140c3c mark ingress neg test flaky 2021-03-04 10:17:21 -08:00
David Eads
aeb6508e1e stop using rbac beta in integration tests 2021-03-04 12:57:52 -05:00
Han Kang
5bc56ef4e6 add myself to owners for etcd metrics 2021-03-04 09:26:32 -08:00
Kubernetes Prow Robot
5bf49baf71
Merge pull request #99558 from BenTheElder/gen-conformance-md
add test/conformance/gen-conformance-docs.sh
2021-03-04 06:42:21 -08:00
Urvashi Mohnani
ca99aa587d Move CRIContainerLogRotation to GA
Graduate the CRIContainerLogRotation feature gate
from beta to GA.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2021-03-04 09:40:02 -05:00
Kubernetes Prow Robot
9d34bfd601
Merge pull request #99736 from deads2k/beta-policy
clean usage of admissionregistration/v1beta1 from integration tests
2021-03-04 05:42:22 -08:00
Maciej Szulik
da19e5b258
Clean unused generators 2021-03-04 13:58:44 +01:00
Kubernetes Prow Robot
2e39df89ac
Merge pull request #97743 from dims/support-m1-macbook-darwin/arm64-as-client
Support M1 MacBooks darwin/arm64 on the client-side
2021-03-04 04:18:09 -08:00
Paco Xu
061579dafc
job-e2e: wait exceeds active deadline for 15s 2021-03-04 18:55:52 +08:00
Kubernetes Prow Robot
e96b29b77d
Merge pull request #99700 from wojtek-t/cleanup_describe_12
Remove KubeDescribe
2021-03-04 02:08:32 -08:00
Kubernetes Prow Robot
f13c70e864
Merge pull request #99710 from wojtek-t/cleanup_describe_15
Remove nested SIGDescribe calls
2021-03-04 00:29:47 -08:00
Kubernetes Prow Robot
fd95f6f4ae
Merge pull request #99709 from wojtek-t/cleanup_describe_14
Make sig-storage be the owner of ubernetes_lite_volumes test
2021-03-04 00:29:39 -08:00
Kubernetes Prow Robot
f19f8fd18a
Merge pull request #99657 from deads2k/beta-csr-01
remove csr v1beta1 usage in integration tests
2021-03-04 00:28:46 -08:00
Kubernetes Prow Robot
e645472425
Merge pull request #98582 from ahg-g/ahg-scope
Implements CrossNamespacePodAffinity quota scope
2021-03-04 00:28:12 -08:00
wojtekt
d4883f532e Remove KubeDescribe 2021-03-04 07:54:53 +01:00
Kubernetes Prow Robot
da9ea2ea73
Merge pull request #99684 from wojtek-t/cleanup_describe_11
Cleanup test/e2e/common directory - part2
2021-03-03 21:31:59 -08:00
Abdullah Gharaibeh
3c5f018f8e Add CrossNamespacePodAffinity quota scope and PodAffinityTerm.NamespaceSelector APIs, and CrossNamespacePodAffinity quota scope implementation. 2021-03-03 22:52:43 -05:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
David Eads
f3597cbf2a clean usage of admissionregistration/v1beta1 from tests 2021-03-03 17:39:31 -05:00
David Eads
a473ef6c0a use direct etcd creation to verify migrated v1beta1 admissionwebhooks 2021-03-03 17:33:27 -05:00
David Eads
fe8d8c2fda remove test usage of apiregistration/v1beta1 2021-03-03 17:26:02 -05:00
David Eads
fa1c57d34d update print test to remove beta dependencies 2021-03-03 17:26:02 -05:00
David Eads
58c42b7e94 move CSR v1beta1 behavior tests to a single file to remove for 1.22 2021-03-03 15:27:37 -05:00
Kubernetes Prow Robot
076bd6c401
Merge pull request #97069 from pohly/embedded-csi-mock-driver
e2e storage: embedded csi mock driver
2021-03-03 12:11:50 -08:00
James Sturtevant
1ed2b287e3 include nltest in the windows busybox image 2021-03-03 11:01:18 -08:00
Linus Arver
85d5ebef4a remove listx from OWNERS 2021-03-03 08:53:27 -08:00
Kubernetes Prow Robot
2f263b24a7
Merge pull request #99101 from deads2k/crd-beta-prune
stop using CRD v1beta1 in tests
2021-03-03 08:39:21 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
Changes:
 - Enables ineffassign check in the verify scripts.
 - Fixes lint errs.
2021-03-03 08:28:10 -08:00
Wei Huang
1e5878b910
Introduce a churnOp to scheduler perf testing framework
- support two modes: recreate and create
- use DynmaicClient to create API objects
2021-03-03 06:51:53 -08:00
wojtekt
f277e4d32a Remove nested SIGDescribe calls 2021-03-03 15:25:07 +01:00
wojtekt
006dc7477f Make sig-storage be the owner of ubernetes_lite_volumes test 2021-03-03 15:17:28 +01:00
wojtekt
ca333d7a7a Tag storage windows tests with [Feature:Windows] instead of [sig-windows] 2021-03-03 12:08:59 +01:00
wojtekt
3b438eb4e5 Cleanup test/e2e/common directory - part2 2021-03-03 10:27:35 +01:00
scott
d258e005e8 add client-side detection of a successful timeout case to include the connection reset 2021-03-03 10:15:57 +08:00
llhuii
f713cbc4a4 Remove unused code in e2e/framework/framework.go 2021-03-03 10:03:21 +08:00
Kubernetes Prow Robot
452aff5fca
Merge pull request #99492 from wojtek-t/cleanup_describe_7
Assign remaining test/e2e/common test to SIGs
2021-03-02 17:51:19 -08:00
Davanum Srinivas
f719624654
Support M1 MacBooks darwin/arm64 on the client-side
testing using:
```
build/run.sh make generated_files && make quick-release-images
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-02 20:50:00 -05:00
Kubernetes Prow Robot
a5c3b24dba
Merge pull request #99631 from claudiubelu/patch-5
test images: Adds label to httpd-new image
2021-03-02 13:23:32 -08:00
David Eads
b90179e0f2 write CRD validation function only valid in beta1 direct to etcd to test apply on migrated data 2021-03-02 15:57:57 -05:00
wojtekt
f4407f4db8 Assign remaining test/e2e/common test to SIGs 2021-03-02 21:34:58 +01:00
David Eads
fd8e81eba4 remove csr v1beta1 usage 2021-03-02 15:31:21 -05:00
Kubernetes Prow Robot
4a56d8c19a
Merge pull request #99103 from liggitt/prefer-v1
Prefer v1 storage versions
2021-03-02 12:15:48 -08:00
Kubernetes Prow Robot
5b8c1b27c1
Merge pull request #98983 from navidshaikh/pr/98326-leftover-part
test/e2e: Move tests into test/e2e/node package
2021-03-02 12:15:40 -08:00
Kubernetes Prow Robot
b5c6241f1f
Merge pull request #97775 from ankeesler/exec-plugin-integration-test
exec credential provider: first integration test (static auth interaction)
2021-03-02 12:15:19 -08:00
David Eads
734e9b7dd6 fix up CRD validation tests 2021-03-02 14:34:41 -05:00
David Eads
06eb2f5d41 switch apiserver integration tests to CRD v1 2021-03-02 14:34:41 -05:00
David Eads
c72b4b3f89 coerce apply tests to CRD v1. skip CRDs that are no longer valid 2021-03-02 14:34:41 -05:00
David Eads
b261364025 try to tidy up crd v1beta1 usage 2021-03-02 14:34:41 -05:00
Sascha Grunert
0d22571519
Remove check for apparmor_parser in AppArmor host validation
The `apparmor_parser` binary is not really required for a system to run
AppArmor from a Kubernetes perspective. How to apply the profile is more
in the responsibility of lower level runtimes like CRI-O and containerd,
which may do the binary check on their own.

This synchronizes the current libcontainer implementation with the
vendored Kubernetes source code and allows distributions to use
AppArmor, even when they do not have the parser available in
`/sbin/apparmor_parser`.

Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2021-03-02 18:40:14 +01:00
Jordan Liggitt
4515889574 Prefer v1 storage versions 2021-03-02 12:06:13 -05:00
Artyom Lukianov
ef3e0fd02f e2e node: wait for kubelet health check to pass after kubelet restart
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-02 14:48:03 +02:00
Artyom Lukianov
a6b4868b8d e2e node: stop kubelet service instead of restarting it
The server service monitors the kubelet service and restart it
once the service is down, to avoid kubelet double restarting
we will stop the kubelet service and wait until the kubelet will be
restarted and the node will be ready.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-02 14:48:03 +02:00
Claudiu Belu
4f8084e3e0
test images: Adds label to httpd-new image
Adds a label to the httpd-new image, so a new SHA gets generated, so it can be pushed to staging.
2021-03-02 11:36:00 +02:00
Stephen Augustus
274133fe11 [go1.16] Update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Navid Shaikh
e61f790eac test/e2e: Move tests into test/e2e/node package
- assign sig-node ownership
 - Fix import aliases in test/e2e/node/examples.go
 - Fix merge conflicts in test/e2e/BUILD

Signed-off-by: Navid Shaikh <shaikhnavid14@gmail.com>
2021-03-02 10:05:53 +05:30
Kubernetes Prow Robot
4eca18b6b0
Merge pull request #99447 from lala123912/log-sanitization
typo fixed for terminatation
2021-03-01 19:23:58 -08:00
Kubernetes Prow Robot
7d2dbc5655
Merge pull request #99346 from mauriciopoppe/fix/storage-cloning-e2e
Avoid creation of the same storageclass in e2e tests
2021-03-01 19:23:45 -08:00
Kubernetes Prow Robot
be2a2988a0
Merge pull request #99609 from claudiubelu/test-images/same-sha
test images: Generates new SHAs for mirrored images
2021-03-01 17:13:33 -08:00
Stephen Heywood
3e9c44f00e Add lifecycle e2e test for service status
e2e test validates the following service status endpoints
- patchCoreV1NamespacedServiceStatus
- readCoreV1NamespacedServiceStatus
- replaceCoreV1NamespacedServiceStatus

Also includes untested service endpoint
- patchCoreV1NamespacedService
2021-03-02 12:05:52 +13:00
Kubernetes Prow Robot
0ced9d2854
Merge pull request #99498 from gavinfish/sched-preempthandle
Scheduler: unroll PreemptHandle to Handle
2021-03-01 13:58:28 -08:00
Claudiu Belu
d5cf7f652b test images: Generates new SHAs for mirrored images
The same SHA cannot be pushed twice to the staging registry. Because some images were
mirrored, their SHAs remained unchanged. This addresses this issue.
2021-03-01 20:18:06 +00:00
Mauricio Poppe
432928b673 Skip creation of the same storageclass in e2e tests 2021-03-01 20:15:54 +00:00
Andrew Keesler
8834aa133c
exec credential provider: first integration test (static auth interaction)
I also added some simple happy/sad path tests so we get some coverage at the
integration level.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-03-01 14:33:48 -05:00
Kevin Wiesmueller
98d498117b only use managedFields decoding for admission check 2021-03-01 20:29:15 +01:00
Kevin Wiesmueller
ba2f6104f6 add warning check to managedFields integration test 2021-03-01 19:59:59 +01:00
Kevin Wiesmueller
711f2dab47 fix test 2021-03-01 19:59:58 +01:00
Kevin Wiesmueller
ffbae9c5b4 disable webhook for testing 2021-03-01 19:59:55 +01:00
Kevin Wiesmueller
f18d21d6eb test managedFields admission validation 2021-03-01 19:59:06 +01:00
Patrick Ohly
06ffdbc784 e2e test: use one connection per stream
Sharing the same connection for multiple streams should have worked,
but ran into unexpected timeouts:

I0227 08:07:49.754263   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
E0227 08:07:49.779359   80029 portproxy.go:178] prepare forwarding csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: dialer failed: unable to upgrade connection: pod not found ("csi-mockplugin-0_csi-mock-volumes-4037-2061")
I0227 08:07:50.782705   80029 portproxy.go:109] container "mock" in pod csi-mock-volumes-4037-2061/csi-mockplugin-0 is running
I0227 08:07:50.809326   80029 portproxy.go:125] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: starting connection polling
I0227 08:07:50.909544   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #0, 0 open
I0227 08:07:50.912436   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #0
I0227 08:07:50.912503   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #0
I0227 08:07:50.913161   80029 portproxy.go:322] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
E0227 08:07:50.913324   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:50.913371   80029 portproxy.go:340] forward connection #0 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:50.913487   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:07:51.009519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #1, 0 open
I0227 08:07:51.011912   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #1
I0227 08:07:51.011973   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #1
I0227 08:07:51.013677   80029 portproxy.go:322] forward connection #1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:07:51.013720   80029 portproxy.go:340] forward connection #1 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:07:51.013794   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
E0227 08:07:51.017026   80029 portproxy.go:242] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: an error occurred connecting to the remote port: error forwarding port 9000 to pod 66662ea1ab30b4193dac0102c49be840971d337c802cc0c8bbc074214522bd13, uid : failed to execute portforward in network namespace "/var/run/netns/cni-c15e4e36-dad9-8316-c301-33af9dad5717": failed to dial 9000: dial tcp4 127.0.0.1:9000: connect: connection refused
I0227 08:07:51.109515   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #2, 0 open
I0227 08:07:51.111479   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #2
I0227 08:07:51.111519   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #2
I0227 08:07:51.209519   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:07:51.766305   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/Probe","Request":{},"Response":{"ready":{"value":true}},"Error":"","FullError":null}
I0227 08:07:51.768304   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginInfo","Request":{},"Response":{"name":"csi-mock-csi-mock-volumes-4037","vendor_version":"0.3.0","manifest":{"url":"https://k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock"}},"Error":"","FullError":null}
I0227 08:07:51.770494   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Identity/GetPluginCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Service":{"type":1}}},{"Type":{"VolumeExpansion":{"type":1}}},{"Type":{"Service":{"type":2}}}]},"Error":"","FullError":null}
I0227 08:07:51.772899   80029 csi.go:377] gRPC call: {"Method":"/csi.v1.Controller/ControllerGetCapabilities","Request":{},"Response":{"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":10}}},{"Type":{"Rpc":{"type":4}}},{"Type":{"Rpc":{"type":6}}},{"Type":{"Rpc":{"type":5}}},{"Type":{"Rpc":{"type":8}}},{"Type":{"Rpc":{"type":7}}},{"Type":{"Rpc":{"type":12}}},{"Type":{"Rpc":{"type":11}}},{"Type":{"Rpc":{"type":9}}}]},"Error":"","FullError":null}
I0227 08:08:21.209901   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:08:21.209980   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:08:51.211522   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:08:51.211566   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #3, 1 open
I0227 08:08:51.213451   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #3
I0227 08:08:51.213498   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #3
I0227 08:08:51.309540   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 2 open
I0227 08:08:52.215358   80029 portproxy.go:322] forward connection #3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:08:52.215475   80029 portproxy.go:340] forward connection #3 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:09:21.310003   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:09:21.310086   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 1 open
I0227 08:09:51.311854   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:09:51.311908   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #4, 1 open
I0227 08:09:51.314415   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #4
I0227 08:09:51.314497   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #4
I0227 08:09:51.409527   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 2 open
I0227 08:09:52.326203   80029 portproxy.go:322] forward connection #4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:09:52.326277   80029 portproxy.go:340] forward connection #4 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:10:21.409892   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:10:21.409954   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 1 open
I0227 08:10:51.411455   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:10:51.411557   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #5, 1 open
I0227 08:10:51.413229   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #5
I0227 08:10:51.413274   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #5
I0227 08:10:51.509508   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 2 open
I0227 08:10:52.414862   80029 portproxy.go:322] forward connection #5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:10:52.414931   80029 portproxy.go:340] forward connection #5 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:11:21.509879   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:11:21.509934   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 1 open
I0227 08:11:51.511519   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:11:51.511568   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #6, 1 open
I0227 08:11:51.513519   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #6
I0227 08:11:51.513571   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #6
I0227 08:11:51.609504   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 2 open
I0227 08:11:52.517799   80029 portproxy.go:322] forward connection #6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:11:52.517918   80029 portproxy.go:340] forward connection #6 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
I0227 08:12:21.609856   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:12:21.609909   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 1 open
I0227 08:12:51.611494   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating data stream: Timeout occurred
I0227 08:12:51.611555   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #7, 1 open
I0227 08:12:51.613289   80029 portproxy.go:155] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: created a new connection #7
I0227 08:12:51.613343   80029 portproxy.go:286] forward listener for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: got a new connection #7
I0227 08:12:51.709535   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #8, 2 open
I0227 08:12:52.615858   80029 portproxy.go:322] forward connection #7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: remote side closed the stream
I0227 08:12:52.615989   80029 portproxy.go:340] forward connection #7 for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: closing our side
W0227 08:12:52.616116   80029 server.go:669] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: EOF"
I0227 08:13:21.709934   80029 portproxy.go:151] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: no connection: error creating error stream: Timeout occurred
I0227 08:13:21.709997   80029 portproxy.go:148] port forwarding for csi-mock-volumes-4037-2061/csi-mockplugin-0:9000: trying to create a new connection #8, 1 open
Feb 27 08:13:30.916: FAIL: Failed to register CSIDriver csi-mock-csi-mock-volumes-4037
Unexpected error:
    <*errors.errorString | 0xc002666220>: {
        s: "error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition",
    }
    error waiting for CSI driver csi-mock-csi-mock-volumes-4037 registration on node kind-worker2: timed out waiting for the condition
occurred
2021-03-01 19:22:37 +01:00
Patrick Ohly
5089af1f23 e2e test: relax CSI call expectations
NodeUnstageVolume and DeleteVolume are not necessarily ordered and in
practice, DeleteVolume was indeed encountered first after changing the
timing by embedding the CSI driver:

Kubernetes e2e suite: [sig-storage] CSI mock volume storage capacity exhausted, immediate binding expand_less 	7m34s
test/e2e/storage/csi_mock_volume.go:953
Feb 26 18:34:04.037: while waiting for all CSI calls
Unexpected error:
    <*errors.errorString | 0xc00322b9c0>: {
        s: "error waiting for expected CSI calls: Unexpected CSI call 3: expected NodeUnstageVolume (0), got DeleteVolume (0)",
    }
    error waiting for expected CSI calls: Unexpected CSI call 3: expected NodeUnstageVolume (0), got DeleteVolume (0)
occurred
test/e2e/storage/csi_mock_volume.go:1045
2021-03-01 19:22:37 +01:00
Patrick Ohly
baecaa8209 e2e test: log gRPC calls in embedded CSI driver
It is useful to see all calls as they occur. The output format is
the more readable JSON representation.
2021-03-01 19:22:37 +01:00
Patrick Ohly
d43308e64c e2e storage: simpler port forwarding
Instead of trying to use the client-go portforward package as-is it is
simpler to copy some code from it and then use the http stream
directly. That way we don't need to go through a local listening
socket and error handling and logging becomes simpler.
2021-03-01 19:22:37 +01:00
Patrick Ohly
3adcf11b45 e2e storage: use embedded mock CSI driver
This replaces embedding of JavaScript code into the mock driver that
runs inside the cluster with Go callbacks which run inside the
e2e.test suite itself. In contrast to the JavaScript hooks, they have
direct access to all parameters and can fabricate arbitrary responses,
not just error codes.

Because the callbacks run in the same process as the test itself, it
is possible to set up two-way communication via shared variables or
channels. This opens the door for writing better tests. Some of the
existing tests that poll mock driver output could be simplified, but
that can be addressed later.

For now, only tests using hooks use embedding. How gRPC calls are
retrieved is abstracted behind the CSIMockTestDriver interface, so
tests don't need to be modified when switching between embedding
and remote mock driver.
2021-03-01 19:22:37 +01:00
Patrick Ohly
92bac8afc1 mock driver: fix no-op setDefaultCreds
The function must modify the content of the "creds" pointer, not the
pointer.

Found via hack/verify-staticcheck.sh after importing the code into
Kubernetes. It is uncertain whether this bug had any consequences.
2021-03-01 19:22:37 +01:00
Patrick Ohly
a2a34bb744 mock driver fixes 2021-03-01 19:22:37 +01:00
Patrick Ohly
ab365c091c mock driver: replace logrus with klog
klog now has structured logging.
2021-03-01 19:22:37 +01:00
Patrick Ohly
df6d3bc7dd CSI mock driver: fix faulty error message
Caught by verify-typecheck.sh after importing the code into
Kubernetes:

ERROR(linux/arm): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/arm): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(linux/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(windows/386): /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:404:20: math.MaxUint32 (untyped int constant 4294967295) overflows int
ERROR(windows/386):
/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/drivers/csi-test/mock/service/controller.go:795:20:
math.MaxUint32 (untyped int constant 4294967295) overflows int

Instead of producing our own error message, we can show the original
value and the error from strconv.
2021-03-01 19:22:37 +01:00
Patrick Ohly
7008196093 csi-test: import copyright clarification
The code originates in csi-test and this copyright change was made by
the original author in https://github.com/kubernetes-csi/csi-test/pull/324
2021-03-01 19:22:37 +01:00
Patrick Ohly
7f2b438020 e2e: import csi-test mock driver
This is a verbatim copy of the corresponding files in csi-test v4.0.2.

They'll be modified in future commits to make the code usable when
embedded in e2e.test. Some of those changes may be worthwhile
backporting to csi-test, but this is uncertain at this time.
2021-03-01 19:22:37 +01:00
Patrick Ohly
21ffdd1a28 test: update CSI mock driver
The new release properly checks for existence of the staging
directory. The names of the volumes are now the same as in
https://github.com/kubernetes-csi/csi-test/blob/master/mock/example/deploy/csi-mock-driver-deployment.yaml
2021-03-01 19:22:37 +01:00
Patrick Ohly
99248b1406 e2e: reduce worker threads during mock testing
We don't need much concurrency and having too many worker threads has
one disadvantage (besides resource usage): when the sidecar looses the
connection to the CSI driver, it calls klog.Fatal, which prints all
gouroutines. This can lead to much output.
2021-03-01 19:22:37 +01:00
Clayton Coleman
18f43e4120
daemonset: Implement MaxSurge on daemonset update
If MaxSurge is set, the controller will attempt to double up nodes
up to the allowed limit with a new pod, and then when the most recent
(by hash) pod is ready, trigger deletion on the old pod. If the old
pod goes unready before the new pod is ready, the old pod is immediately
deleted. If an old pod goes unready before a new pod is placed on that
node, a new pod is immediately added for that node even past the MaxSurge
limit.

The backoff clock is used consistently throughout the daemonset controller
as an injectable clock for the purposes of testing.
2021-03-01 13:21:12 -05:00
Kubernetes Prow Robot
5498ee641b
Merge pull request #99561 from BenTheElder/remove-bazel
Remove Bazel
2021-03-01 09:55:27 -08:00
Antonio Ojea
1b61f49995 fix e2e test kube-proxy tcp_wait 2021-03-01 00:54:57 +01:00
Benjamin Elder
56e092e382 hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
Benjamin Elder
5eedf2a0f1 nit: newlines 2021-02-28 13:04:21 -08:00
Benjamin Elder
5ed5a5fe25 add test/conformance/gen-conformance-docs.sh 2021-02-28 13:01:07 -08:00
Kubernetes Prow Robot
c410910c1f
Merge pull request #99512 from knabben/add-netpol-ports
Adding specific protocol network policy test
2021-02-28 07:36:39 -08:00
Kubernetes Prow Robot
a185bafa0c
Merge pull request #99549 from BenTheElder/conformance-make
conformance.yaml: generate with make
2021-02-28 05:30:39 -08:00
Benjamin Elder
025e6de3eb don't run generated_files when generating specsummaries.json 2021-02-28 00:54:54 -08:00
Benjamin Elder
ed09168e8a fix generated conformance filepaths when test binary is not stripped 2021-02-28 00:54:54 -08:00
Benjamin Elder
c1c3fdefe3 port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
wojtekt
749922fa46 Cleanup SIGDescribe in test/e2e/network 2021-02-27 20:29:27 +01:00
lala123912
5faa51e5d6 Replace top-level ginkgo.Describe with SIGDescribe 2021-02-27 14:26:36 +08:00
Kubernetes Prow Robot
f2d5ee2d2d
Merge pull request #99508 from wojtek-t/cleanup_describe_10
Move node_recreate test to cloud/gcp directory
2021-02-26 18:06:38 -08:00
Amim Knabben
20263a07a6 Added protocol specific netpol 2021-02-26 18:11:45 -05:00
Kubernetes Prow Robot
157c4bbf85
Merge pull request #99390 from pacoxu/use-random-node/e2e
[e2e] use random node to avoid node0 overloaded
2021-02-26 14:50:54 -08:00
Kubernetes Prow Robot
1428969a73
Merge pull request #96610 from andrewsykim/service-lb-node-port-e2e
test/integration: add integration tests for service.spec.allocateLoadBalancerNodePorts
2021-02-26 14:50:38 -08:00
wojtekt
4b98a9f1e6 Move node_recreate test to cloud/gcp directory 2021-02-26 21:47:27 +01:00
Kubernetes Prow Robot
e5e3c8d4f5
Merge pull request #99467 from wojtek-t/cleanup_describe_5
Remove KubeDescribe from SIGDescribe calls
2021-02-26 11:32:44 -08:00
Kubernetes Prow Robot
dbb6cfa7fb
Merge pull request #99445 from pohly/generic-ephemeral-volume-test
test: fix skipping of GenericEphemeralVolume volume type
2021-02-26 11:32:36 -08:00
drfish
38ad860c2f Unroll PreemptHandle to Handle 2021-02-27 00:44:05 +08:00
Kubernetes Prow Robot
43e8405d9c
Merge pull request #99434 from pacoxu/e2e/npe-fix
fix nil error e2e/network/kube_proxy.go
2021-02-26 05:34:15 -08:00
wojtekt
cad9957f95 Remove KubeDescribe from SIGDescribe calls 2021-02-26 08:49:25 +01:00
James Sturtevant
232a9ac892
Updating owners with sig-windows tech leads 2021-02-25 17:17:06 -08:00
Kubernetes Prow Robot
58052f4dff
Merge pull request #99469 from wojtek-t/cleanup_describe_6
Move common/volume.go test to the storage dir
2021-02-25 14:46:17 -08:00
Kubernetes Prow Robot
ca916183db
Merge pull request #99460 from wojtek-t/transfer_secrets_ownership
Align ownership of secret and configmap tests to sig-node
2021-02-25 13:52:56 -08:00
wojtekt
67de069dd1 Move common/volume.go test to the storage dir 2021-02-25 20:40:08 +01:00
Kubernetes Prow Robot
7791be16eb
Merge pull request #99450 from jkaniuk/revert-5m-dump
Revert "tests: Set a 5 minute timeout for kubectl cluster-info dump"
2021-02-25 10:01:53 -08:00
Kubernetes Prow Robot
8d42920e94
Merge pull request #99380 from ii/Riaankl_ReplicaSet
Write ReplicaSet Replace and Patch Test +2 Endpoints
2021-02-25 10:01:37 -08:00
Kubernetes Prow Robot
4fefc856db
Merge pull request #99213 from AliceZhang2016/affinity
parse pod's node affinity once in preFilter
2021-02-25 10:01:24 -08:00
Kubernetes Prow Robot
5feb39fdb3
Merge pull request #99458 from wojtek-t/cleanup_describe_1
Replace some nested KubeDescribe calls with ginkgo.Describe
2021-02-25 08:01:25 -08:00
wojtekt
8df355b80a Replace some nested KubeDescribe calls with ginkgo.Describe 2021-02-25 14:44:39 +01:00
wojtekt
22429ab642 Align ownership of secret and configmap tests to sig-node 2021-02-25 14:38:02 +01:00
Kubernetes Prow Robot
2b930d99bd
Merge pull request #99374 from wojtek-t/cleanup_describe_3
Cleanup tests/e2e/common directory - part 1
2021-02-25 05:13:25 -08:00
Jacek Kaniuk
f3f4d535d5 Revert "tests: Set a 5 minute timeout for kubectl cluster-info dump"
This reverts commit bc16100549.
2021-02-25 11:27:29 +01:00
lala123912
652f8fd3e9 typo fixed 2021-02-25 17:52:17 +08:00
Patrick Ohly
a255b74d11 test: fix skipping of GenericEphemeralVolume volume type
The test should run for test drivers which support dynamic
provisioning, but was skipped because of the volume type check:

External Storage [Driver: hostpath.csi.k8s.io]
[90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/external/external.go:175
  [Testpattern: Generic Ephemeral-volume (default fs) [Feature:GenericEphemeralVolume] (late-binding)] ephemeral
  [90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/framework/testsuite.go:50
    [36mshould support multiple inline ephemeral volumes [BeforeEach]
    [90m/home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/testsuites/ephemeral.go:211

    [36mDriver "hostpath.csi.k8s.io" does not support volume type "GenericEphemeralVolume" - skipping

    /home/prow/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/external/external.go:255
2021-02-25 10:09:40 +01:00
Alexander Minbaev
5b73122105 Fix typo in util.go 2021-02-25 00:54:37 -06:00
pacoxu
6b94cad4e9 fix nil error e2e/network/kube_proxy.go 2021-02-25 12:00:42 +08:00
pacoxu
9488decd5e use random node to avoid node0 overloaded 2021-02-25 11:10:02 +08:00
Mengxue Zhang
4fb8e343c0 parse pod's node affinity once in preFilter 2021-02-25 00:21:32 +00:00
Kubernetes Prow Robot
a7fe0bf8e5
Merge pull request #99403 from wojtek-t/move_gcp_tests
Move GKE tests to cloud/gcp package
2021-02-24 12:26:40 -08:00
Riaan Kleinhans
3e6ba4d2b1 Create ReplicaSet lifecycle test 2021-02-25 08:58:24 +13:00
wojtekt
7b2458ac01 Cleanup tests/e2e/common directory - part 1 2021-02-24 20:44:14 +01:00
wojtekt
eb0fce5672 Move GKE tests to cloud/gcp package 2021-02-24 20:37:22 +01:00
Kubernetes Prow Robot
6235ad8c74
Merge pull request #98373 from cynepco3hahue/e2e_fix_cpus_assumptions
e2e: fix CPU manager methods to be more flexible to different CPU topology
2021-02-24 11:11:03 -08:00
Kubernetes Prow Robot
bd902db13d
Merge pull request #98342 from cynepco3hahue/e2e_move_delete_state_file_to_after_each
e2e: move deleteState file to the AfterEach
2021-02-24 11:10:50 -08:00
Kubernetes Prow Robot
8f15f7cf5e
Merge pull request #99400 from wojtek-t/ttl_after_finished_test
Move TTLAfterFinished test to appropriate SIG
2021-02-24 08:53:02 -08:00
Kubernetes Prow Robot
a42ff247af
Merge pull request #90105 from xiaoanyunfei/cleanup/pkg_apis_core
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 07:30:50 -08:00
wojtekt
9bcb480574 Move TTLAfterFinished test to appropriate SIG 2021-02-24 16:09:20 +01:00
Kubernetes Prow Robot
7322dff5b5
Merge pull request #99395 from claudiubelu/test-images/fixes-windows-nginx-entrypoints
test images: Fixes Windows nginx images entrypoints
2021-02-24 06:38:49 -08:00
Claudiu Belu
17fcda15c5 test images: Fixes Windows nginx images entrypoints
nginx expects to find its conf and logs folder locally, and fails if it cannot find them.
cd-ing into the the nginx folder solves this issue. This is a similar approach to the
echoserver image, which also uses nginx.
2021-02-24 10:58:38 +00:00
xiaofei.sun
fd62f32125 Scheduler: remove pkg/apis/core/field_constants.go 2021-02-24 18:06:29 +08:00
Kubernetes Prow Robot
267e47f548
Merge pull request #99130 from ayberk/ebs_ga_labels
Use GA topology labels for EBS
2021-02-23 23:48:49 -08:00
Kubernetes Prow Robot
9a8da9ee43
Merge pull request #97619 from andrewsykim/conformance-probe-tests
conformance: promote container exec probe timeout tests
2021-02-23 22:56:49 -08:00
Kubernetes Prow Robot
111b6866b7
Merge pull request #99087 from navidshaikh/pr/98236-sig-storage-e2e
test/e2e: Move gke local ssd tests to e2e/storage and assign sig ownership
2021-02-23 16:28:50 -08:00
Kubernetes Prow Robot
0612517d78
Merge pull request #99366 from enj/patch-2
Add enj back as test approver
2021-02-23 15:23:54 -08:00
Kubernetes Prow Robot
1db189eab2
Merge pull request #99316 from zshihang/conformance
promote RootCAConfigMap e2e test to Conformance
2021-02-23 15:23:46 -08:00
Kubernetes Prow Robot
d25df9c6f6
Merge pull request #99312 from aojea/localtraffic
e2e framework TestJig used for Service testing wasn't verifying UDP works
2021-02-23 15:23:28 -08:00
Kubernetes Prow Robot
462dbc17aa
Merge pull request #99282 from ii/Promote-ReplicaSetScale-Test
Promote Read, Replace and Patch ReplicaSetScale test to Conformance +3 endpoints
2021-02-23 15:23:19 -08:00
Kubernetes Prow Robot
f499d27535
Merge pull request #99281 from ii/Promote-DeploymentScale-Test
Promote Read, Replace and Patch DeploymentScale test to Conformance +3 endpoints
2021-02-23 15:23:12 -08:00
Kubernetes Prow Robot
a5f9f25540
Merge pull request #98645 from krmayankk/confomance
Promote RunAsGroup e2e test to Conformance
2021-02-23 15:22:51 -08:00
Kubernetes Prow Robot
9d7d3eb820
Merge pull request #99319 from wojtek-t/cleanup_describe_2
Mark remaining e2e_node tests with [sig-*] label
2021-02-23 12:00:50 -08:00
Navid Shaikh
3dd9b0e582 test/e2e: Move gke local ssd tests to e2e/storage
and assign SIG ownership of sig-storage

Signed-off-by: Navid Shaikh <shaikhnavid14@gmail.com>
2021-02-24 01:15:41 +05:30
wojtekt
a74737eb03 Mark remaining e2e_node tests with [sig-*] label 2021-02-23 20:11:09 +01:00
Mo Khan
2dc2ecf20a
Add enj back as test approver
I promise to be more involved this time :)
2021-02-23 12:28:30 -05:00
Kubernetes Prow Robot
6cacfe9e3a
Merge pull request #99314 from soltysh/cronjob_e2e_api
cronjob: Add CRUD tests for CronJob API verbs
2021-02-23 07:50:03 -08:00
Kubernetes Prow Robot
3378bb996c
Merge pull request #99313 from neolit123/1.21-update-kubeadm-owners
kubeadm: include appovers under reviewers in OWNERS
2021-02-22 23:48:03 -08:00
chymy
c32793a4c9 Remove unused code in test/e2e/{upgrades,storage,network}
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-23 02:45:51 -05:00
Kubernetes Prow Robot
16b909ce14
Merge pull request #99320 from aojea/storagepodtimeout
increase pod start timeout for storage tests
2021-02-22 17:24:48 -08:00
Kubernetes Prow Robot
d6c7476ab3
Merge pull request #99155 from soltysh/convert_release
Add kubectl-convert to client-binaries
2021-02-22 17:24:15 -08:00
Kubernetes Prow Robot
186f934e4c
Merge pull request #98346 from mortent/checkForScalePDBs
Check if resources implement scale in disruption controller
2021-02-22 13:58:03 -08:00
Maciej Szulik
263ec9b3da
cronjob: Add CRUD tests for CronJob API verbs 2021-02-22 21:52:10 +01:00
Antonio Ojea
fe5eda9a23 increase pod start timeout for storage tests 2021-02-22 20:51:32 +01:00
Kubernetes Prow Robot
5b5445c4fb
Merge pull request #99241 from chewong/dockerhub-httpd
Partially revert "tests: Switch dockerhub registry images to promoted registry"
2021-02-22 11:01:35 -08:00
Shihang Zhang
5d1774e9db promote RootCAConfigMap e2e test to Conformance 2021-02-22 10:37:41 -08:00
Lubomir I. Ivanov
e8f2d888a3 kubeadm: include appovers under reviewers in OWNERS
Looks like there is a bit of an issue in the Bluderbuss (Prow plugin)
where it prefers to pick reviewers from a parent OWNERS files,
instead of using an approver from a current OWNERS file as
an additional reviewer.
2021-02-22 20:02:09 +02:00
Antonio Ojea
cf5d98b17e use utils/net ip family helpers 2021-02-22 18:43:59 +01:00
Antonio Ojea
21ccf1d7fb simplify clusterIP IP validation 2021-02-22 18:43:59 +01:00
Antonio Ojea
c9cbe41347 remove duplicate functions 2021-02-22 18:43:59 +01:00
Antonio Ojea
a2b57b9fb2 fix test udp reachability 2021-02-22 18:43:55 +01:00
Maciej Szulik
5681a58ef7
Add kubectl-convert tests 2021-02-22 17:01:34 +01:00
Kubernetes Prow Robot
7cea81ce34
Merge pull request #99291 from zshihang/master
remove secret-based sa token client builder
2021-02-22 07:29:43 -08:00
Kubernetes Prow Robot
b0c4f5c6fa
Merge pull request #99262 from JornShen/add_check_pod_for_e2etest_basic_endpoint
e2e test replace CreateSync in createPodOrFail
2021-02-22 01:11:42 -08:00
chymy
71f33cf8e1 Remove unused field in test/e2e/kubectl/kubectl.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-22 02:05:29 -05:00
Shihang Zhang
1095778dcc remove secret-based sa token client builder 2021-02-21 22:00:40 -08:00
Riaan Kleinhans
8faa3307ec Promote ReplicaSetScale e2e test to Conformance 2021-02-22 04:03:17 +13:00
Kubernetes Prow Robot
89b9cf7d6f
Merge pull request #98658 from wzshiming/add-e2e-for-graceful-node-shutdown
Add GracefulNodeShutdown e2e test
2021-02-21 06:45:41 -08:00
Claudiu Belu
a391f44d86 tests: Uses newly promoted httpd and nginx images
The new images contain a few Windows fixes required to run properly.
2021-02-20 12:18:08 -08:00
jornshen
5d8f7ccc56 e2e test use CreateSync in createPodOrFail 2021-02-20 18:14:12 +08:00
Kubernetes Prow Robot
0a3cd56092
Merge pull request #82778 from chendave/split_build_scripts
Differentiate build process for non-amd platforms
2021-02-20 00:55:42 -08:00
Kubernetes Prow Robot
8eef1a9bf7
Merge pull request #99244 from chrishenzie/stress-concurrent-cleanup
Clean up e2e stress test resources concurrently
2021-02-19 23:07:41 -08:00
Ernest Wong
b86b78917c
Partially revert "tests: Switch dockerhub registry images to promoted registry"
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-19 14:46:27 -08:00
Chris Henzie
5130db416d Clean up e2e stress test resources concurrently 2021-02-19 14:25:14 -08:00
Kubernetes Prow Robot
84483a5aac
Merge pull request #98073 from damemi/fix-priority-balancedpods
(e2e/scheduler) Ensure minimum memory limit in createBalancedPodForNodes
2021-02-19 06:34:25 -08:00
Kubernetes Prow Robot
319ff51c21
Merge pull request #97701 from knabben/allow-traffic-or
Testing multiple pods using label selector
2021-02-19 03:14:26 -08:00
Kubernetes Prow Robot
83a5b4c365
Merge pull request #99202 from aojea/servicessyncpod
e2e services test pods should wait until they are ready
2021-02-19 00:20:48 -08:00
Kubernetes Prow Robot
0d8373ace2
Merge pull request #99146 from JornShen/cleanup_validateEndpointsPorts
merge error check to validateEndpointsPorts
2021-02-18 22:40:24 -08:00
Mayank Kumar
2dfc7c3943 Promote RunAsGroup e2e test to Conformance 2021-02-18 21:21:29 -08:00
Kubernetes Prow Robot
f49385d05a
Merge pull request #99167 from Jiawei0227/snapshot_flaky
Fix flaky test: CSI mock volume snapshot
2021-02-18 19:04:53 -08:00
Kubernetes Prow Robot
b710c1043a
Merge pull request #98389 from knabben/allow-traffic-other-ns
Allow ingress from pods on another namespace
2021-02-18 19:04:24 -08:00
Riaan Kleinhans
303fd4aca2 Promote DeploymentScale e2e test to Conformance 2021-02-19 13:13:29 +13:00
Kubernetes Prow Robot
df8dee80c8
Merge pull request #99149 from claudiubelu/patch-4
tests: Updates resource-consumer to 1.9 in tests
2021-02-18 15:03:00 -08:00
Kubernetes Prow Robot
2d7e8754c7
Merge pull request #99107 from justinsb/limit_time_for_kubectl_clusterinfo_dump
tests: Set a 5 minute timeout for kubectl cluster-info dump
2021-02-18 15:02:36 -08:00
Jiawei Wang
95bded5193 Flaky test: CSI mock volume snapshot 2021-02-18 11:32:30 -08:00
Kubernetes Prow Robot
473af0b8d1
Merge pull request #99201 from aojea/conninvalid
e2e conntrack invalid test should wait pod are running
2021-02-18 10:03:12 -08:00
Kubernetes Prow Robot
82df435300
Merge pull request #99016 from wojtek-t/sig_describe
Minor refactor of test/e2e/common names
2021-02-18 10:03:04 -08:00
Patrick Ohly
cefd95c51a test: err more towards ignoring logs from terminated pods
Because log capturing can end due to an error and because a pod has
terminated, it is uncertain whether all log output has been
captured. So far, the code leaned more towards restarting log
capturing based on the rationale that duplicate logs are better than
no logs.

But this is confusing and potentially makes logs much larger, so now
an additional heuristic is used to avoid log capturing when logging
was started already and the pod itself is marked for deletion. That
occurs before the individual containers shut down and get marked as
terminated.
2021-02-18 16:44:36 +01:00
Kubernetes Prow Robot
f6a9303967
Merge pull request #97644 from masap/convert
Fix tests using kubectl convert
2021-02-18 07:10:51 -08:00
Antonio Ojea
6d614c9c50 e2e services test pods should wait until they are ready 2021-02-18 16:08:59 +01:00
Antonio Ojea
60109a1632 e2e conntrack invalid test should wait pod are running 2021-02-18 15:46:07 +01:00
Mike Dame
32b0333c15 (e2e/scheduler) Ensure minimum memory limit in createBalancedPodForNodes 2021-02-18 09:30:33 -05:00
Kubernetes Prow Robot
960e5e7825
Merge pull request #99147 from aojea/waitreadyrunning
e2e createSync() method wait for pod running and ready
2021-02-18 03:46:51 -08:00
Kubernetes Prow Robot
f760c21cd1
Merge pull request #99175 from verult/csi-e2e-cleanup-cleanup
storage CSI e2e: Move csi driver cleanup functions into a common one
2021-02-18 02:14:51 -08:00
Kubernetes Prow Robot
9ead4bf2ee
Merge pull request #99027 from wojtek-t/enable_npd_test
Fix NPD test to run it in private and large clusters
2021-02-18 00:36:51 -08:00
wojtekt
d5e5f14508 Fix NPD test to run it in private and large clusters 2021-02-18 08:07:22 +01:00
wzshiming
e367d2fe0c Add GracefulNodeShutdown e2e test 2021-02-18 14:46:49 +08:00
Kubernetes Prow Robot
5bb03db026
Merge pull request #99161 from Jiawei0227/snapshot_order
Fix storage e2e snapshot test deletion order
2021-02-17 21:15:03 -08:00
Kubernetes Prow Robot
7df86b39b5
Merge pull request #99160 from Huang-Wei/dataItemsDir
sched: create dataItemsDir during a performance test if not exist
2021-02-17 19:32:51 -08:00
Dave Chen
be971ab549 Fix the comments around the quote for compatibility, expansion etc. 2021-02-18 11:04:40 +08:00
Cheng Xing
5ed2ef67cb storage CSI e2e: Move csi driver cleanup functions into a common one 2021-02-17 17:51:21 -08:00
Ayberk Yilmaz
339b8b450f Use GA topoogy labels for EBS 2021-02-18 00:34:56 +00:00
Jiawei Wang
c4dfee6262 Fix storage e2e snapshot test deletion order 2021-02-17 16:17:08 -08:00
Masashi Honma
e8c038c96d Fix tests using kubectl convert
hack/make-rules/test-cmd.sh script fails with tariling errors.

Error: unknown command "convert" for "kubectl"

1. This PR fixes the errors by replacing or removing the use of
"kubectl convert" option because it was already removed.

2. Fix trailing shell check failure as well.
In ./test/cmd/generic-resources.sh line 366:
  kube::test::get_object_assert deployment "{{range.items}}{{$image_field0}}:{{end}}" "${IMAGE_NGINX}:${IMAGE_NGINX}:"
2021-02-18 08:24:07 +09:00
Antonio Ojea
3d00e9a303 e2e emptydir shared volumes wait for running but not ready 2021-02-17 22:17:39 +01:00
Antonio Ojea
0f1125d8d1 e2e configmap wait for pod is running but not ready 2021-02-17 22:15:30 +01:00
Antonio Ojea
3967bc6942 e2e pod readiness gates wait pod is running 2021-02-17 22:15:30 +01:00
Antonio Ojea
04b1062cbc e2e createSync() method wait for pod running and ready
The user expectections calling this method is that the pod should
be ready for the test, however, it only checks that is running,
causing timing issues on busy environments.

Per example, if the pod is not ready, kube-proxy or other services
implementations will not forward traffic to it.
2021-02-17 22:15:30 +01:00
Wei Huang
983272ce6a
sched: create dataItemsDir during a performance test if not exist 2021-02-17 12:44:16 -08:00
Kubernetes Prow Robot
a1c7e528c1
Merge pull request #99112 from JornShen/fix-e2etest-validates-same-hostport-in-same-node
fix conflict hostPort e2e test
2021-02-17 11:58:59 -08:00
Kubernetes Prow Robot
4f1dd5d2fb
Merge pull request #96987 from soltysh/drop_batch-alpha
Drop batch/v2alpha1
2021-02-17 06:35:06 -08:00
Kubernetes Prow Robot
4d8b2020f6
Merge pull request #98555 from verult/pdcsi-e2e-skip-gke
Storage e2e: Remove pd csi driver installation in GKE
2021-02-17 04:55:07 -08:00
jornshen
ffa7789f7f merge error check to validateEndpointsPorts 2021-02-17 18:22:09 +08:00
Kubernetes Prow Robot
5ad3b34bde
Merge pull request #99135 from jayunit100/patch-23
Adding Ravi to Owners for sig-windows e2es
2021-02-16 23:57:06 -08:00
jornshen
6b8781cae6 fix conflict hostPort e2e test 2021-02-17 11:58:36 +08:00
Kubernetes Prow Robot
2a461afa29
Merge pull request #99131 from chewong/fix-gc-etcd-registry
test images: assign gcEtcdRegistry to the correct value
2021-02-16 16:39:27 -08:00
Kubernetes Prow Robot
93252fa433
Merge pull request #99014 from apelisse/update-smd
Update sigs.k8s.io/structured-merge-diff to v4.0.3
2021-02-16 16:39:18 -08:00
Kubernetes Prow Robot
e2f018dcda
Merge pull request #96878 from knight42/feat/kubectl-strip-managed-fields
Enable kubectl-get to strip managed fields
2021-02-16 16:39:05 -08:00
Kubernetes Prow Robot
111d82f87f
Merge pull request #98974 from dekkagaijin/master
Update kube-addon-manager image to v9.1.2
2021-02-16 13:45:27 -08:00
jay vyas
362ff0052a
Adding Ravi to Owners for sig-windows
Ravi has stepped up taking on the e2e and CSI stuff for sig-windows, so we'll want to get him into the owners file.
2021-02-16 14:43:16 -05:00
Ernest Wong
7a1f96a4af
test images: assign gcEtcdRegistry to the correct value
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-16 10:49:39 -08:00
Jian Zeng
237f051a58
feat(kubectl): add flag --show-managed-fields to kubectl-get 2021-02-16 22:52:03 +08:00
Nikhita Raghunath
c3c45b9b8c *: move balajismaniam to emeritus_approvers 2021-02-16 10:55:47 +05:30
Kubernetes Prow Robot
9e5fcc49ec
Merge pull request #99030 from claudiubelu/test-images/fixes-windows-httpd
test images: Fixes Windows httpd images
2021-02-15 16:31:06 -08:00
Justin SB
bc16100549 tests: Set a 5 minute timeout for kubectl cluster-info dump
We've observed this test causing e2e runs to time-out; the ginkgo
behaviour here is unhelpful, in that we don't see any output on a
timeout.

Set a (generous) time limit to start to get output and enforce some
limit to the response time.
2021-02-15 19:15:51 -05:00
Bob Killen
be9641ebf3
test/e2e/instrumentation: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit moves fabxc from an
approver to an emeritus_approver.
2021-02-15 08:00:40 -05:00
Bob Killen
25c1f14b75
test/e2e/apimachinery: Remove inactive members from OWNERS
As a part of cleaning up inactive members (those with no activity within
the past 18 months) from OWNERS files, this commit removes gmarek as a
reviewer.
2021-02-15 07:58:55 -05:00
wojtekt
498441448c Minor refactor of test/e2e/common names 2021-02-15 08:16:01 +01:00
Amim Knabben
a41fb30d88 Adding UDP network policies tests 2021-02-13 19:01:38 -05:00
Kubernetes Prow Robot
b529be32e2
Merge pull request #99049 from knabben/agnhost28
Bump agnhost 2.28
2021-02-13 15:31:04 -08:00
Amim Knabben
aebb3faeff Bump agnhost 2.28 2021-02-12 19:13:38 -05:00
Antoine Pelisse
801aaac2b6 Fix test now that empty struct are tracked in mangaed fields 2021-02-12 10:36:15 -08:00
Kubernetes Prow Robot
528390348d
Merge pull request #98126 from ii/statefulset_test
Update: StatefulSet Replica scaling to include Patch Scale +1 endpoint
2021-02-12 09:27:09 -08:00
Maciej Szulik
7d9f36cd85
Generated changes 2021-02-12 17:51:15 +01:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API 2021-02-12 17:51:12 +01:00
Kubernetes Prow Robot
a2d5c58c76
Merge pull request #98987 from ii/Riaankl_ReplicaSetScale
Write Read, Replace and Patch ReplicaSetScale test +3 endpoints
2021-02-12 08:13:09 -08:00
Claudiu Belu
030b6cc84c test images: Fixes Windows httpd images
A 32-bit php was included in the images, instead of the 64-bit one. The base image
is nanoserver-based, which does not support 32-bit apps. Because of this, httpd
fails to start.

Additionally, we've previously removed the busybox-helper dependency, but was
left in in the httpd images. This removes the dependency from the httpd images.
2021-02-12 14:11:02 +00:00
Kubernetes Prow Robot
3e96112971
Merge pull request #99020 from BenTheElder/shorter-key
shorten scheduling priorities taint key
2021-02-12 04:37:17 -08:00
Kubernetes Prow Robot
67fbf4172d
Merge pull request #98988 from ii/Riaankl_DeploymentScale
Write Read, Replace and Patch DeploymentScale test +3 endpoints
2021-02-12 04:37:10 -08:00
Benjamin Elder
ad325377b5 shorten scheduling priorities taint key 2021-02-12 01:30:30 -08:00
Claudiu Belu
d56e21c579 tests: Updates resource-consumer to 1.9 in tests
``resource-consumer:1.9`` also includes Windows support.
2021-02-11 19:16:07 -08:00
Riaan Kleinhans
7cea43a4b4 Create DeploymentScale test 2021-02-12 11:53:08 +13:00
Riaan Kleinhans
c721d8cf65 Create ReplicaSetScale test 2021-02-12 09:58:59 +13:00
Riaan Kleinhans
866f658695 Update e2e patch scale statefulset test
Test now validates patchAppsV1NamespacedStatefulSetScale endpoint.
Update conformance metadata to include v1.21

Co-authored-by: Stephen Heywood <stephen@ii.coop>
2021-02-12 09:43:48 +13:00
Kubernetes Prow Robot
f41def8d76
Merge pull request #98996 from wojtek-t/reenable_dns_autoscaling_test
Enable kube-dns-autoscaler test in scale-correctness tests
2021-02-11 11:53:45 -08:00
Kubernetes Prow Robot
e142a5e1d5
Merge pull request #98972 from dashpole/fix_metricsgrabber
Fix MetricsGrabber test by skipping if the master node isn't registered
2021-02-11 11:02:27 -08:00
Kubernetes Prow Robot
2ebd3b99ac
Merge pull request #98940 from ii/remove-conformance-metadata
Update conformance metadata for relocated test
2021-02-11 11:02:15 -08:00
Jake Sanders
927eaffe19 Update kube-addon-manager image to v9.1.2 2021-02-11 09:38:39 -08:00
wojtekt
1d68e7c0a4 Enable kube-dns-autoscaler test in scale-correctness tests 2021-02-11 13:05:32 +01:00
Kubernetes Prow Robot
ab15313f1e
Merge pull request #98586 from mtaufen/said-conform
Promote ServiceAccountIssuerDiscovery test to conformance
2021-02-11 02:40:15 -08:00
Kubernetes Prow Robot
e25b0cb6db
Merge pull request #98911 from Jeffwan/jiaxin/update_kubemark_args
Remove CONTENT_TYPE in kubemark hollow template
2021-02-11 01:48:15 -08:00
Amim Knabben
0fc096e3aa Allow ingress from pods in all namespaces 2021-02-10 21:03:54 -05:00
Kubernetes Prow Robot
71d411982a
Merge pull request #98926 from claudiubelu/tests-etcd-registry
tests: Separate registry configuration for etcd image
2021-02-10 16:56:23 -08:00
Kubernetes Prow Robot
8a8caf317b
Merge pull request #97616 from knabben/netpol-2a-allow
Netpol E2E test should allow traffic to an application
2021-02-10 16:56:16 -08:00
Kubernetes Prow Robot
838bb6a567
Merge pull request #98663 from gavinfish/sched-remove-plugin-pt
Scheduler: change config.Plugins from pointers to objects
2021-02-10 15:36:15 -08:00
Amim Knabben
61f02b85d7 Testing multiple pods using label selector 2021-02-10 16:00:02 -05:00
Kubernetes Prow Robot
a1e310b200
Merge pull request #97984 from alculquicondor/job-integration
Add integration test for parallel and non-parallel Job
2021-02-10 11:58:15 -08:00
David Ashpole
0272980ab1 Fix MetricsGrabber test: only check for the master pods if the master node is registered 2021-02-10 10:58:41 -08:00
Aldo Culquicondor
758813baa3 Add integration tests for Job
Includes controller restarts
2021-02-10 18:53:24 +00:00
drfish
74315f9c56 Change config.Plugins from pointers to objects 2021-02-10 23:45:59 +08:00
tiloso
e1ceac0783 Fix staticcheck in test/integration/{scheduler_perf,garbagecollector} 2021-02-10 10:55:09 +01:00
wojtekt
d616cd14a6 Add [sig-autoscaling] tag to remaining cluster autoscaler tests 2021-02-10 08:15:46 +01:00
Kubernetes Prow Robot
7a7778941b
Merge pull request #98897 from ii/promote-pod-service-proxy-with-path
Promote PodProxyWithPath & ServiceProxyWithPath test - + 12 endpoint coverage
2021-02-09 19:48:59 -08:00
Stephen Heywood
ee7ee85669 Update conformance metadata for relocated test 2021-02-10 13:32:58 +13:00
Kubernetes Prow Robot
324eb844d1
Merge pull request #98736 from wongma7/aws
Warn instead of erroring if --gce-zone is not passed to e2e.test when --provider=aws
2021-02-09 13:22:58 -08:00
Cheng Xing
6b3f74dafb Storage e2e: Remove pd csi driver installation in GKE 2021-02-09 13:14:58 -08:00
Kubernetes Prow Robot
49a772a122
Merge pull request #98917 from claudiubelu/test-images/resource-consumer-bump
test images: Bump resource-consumer to 1.9
2021-02-09 12:05:06 -08:00
Kubernetes Prow Robot
69110b0e67
Merge pull request #98390 from knabben/deny-all-traffic-from-ns
Deny Ingress on other namespaces
2021-02-09 12:04:59 -08:00
Jiaxin Shan
4b796c359e Remove CONTENT_TYPE in kubemark hollow template
CONTENT_TYPE in this case is `kube-api-content-type=application/vnd.kubernetes.protobuf` and it can be removed since
 we don’t see a need for setting it differently in the tests.

Signed-off-by: Jiaxin Shan <seedjeffwan@gmail.com>
2021-02-09 11:04:44 -08:00
Kubernetes Prow Robot
ab5a8c4af8
Merge pull request #98639 from knabben/udp-connect-agnhost
UDP protocol on connect agnhost command
2021-02-09 10:25:39 -08:00
Amim Knabben
96a7b2a102 Deny ingress on other namespaces 2021-02-09 10:15:59 -05:00
Kubernetes Prow Robot
943e67c01f
Merge pull request #95479 from mgjeong/feature-memory-manager-working
Memory manager
2021-02-09 03:40:56 -08:00
Kubernetes Prow Robot
d6c26a826a
Merge pull request #95281 from SaiHarshaK/staticcheck_test
fix staticcheck failures for test/e2e and test/integration
2021-02-09 03:40:38 -08:00
Kubernetes Prow Robot
1f24b504cd
Merge pull request #98831 from claudiubelu/test-images/fixes-windows-php
test images: Fixes Windows php source
2021-02-09 01:38:49 -08:00
Kubernetes Prow Robot
efb41ea0fb
Merge pull request #98887 from claudiubelu/test-images/retrigger
test images: Retrigger some image jobs
2021-02-09 00:46:10 -08:00
Kubernetes Prow Robot
fcb55645a9
Merge pull request #98547 from neolit123/1.21-update-kubeadm-owners
kubeadm: update OWNERS for 1.21
2021-02-09 00:45:16 -08:00
pacoxu
a2f87acb97 deflake a resource quota check for best-effort pods 2021-02-09 14:29:32 +08:00
Kubernetes Prow Robot
765249c524
Merge pull request #98891 from msau42/pd-e2e
PD CSI e2e: disable resizer volume inuse error check
2021-02-08 21:53:31 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Kubernetes Prow Robot
41de665385
Merge pull request #95848 from boddumanohar/master
add e2e tests for create/delete volume snapshot with secrets
2021-02-08 17:03:25 -08:00
Stephen Heywood
4cb67b8f0c Fix gofmt issues 2021-02-09 12:41:10 +13:00
Kubernetes Prow Robot
017d4dd832
Merge pull request #98739 from logicalhan/so-stable
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-08 15:19:10 -08:00
Artyom Lukianov
932134034c memory manager: update API constant to have camel case format
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:02 +02:00
Artyom Lukianov
e8ea461bfd memory manager: update all relevant part of code to use []MemoryReservation
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:01 +02:00
Artyom Lukianov
74eeef2a0a memory manager: provide additional e2e tests
With the memory manager static policy:

- start multiple guaranteed pods and verify that pods succeeded to start
- start workload pod on each NUMA node to load the memory and start the
  pod that requested more memory than each NUMA node have, the pod should fail
  to start with the admission error, because no single NUMA node has enough
  memory to start the pod and also each NUMA node already used for single
  NUMA node allocation
  The test requires at least two NUMA nodes

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:00 +02:00
Pawel Rapacz
606fea29f5 memory manager: add e2e test to run guaranteed pod with init containers
Signed-off-by: Pawel Rapacz <p.rapacz@partner.samsung.com>
2021-02-09 01:10:00 +02:00
Artyom Lukianov
f3d4ac2f7e memory manager: add basice e2e tests
Provides basic tests e2e to verify that pod succeeds
to start with MemoryManager enabled.

Verifies both MemoryManager policies and when the node has
multiple NUMA nodes it will verify the memory pinning.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:00 +02:00
Stephen Heywood
c88a838282 Promote pod and service ProxyWithPath e2e test to Conformance 2021-02-09 11:50:22 +13:00
Han Kang
c3f550f3cb fix arguments too long error 2021-02-08 11:55:25 -08:00
Michelle Au
1025997abf PD CSI: disable resizer volume inuse error check as it is not necessary for PD and requires new RBACs
Change-Id: I5844eaed0b23389ac07584e8b9ee82f47df5a90e
2021-02-08 11:27:01 -08:00
Kubernetes Prow Robot
d11e475b9b
Merge pull request #98770 from pohly/e2e-mock-container-versions
test: bump CSI container versions for mock testing
2021-02-08 10:45:37 -08:00
Claudiu Belu
3945c8972c tests: Switch dockerhub registry images to promoted registry
Due to the dockerhub rate limiting, we had to find an alternative solution. We've mirrored the dockerhub
images into our own.

Additionally, our own busybox, httpd, and nginx images also have Windows support.
2021-02-08 08:01:04 -08:00
Navid Shaikh
2e63bad5a3 Fix golint errors in test/e2e/common
- Add comments for exported types
 - Replace Uid with UID
2021-02-08 10:47:41 +05:30
Kubernetes Prow Robot
15a8a8ec4a
Merge pull request #97738 from knabben/deny-all-ns
Default DENY all egress from pods in the namespace
2021-02-07 12:37:12 -08:00
Amim Knabben
f1da11078a UDP protocol on connect agnhost command 2021-02-07 15:29:58 -05:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration 2021-02-07 23:47:23 +05:30
Kubernetes Prow Robot
fc7b785e64
Merge pull request #98818 from chewong/remove-duplicated-code
fix: remove duplicated code in image-util.sh due to merge conflict
2021-02-07 09:23:11 -08:00
Amim Knabben
189edf1e73 Default deny all egress from pods in the namespace 2021-02-07 11:55:50 -05:00
Amim Knabben
c8031e5b13 Netpol e2e test should overwrite allow with another deny 2021-02-07 11:48:20 -05:00