Commit Graph

18627 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
97cf67b329
Merge pull request #97897 from knabben/sctp-netpol-test
Copying SCTP tests to Netpol e2e framework
2021-01-17 07:27:43 -08:00
Kubernetes Prow Robot
d73693cb44
Merge pull request #98101 from aojea/agnhost26
bump agnhost to 2.26
2021-01-15 17:08:31 -08:00
Kubernetes Prow Robot
f4fd7cf86c
Merge pull request #98025 from hasheddan/fqdn-test
Default cluster dns-domain to empty string in e2e_node suite
2021-01-15 17:08:13 -08:00
Kubernetes Prow Robot
d5a75dc7e8
Merge pull request #97987 from jayunit100/directly_resolve_dns
directly query dns and resolve it in the e2es for windows
2021-01-15 13:57:56 -08:00
Antonio Ojea
44653fc21b bump agnhost to 2.26 2021-01-15 16:21:31 +01:00
Kubernetes Prow Robot
e1c1fd9edf
Merge pull request #97880 from justinsb/spelling
Fix spelling typos: scheduable -> schedulable
2021-01-15 03:43:51 -08:00
Kubernetes Prow Robot
33ee864e92
Merge pull request #97003 from ravisantoshgudimetla/remove-scheduler-preemption-test-from-conformance
make hostPort match test linuxonly
2021-01-14 19:39:51 -08:00
ravisantoshgudimetla
32c2ec5ceb conformance changes 2021-01-14 16:40:39 -05:00
ravisantoshgudimetla
c183ac16d1 make hostPort match test linuxonly 2021-01-14 16:40:39 -05:00
Kubernetes Prow Robot
0b4a30bb25
Merge pull request #93510 from smarterclayton/one_repo_test_images
test/utils/image: Support a single repository
2021-01-14 11:55:30 -08:00
Claudiu Belu
180b9527bd test images: Small changes to trigger image postsubmit jobs 2021-01-14 09:05:57 -08:00
Justin SB
d1b67f9683 e2e: DNS autoscaler test was not counting nodes correctly
The DNS autoscaler test was not correctly counting tainted but
schedulable nodes, meaning that the target count was not correct for
clusters with multiple control-plane nodes (which are often tainted
but schedulable).

The cluster-proportional-autoscaler ignores non-schedulable nodes, but
does not consider taints.
2021-01-14 11:19:32 -05:00
Adelina Tuvenie
577b335d65
Update Dockerfile_windows
Change Dockerfile Copyright year. Reason: retrigger image build job.
2021-01-14 17:04:02 +02:00
Antonio Ojea
6176597b0d update agnhost readme 2021-01-14 09:58:14 +01:00
Claudiu Belu
38dea811cb test images: Minor changes to trigger postsubmit image building jobs
Some of these images didn't have any job run for them. Some of these
images previously failed due to an issue that has been addressed since.

Making a change into their image directory will spawn a postsubmit job
that will build that image.
2021-01-13 21:44:55 -08:00
jayunit100
834ce35ba1 directly query dns and resolve it in the e2es for windows
add failure scenario for 1.1.1.1, so that no-op DNS CRI's are caught red-handed
2021-01-13 17:57:55 -08:00
Kubernetes Prow Robot
e1369ecfb4
Merge pull request #97878 from justinsb/e2e_split_network_test
e2e: split test into kubeup & generic tests
2021-01-13 13:27:03 -08:00
Amim Knabben
425e544a66 Copying SCTP netpol tests to new e2e framework 2021-01-13 13:34:11 -05:00
hasheddan
40ca31f524
Default cluster dns-domain to empty string in e2e_node suite
Changes default cluster DNS domain to empty string to align with the
default kubelet configuration value.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 10:53:11 -06:00
Kubernetes Prow Robot
f6e04cd3ad
Merge pull request #97638 from knabben/netpol-egress-func
Moving egress deny with DNS to a policy function
2021-01-13 04:18:35 -08:00
Antonio Ojea
67e2c37440 Use new image for e2e regression test 2021-01-13 11:02:58 +01:00
Antonio Ojea
7d699b3037 e2e test for invalid conntrack entry
This test is testing a bad conntrack behaviour, it doesn´t apply
only to kube-proxy.
2021-01-13 11:02:58 +01:00
Kubernetes Prow Robot
a098b5b16c
Merge pull request #97976 from claudiubelu/patch-2
test images: Print docker version and docker buildx version
2021-01-12 22:00:36 -08:00
Kubernetes Prow Robot
70435a298c
Merge pull request #97172 from Jefftree/opentest
Fix openapi model generation for apply when x-int-or-string is set
2021-01-12 16:02:35 -08:00
Kubernetes Prow Robot
981afd2bff
Merge pull request #97209 from jayunit100/patch-17
Update hybrid_network.go
2021-01-12 15:06:48 -08:00
Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.

This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:

KUBE_TEST_REPO=quay.io/openshift/community-e2e-images

would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.

The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.

The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Kubernetes Prow Robot
cbcb26e7a5
Merge pull request #97653 from heqg/unused-kubeletPort
remove unused constant of kubeletPort in e2e test
2021-01-12 11:56:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Claudiu Belu
77ca485321
test images: Print docker version and docker buildx version
For debugging purposes, it should be useful to run ``docker version`` and ``docker buildx version`` in order to more easily check and verify issues encountered with the Image Builder.
2021-01-12 19:35:56 +02:00
Kubernetes Prow Robot
db183c7e80
Merge pull request #97754 from wzshiming/fix-kubectl-convert
Fix kubectl-convert import known versions
2021-01-12 09:27:54 -08:00
wzshiming
df9a7797bb kubectl-convert import known versions 2021-01-12 19:04:50 +08:00
Claudiu Belu
ee9be7ce5a tests: Removes node created by test
The test "A node shouldn't be able to create another node" could create
a node during its run, but it doesn't delete it in this case.

This commit addresses this issue.
2021-01-11 15:39:43 -08:00
Kubernetes Prow Robot
f1941c9c6d
Merge pull request #97046 from claudiubelu/test-images-2004
test images: Adds BASEIMAGE for windows/amd64/2004 and windows/amd64/20H2
2021-01-11 11:18:25 -08:00
Kubernetes Prow Robot
ba5f5bea64
Merge pull request #96984 from adtac/apfe2e-3
APF e2e test: wait for steady state before proceeding
2021-01-11 09:36:25 -08:00
Kubernetes Prow Robot
1f0ef8e679
Merge pull request #97293 from roycaihw/storage-version/gc-rbac
add rbac rule for storage version garbage collector
2021-01-11 08:39:07 -08:00
Adhityaa Chandrasekar
1ae5ed9f6f APF e2e: wait for steady state before proceeding
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-01-11 15:46:05 +00:00
Justin SB
8797738c02 Fix spelling typos: scheduable -> schedulable
Bulk fix of a common typo.
2021-01-09 12:59:33 -05:00
Justin Santa Barbara
33055a8b6b e2e: recognize multi-node control planes
We were treating multiple nodes as a failure; instead we can return all
the node (internal) IPs we find.
2021-01-09 09:18:29 -05:00
Justin Santa Barbara
ae26042e1a e2e: split test into kubeup & generic tests
The "should have correct firewall rules for e2e cluster" test is GCE
specific, and likely specific to the kube-up configuration.

However, the second half of the test is a generic behaviour based test
that verifies that ports are not reachable.

We can split this into two tests, with an eye to running the generic
test in more places.
2021-01-09 09:15:47 -05:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Kubernetes Prow Robot
06482704e6
Merge pull request #97816 from jayunit100/fix_node_selector_hostmaps
Fix node selector hostmaps
2021-01-08 16:57:06 -08:00
Kubernetes Prow Robot
781eb03b89
Merge pull request #96792 from aojea/promotev6image
e2e test regression image multiarch
2021-01-08 15:39:05 -08:00
jayunit100
13b0a3e4f2 volumes tests - adding support for windows labels 2021-01-08 11:53:53 -08:00
Haowei Cai
83b30bc92f generated 2021-01-08 11:39:41 -08:00
Haowei Cai
be172d6900 add rbac role for storage version GC 2021-01-08 11:39:08 -08:00
Kubernetes Prow Robot
04e3106b1e
Merge pull request #97809 from jayunit100/fix_node_port_windows
Fix node port tests windows nodeSelector metadata
2021-01-08 10:34:29 -08:00
lyzs90
7b3322f677 Pull hollow node images from real nodes 2021-01-09 00:12:56 +08:00
Kubernetes Prow Robot
b259c92dda
Merge pull request #96966 from tkashem/pf-e2e
p&f e2e: the test should log expected and actual response header in case it fails.
2021-01-08 07:56:56 -08:00
Kubernetes Prow Robot
cc09a6df58
Merge pull request #97844 from aojea/essip
don´t panic on e2e ESIPP tests
2021-01-08 03:36:53 -08:00
Antonio Ojea
6bedf4a98b don´t panic on e2e ESIPP tests
The ESIPP tests are using a function to poll an HTTP endpoint.
This function failed the framework if the request to the http endpoint
timed out, causing a panic that ginkgo couldn´t recover.

Also, this function was used inside a pollImmediate loop, so it should
return the error instead of fail.
2021-01-08 10:52:49 +01:00
Antonio Ojea
2548fa1112 Revert "dump conntrack table on e2e conntrack failures"
This reverts commit 0ef7f27fc1.

The info is not enough to debug the problems, there are simply no
conntrack entries but there is no clue about it.

Another problem is that it dumps the conntrack entries from all
nodes, that is more than 40 mins in a scale test job with 5000 nodes.
2021-01-08 10:04:40 +01:00
Kubernetes Prow Robot
611aff9221
Merge pull request #97702 from jayunit100/patch-21
set numberOfWorkers for netpol suite to the ideal value (3) that is n…
2021-01-07 14:08:54 -08:00
jayunit100
89120be5c3 adding a windows nodeSelector for nodePort tests
jig modifier
2021-01-07 14:01:55 -08:00
Kubernetes Prow Robot
84b4569390
Merge pull request #97804 from jayunit100/windows-node-selector
adding windows os selector to the dnsPolicy tests
2021-01-07 11:51:13 -08:00
jay vyas
9aca5f8e41 Update hybrid_network.go
Add By clauses to windows networking test so that we always know where it failed and how
2021-01-07 12:44:00 -05:00
jayunit100
4ddd22c9c9 adding windows os selector to the dnsPolicy tests
adding a feature selector to the windows Describe dns test
2021-01-07 12:41:51 -05:00
jay vyas
ba0a87015a set numberOfWorkers for netpol suite to the ideal value (3) that is non-disruptive 2021-01-07 12:36:19 -05:00
Kubernetes Prow Robot
f9c7c59e25
Merge pull request #97451 from pacoxu/fix/cluster-ip-quota
bugfix: nodeport quota check failure result into failing to create a clusterip service
2021-01-07 06:41:45 -08:00
Kubernetes Prow Robot
c5cc25d1cb
Merge pull request #97615 from wojtek-t/immutable_secrets_ga
Promote Immutable Secrets/ConfigMaps to Stable
2021-01-07 00:03:45 -08:00
Kubernetes Prow Robot
585fc57cc7
Merge pull request #97327 from ii/update-apiservice-test
Update: Write Read Status, Patch & List APIService test +3 endpoints
2021-01-06 23:07:45 -08:00
Kubernetes Prow Robot
d5e8aa2d03
Merge pull request #97524 from NillsF/master
Add e2e networkPolicy test to validate egress deny precedence over ingress allow
2021-01-06 19:57:45 -08:00
Kubernetes Prow Robot
ab8dda3c88
Merge pull request #97736 from knabben/default-deny-egress
Default deny egress with pod label selector
2021-01-06 16:41:50 -08:00
pacoxu
15867d9e8a bugfix: check Spec.AllocateLoadBalancerNodePorts for nodeport and skip zero usage in delta evaluator
Signed-off-by: pacoxu <paco.xu@daocloud.io>

When Spec.AllocateLoadBalancerNodePorts is "false" NodePort shall
not be included when computing quota for type:LoadBalancer.

Co-authored-by: uablrek
2021-01-07 07:11:22 +08:00
Kubernetes Prow Robot
24f4fe7c8c
Merge pull request #97571 from mattfenwick/issue-97425
97425: improve netpol comments
2021-01-06 13:05:52 -08:00
Kubernetes Prow Robot
f7c1f84ad7
Merge pull request #97526 from mattfenwick/patch-1
add OWNERS file to kubernetes/test/e2e/network/netpol
2021-01-06 12:01:52 -08:00
Matt Fenwick
5f80d7b3cf add OWNERS file to kubernetes/test/e2e/network/netpol 2021-01-06 11:17:24 -05:00
Kubernetes Prow Robot
02bce1fbb0
Merge pull request #96866 from ravisantoshgudimetla/increase-timeout
Fix test failures
2021-01-05 19:57:51 -08:00
Kubernetes Prow Robot
b959f01c5a
Merge pull request #97629 from heqg/typo-formatted
Fix Spelling error about [formatted] for statefulset.go
2021-01-05 17:10:27 -08:00
Amim Knabben
fc46c0a75a Default deny egress with pod label selector 2021-01-05 15:31:09 -05:00
Kubernetes Prow Robot
974404757d
Merge pull request #96929 from gavinfish/sched-plugin-core
Scheduler: Move PodPassesFiltersOnNode out of core to avoid plugin dependency
2021-01-05 11:46:13 -08:00
Kubernetes Prow Robot
07bd985724
Merge pull request #96561 from ialidzhikov/cleanup/csi-node-info
Remove CSINodeInfo feature gate
2021-01-05 11:46:00 -08:00
Nills Franssens
eaad78c8fe adding egress ingress test case 2021-01-05 08:47:37 -08:00
Kubernetes Prow Robot
ff4234720d
Merge pull request #97469 from jayunit100/patch-19
Adding casey (sig-net chair) to approvers list for test/e2e/network
2021-01-03 10:41:55 -08:00
Matthew Fenwick
19dd785870 97425: improve netpol comments 2021-01-02 16:03:34 -05:00
he.qingguo
ced98afe56 remove unused constant of kubeletPort in e2e test
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-02 12:16:07 +08:00
Amim Knabben
d378fca35a Moving egress deny with DNS to policy function 2020-12-31 08:10:36 -05:00
he.qingguo
c1e1eb4d29 Fix Spelling error about [formatted] for statefulset.go
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-31 15:48:36 +08:00
wojtekt
60828f36f8 Update conformance tests list 2020-12-30 16:56:08 +01:00
wojtekt
0f88bbe9b1 Promote Immutable Secrets/ConfigMaps feature to GA 2020-12-30 16:00:41 +01:00
he.qingguo
c39d5da986 remove unused variable in e2e test[types]
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2020-12-29 10:39:43 +08:00
Kubernetes Prow Robot
47c2983490
Merge pull request #97432 from saikat-royc/skip-multiaz-volume-test
Skip multi az PD storage test if no extra zone detected
2020-12-23 12:00:38 -08:00
Kubernetes Prow Robot
e20300b1a0
Merge pull request #93285 from aarnaud/windows-devicemanager
Port deviceManager to windows container manager to enable GPU access
2020-12-23 12:00:26 -08:00
Kubernetes Prow Robot
fec1a366c3
Merge pull request #91592 from jayunit100/netpol-impl2
new NetworkPolicy Validation suite
2020-12-23 05:56:27 -08:00
jay vyas
36ae8fd91a import the netpol testing package so that ownership is attributed correctly in the network policy testing suit 2020-12-23 07:40:47 -05:00
jay vyas
59517f7335
Adding casey (sig-net chair) to approvers list for test/e2e/network
Adding casey (sig-net chair) to approvers list for test/e2e/network
2020-12-22 16:20:59 -05:00
Saikat Roychowdhury
bc4977724f Skip multi az PD storage test if no extra zone detected 2020-12-22 21:06:44 +00:00
Kubernetes Prow Robot
c6b3e72e0e
Merge pull request #97421 from claudiubelu/test-images-20h2
test images: Adds 20H2 to the windows_os_versions
2020-12-22 07:52:41 -08:00
Kubernetes Prow Robot
b10d82b93b
Merge pull request #97422 from claudiubelu/sample-apiserver-tty
test images: Allows sample-apiserver to be built without a TTY
2020-12-21 14:00:25 -08:00
drfish
070773c399 Remove scheduler plugins package's dependency from core package 2020-12-20 00:18:40 +08:00
Kubernetes Prow Robot
7da7d2084c
Merge pull request #96918 from aojea/agnhostbump
bump agnhost base image
2020-12-17 13:54:24 -08:00
Claudiu Belu
64934518fd test images: Allows sample-apiserver to be built without a TTY
Currently, the image's postsubmit job fails because of the docker run -t
in the image's Makefile. We don't need it in order to build the image.

Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952
2020-12-17 13:02:19 -08:00
Claudiu Belu
31101408d3 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 12:43:22 -08:00
Riaan Kleinhans
de9dd82c54 Extend APIService e2e testing of endpoints
e2e test validates the following 3 extra endpoints
- readApiregistrationV1APIServiceStatus
- patchApiregistrationV1APIService
- listApiregistrationV1APIService
2020-12-18 09:25:13 +13:00
Claudiu Belu
479f37e5e9 test images: Adds 20H2 to the windows_os_versions
We are planing to test and support 20H2 release of Windows, thus,
we need to build test images for it as well. The busybox image already
has a BASEIMAGE entry for it, but we also need to add it to the image-util.sh's
windows_os_versions, so the OS Version can be properly included in the
manifest list.
2020-12-17 19:03:01 +00:00
Claudiu Belu
6816b2e7e9 test images: Adds dockerhub images for mirroring
Dockerhub will introduce rate limiting in November, and a lot of E2E tests
are relying on the busybox image. It could potentially become an issue
causing jobs to fail because of this.

Ideally, we'd have the busybox image mirrored on gcr.io, but that could take
some time. Until then, we can just have the Image Builder mirror the image
for us in the staging registry and use that for tests until this issue is
solved. The busybox image should NOT be promoted out of staging.

During the sig-testing meeting, it was decided that we should do the same
for the other images are hosted on dockerhub.

Two different versions of httpd and nginx have to be built, and thus, the have
different folders. An ALIAS file was added to httpd-new and nginx-new in order
to keep the same image name.
2020-12-17 19:02:26 +00:00
Antonio Ojea
bbfed8a7db fix sctp hostPort test
The test create a pod with a hostPort to expose an SCTP port, then
it checks if the iptables rules were installed correctly in the host.

The iptables rules MUST be checked in the same host where the pod
is running :)
2020-12-17 18:31:35 +01:00
Kubernetes Prow Robot
b9ce4ac212
Merge pull request #97346 from linux-on-ibm-z/issue-97318
Bump agnhost and nonewprivs versions
2020-12-16 19:19:08 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Kubernetes Prow Robot
dc39ab2417
Merge pull request #97345 from mm4tt/service-test-disabled-for-large-clusters
Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
2020-12-16 07:12:21 -08:00
Kubernetes Prow Robot
970b532379
Merge pull request #97344 from towca/jtuznik/ca-e2e-fix
Update autoscaling e2e test after an event message was changed
2020-12-16 05:38:21 -08:00
Mateusz Matejczyk
3affac239e Remove the 'DisabledForLargeClusters' tags from non-session-affinity LB network tests
Ref. https://github.com/kubernetes/kubernetes/issues/90047
2020-12-16 13:26:42 +01:00
Kubernetes Prow Robot
609f46715b
Merge pull request #97151 from pacoxu/fix/97138
cleanup: remove dup key VolumeStatsUsedBytesKey in test
2020-12-16 03:14:21 -08:00
Jakub Tużnik
f9b66102de Update autoscaling e2e test after an event message was changed
The test no longer passes because it checks for a part of an event
message which has recently been removed from Cluster Autoscaler.
2020-12-16 11:17:01 +01:00
Kubernetes Prow Robot
60cfd74e6b
Merge pull request #97324 from claudiubelu/test-images/busybox-2004-20h2
test images: Adds Windows 2004 and 20H2 base images for busybox
2020-12-16 01:20:20 -08:00
Rajas Kakodkar
794080c8da bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:36:31 +00:00
Rajas Kakodkar
7a82831255 bump VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 07:35:59 +00:00
Kerstin08
dc86fb9390 Add e2e test for windows device manager 2020-12-16 00:30:05 -05:00
Kubernetes Prow Robot
8bfdd6a21b
Merge pull request #97311 from zzzkl/master
Fix typo in e2e test log
2020-12-15 17:20:20 -08:00
Claudiu Belu
f78aa177fa test images: Adds windows/amd64/20H2 BASEIMAGE 2020-12-15 16:35:01 +00:00
Kubernetes Prow Robot
6d43e2b3bb
Merge pull request #96834 from chendave/fix_race
Add performance benchmark for the preemption with volume
2020-12-15 07:13:49 -08:00
zzzkl
987562bb8e
Fix typo in e2e test log 2020-12-15 15:39:09 +08:00
Dave Chen
ebcca92771 Add performance benchmark for the preemption with volume
This will help to reveal the potential issues when the
volume is in place.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-15 10:54:01 +08:00
Kubernetes Prow Robot
2b23e71f6c
Merge pull request #97229 from 249043822/br-e2e-scheduling
remove unused funcs for e2e predicates
2020-12-14 18:34:01 -08:00
Kubernetes Prow Robot
52bf6641f7
Merge pull request #95019 from aojea/sliceFalke
Fix e2e endpoint slice flake test
2020-12-14 18:33:48 -08:00
Kubernetes Prow Robot
d4ff560d73
Merge pull request #97291 from Jiawei0227/fixTest
Skip unsupported tests for disruptive testsuite
2020-12-14 15:42:20 -08:00
Kubernetes Prow Robot
868d185ffb
Merge pull request #97137 from ii/update-logging-for-pod-lifecycle-test
Update Error logging for Pod+PodStatus resource lifecycle test
2020-12-14 15:42:11 -08:00
Kubernetes Prow Robot
658bf92879
Merge pull request #81209 from mlmhl/kubemark-e2e
fix kubemark e2e script
2020-12-14 15:41:48 -08:00
jay vyas
debbe9dce9 New NetworkPolicy tests: Part 2, all truth table validation scenario definitions
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
Co-authored-by: Jay Vyas <jvyas@vmware.com>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
2020-12-14 17:14:25 -05:00
Kubernetes Prow Robot
84ba901b60
Merge pull request #97247 from claudiubelu/test-images/20h2-windows
test images: Adds 20H2 image to windows-servercore-cache
2020-12-14 14:02:10 -08:00
Kubernetes Prow Robot
caab2fb4d7
Merge pull request #97183 from lala123912/suffix_clear_4
remove suffixes from generated StorageClasses and VolumeSnapshotClass
2020-12-14 14:02:02 -08:00
Matthew Fenwick
65632b8677 NetworkPolicy Validation suite
Co-authored-by: Matt Fenwick <mfenwick100@gmail.com>
Co-authored-by: Jay Vyas <jvyas@vmware.com>
Co-authored-by: Rich Renner <renner@sunder.io>
Co-authored-by: Sedef Savas <ssavas@vmware.com>
Co-authored-by: Guangyang Wang <wguangyuan@vmware.com>
Co-authored-by: Akash Sarda <akashsarda3@gmail.com>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Co-authored-by: Antonin Bas <abas@vmware.com>
Co-authored-by: Antonio Ojea <aojea@redhat.com>

addressed remaining minor comments

initial netpol-framework
2020-12-14 16:47:39 -05:00
tiloso
3cbdc711de Fix staticcheck in test/integration/{examples,framework}
Part of #92402, fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Kubernetes Prow Robot
568cd3df0b
Merge pull request #97282 from aojea/revHostNetwork
Revert "use uncommon ports for e2e network test"
2020-12-14 12:41:49 -08:00
Jiawei Wang
d0a3faa829 Skip unsupported tests for disruptive testsuite 2020-12-14 11:18:20 -08:00
Kubernetes Prow Robot
bd4d197b52
Merge pull request #96447 from chendave/bind_postfilter
Remove the deprecated metrics from scheduler
2020-12-14 06:31:28 -08:00
lala123912
165907f60a remove suffixes from generated StorageClasses and VolumeSnapshotClass 2020-12-14 16:48:41 +08:00
Antonio Ojea
638da25dd1 Revert "use uncommon ports for e2e network test"
This reverts commit be1ed2f43a.

The problem happens when the pod tries to be scheduled, not the
service. Also, maybe skipping is not the best idea ...
2020-12-14 08:56:16 +01:00
Dave Chen
5144e2ec78 Remove the deprecated metrics from scheduler
Deprecated metrics are removed and suggest to use the Histogram
metrics got from scheduler extension points.

Signed-off-by: Dave Chen <dave.chen@arm.com>
Co-authored-by: wawa0210 <xiaozhang0210@hotmail.com>
2020-12-14 11:31:50 +08:00
Claudiu Belu
5fd669db51 test images: Adds Windows 2004 and 20H2 base images for busybox
busybox is being used as a base image for a few other images, like
agnhost, so we need to update this image first.
2020-12-13 08:22:14 -08:00
Kubernetes Prow Robot
2bd115e364
Merge pull request #97228 from chendave/unboundVolume
Make sure the volume name is not empty when the PVC is bound
2020-12-11 20:17:26 -08:00
KeZhang
e3ba42324b remove unused funcs for e2e predicates 2020-12-12 09:43:01 +08:00
Kubernetes Prow Robot
eecbdea3d6
Merge pull request #96462 from claudiubelu/test-images-multiarch
test images: Adds -p yes when calling register.sh
2020-12-11 15:01:27 -08:00
Kubernetes Prow Robot
49dd01f048
Merge pull request #96573 from Jiawei0227/skiptest
Storage testsuite refactor & cleanup
2020-12-11 11:57:26 -08:00
Tomas Nozicka
e4d7915a2e Use non privileged ports 2020-12-11 13:57:46 +01:00
Claudiu Belu
77e0c55acd test images: Adds 20H2 image to windows-servercore-cache
The 20H2 image was released in the second half of the year, and
we are going to need images for testing the release.

The image tag can be found here:
https://hub.docker.com/_/microsoft-windows-servercore
2020-12-11 03:22:55 -08:00
Dave Chen
b9d9a5ebed Make sure the volume name is not empty when the PVC is bound
Current logic to check whether a PVC is fully bound are:
1. PVC's volume name is not empty
2. Annotation "pv.kubernetes.io/bind-completed" is properly set

The behavior in the test case only set the annotation, and leave the
volume name to be set by a `FakePVController`.

This will cause a problem for us to run some testcase like scheduler's
perf test, scheduling pod with volume as an example, the first try will
always hit "unbound immediate PersistentVolumeClaims" exception.

As a result, the metric data "schedule_attempts_total", or "scheduling_algorithm_duration_seconds"
will not accurate enough.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-11 16:57:51 +08:00
Kubernetes Prow Robot
ee8983705a
Merge pull request #96679 from stmcginnis/appspot-cleanup
Remove stale analytics links from docs
2020-12-10 23:17:22 -08:00
Jiawei Wang
356bea6c9f Add storage framework and address comments 2020-12-10 22:48:06 -08:00
Jefftree
32a64cf14c tests for buildOpenAPIModelsForApply 2020-12-10 15:33:18 -08:00
Jiawei Wang
988563f8f5 Extract testsuite api to a separate package
Extract TestSuite, TestDriver, TestPattern, TestConfig
and VolumeResource, SnapshotVolumeResource from testsuite
package and put them into a new package called api.

The ultimate goal here is to make the testsuites as clean
as possible. And only testsuites in the package.
2020-12-10 11:12:51 -08:00
Jiawei Wang
5dc491758c Storage testsuite refactor & cleanup
Cleanup all the f.BeforeEach() before new framework to move all the
testskips in the new SkipUnsupportedTests() to make the structure easier.
And provide the standard way of RegisterTests()

Add a InitCustomXXXTestSuite(patterns []patterns) function for each
TestSuite to enable custom test suite definition.
2020-12-10 11:12:51 -08:00
Dan Winship
46470008a3 Improve error message on "CLOSE_WAIT" test failure 2020-12-10 11:00:13 -05:00
Kubernetes Prow Robot
fb02a59a6a
Merge pull request #96611 from tosi3k/lorem-ipsum
Remove master-log-dump.sh
2020-12-10 02:32:53 -08:00
ialidzhikov
bc432124a2 Remove CSINodeInfo feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-12-10 09:58:22 +02:00
pacoxu
75a2cc2cfd fix legacy 'ENV name value' syntax
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-10 10:38:10 +08:00
Kubernetes Prow Robot
534531fc47
Merge pull request #96694 from andrewsykim/node-conformance-exec-probe-timeout
e2e/node: add exec probe timeout tests to NodeConformance
2020-12-09 07:54:49 -08:00
Kubernetes Prow Robot
77d150ae11
Merge pull request #96856 from aojea/netpolipv6
e2e network policy enclose IPv6 destinations
2020-12-09 03:26:50 -08:00
Kubernetes Prow Robot
65d57211e3
Merge pull request #97068 from chendave/selectors
Add constraint selector to pod template
2020-12-08 22:01:19 -08:00
Kubernetes Prow Robot
74a7fc46c3
Merge pull request #97029 from andrewsykim/routes-controller-allocate-node-cidr-check
cloud-controller-manager: routes controller should not depend on --allocate-node-cidrs
2020-12-08 22:00:50 -08:00
pacoxu
f970b2bd41 remove dup key in test
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-09 13:16:16 +08:00
Kubernetes Prow Robot
ae287e848b
Merge pull request #97001 from Jiawei0227/copySC
Copy the same storageclass instead of constructing one in external test
2020-12-08 21:06:07 -08:00
Kubernetes Prow Robot
31d55baf63
Merge pull request #96875 from Jiawei0227/externaldriver2
Remove external driver duplicated misleading SupportedSizeRange
2020-12-08 20:04:24 -08:00
Kubernetes Prow Robot
dbe67deb2b
Merge pull request #96843 from Jiawei0227/externaldriver
Remove unnecessary snapshot ability check for external driver
2020-12-08 20:03:59 -08:00
Kubernetes Prow Robot
a1a7f834ed
Merge pull request #96687 from jayunit100/patch-16
test_context.go: add "windows" to the list of options for "--node-os-distro"
2020-12-08 18:35:57 -08:00
Kubernetes Prow Robot
34baf6aeb7
Merge pull request #96666 from harche/fix_typo
Remove the typo in the logs while configuring firewall for node e2e
2020-12-08 18:35:13 -08:00
Kubernetes Prow Robot
c07c7317af
Merge pull request #96659 from chendave/volume
Create PVC first if it's referenced by PV
2020-12-08 18:34:48 -08:00
Kubernetes Prow Robot
1fe25e9f73
Merge pull request #96637 from hasheddan/node-local-env
Update comment to not indicate check is run for docker daemon
2020-12-08 18:34:18 -08:00
Kubernetes Prow Robot
54de7237f4
Merge pull request #96571 from smarterclayton/fedora_path_2
test/integration/etcd: Use the busybox shim image constant
2020-12-08 17:29:09 -08:00
Kubernetes Prow Robot
9de5f165ea
Merge pull request #96467 from jsafrane/storage-go-recover
Add GinkgoRecover to a local storage go routine
2020-12-08 17:28:43 -08:00
Kubernetes Prow Robot
83b2c7a1bf
Merge pull request #96311 from thockin/kep-1659-topology-labels
Convert users of old failure-domain labels to new
2020-12-08 17:28:27 -08:00
Kubernetes Prow Robot
9d81c4ebfa
Merge pull request #96296 from aojea/extip
kube-proxy treat ExternalIPs as ClusterIPs
2020-12-08 17:28:18 -08:00
Kubernetes Prow Robot
9a175b9b2a
Merge pull request #96223 from SataQiu/fix-scheduler-20201104
scheduler: parse Pod's Node affinity once in PreScore phase
2020-12-08 17:28:06 -08:00
Kubernetes Prow Robot
dcc863a8b3
Merge pull request #96219 from fromanirh/tm-e2e-sriovdp-usage
node: e2e: bring up/down SRIOV DP just once
2020-12-08 16:29:53 -08:00
Kubernetes Prow Robot
bc63d37155
Merge pull request #96042 from bertinatto/custom-timeouts
[sig-storage] Add custom timeouts in E2E tests
2020-12-08 16:29:44 -08:00
Kubernetes Prow Robot
5cdc3e6e20
Merge pull request #95613 from MHBauer/CAP_NET_RAW
CAP_NET_RAW should be NET_RAW
2020-12-08 16:29:28 -08:00
Kubernetes Prow Robot
e1c617a88e
Merge pull request #96874 from MikeSpreitzer/flaky/apnf-e2e-drown-test
Tweak up flaking end-to-end tests of API Priority and Fairness
2020-12-04 14:37:25 -08:00
Adhityaa Chandrasekar
922548bbb4 APF e2e: disable drown-out tests temporarily
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-12-04 20:18:54 +00:00
Dave Chen
58142288a5 Add constraint selector to pod template
PodTopologySpread plugin will only count the existing pod when that
pod's label matches with `constraint.Selector`, which means all pods
could be scheduled to one topology zone when the constraint does not
have any selector defined.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-04 18:04:26 +08:00
Antonio Ojea
5e712b85a1 bump agnhost base image 2020-12-04 10:01:24 +01:00
Jiawei Wang
8c17534429 Copy the same storageclass instead of constructing one in external test 2020-12-03 19:52:32 -08:00
Andrew Sy Kim
0c90d8ddd9 test/integration: disable fake cloud routes controllers in cloud-controller-manager secure serving tests
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Claudiu Belu
e2ca45ca0a test images: Adds windows/amd64/2004 BASEIMAGE 2020-12-03 15:31:09 +00:00
Dave Chen
d293ae1298 Create PVC first if it's referenced by PV
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-03 13:56:54 +08:00
Fabio Bertinatto
ee082985c2 e2e: promote use of functions that support custom timeouts in storage tests.
WaitForPodSuccessInNamespace[Slow] are replaced by WaitForPodSuccessInNamespaceTimeout(),
so that custom timeouts are used instead of the hardcoded ones.
2020-12-02 16:14:13 -03:00
Fabio Bertinatto
c28dba5494 e2e: add new custom timeout value for slow PV deletion 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
c82626f96f e2e: use custom timeouts in all storage E2E tests 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
f6e900f468 e2e: add custom timeouts support in external storage drivers 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
3ec93da1b5 e2e: add custom timeouts to E2E framework 2020-12-02 15:57:58 -03:00
Abu Kashem
5b1d0b7fc1
p&f e2e test: log response header for better troubleshooting 2020-12-02 10:38:48 -05:00
Wei Huang
8cf3347d87
Increase preemption timeout from 1 minute to 2 minutes 2020-12-01 14:17:12 -08:00
Claudiu Belu
b95891b1f0 test images: sets DOCKER_CLI_EXPERIMENTAL="enabled" globally 2020-12-01 15:10:39 +00:00
Claudiu Belu
ef530c12d6 test images: Adds -p yes when calling register.sh
Before creating and bootstrapping a docker buildx instance, we need to call
register.sh with the -p yes flag. Without this, the docker buildx will only
support linux/amd64 and linux/386 platforms, meaning that it will fail when
trying to build images for other architecture types.

Additionally, the builder has to have qemu and its qemu-* binaries installed
in order to properly build the images. The recently created image
gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f has those requirements met.
2020-12-01 15:10:39 +00:00
Kubernetes Prow Robot
e0c587bf4f
Merge pull request #96798 from yue9944882/flaky/apnf-e2e-drown-test
E2E Flakiness: Eliminates client-side rate-limiting for AP&F drown-out test
2020-11-30 15:38:51 -08:00
Kubernetes Prow Robot
e3063233a5
Merge pull request #96742 from spencerhance/ingress-conformance-test
Update ingress conformance test for finalizers
2020-11-30 12:04:49 -08:00
Mike Spreitzer
e7b0f582d5 Mostly undo earlier reductions of expectedCompletedPercentage 2020-11-29 23:28:54 -05:00
Mike Spreitzer
3b443e59ce a bit of cleanup 2020-11-29 23:28:28 -05:00
Mike Spreitzer
e29707d5ad Reduce expected goodput 2020-11-29 23:28:06 -05:00
yue9944882
b0c52fd326 addressing review comments and supports parallel run 2020-11-26 18:38:46 +08:00
SataQiu
2b38078de1 scheduler: parse Pod's Node affinity once in PreScore phase
Signed-off-by: SataQiu <1527062125@qq.com>
2020-11-26 11:19:52 +08:00
Jiawei Wang
6f74a7cbfa Remove external driver duplicated misleading SupportedSizeRange 2020-11-25 16:07:55 -08:00
Stephen Heywood
24402fddba Include any other events in e2e test logs 2020-11-26 11:46:30 +13:00
Stephen Heywood
b2a3b25954 Update e2e test logging to include pod labels 2020-11-26 10:22:04 +13:00
Spencer Hance
47ea73bfb9 Update ingress conformance test for finalizers 2020-11-25 11:24:21 -08:00
ravisantoshgudimetla
1304be0c89 Fix test failures 2020-11-25 20:16:07 +05:30
Antonio Ojea
60f739ac17 e2e network policy enclose IPv6 destinations
We moved to DNS destination to IP:Port, so we need to be sure
that IPv6 addresses are enclosed in square brackets with that
format.
2020-11-25 10:56:24 +01:00
Jiawei Wang
24aa872a2a Remove unnecessary snapshot ability check 2020-11-24 16:58:14 -08:00
Stephen Augustus
2407a70cc7 [go1.15] Update to go1.15.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Andrew Sy Kim
aa8cd31420 e2e/node: add exec probe timeout tests to NodeConformance
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-23 17:35:32 -05:00
Kubernetes Prow Robot
8b2f5be319
Merge pull request #96485 from ii/promote-lifecycle-test-pod-podstatus
Promote Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-23 11:39:01 -08:00
yue9944882
812f13fbec matches specific usernames instead of "*" 2020-11-23 15:12:26 +08:00