Commit Graph

17475 Commits

Author SHA1 Message Date
Francesco Romani
83c344647f e2e: topomgr: better check for AffinityError
Add a helper function to check if a Pod failed
admission for Topology Affinity Error.
So far we only check the Status.Reason.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
512a4e8a3e e2e: topomgr: reduce node readiness timeout
Five minutes was initially used only to be overcautious.
From my experiments, the node is ready in usually less than a minute.
Double it to give some buffer space.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
3b4122bd03 e2e: topomgr: get and use topology hints from conf
TO properly implement some e2e tests, we need to know
some basic topology facts about the system running the tests.
The bare minimum we need to know is how many PCI SRIOV devices
are attached to which NUMA node.

This way we know which core we can reserve for kube services,
and which NUMA socket we can take to test full socket reservation.

To let the tests know the PCI device topology, we use annotations
in the SRIOV device plugin ConfigMap we need anyway.
The format is

```yaml
  metadata:
    annotations:
      pcidevice_node0: "2"
      pcidevice_node1: "0"
```

with one annotation per NUMA node in the system.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
d9d652e867 e2e: topomgr: initial negative tests
Negative tests is when we request a gu Pod we know the system cannot
fullfill - hence we expect rejection from the topology manager.

Unfortunately, besides the trivial case of excessive cores (request
more socket than a NUMA node provides) we cannot easily test the
devices, because crafting a proper pod will require detailed knowledge
of the hw topology.

Let's consider a hypotetical two-node NUMA system with two PCIe busses,
one per NUMA node, with a SRIOV device on each bus.
A proper negative test would require two SRIOV device, that the system
can provide but not on the same single NUMA node.
Requiring for example three devices (one more than the system provides)
will lead to a different, legitimate admission error.

For these reasons we bootstrap the testing infra for the negative tests,
but we add just the simplest one.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
ee92b4aae0 e2e: topomgr: add more positive tests
this patch builds on the topology manager e2e infrastructure to
add more positive e2e test cases.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
1b5801a086 e2e: topomgr: add option to specify the SRIOV conf
We cannot anticipate all the possible configurations
needed by the SRIOV device plugin: there is too much variety.

Hence, we need to allow the test environment to supply
a host-specific ConfigMap to properly configure the device
plugin and avoid false negatives.

We still provide a the default config map as fallback and reference.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
6687fcc78c e2e: topomgr: autodetect SRIOV resource to use
The SRIOV device plugin can create different resources depending
on both the hardware present on the system and the configuration.
As long as we have at least one SRIOV device, the tests don't actually
care about which specific device is.

Previously, the test hardcoded the most common intel SRIOV device
identifier. This patch lifts the restriction and let the test
autodetect and use what's available.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
fa26fb6817 e2e: topomgr: check pod resource alignment
This patch extends and completes the previously-added
empty topology manager test for single-NUMA node policy
by adding reporting in the test pod and checking
the resource alignment.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
cd7e3d626c e2e: topomgr: add test infra
This patch all the testing infra and utilities needed
to run e2e topology manager tests. This include setup
a guaranteed pod which needs some devices.

The simplest real device available for the purpose
are the SRIOV devices, hence we use them.

This patch pulls the SRIOV device plugin from
the official, yet external, repository.
We do it as close as possible for the nvidia GPU plugin.

This patch also performs minor refactoring for some
test framework utilities, needed to support the new
e2e tests.

Finally, we add an empty e2e topology manager test,
to be completed by the next patch.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
1fdf262137 e2e: topomgr: explicit save the kubelet config
For the sake of readability, save the old Kubelet config
once.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
marosset
a4d7a67bbd Run Windows kubelet stats e2e tests serially because it needs to start many pods on a single node 2020-02-10 17:56:33 +00:00
tanjunchen
c2c3c478cd test/e2e/framework:move functions to test/e2e/scheduling/ 2020-02-10 12:34:19 +08:00
Morten Torkildsen
95ddc029fa Make DisruptionController eviction tests serial to avoid flakes 2020-02-09 13:41:07 -08:00
Kubernetes Prow Robot
c5d75749c8 Merge pull request #85029 from serathius/remove-prometheus-test-e2e
Remove references to prometheus is test/e2e
2020-02-09 01:27:52 -08:00
Kubernetes Prow Robot
09b13aec37
Merge pull request #87947 from tanjunchen/remove-TODO-and-unused-code
remove TODO and unused code
2020-02-09 00:19:52 -08:00
tanjunchen
e96b037be3 test/ : fix non-ascii characters 2020-02-09 01:40:44 +08:00
Mike Danese
25651408ae generated: run refactor 2020-02-08 12:30:21 -05:00
tanjunchen
364c6f1173 remove TODO and unused code 2020-02-09 00:38:16 +08:00
Kubernetes Prow Robot
334d788f08 Merge pull request #87299 from mikedanese/ctx
context in client-go
2020-02-08 06:43:52 -08:00
Sakura
44bf3475ea
Fix non-ascii characters in test/e2e_node and test/network.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-08 17:47:19 +08:00
Kubernetes Prow Robot
0f13c5c3d1
Merge pull request #87930 from oomichi/issue/87679-1
Fix non-ascii characters in test/e2e/storage
2020-02-07 18:33:42 -08:00
Kubernetes Prow Robot
d9e574cb00
Merge pull request #87928 from johnbelamaric/show-output-in-test
LogResult if there is an error
2020-02-07 18:33:30 -08:00
Kubernetes Prow Robot
c5cb398826
Merge pull request #87242 from ingvagabund/scheduler-predicates-set-resource-requests
SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well
2020-02-07 18:32:42 -08:00
Kubernetes Prow Robot
b61f89dd25
Merge pull request #85321 from MikeSpreitzer/apf-printers
Added server-side printers for API priority and fairness
2020-02-07 18:31:58 -08:00
Mike Danese
2637772298 some manual fixes 2020-02-07 18:17:40 -08:00
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Kenichi Omichi
63a15da505 Fix non-ascii characters in test/e2e/storage
These characters are changed unintentionally if other parts of these
files are changed. It is better to fix them to avoid that.
2020-02-07 19:34:48 +00:00
John Belamaric
ba38816d42 LogResult if there is an error 2020-02-07 09:36:02 -08:00
Kubernetes Prow Robot
70807e8d80
Merge pull request #87841 from 928234269/non_ascii_00
Fix non-ascii characters in  test/e2e/node/pods.go
2020-02-07 07:37:45 -08:00
Kubernetes Prow Robot
651b2cfc41
Merge pull request #87910 from johnbelamaric/reduce-pull-flakes
Use longer pod start timeouts for specific tests
2020-02-07 05:58:30 -08:00
Kubernetes Prow Robot
888bfd62c3
Merge pull request #87897 from kubernetes/revert-85861-scheduler-perf-collect-data-items-from-metrics
Revert "Collect some of scheduling metrics and scheduling throughput"
2020-02-07 05:58:06 -08:00
Kubernetes Prow Robot
091b9abae5
Merge pull request #87798 from YuikoTakada/fix_non_ascii_projected_configmap
Fix non-ascii characters in test/e2e/common/projected_configmap.go
2020-02-07 05:57:15 -08:00
Kubernetes Prow Robot
4ea66a35e8
Merge pull request #87201 from aojea/skip_dual
fix e2e dual-stack test flakiness
2020-02-07 05:55:43 -08:00
Kubernetes Prow Robot
9c1e124b15
Merge pull request #87823 from tallclair/test-tokens
Ensure testing credentials are labeled as such
2020-02-06 17:47:29 -08:00
Kubernetes Prow Robot
04498c5955
Merge pull request #87513 from gavinfish/e2e_ingress_manifest
Move IngressFromManifest/IngressToManifest to ingress e2e fw
2020-02-06 17:45:45 -08:00
John Belamaric
bfe696b49c Use longer pod start timeouts for specific tests
The kubelet test here is using a one minute timeout, instead of the
normal framework.PodStartTimeout.

The DNS results validation functions pull several images including
the jessie-dnsutils which is a bit bigger than usual.
2020-02-06 16:41:10 -08:00
Mike Danese
38ecb30c58
Revert "Collect some of scheduling metrics and scheduling throughput" 2020-02-06 10:18:00 -08:00
marosset
e8f12692df adding e2e test to ensure it takes less than 10 seconds to query kubelet stats for windows nodes 2020-02-06 17:59:05 +00:00
Kubernetes Prow Robot
6858c25ee4
Merge pull request #85861 from ingvagabund/scheduler-perf-collect-data-items-from-metrics
Collect some of scheduling metrics and scheduling throughput
2020-02-06 07:05:34 -08:00
Kubernetes Prow Robot
641321c94c
Merge pull request #87358 from tanjunchen/use-e2eskipper-final
test/e2e/framework: remove skip.go and use e2eskipper subpackage
2020-02-05 19:47:33 -08:00
Marek Siarkowicz
30989b648d Remove references to prometheus is test/e2e 2020-02-05 15:54:36 +01:00
Kubernetes Prow Robot
e27245490e
Merge pull request #87793 from msau42/storageclass-name
Add an option to external storage e2es to use a copy of a pre-installed StorageClass
2020-02-05 01:09:06 -08:00
Kubernetes Prow Robot
8f5e8279f6
Merge pull request #87781 from caesarxuchao/fix-webhook-image-bugs
Only set admission review reponse patch type if the patch is not empty
2020-02-05 01:08:23 -08:00
Sakura
b9a586e382
Fix non-ascii characters in test/e2e/node/pods.go
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-05 15:14:21 +08:00
Kevin Taylor
724fb733d1 Change HostPath to EmptyDir for VolumeSubpathEnvExpansion e2e tests 2020-02-04 19:02:08 +00:00
Jefftree
da4b0b0fa1 Validation for behaviors 2020-02-04 10:45:53 -08:00
Tim Allclair
9d3670f358 Ensure testing credentials are labeled as such 2020-02-04 10:36:05 -08:00
Kubernetes Prow Robot
a71586fac6
Merge pull request #87598 from sureshpalemoni/master
grammar(noun to pod adjective phases) change for pods status in tests
2020-02-04 06:03:27 -08:00
Kubernetes Prow Robot
d52ecd5f70
Merge pull request #86430 from wojtek-t/avoid_thundering_herd_on_etcd
Avoid thundering herd of relists on etcd
2020-02-03 23:09:25 -08:00
YuikoTakada
d8c16a9eb2 Fix non-ascii characters in test/e2e/common/projected_configmap.go 2020-02-04 01:53:15 +00:00
Michelle Au
0c40daddb0 Add an option to external storage e2es to use a copy of a pre-installed StorageClass
Change-Id: I9d7f0384d0071caa41a8d98eea4afa5b17ad0ea3
2020-02-03 17:45:17 -08:00
Chao Xu
6acc75b418 Only set admission review reponse patch type if the patch is not empty 2020-02-03 10:55:31 -08:00
dbenoit
087dc49a0c
fix range copy issue 2020-02-03 11:37:11 -05:00
Claudiu Belu
00cd8c8d92 test images: Adds Image Promoter details in the README
We have enabled the Image Promoter on the k/k test E2E images. This updates the
kubernetes/test/images/README.md file to include information about the images
it runs for, and how to promote the new image from the staging registry to the
regular one.

Cleans up some TODO items, since the Image Centralization Part 4 merged.
2020-02-03 00:13:06 -08:00
Kubernetes Prow Robot
2a17cfbd45
Merge pull request #85960 from johnbelamaric/podspec-behaviors
Initial behavior examples for conformance
2020-02-02 14:47:21 -08:00
Jan Chaloupka
8a1c4a5a88 Collect some of scheduling metrics and scheduling throughput
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.

Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds

Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-02 18:02:49 +01:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
47511ef09c
Merge pull request #87680 from YuikoTakada/fix_non_ascii_runtime
Fix non-ascii characters in test/e2e/common/runtime.go
2020-02-01 09:35:19 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
634b58ba29
Merge pull request #87732 from michmike/patch-1
Update OWNERS
2020-01-31 20:08:24 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Kubernetes Prow Robot
2514c4b130
Merge pull request #87705 from misterikkit/whitespace
Fix comment whitespace
2020-01-31 20:08:05 -08:00
Davanum Srinivas
dfd8e4e467
Enable selinux tags in make targets
In 24d105995d, a fix was made in bazel
based builds to ensure that we add `selinux` tag when we build all
binaries especially the `kubelet`. We need to do the same for in our
hack scripts so things like `make release` will work properly as well.

Some scripts use `GOFLAGS=-tags=providerless` for example, So we should
support the tags to be specified in GOFLAGS as well. We parse out the
tags from there and ensure selinux is added to the list of tags we used
for building the binaries. Note that we add our own `-tags` with the
full set of tags and since we specify our parameter at the end, ours
full list takes precendence
2020-01-31 15:48:44 -05:00
Michael Michael
31df7077e1
Update OWNERS
updating owners/approvers for sig windows to include the two tech leads Deep and Ben
2020-01-31 14:44:55 -06:00
wojtekt
b11b7d354d WatchBasedManager stops watching immutable objects 2020-01-31 20:53:21 +01:00
John Belamaric
becdd79067 Initial example behaviors
Organizes the behaviors directory based on SIG, and provides a few
example behavior descriptions for Pods and Services to start. Note
that these are very incomplete lists of behaviors at this point.
2020-01-31 11:25:55 -08:00
tanjunchen
7ff3a1f8db test/e2e/framework: remove skip.go and use e2eskipper subpackage 2020-02-01 01:18:48 +08:00
Jordan Liggitt
82107ff8ab Restore statefulset conversion that populates apiVersion/kind in volume templates 2020-01-31 07:47:35 -05:00
wojtekt
5dcf08c199 Switch pager to return whether the result was paginated 2020-01-31 11:50:23 +01:00
Kubernetes Prow Robot
1baceba376
Merge pull request #87394 from mattjmcnaughton/mattjmcnaughton/delete-sysctl-runtime-admit-handler
Delete the sysctl runtime admit handler
2020-01-30 21:20:45 -08:00
Kubernetes Prow Robot
d502d3dd6e
Merge pull request #82350 from damemi/ravig-fix-preemption-tests
Fix preemption race conditions on heavily utilized nodes for e2e tests
2020-01-30 18:46:19 -08:00
Kubernetes Prow Robot
11aa07e150
Merge pull request #87385 from krzysied/agnhost_webhook_sidecar
Agnhost webhook sidecar
2020-01-30 16:59:02 -08:00
Jonathan Basseri
b6ba39d013 Fix comment whitespace
This test has a text diagram which used tab characters. By switching to
spaces, the diagram looks correct regardless of IDE settings.
2020-01-30 14:26:39 -08:00
Kubernetes Prow Robot
b32725b80b
Merge pull request #86413 from ohsewon/e2e_typo_fix
Fix cpu manager e2e test typo
2020-01-30 10:31:48 -08:00
Kubernetes Prow Robot
517e886aac
Merge pull request #87670 from liggitt/gc-debug
Add GC e2e debug logging
2020-01-30 05:06:47 -08:00
Kubernetes Prow Robot
53f94d4a02
Merge pull request #87512 from gavinfish/e2e_ingress_independencya
Move GetPortURL to ingress e2e fw
2020-01-30 05:06:12 -08:00
Kubernetes Prow Robot
89714227ff
Merge pull request #78819 from justaugustus/cni
cni: Update CNI version to v0.8.5
2020-01-30 02:12:14 -08:00
Kubernetes Prow Robot
4ee00204ae
Merge pull request #87647 from claudiubelu/image-promoter/cleanup-manifest-list
Image Promoter: Cleans manifest list
2020-01-29 22:11:36 -08:00
Kubernetes Prow Robot
60dd5dbd8b
Merge pull request #87597 from mikedanese/rctx
Refactor context handling in rest.Request
2020-01-29 22:11:03 -08:00
Kubernetes Prow Robot
1f8b18cb3f
Merge pull request #87212 from ii/create-configmap-lifecycle-test
Add: ConfigMap lifecycle test
2020-01-29 22:10:14 -08:00
Suresh Palemoni
6da3b70377 grammar change for pods status in tests
Signed-off-by: Suresh Palemoni <suresh.palemoni@gmail.com>
2020-01-30 09:34:37 +04:00
Kubernetes Prow Robot
ae95a4bfca
Merge pull request #87665 from liggitt/gc-canary
Add foreground deletion check to ensure GC is aware of the new custom type
2020-01-29 17:06:13 -08:00
YuikoTakada
0d9f9fca89 Fix non-ascii characters in test/e2e/common/runtime.go 2020-01-30 01:00:01 +00:00
Jordan Liggitt
215b875dbf Add GC e2e debug logging 2020-01-29 16:21:25 -05:00
Jordan Liggitt
fad11f87b4 Add foreground deletion check to ensure GC is aware of the new custom type 2020-01-29 15:21:18 -05:00
Kubernetes Prow Robot
dba8d60f8c
Merge pull request #87077 from soltysh/remove_run_generators
Remove kubectl run generators
2020-01-29 12:16:14 -08:00
ravisantoshgudimetla
99b301d7e1 Fix preemption race conditions on heavy utilized nodes 2020-01-29 11:54:22 -05:00
Mike Danese
968adfa993 cleanup req.Context() and ResponseWrapper 2020-01-29 08:50:45 -08:00
Mike Danese
d55d6175f8 refactor 2020-01-29 08:50:45 -08:00
Antonio Ojea
fe10c702d2
e2e dual stack retry getting endpoints
the test that need to check the endpoints are flaky.
It retries to get the endpoints several times before failing.
2020-01-29 16:37:23 +01:00
Kubernetes Prow Robot
7883d93877
Merge pull request #87262 from ii/promote-secret-patching-test
Promote: Secret patching test
2020-01-29 07:32:28 -08:00
Kubernetes Prow Robot
29b09c7fb1
Merge pull request #87423 from soltysh/fix_tain_validation
Fix kubectl taint's Complete parsing
2020-01-29 04:46:13 -08:00
Stephen Augustus
1174e6698e cni: Update CNI version to v0.8.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 04:41:29 -05:00
Kubernetes Prow Robot
703a719557
Merge pull request #87219 from ii/create-podtemplate-lifecycle-test
Add: PodTemplate lifecycle test
2020-01-29 00:38:14 -08:00
Stephen Augustus
96f2588b61 cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 02:32:22 -05:00
Kubernetes Prow Robot
1590c7b31c
Merge pull request #87371 from ii/promote-limit-range-defaults-test
Add: promotion for LimitRange defaults test to Conformance
2020-01-28 20:46:14 -08:00
YuikoTakada
03974c1ea4 Fix static check failures in test/integration/deployment 2020-01-28 06:08:37 +00:00
Maciej Szulik
6972d6f33a
Fix kubectl taint's Complete parsing 2020-01-27 13:31:22 +01:00
Krzysztof Siedlecki
3593fc69ab bumping agnhost version to 2.10 2020-01-27 11:59:03 +01:00
Krzysztof Siedlecki
dc5791b47a adding sidecar injecting webhook 2020-01-27 11:59:03 +01:00
Kubernetes Prow Robot
9162c5d7f4
Merge pull request #87511 from neolit123/1.18-add-error-handling-in-e2e-after-each
test/e2e/framework: handle the case where BeforeEach was never called
2020-01-26 11:13:02 -08:00
Kubernetes Prow Robot
5441a99db6
Merge pull request #87525 from tanjunchen/remove-TODO001
/test/e2e/framework:remove TODO in  test/e2e/framework/util.go
2020-01-26 07:23:01 -08:00
Kubernetes Prow Robot
089d3e63e5
Merge pull request #86910 from RaunakShah/golint_vspherestorage
Fix golint errors in test/e2e/storage/vsphere
2020-01-25 07:41:01 -08:00
Kubernetes Prow Robot
426b353890
Merge pull request #87260 from ii/promote-test-for-kubernetes-service-in-default-namespace
Promote: find Kubernetes Service in default Namespace
2020-01-25 03:05:01 -08:00
drfish
aaf86537ee Update copyright date for ingress_utils_test.go 2020-01-25 08:27:35 +08:00
Lubomir I. Ivanov
2b389123a5 test/e2e/framework: handle the case where BeforeEach was never called
Some tests under e2e/storage never end up calling the
Framework#BeforeEach() prolog. Handle such cases by returning
early in AfterEach() by checking a new field "beforeEachStarted".

Also add a nil check for ClientSet in AfterEach().
2020-01-25 00:35:26 +02:00
Kubernetes Prow Robot
789dc873f6
Merge pull request #87440 from dims/switch-enable-cadvisor-json-endpoints-flag-to-false
Default the --enable-cadvisor-endpoints flag to disabled
2020-01-24 12:18:45 -08:00
tanjunchen
ecfe31b890 /test/e2e/framework:remove TODO in test/e2e/framework/util.go 2020-01-24 23:56:16 +08:00
Kubernetes Prow Robot
47cade1175
Merge pull request #87479 from caesarxuchao/debug-87473
Debugging 87473, printing out the last state of the dependent
2020-01-24 03:02:56 -08:00
drfish
527d60edb7 Move IngressFromManifest/IngressToManifest to ingress e2e fw 2020-01-24 15:28:59 +08:00
drfish
1461d8bd13 Move GetPortURL to ingress e2e fw 2020-01-24 14:17:10 +08:00
Kubernetes Prow Robot
4a3cbfea89
Merge pull request #87256 from ii/promote-namespace-patch-test
Promote: Namespace patch test
2020-01-23 17:40:45 -08:00
Kubernetes Prow Robot
dc090f80d1
Merge pull request #87406 from haosdent/remove-algo
Remove `scheduler/algorithm/priorities` in import-restrictions
2020-01-23 11:34:24 -08:00
Kubernetes Prow Robot
50fa183d51
Merge pull request #87471 from lavalamp/you-must-wait
don't wait blindly
2020-01-22 20:37:59 -08:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
4fc5254c2f
Merge pull request #87456 from mattjmcnaughton/mattjmcnaughton/delete-todo-to-use-docker-client
Delete TODO to use docker client
2020-01-22 20:37:37 -08:00
Kubernetes Prow Robot
03cb6afc1a
Merge pull request #87442 from jennybuckley/smd-3
Update structured-merge-diff dependency to v3
2020-01-22 20:37:26 -08:00
Chao Xu
eafbb67d01 Debugging 87473, printing out the last state of the dependent 2020-01-22 16:34:17 -08:00
Kubernetes Prow Robot
53a394e53f
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
test images: Image Promoter fixes
2020-01-22 16:30:50 -08:00
Kubernetes Prow Robot
d4fa3d9b7d
Merge pull request #87265 from oomichi/enable-dependency-check-on-e2e-framework
Enable verify-import-boss check for e2e framework
2020-01-22 14:48:40 -08:00
Daniel Smith
e8c20e1f39 don't wait blindly 2020-01-22 14:10:09 -08:00
Kubernetes Prow Robot
81acde7adc
Merge pull request #87430 from alculquicondor/feat/bind_plugin
Move default binding to a plugin
2020-01-22 12:40:38 -08:00
Aldo Culquicondor
4a5ab84dcc Move default binding to a plugin
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-22 14:13:33 -05:00
Kubernetes Prow Robot
a06d16565c
Merge pull request #86184 from vpickard/e2e-topologyManager
e2e-topology-manager: Initial commit for E2E tests
2020-01-22 08:41:14 -08:00
Maciej Szulik
82f97775b7
Remove kubectl run generators 2020-01-22 16:44:00 +01:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
mattjmcnaughton
9e1c99c4e2
Delete the sysctl runtime admit handler
As of https://github.com/kubernetes/kubernetes/pull/72831, the minimum
docker version is 1.13.1. (and the minimum API version is 1.26). The
only time the `RuntimeAdmitHandler` returns anything other than accept
is when the Docker API version < 1.24. In other words, we can be
confident that Docker will always support sysctl.

As a result, we can delete this unnecessary and docker-specific code.
2020-01-22 08:51:39 -05:00
mattjmcnaughton
d6d08b152e
Delete TODO to use docker client
Re conversation in https://github.com/kubernetes/kubernetes/pull/87373,
we should keep the current behavior (i.e. using the docker binary
instead of the docker client). Delete the TODO instructing us to change
the behavior.
2020-01-22 08:45:07 -05:00
Haosdent Huang
b09e35257a Remove scheduler/algorithm/priorities in import-restrictions 2020-01-22 11:54:28 +08:00
Davanum Srinivas
6ae1b3ea21
Drop the cadvisor test 2020-01-21 21:43:16 -05:00
Kenichi Omichi
30de5bdc46 Enable verify-import-boss check for e2e framework
Due to lack of the line "test/e2e/framework/" in import-boss/main.go
verify-import-boss didn't work for e2e framework.
This makes the check enabled by adding the line.
In addition, this adds some e2e sub framework packages and some
k8s.io/utils packages which were implemented after creating
.import-restrictions to pass the check.
2020-01-22 01:51:54 +00:00
Kubernetes Prow Robot
93e540bec0
Merge pull request #87270 from YuikoTakada/move_skip_e2e_common
Use e2eskipper package in test/e2e/common/
2020-01-21 17:36:34 -08:00
Kubernetes Prow Robot
bae9f61150
Merge pull request #87432 from lavalamp/bkgrnd
fix flaky test "should create a ResourceQuota and capture the life of a replication controller"
2020-01-21 16:27:10 -08:00
Kubernetes Prow Robot
4a106584aa
Merge pull request #85898 from tsmetana/fix-multinode-test-better
Fix multinode storage e2e tests for multizone clusters
2020-01-21 16:26:48 -08:00
Kubernetes Prow Robot
3091ae7aac
Merge pull request #85486 from spiffxp/conformance-liveness-tcp-probe
Promote a TCP socket probe test to Conformance
2020-01-21 16:26:35 -08:00
Antoine Pelisse
38c5f318c9 kubectl-diff: Test return code on failure and changes 2020-01-21 15:34:22 -08:00
jennybuckley
b33fbc84d9 Update Structured Merge Diff to V3 2020-01-21 15:23:13 -08:00
Daniel Smith
24314d228c fix flaky test 2020-01-21 12:27:59 -08:00
Kubernetes Prow Robot
12203f3fd9
Merge pull request #87317 from YuikoTakada/move_skip_e2e_framework
Use e2eskipper package in test/e2e/framework/
2020-01-21 00:15:36 -08:00
Kubernetes Prow Robot
98186e00ed
Merge pull request #87335 from dims/remove-docker/docker-references-from-tests
switch to docker command line in tests/e2e_node
2020-01-20 17:39:37 -08:00
Tomas Smetana
c42e815fb5 Fix multinode storage e2e tests for multizone clusters 2020-01-20 15:01:41 +01:00
YuikoTakada
afe3d5f09f Use e2eskipper package in test/e2e/common/ 2020-01-20 07:58:13 +00:00
Mike Spreitzer
ce12105edc Added server-side printers for the API object types for API priority and fairness 2020-01-20 01:49:05 -05:00
YuikoTakada
e98f4f3ef8 Use e2eskipper package in test/e2e/framework/ 2020-01-20 06:34:07 +00:00
Kubernetes Prow Robot
08dd4f5478
Merge pull request #87357 from yutedz/apisvr-flow-cntl
Add flowcontrol to apiVersionPriorities
2020-01-19 17:07:36 -08:00
Ted Yu
34f0767137 Add flowcontrol to apiVersionPriorities 2020-01-19 14:16:46 -08:00
Caleb Woodbine
bc2aabaaeb Add: promotion for LimitRange defaults test to Conformance 2020-01-19 20:44:42 +00:00
mattjmcnaughton
16de853c5d
Clean up TODO around running test as sudo
Re the TODO, this command no longer needs to be prefixed by `sudo`, as
the test is already running as `root`.
2020-01-18 13:36:57 -05:00
Kubernetes Prow Robot
37d9c22abe
Merge pull request #86377 from wojtek-t/immutable_secrets_api
API for immutable Secrets and ConfigMaps
2020-01-18 05:25:35 -08:00
Kubernetes Prow Robot
f256c0254f
Merge pull request #87221 from YuikoTakada/fix_81657_2
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-17 21:39:49 -08:00
Davanum Srinivas
d7d316e1e7
switch to docker command line 2020-01-17 21:08:13 -05:00
Kubernetes Prow Robot
3538320d74
Merge pull request #87165 from alculquicondor/cleanup/mv_snapshot_2
Move Snapshot to internal/cache
2020-01-17 17:14:07 -08:00
Aldo Culquicondor
f53d7e55df Move Snapshot from nodeinfo/snapshot to internal/cache
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 13:29:41 -05:00
Kubernetes Prow Robot
acf64f4501
Merge pull request #87303 from k-toyoda-pi/modify_alias_e2ejob
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:15:10 -08:00
Kubernetes Prow Robot
127a2edafd
Merge pull request #87298 from mikedanese/prectx
rename some declartions named context in tests
2020-01-17 10:14:57 -08:00
Kubernetes Prow Robot
05b6c32886
Merge pull request #87261 from Huang-Wei/sched-q-sort
Implement default queue sort logic as a scheduler plugin
2020-01-17 01:40:56 -08:00
Kubernetes Prow Robot
fdd575f8dc
Merge pull request #87030 from jiayingz/test-host
In test framework LoadConfig(), use CurrentContext.Server for TestCon…
2020-01-16 23:20:55 -08:00
Kubernetes Prow Robot
02ac661794
Merge pull request #87271 from tanjunchen/move-function-GetKubemarkMasterComponentResoureUsage
move function GetKubemarkMasterComponentResoureUsage and remove long-time TODO
2020-01-16 20:26:55 -08:00
Wei Huang
c712230ac1
Implement default queue sort logic as a scheduler plugin 2020-01-16 19:10:43 -08:00
Kubernetes Prow Robot
90d6484f1c
Merge pull request #87274 from tanjunchen/refactor-function-e2erc.ByNameContainer
test/e2e/framework/rc/:refactor function ByNameContainer remove unused flag
2020-01-16 18:57:17 -08:00
Jiaying Zhang
3698a2540d In test framework LoadConfig(), use CurrentContext.Server for TestContext.Host
if it is unset. Otherwise, kubectl exec through http/kubectl proxy tests in
test/e2e/kubectl/kubectl.go would fail with "--host variable must be set to
the full URI to the api server on e2e run" error.
With this change, running the following tests can now pass:
$ e2e.test --kubeconfig=xxx --ginkgo.focus="should support exec through"
2020-01-16 17:57:21 -08:00
toyoda
0c12ae5240 Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
Kubernetes Prow Robot
2ea483b17e
Merge pull request #87291 from oomichi/i86052-endpoint
Move ValidateEndpointsPorts() to e2e test
2020-01-16 15:54:43 -08:00
Mike Danese
d86fcd8c90 rename some declartions named context in tests 2020-01-16 15:09:28 -08:00
Kubernetes Prow Robot
9277bac9b8
Merge pull request #87003 from odinuge/node-e2e-instance-failure
Add error check for instance insert in node e2e
2020-01-16 13:14:45 -08:00
shahra
18f05ef5b9 Fix golint errors in test/e2e/storage/vsphere 2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
9ae36ba81a
Merge pull request #87173 from YuikoTakada/move_skip_e2e_asg
Use e2eskipper package in test/e2e/autoscaling
2020-01-16 10:30:24 -08:00
Kenichi Omichi
9952d487d2 Move ValidateEndpointsPorts() to e2e test
ValidateEndpointsPorts() was only used in e2e service tests.
So this moves the function to the tests.
2020-01-16 17:59:08 +00:00
Kubernetes Prow Robot
5d94b19251
Merge pull request #82493 from zouyee/pc
fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
2020-01-16 07:48:22 -08:00
Kubernetes Prow Robot
9bf218bf86
Merge pull request #86652 from YuikoTakada/fix_readme_testing-manifests
Fix link in readme
2020-01-16 06:12:23 -08:00
Jan Chaloupka
ef1b991ebc SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well
NodeResourceFit plugin's Filter method responsible for checking if a pod fits
a given node ignores resource limits and acknowledge resource requests only.
Given both tests validating resource limits of pods were setting only pod resource limits,
ability of NodeResourceFit plugin to properly filter nodes was not tested at all.
2020-01-16 09:14:43 +01:00
tanjunchen
1db3f45dc5 test/e2e/framework/rc/:refactor function ByNameContainer 2020-01-16 13:49:02 +08:00
Kubernetes Prow Robot
fd7c857da7
Merge pull request #87175 from YuikoTakada/move_skip_e2e_cloud
use e2eskipper package in test/e2e/cloud
2020-01-15 21:21:26 -08:00
Kubernetes Prow Robot
ca16ebfa49
Merge pull request #87106 from ialidzhikov/enh/golang@1.13.6
Update to golang@1.13.6
2020-01-15 21:21:15 -08:00
Kubernetes Prow Robot
3a9df0eab3
Merge pull request #87062 from YuikoTakada/move_skip_e2e_auth
Use e2eskipper package in test/e2e/auth
2020-01-15 21:21:01 -08:00
tanjunchen
69461d26d8 move function GetKubemarkMasterComponentResoureUsage 2020-01-16 12:35:39 +08:00
Kubernetes Prow Robot
2b6d875504
Merge pull request #87192 from notpad/inte_test
Add integration test for NodeResourceLimits plugin
2020-01-15 19:04:35 -08:00
Kubernetes Prow Robot
2cbd474597
Merge pull request #86400 from Huang-Wei/fix-flaky-preemption-e2e
Fix a flaky scheduler preemption e2e
2020-01-15 19:04:22 -08:00
YuikoTakada
aa2691eeac Fix static check failures in test/e2e/instrumentation/monitoring 2020-01-16 02:42:07 +00:00
Caleb Woodbine
7ac8f58ff6 Fix: formatting 2020-01-16 00:56:06 +00:00
Caleb Woodbine
3ba8f42f96 Update: podTemplateList name; Fix: initial fetching of PodTemplates 2020-01-16 00:52:57 +00:00
Caleb Woodbine
961c13ecba Fix: formatting 2020-01-15 21:48:23 +00:00
Caleb Woodbine
77e31bd110 Fix: formatting 2020-01-15 21:24:36 +00:00
Caleb Woodbine
2e79da9139 Fix: formatting 2020-01-15 21:23:07 +00:00
Caleb Woodbine
fe91d5fad9 Fix: bazel build errors 2020-01-15 21:18:22 +00:00
Caleb Woodbine
8676fb3cdb Promote: Secret patching test 2020-01-15 20:37:23 +00:00
Caleb Woodbine
4efcb21af8 Promote: find Kuberntes Service in default Namespace 2020-01-15 20:16:02 +00:00
Kubernetes Prow Robot
2da2c3b01b
Merge pull request #87132 from yuxiaobo96/k8s-removeTODO
remove TODO in test/e2e/framework/providers/gce/ingress.go
2020-01-15 11:56:37 -08:00
Caleb Woodbine
b50531a4a4 Update: formatting, cleanup, ExpectEqual statements 2020-01-15 19:49:03 +00:00
Caleb Woodbine
0f528a27ad Promote: Namespace patch test 2020-01-15 19:42:16 +00:00
Kubernetes Prow Robot
fbfbd10c28
Merge pull request #87230 from tanjunchen/remove-TODO-skip.go
remove TODO in test/e2e/framework/skip.go
2020-01-15 08:25:56 -08:00
Kubernetes Prow Robot
14ed35712c
Merge pull request #87168 from misterikkit/timout-err
storage e2e: Add context to timeout errors
2020-01-15 01:22:32 -08:00
Kubernetes Prow Robot
38e5dc6974
Merge pull request #87021 from tanjunchen/remove-the-same-function-test
test/e2e/framework:remove generateWriteBlockCmd due to the repeat to …
2020-01-15 01:22:16 -08:00
Kubernetes Prow Robot
e053c4733d
Merge pull request #86886 from jingxu97/Jan/utilsNil
Fix err variable shadowing issue in storage/utils
2020-01-15 01:21:46 -08:00
Kubernetes Prow Robot
45ad848b10
Merge pull request #87222 from spiffxp/mark-session-affinity-e2e-flaky
Mark session affinity e2e tests as [Flaky]
2020-01-14 22:22:03 -08:00
Kubernetes Prow Robot
7ab9a1de34
Merge pull request #87205 from mortent/DeflakePdbE2eTest
Make sure PDB has observed pods before doing eviction in e2e test
2020-01-14 22:21:54 -08:00
tanjunchen
b4b1e8f7b6 remove TODO in test/e2e/framework/skip.go 2020-01-15 13:44:48 +08:00
Kubernetes Prow Robot
8568d1843d
Merge pull request #87189 from tanjunchen/remove-TODO-liuRandom
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 17:23:20 -08:00
Kubernetes Prow Robot
de04f52feb
Merge pull request #87169 from s-ito-ts/87047_scheduling
Use e2eskipper package in e2e/scheduling and e2e/servicecatalog
2020-01-14 17:23:10 -08:00
Kubernetes Prow Robot
b2c61fa8d3
Merge pull request #87162 from BenTheElder/image-push-dir
set test image cloudbuild directory
2020-01-14 17:22:47 -08:00
Kubernetes Prow Robot
2b9d0fd902
Merge pull request #87153 from mkumatag/multi-arch-nonroot
Multi arch for nonroot image
2020-01-14 17:22:36 -08:00
Kubernetes Prow Robot
821d0e8580
Merge pull request #87121 from yuxiaobo96/k8s-skipper
e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package
2020-01-14 17:22:13 -08:00
Kubernetes Prow Robot
42e6d4c4c9
Merge pull request #87103 from tanjunchen/migrate-to-skipper-005
test/e2e/windows/:Use e2eskipper package
2020-01-14 17:22:02 -08:00
Kubernetes Prow Robot
507e7b072d
Merge pull request #87101 from tanjunchen/migrate-to-skipper-003
e2e/instrumentation:Use e2eskipper package
2020-01-14 17:21:51 -08:00
Kubernetes Prow Robot
d4fbb3fe03
Merge pull request #82027 from huffmanca/enable_vsphere_e2e_config
Enabled reading config files for vsphere e2e tests.
2020-01-14 17:20:35 -08:00
Aaron Crickenberger
f00ac0694b Mark session affinity tests as [Flaky]
They've been in the top 10 flakes for a while now, with no
immediate fix pending
2020-01-14 16:52:00 -08:00
Caleb Woodbine
f20945aa41 Fix: formatting 2020-01-15 00:16:24 +00:00
notpad
372d09cd15 Add integration test for NodeResourceLimits plugin 2020-01-15 08:12:58 +08:00
Caleb Woodbine
5a008786e2 Add: PodTemplate lifecycle test 2020-01-15 00:09:02 +00:00
Caleb Woodbine
0fc15708fe Add: ConfigMap lifecycle test 2020-01-14 21:51:27 +00:00
Morten Torkildsen
4673731c0b Make sure PDB has observed pods before doing eviction in e2e test 2020-01-14 12:21:05 -08:00
Jonathan Basseri
99a015705b storage e2e: Add context to timeout errors
Many times an e2e test fails with an unexpected error,
"timed out waiting for the condition".

Useful information may be in the test logs, but debugging e2e test
failures will be much faster if we add context to errors when they
happen.

This change makes sure we add context to all errors returned from
helpers like wait.Poll().
2020-01-14 11:45:38 -08:00
tanjunchen
b60703c172 test/e2e/framework:refactor generateWriteBlockCmd due to the same function 2020-01-14 21:58:27 +08:00
tanjunchen
8b1eb7f973 remove TODO(random-liu): Move pod wait function into this file 2020-01-14 18:36:50 +08:00
YuikoTakada
c402a4bf65 WIP: use e2eskipper package in test/e2e/autoscaling 2020-01-14 06:03:53 +00:00
YuikoTakada
77f482c553 WIP: use e2eskipper package in test/e2e/cloud 2020-01-14 03:24:23 +00:00
yuxiaobo
cb07680ee9 remove TODO in test/e2e/framework/providers/gce/ingress.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-14 10:43:03 +08:00
YuikoTakada
16fbb5be33 use e2eskipper package in test/e2e/auth 2020-01-14 02:01:13 +00:00
s-ito-ts
4789e51d8e Use e2eskipper package in e2e/scheduling and e2e/servicecatalog 2020-01-14 01:54:25 +00:00
zouyee
c1de3d6e5b fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2020-01-14 09:43:04 +08:00
tanjunchen
07c36de3e2 e2e/instrumentation:Use e2eskipper package 2020-01-14 09:32:39 +08:00
Kubernetes Prow Robot
b008eda8b2
Merge pull request #87125 from yuxiaobo96/k8s-skipper3
test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
2020-01-13 14:00:17 -08:00
Kubernetes Prow Robot
e97212f3d1
Merge pull request #87124 from yuxiaobo96/k8s-skipper2
test/e2e/storage:Use e2eskipper package
2020-01-13 14:00:04 -08:00
Kubernetes Prow Robot
6aa4c7eca8
Merge pull request #87102 from tanjunchen/migrate-to-skipper-004
test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package
2020-01-13 13:59:40 -08:00
Kubernetes Prow Robot
652cc2ef40
Merge pull request #87073 from tanjunchen/migrate-to-skipper-002
e2e/network/:Use e2eskipper package
2020-01-13 13:59:09 -08:00
Benjamin Elder
e6234519e1 set test image cloudbuild directory 2020-01-13 11:38:19 -08:00
Wei Huang
4083c7d49c
Fix a flaky scheduler preemption e2e
- Use preemptor pod's Status.NominatedNodeName to signal success of the Preemption behavior
- Optimize the test to eliminate unnecessary Pods creation
- Increase timeout from 1 minute to 2 minutes
2020-01-13 09:39:48 -08:00
Manjunath A Kumatagi
f6d58ae3a9 Multi arch for nonroot image 2020-01-13 23:09:39 +05:30
Kubernetes Prow Robot
e265afa2cd
Merge pull request #81170 from claudiubelu/test-images/centralize-image-to-agnhost-part-4
Centralizes images into agnhost (part 4)
2020-01-13 09:37:38 -08:00
Quan Tian
e8017795d1 Fix GetPodLogs failures in NetworkPolicy e2e tests
GetPodLogs always fails when the tests fail, which is because the tests
specify wrong container names when getting logs.

When creating a client Pod, it specifies "<podName>-container" as
container name and "<podName>-" as Pod GenerateName. For instance,
podName "client-a" will result in "client-a-container" as the container
name and "client-a-vx5sv" as the actual Pod name, but it always uses the
actual Pod name to construct the container name when getting logs, e.g.
"client-a-vx5sv-container".

This patch fixes it by specifying the same static container name when
creating Pod and getting logs.
2020-01-13 19:04:24 +08:00
yuxiaobo
07f31b3b17 test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:19:50 +08:00
yuxiaobo
73fb0ab5ec test/e2e/storage:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:04:10 +08:00
yuxiaobo
34359176aa e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 11:22:45 +08:00
wojtekt
7cc3971ee0 Immutable secrets/configmaps tests 2020-01-12 21:09:06 +01:00
ialidzhikov
e1f7b16fa6 Update to golang@1.13.6
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-01-12 02:17:40 +02:00
Kubernetes Prow Robot
dd465b82cf
Merge pull request #86939 from msau42/update-sidecars
Update hostpath and mock csi drivers with latest sidecars
2020-01-11 02:43:49 -08:00
Kubernetes Prow Robot
9d1eb45bc6
Merge pull request #86627 from tnqn/flaky-e2e-job
Fix a flaky e2e test of Job completion
2020-01-11 02:43:36 -08:00
Kubernetes Prow Robot
50dcac4ce7
Merge pull request #86857 from ii/create-secret-patching-test
Create test to patch a secret
2020-01-11 00:15:37 -08:00
tanjunchen
f3b9a6e12f test/e2e/windows/:Use e2eskipper package 2020-01-11 15:27:54 +08:00
sunxiaofei03
330159c0a4 fix orphaned pod flexvolume can not be cleaned up 2020-01-11 14:54:48 +08:00
tanjunchen
3d34a814d6 test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package 2020-01-11 14:32:19 +08:00
tanjunchen
586e1f2325 e2e/network/: Use e2eskipper package 2020-01-11 12:05:10 +08:00
Kenichi Omichi
a19aa1069a Remove duplicated ServiceStartTimeout
ServiceStartTimeout is defined at e2e core framework and the one of
the core is used at many places, but the one of this endpoints/ports.go
is not used at the other places.
So this removes the one of endpoints/ports.go for the cleanup.
2020-01-11 00:03:21 +00:00
Kubernetes Prow Robot
5c3b85a042
Merge pull request #87023 from gavinfish/drfish_cmd_test_apps
Remove workaround for RS bug in cmd apps test
2020-01-10 14:33:37 -08:00
Kubernetes Prow Robot
d0f582c9bf
Merge pull request #87069 from tanjunchen/migrate-to-skipper-001
e2e/node/:Use e2eskipper package
2020-01-10 12:25:40 -08:00
Kubernetes Prow Robot
62f6a4239e
Merge pull request #87061 from k-toyoda-pi/use_skip_e2e_apps
Use e2eskipper package in e2e/apps
2020-01-10 12:25:25 -08:00
Kubernetes Prow Robot
942b526e5c
Merge pull request #87051 from Huang-Wei/remove-prio-util-pkg
Remove scheduler/algorithm/priorities/util package
2020-01-10 12:25:01 -08:00
drfish
5a44cd65fd Fix typo from reseting to resetting 2020-01-10 21:35:06 +08:00
Claudiu Belu
26ea420c0e Image Promoter: Cleans manifest list
The manifest list is stateful, which means that the same list will get amended
with each successive image published. That's unintended, and can lead to the
wrong image being pulled from the manifest list.

Resets the manifest list before amending new images into it.
2020-01-10 00:35:38 -08:00
tanjunchen
8c481022c1 e2e/node/:Use e2eskipper package 2020-01-10 16:21:12 +08:00
Kubernetes Prow Robot
e3f90df767
Merge pull request #87052 from oomichi/add-error-handling-issue86678
Add error handling of CloseWrite()
2020-01-10 00:20:34 -08:00
Quan Tian
c84a371f3d Fix a flaky e2e test of Job completion
The test was flaky because it required the job succeeds 3 times with
pseudorandom 50% failure chance within 15 minutes, while there is an
exponential back-off delay (10s, 20s, 40s …) capped at 6 minutes before
recreating failed pods. As 7 consecutive failures (1/128 chance) could
take 20+ minutes, exceeding the timeout, the test failed intermittently
because of "timed out waiting for the condition".

This PR forces the Pods of a Job to be scheduled to a single node and
uses a hostPath volume instead of an emptyDir to persist data across new
Pods.
2020-01-10 16:04:56 +08:00
toyoda
91dca8ff8c Use e2eskipper package in e2e/apps 2020-01-10 15:08:19 +09:00
Kubernetes Prow Robot
75a8715145
Merge pull request #84058 from claudiubelu/test-image-publishing
test images: Adds E2E test image automated build
2020-01-09 21:58:35 -08:00
Wei Huang
b2159b5d66
Remove scheduler/algorithm/priorities/util package 2020-01-09 20:16:05 -08:00
Kubernetes Prow Robot
387e6931e5
Merge pull request #87031 from oomichi/move-skip
Separate skip as framework subpackage
2020-01-09 20:13:17 -08:00
Kubernetes Prow Robot
d350ace52b
Merge pull request #84373 from serathius/metrics-stability-variables
Allow usage of consts and variables for stable metrics in static analysis
2020-01-09 20:12:49 -08:00
Kenichi Omichi
beb252df16 Add logs of port-forward-tester pod
This adds logs of port-forward-tester pod for investigating a flake
test.
2020-01-10 03:44:02 +00:00
Kenichi Omichi
99b135442c Add error handling of CloseWrite()
The e2e test "Kubectl Port forwarding With a server listening .."
is failed sometimes due to the difference between expected data and
received data. To receive the data, the test does CloseWrite() but
it didn't have the corresponding error handling.
This adds it to investigate the issue more.
2020-01-10 03:14:39 +00:00
Caleb Woodbine
dcd4dcdf21 Update: comments, searching for secrets in lists 2020-01-10 02:38:49 +00:00
drfish
010b885236 Remove workaround for RS bug in cmd apps test 2020-01-10 09:39:54 +08:00
Caleb Woodbine
07e3c46cb4 Add: secret data patch check 2020-01-09 22:05:28 +00:00
Antonio Ojea
58dabc7397
Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
This reverts commit 704ec25352.
2020-01-09 20:48:14 +01:00
Kubernetes Prow Robot
91e55c7927
Merge pull request #85154 from johnbelamaric/johnbelamaric-conformance-owners
Add johnbelamaric as conformance code reviewer/approver
2020-01-09 11:32:47 -08:00
Kubernetes Prow Robot
b9c0aa0b2a
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Odin Ugedal
c04ead5fb1
Add error check for instance insert
Not all errors will happen in sync during Instances.Insert(...).Do(), so
it is important to verify the operation object to see why insert fails.
An example is when exceeding the resource quota.

Eg.
could not create instance test-cos-beta-80-12739-29-0: [&{Code:QUOTA_EXCEEDED Location: Message:Quota 'CPUS' exceeded.  Limit: 24.0 in region europe-west6. ForceSendFields:[] NullFields:[]}

This fixes the issue where tests will fail "silently" when instance
insert fails.
2020-01-09 09:49:38 +01:00
Kenichi Omichi
0d86f0a037 Separate skip as framework subpackage 2020-01-09 08:44:55 +00:00
Kubernetes Prow Robot
ef69bc910f
Merge pull request #86991 from oomichi/skip
Move IsAppArmorSupported() from e2e framework
2020-01-08 23:45:44 -08:00
Kubernetes Prow Robot
2c800c5a70
Merge pull request #86985 from ahg-g/ahg-cleanup4
Remove test/integration dependency on predicates and algorithmprovider
2020-01-08 21:29:58 -08:00
Kubernetes Prow Robot
4d41f4809f
Merge pull request #86890 from damemi/move-selector-spread-to-plugin
Move selector spreading priority code to plugin
2020-01-08 21:29:45 -08:00
Kubernetes Prow Robot
9db337be05
Merge pull request #86983 from ahg-g/ahg1-cleanup3
Remove test/e2e dependency on scheduler/predicates package
2020-01-08 19:12:31 -08:00
Kubernetes Prow Robot
5b4d1bf559
Merge pull request #86931 from roycaihw/crd-openapi-deflake
crd openapi e2e: increase waitForOpenAPISchema timeout
2020-01-08 19:12:01 -08:00
Kubernetes Prow Robot
61cf95f2a9
Merge pull request #86366 from mortent/DeflakePDBTest
Change PDB tests to use pod conditions instead of phase
2020-01-08 19:11:39 -08:00
Michelle Au
d829d9b0fd Update hostpath and mock csi drivers with latest sidecars
Change-Id: Ib1db651a94e49bbfb609ac0470794a6b5d0726ec
2020-01-08 18:54:42 -08:00
Kubernetes Prow Robot
2bd9f5737a
Merge pull request #86924 from aojea/tcpclosev6
fix e2e test TCP CLOSE_WAIT
2020-01-08 18:01:39 -08:00
Abdullah Gharaibeh
c86f59610c remove test/integration dependency on predicates and algorithmprovider 2020-01-08 19:51:22 -05:00
Kubernetes Prow Robot
d3f976d345
Merge pull request #86962 from spiffxp/demote-delete-grace-period
Demote Delete Grace Period test to [Flaky]
2020-01-08 14:47:03 -08:00
Kubernetes Prow Robot
8046feb2b3
Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00
Kubernetes Prow Robot
af202d207f
Merge pull request #86891 from gnufied/move-publish-unpublish-check
Move publish and unpublish counting up in test
2020-01-08 14:45:53 -08:00
Abdullah Gharaibeh
21202b08d4 remove e2e dependency on scheduler/predicates package 2020-01-08 17:24:42 -05:00
Haowei Cai
326935c1b9 extend crd openapi e2e timeout to deflake the test, plus small improvements:
switch to use discovery rest client, which has higher burst/qps settings;
use jsoniter instead of encoding/json in kube-aggregator downloader.
2020-01-08 11:38:44 -08:00
Mike Dame
d227b7822f Move selector spreading priority code to plugin 2020-01-08 13:37:37 -05:00
Aaron Crickenberger
4d731d92bf Demote Delete Grace Period test to [Flaky]
This is currently the top flake against PRs, so I'm tagging it
as [Flaky]. Flaky tests can't be conformance tests, so I'm
removing it from [Conformance] as well until this is resolved.
2020-01-08 10:12:47 -08:00
Kubernetes Prow Robot
6c677b52a1
Merge pull request #86856 from ii/create-test-for-finding-service-from-listing-all-namespaces
Create test for finding service from listing all namespaces
2020-01-08 06:33:40 -08:00
Christian Huffman
3db91b2bdc Enabled reading config files for vsphere e2e tests 2020-01-08 09:00:40 -05:00
Kenichi Omichi
f3c70a2ed2 Move IsAppArmorSupported() from e2e framework
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Antonio Ojea
704ec25352
fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-01-08 12:47:53 +01:00
Kubernetes Prow Robot
db1990f48b
Merge pull request #86932 from spiffxp/revert-86708
Revert "fix flakiness on e2e test TCP CLOSE_WAIT timeout"
2020-01-08 02:59:16 -08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
c983a3a44e
Merge pull request #86854 from ii/create-namespace-patch-test
Create namespace patch test
2020-01-08 02:58:22 -08:00
gavinfish
68532e0c0f Remove redundant nil check 2020-01-08 15:28:46 +08:00
Kubernetes Prow Robot
110da204f6
Merge pull request #85190 from danielqsj/f-event
refactor events utils in e2e
2020-01-07 22:35:40 -08:00
Claudiu Belu
a3b90584a1 Image Promoter: Bump timeout limit
50 minutes are not enough for building all the conformance images.
Bumps the timeout limit to 90 minutes.
2020-01-07 21:31:47 -08:00
Kubernetes Prow Robot
a38096a069
Merge pull request #87483 from claudiubelu/image-promoter-tty
Image Promoter: Remove -it from docker command
2020-01-23 06:01:02 -08:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
YuikoTakada
e5a2aeeae6 Fix static check failures in test/e2e/instrumentation/logging/stackdriver 2020-01-21 00:43:21 +00:00
Claudiu Belu
30058c9d35 Image Promoter: Remove -it from docker command
It seems that the Image Promoter is running containers without the -t flag, which causes the error:

the input device is not a TTY

Removing the -it from the docker command in kubernetes/test/images/image-util.sh solves this.
2020-01-07 15:34:47 -08:00
Kubernetes Prow Robot
9da4b00d40
Merge pull request #86767 from tanjunchen/move-functions
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/up…
2020-01-07 14:08:31 -08:00
Caleb Woodbine
9ed55bc520 Add: JSON marshal error failure checking; Fix: formatting 2020-01-07 22:02:41 +00:00
Caleb Woodbine
232da60430 Update: json patch generation 2020-01-07 20:50:16 +00:00
Caleb Woodbine
c53006b1a2 Add: test for finding service from listing all namespaces 2020-01-07 20:42:56 +00:00
Caleb Woodbine
b4fb46409d Update: test secret contains a default label, secrets are listed via default label, patch payload is marshaled instead of written in raw JSON, secret deleted check; Fix: comments, test namespace usage 2020-01-07 19:51:24 +00:00
Aaron Crickenberger
b8cac87646 Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
This reverts commit 0b064f34ae.
2020-01-07 11:35:54 -08:00
Morten Torkildsen
81a6cf2847 Change PDB tests to use pod conditions instead of phase 2020-01-07 08:47:47 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e staticcheck:test/integration/master/ 2020-01-07 21:56:37 +08:00
Kubernetes Prow Robot
2effc322f2
Merge pull request #86748 from clarklee92/move-e2e/framework/volume
move funs of framework/volume to e2e/storage
2020-01-07 01:12:54 -08:00
Kubernetes Prow Robot
7467f3442c
Merge pull request #86738 from tanjunchen/remove-TODO-test/e2e/framework/auth/helpers
remove  TODO in test/e2e/framework/auth/helpers
2020-01-07 01:12:31 -08:00
Kubernetes Prow Robot
9dab44f23c
Merge pull request #86707 from ialidzhikov/enh/golang@1.13.5
Update to golang@1.13.5
2020-01-07 01:12:18 -08:00
tanjunchen
264a1cf5f6 staticcheck:test/integration/auth/ 2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
0c77e3a58a
Merge pull request #86653 from tanjunchen/remove-TODO-001
remove TODO: Use return type string instead of []string and update func
2020-01-06 21:06:17 -08:00
Kubernetes Prow Robot
ca70efd741
Merge pull request #86874 from php-coder/patch-1
kubetestgen: improve errors handling
2020-01-06 18:07:18 -08:00
Kubernetes Prow Robot
bd33f62523
Merge pull request #86708 from aojea/tcpClose
fix flakiness on e2e test TCP CLOSE_WAIT timeout
2020-01-06 18:06:31 -08:00
Caleb Woodbine
ab12f460d9 Update: to use framework instead of gomega for testing values 2020-01-07 00:56:19 +00:00
Caleb Woodbine
616003a8e9 Add: OWNERS file - based off of staging/src/k8s.io/apimachinery/OWNERS 2020-01-07 00:50:20 +00:00
Caleb Woodbine
2754cc37ea Update: namespaceName value updating order to prevent error expection 2020-01-06 22:32:19 +00:00
Caleb Woodbine
bd6550fb34 Update: formatting, gomega Expect to framework ExpectEqual, framework creation to standard function 2020-01-06 22:18:29 +00:00
Hemant Kumar
fca9963c24 Move publish and unpublish counting up in test
So as publish and unpublish are counted always
2020-01-06 16:50:55 -05:00
Caleb Woodbine
c5e3ab1248 Fix: formatting, spelling 2020-01-06 21:47:08 +00:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Kubernetes Prow Robot
f497c4d446
Merge pull request #86743 from clarklee92/move-e2e/framework/viperconfig
e2e: move funs of framework/viperconfig to e2e
2020-01-06 13:34:31 -08:00
Caleb Woodbine
9951a9c98e Add: namespace patch test 2020-01-06 21:21:22 +00:00
Jing Xu
51d5303662 Fix err variable shadowing issue in storage/utils
Issue: https://github.com/kubernetes/kubernetes/issues/86884
This PR fixes the issue that err variable gets shadowed. Because of
this, it might get nil pointer error.

Change-Id: Ib7da918418a7c8148a6ca598db12b3744eb3b7c8
2020-01-06 12:15:29 -08:00
Kubernetes Prow Robot
9781bb60e0
Merge pull request #86438 from klueska/upstream-e2e-approver
Add klueska as an approver in test/e2e_node/OWNERS
2020-01-06 11:12:16 -08:00
Claudiu Belu
4c51eb9063 test images: Image Promoter fixes
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170),
a PR merged that enables the Image Promoter to run on the k/k test images.

The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.

Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.

The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.

Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
Slava Semushin
02885845ff
kubetestgen: improve errors handling
- don't proceed when a file creation has been failed
- handle a possible error from WriteString()
2020-01-06 15:21:54 +00:00
Caleb Woodbine
edd612d9f1 Add: test to patch a secret 2020-01-06 01:31:55 +00:00
Kubernetes Prow Robot
10dc4a0c79
Merge pull request #86822 from ahg-g/ahg-cleanup
Cleanup deprecated scheduler functions/files
2020-01-05 12:37:41 -08:00
Kubernetes Prow Robot
94fa017ee2
Merge pull request #86831 from tanjunchen/remove-unused-code-use-framework
remove unused code and use framework
2020-01-05 03:25:40 -08:00
Kubernetes Prow Robot
2d56d75061
Merge pull request #86730 from ahg-g/ahg1-ds
Break DS controller dependency on scheduler predicates and predicate errors
2020-01-04 14:39:40 -08:00
tanjunchen
c2d41fda6c remove unused code and use framework 2020-01-04 22:24:04 +08:00
Antonio Ojea
0b064f34ae fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was no using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found..
2020-01-04 10:09:25 +01:00
Abdullah Gharaibeh
041e5b5560 addressed comments 2020-01-04 01:14:24 -05:00
Kubernetes Prow Robot
6be12b8235
Merge pull request #86796 from tanjunchen/remove-unused-code-test/e2e/framework/google_compute.go
remove unused code test/e2e/framework/google_compute.go
2020-01-03 21:41:40 -08:00
Abdullah Gharaibeh
d31dcecd20 cleanup unused scheduler functions/files 2020-01-03 19:09:14 -05:00
Abdullah Gharaibeh
7d604c318c Break DS controller on scheduler predicates and predicate errors 2020-01-03 13:05:07 -05:00
Krzysztof Siedlecki
2d95520a3f adding private cluster check 2020-01-03 17:28:39 +01:00
tanjunchen
2371c58a73 remove unused code test/e2e/framework/google_compute.go 2020-01-03 19:04:28 +08:00
SataQiu
17b0b77026 fix staticcheck failures of test/integration/client test/integration/disruption 2020-01-03 17:23:35 +08:00
Kubernetes Prow Robot
b3c4c90a72
Merge pull request #86673 from ahg-g/ahg1-provider
Define algorithm providers in terms of plugins
2020-01-02 22:25:53 -08:00
Kubernetes Prow Robot
ebdde7c9f8
Merge pull request #86768 from tanjunchen/logger-use-framework
if no cycle dependency , use framework in test/e2e_node/
2020-01-02 19:16:15 -08:00
Kubernetes Prow Robot
cc5144ff13
Merge pull request #86160 from notpad/feautre/scheduler_perf
Define workloads specs by YAML
2020-01-02 19:15:41 -08:00
Abdullah Gharaibeh
b535ed3b0c Merge scheduler's ConfigProducerRegistry into LegacyRegistry 2020-01-02 16:40:33 -05:00
tanjunchen
9324664330 remove TODO in test/e2e/framework/node/resource.go 2020-01-02 21:55:58 +08:00
tanjunchen
fc3b210ad8 if no cycle dependency , use framework in test/e2e_node subpackage 2020-01-02 15:52:05 +08:00
tanjunchen
2f0e5b262a move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/upgrades 2020-01-02 13:01:09 +08:00
Claudiu Belu
31ea600b28 images: Adds GOARM to images' Makefiles
In order to build the image binaries, the GOARM variable is required,
but not all Makefiles have it defined, causing the make to fail on
those images.

This adds the require GOARM variable to the Makefiles in question.
2020-01-01 03:33:36 -08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
6b5cf90ecd
Merge pull request #86598 from zhlhahaha/e2e_kubeadm_1410_2
Remove todos for verification of “allowed to post CSR” and "allowed to auto approve CSR" for bootstraptoken group
2019-12-31 15:43:39 -08:00
Kubernetes Prow Robot
63411a137f
Merge pull request #86732 from oomichi/move-WaitForFailure
Move WaitForFailure() to the test
2019-12-31 05:15:39 -08:00
clarklee92
7171f9a7f4 move funs of framework/volume to e2e/storage
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 18:43:08 +08:00
Aresforchina
bf47d14c27 Fix staticcheck failures of test/integration/replicationcontroller 2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
55b692fa48
Merge pull request #86661 from yuxiaobo96/e2e-cleanup-replicaset
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicas…
2019-12-31 01:00:04 -08:00
Kubernetes Prow Robot
b765dd9e81
Merge pull request #86657 from yuxiaobo96/e2e-cleanup-autoscaling
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling…
2019-12-31 00:59:51 -08:00
clarklee92
4d43e9e39b e2e: move funs of framework/viperconfig to e2e
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 16:42:30 +08:00
Kubernetes Prow Robot
36db62cd73
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
Output test description in TestPreemption
2019-12-30 23:15:39 -08:00
Kubernetes Prow Robot
822a2de262
Merge pull request #86731 from oomichi/use-DeleteSync
Remove Delete/CreateSyncInNamespace()
2019-12-30 20:39:46 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
tanjunchen
587dbc2fed remove TODO in test/e2e/framework/auth/helpers 2019-12-31 11:20:31 +08:00
Kubernetes Prow Robot
adf056230a
Merge pull request #86733 from oomichi/add-debugging-msg
Add debugging message to know the pod status
2019-12-30 18:53:39 -08:00
Howard Zhang
006980c160 Remove Todos for CSR checking
Remove Todos for verification of “allowed to
post CSR” and "allowed to auto approve CSR"
for bootstraptoken group, as these privilege
bindings are not managed by kubeadm source
code

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-31 09:49:00 +08:00
Kenichi Omichi
00abe6d505 Output test description in TestPreemption
Now we are facing flake test of TestPreemption due to less available
node. TestPreemption consists of multiple test cases and the resource
is shared in them.
At this time, we cannot see what test cases run before the flake
happens. So it is better to know that to distinguish the cleanup of
pods is not completed or not.
2019-12-31 00:14:03 +00:00
Kenichi Omichi
43d9748d3a Add error handling for Register() call
Register() can return an error as [1], so this adds the error handling.

[1]: f772c9017c/pkg/scheduler/framework/v1alpha1/registry.go (L56)
2019-12-30 23:35:26 +00:00
Kenichi Omichi
253a85db16 Move WaitForFailure() to the test
WaitForFailure() is used at a single e2e test.
So this moves the function to the specific test file for the cleanup.
2019-12-30 23:16:24 +00:00
Kenichi Omichi
99c2e74a23 Add debugging message to know the pod status
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
Kenichi Omichi
52ddae0267 Remove Delete/CreateSyncInNamespace()
DeleteSyncInNamespace() was used at an e2e node test and DeleteSync()
only. In addition, the part of the e2e node test can be replaced with
DeleteSync(). CreateSyncInNamespace() is the same thing and can be
replaced with CreateSync(). So this replaces these functions and
removes them for the cleanup.
2019-12-30 18:59:42 +00:00
ialidzhikov
f438def93d Update to golang@1.13.5
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-30 13:17:17 +02:00
Kubernetes Prow Robot
9b59ba4ef8
Merge pull request #81895 from praseodym/fix-staticcheck-test/images
Fix staticcheck failures for test/images
2019-12-30 00:09:39 -08:00
Kubernetes Prow Robot
1e7c07ac4e
Merge pull request #86655 from k-toyoda-pi/add_alias_apierrors_endpointslice
Add alias of api/errors in endpointslice.go
2019-12-29 21:59:39 -08:00
SataQiu
8c77b96b75 fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume 2019-12-30 13:35:13 +08:00
Kubernetes Prow Robot
a097243cba
Merge pull request #86062 from haosdent/clean-e2e-framework-gpu
e2e: move funs of framework/gpu to e2e_node
2019-12-28 21:23:39 -08:00
Kubernetes Prow Robot
481db52294
Merge pull request #86634 from tanjunchen/remove-unused-code-test-e2e-apps-deployment
remove unused code in test/e2e/apps/deployment
2019-12-28 10:29:39 -08:00
Claudiu Belu
72d66be439 test images: Adds E2E test image automated build
In order for the E2E test images to be automatically built and published
to the staging registry (from which they will be promoted to the regular
E2E test registry), the cloudbuild.yaml file has been added.

The file was added in conformance with [1].

Adds the ability to build all test images:

make -C test/images WHAT=all-images

[1] https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
2019-12-28 09:15:03 -08:00
Kubernetes Prow Robot
de3be348a6
Merge pull request #86640 from tanjunchen/move-code-test/e2e/framework/job
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 19:47:51 -08:00
yuxiaobo
572c81ff53 e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicasets.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 16:37:57 +08:00
YuikoTakada
78c0517691 fix link in readme 2019-12-27 07:32:37 +00:00
yuxiaobo
161c6f4886 e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling_utils.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 14:38:05 +08:00
Kubernetes Prow Robot
bcff8bf3aa
Merge pull request #86283 from haosdent/clean-e2e-framework-pv
e2e: move funs of framework/pv to e2e/storage
2019-12-26 21:17:39 -08:00
tanjunchen
f19ed6ccfe remove unused code in test/e2e/apps/deployment 2019-12-27 12:57:00 +08:00
toyoda
dbe7c920e0 Add alias of api/errors in endpointslice.go 2019-12-27 13:56:25 +09:00
tanjunchen
488b94767c remove TODO: Use return type string instead of []string and update func 2019-12-27 11:53:17 +08:00
Kubernetes Prow Robot
305377a2f5
Merge pull request #86541 from tanjunchen/move-replicaset-to-autoscaling_utils
move funcs in replicaset to autoscaling_utils
2019-12-26 18:00:01 -08:00
Kubernetes Prow Robot
4158e7c1de
Merge pull request #85123 from danielqsj/apierrs
Unify aliases for "k8s.io/apimachinery/pkg/api/errors"
2019-12-26 17:59:38 -08:00
tanjunchen
794a8668fa move funcs from test/e2e/framework/job to test/e2e/apps 2019-12-27 09:35:30 +08:00
Kubernetes Prow Robot
13133857af
Merge pull request #86639 from tanjunchen/move-func-2019-12-26
move func EnableAndDisableInternalLB from test/e2e/framework/service …
2019-12-26 16:43:50 -08:00
Kubernetes Prow Robot
04d71d8a7b
Merge pull request #86614 from ahg-g/ahg1-default2
Deprecate scheduler predicate and priority factory registration and associated types
2019-12-26 05:21:38 -08:00
Kubernetes Prow Robot
132d9e2f4f
Merge pull request #86570 from YuikoTakada/remove_NewMetricExporter
Remove unused function NewMetricExporter from e2e test
2019-12-26 03:57:38 -08:00
danielqsj
6596a14d39 add missing alias of api errors under test 2019-12-26 17:29:38 +08:00
danielqsj
fc738cbb1d unify alias of api errors under test 2019-12-26 16:40:45 +08:00
tanjunchen
2af5967310 move func EnableAndDisableInternalLB from test/e2e/framework/service to test/e2e/network 2019-12-26 16:30:06 +08:00
Kubernetes Prow Robot
2914ba8e04
Merge pull request #86573 from zhlhahaha/e2e_kubeadm_1410
add extra group and usage check for bootstraptoken
2019-12-25 21:49:38 -08:00
YuikoTakada
c467a733c3 Remove unused function NewMetricExporter from e2e test 2019-12-26 01:49:26 +00:00
Abdullah Gharaibeh
2b3df3587e Deprecate scheduler predicate and priority factory registration 2019-12-25 20:33:08 -05:00
Haosdent Huang
dbc9929012 e2e: move funs of framework/pv to e2e/storage 2019-12-25 20:39:09 +08:00
Kubernetes Prow Robot
4933d0f1d8
Merge pull request #86466 from yuxiaobo96/e2e-cleanup-deployment
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deploy…
2019-12-25 01:21:30 -08:00
Kubernetes Prow Robot
02a0d8073d
Merge pull request #86568 from YuikoTakada/remove_NewStaticResourceConsumer
Delete unused function from e2e test autoscaling_utils.go
2019-12-25 00:01:30 -08:00
Howard Zhang
299a9c8cf5 add extra group and usage check for bootstraptoken
kubeadm creates the bootstrap token with extra group
, system:bootstrappers:kubeadm:default-node-token,
should be able to be used for authentication and
signing.

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-25 10:23:11 +08:00
Abdullah Gharaibeh
fe7de96ebe cleanup scheduler's in-tree plugins registry naming 2019-12-24 15:56:36 -05:00
SataQiu
21c916c3d2 move Taint and toleration predicate to its Score plugin 2019-12-24 19:22:12 +08:00
yuxiaobo
4123973726 e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deployment.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-24 16:23:42 +08:00
tanjunchen
b086d296de move funcs in replicaset to autoscaling_utils 2019-12-24 10:32:15 +08:00
YuikoTakada
11382a3129 Delete unused function from e2e test autoscaling_utils.go 2019-12-24 01:04:01 +00:00
Kubernetes Prow Robot
82c7c86998
Merge pull request #86169 from clarklee92/move-e2e/framework/statefulset
e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
2019-12-22 19:57:32 -08:00
Kubernetes Prow Robot
a81bc56dd7
Merge pull request #86321 from liggitt/unconditional-scale-update
Make e2e scale updates unconditional
2019-12-21 05:43:32 -08:00
Kubernetes Prow Robot
9e6d099b3c
Merge pull request #86389 from alvaroaleman/sample-apiserver-localhost
Sample apiserver: Avoid etcd listening on DNS result for "localhost"
2019-12-21 02:59:33 -08:00
Kubernetes Prow Robot
449fe0b1ba
Merge pull request #86397 from gnufied/fix-comparison-of-node-publish-unpublish
Expect NodeUnpublish calls when NodePublish is called
2019-12-20 09:09:32 -08:00
Kubernetes Prow Robot
9fa1e00be9
Merge pull request #83437 from matthyx/startupprobe-beta
Promote StartupProbe to beta for 1.18
2019-12-20 00:59:32 -08:00
Jordan Liggitt
2d2c9a884a Revert "Merge pull request #86376 from xieyanker/kubemark_deployment"
This reverts commit 661a08daf6, reversing
changes made to 8cd8784289.
2019-12-19 23:11:31 -05:00
Kubernetes Prow Robot
641d0290e4
Merge pull request #86399 from ahg-g/ahg1-prioritymeta
InterPodAffinity Priority as Score plugin
2019-12-19 13:39:56 -08:00
Kubernetes Prow Robot
37a5201cf0
Merge pull request #86109 from haosdent/clean-e2e-framework-job
e2e: move funs of framework/job to e2e/upgrades/apps/job
2019-12-19 12:40:42 -08:00
Kubernetes Prow Robot
4c6bed6e4e
Merge pull request #84480 from BrendanSChang/fuzz
Fix validation for metav1 fuzz targets.
2019-12-19 12:40:10 -08:00
Hemant Kumar
d1fb0b57df Expect NodeUnpublish calls when NodePublish is called
While this is looser check than original check, I do not think
we can quite expect NodePublish and NodeUnpublish call counts to match

NodePublishvolume call count may not be same as NodeUnpublishVolume
call count because reconciler may have a mount operation queued up
while previous one is finishing. So, it is not unusual to have more than one
NodePublishVolume call for same pod+volume combination, similarly
unmount may also run more than once.
2019-12-19 14:28:27 -05:00
Abdullah Gharaibeh
119a9a94d1 InterPodAffinity Priority as Score plugin 2019-12-19 13:42:49 -05:00
Kubernetes Prow Robot
810f0c2ae5
Merge pull request #86354 from p0lyn0mial/improve-watch-and-report-e2e
improves watch and report e2e
2019-12-19 10:11:57 -08:00
Kevin Klues
c60802e893 Add klueska as an approver in test/e2e_node/OWNERS 2019-12-19 15:37:03 +01:00
Kubernetes Prow Robot
16c2ae4607
Merge pull request #86411 from liggitt/plugin-test
Isolate kubectl test-cmd plugin tests
2019-12-19 05:52:09 -08:00
Kubernetes Prow Robot
4e35750abc
Merge pull request #86156 from tanjunchen/use-framework-Equal-test-e2e_node
test/e2e_node/:use framework.Equal() instead of using gomega.Expect(b…
2019-12-19 02:39:56 -08:00
Alvaro Aleman
096bdb7121 Sample apiserver: Avoid etcd listening on DNS result for "localhost"
We've had a fun case of `Sample API Server using the current
Aggregator` failing due to DNS returning a response for localhost that
is not 127.0.0.1 and does not exist on the node, causing etcd trying to
bind to a non-existing address and consequently failing. Trying to spare
others this fun :)
2019-12-19 10:41:49 +01:00
Kubernetes Prow Robot
6c98d5515b
Merge pull request #86396 from gnufied/fix-mock-driver-resizing-condition
Wait for resizing condition
2019-12-19 00:38:38 -08:00
Kubernetes Prow Robot
6eb4e7c443
Merge pull request #86315 from liggitt/delete-grace-period-debug
Add debugging for delete grace period e2e flake
2019-12-19 00:38:10 -08:00
Kubernetes Prow Robot
2f39e7304d
Merge pull request #86119 from haosdent/clean-e2e-framework-metrics
e2e: move funs of framework/metrics to e2e_node
2019-12-19 00:37:56 -08:00
Jordan Liggitt
f50638f439 Isolate kubectl test-cmd plugin tests 2019-12-19 01:35:36 -05:00
Kubernetes Prow Robot
661a08daf6
Merge pull request #86376 from xieyanker/kubemark_deployment
change kubemark from ReplicationController to Deployment
2019-12-18 21:49:56 -08:00
sewon.oh
745248dd6f
Fix cpu manager e2e test typo
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-12-19 13:41:05 +09:00
notpad
6511b603c9 Define workloads specs by YAML 2019-12-19 09:08:11 +08:00
Hemant Kumar
03df6320e5 Wait for resizing condition 2019-12-18 17:50:29 -05:00
Aaron Crickenberger
877381550d Revert "promote e2e tests for taint-tolerations in predicates"
This reverts commit 4d3d364d2b.

This commit promoted a test to conformance and also changed the test at
the same time. It should have been split up into two PRs to verify
whether the change had the intended effect. The test is now failing
consistently, so reverting.
2019-12-18 10:01:00 -05:00
xieyanker
48944b94da change kubemark from ReplicationController to Deployment 2019-12-18 15:46:41 +08:00
Kubernetes Prow Robot
127c47caf4
Merge pull request #85512 from serathius/remove-cluster-monitoring
Remove cluster-monitoring
2019-12-17 21:05:57 -08:00
Kubernetes Prow Robot
fc1824fadd
Merge pull request #86348 from soltysh/issue86179
Split cronjob tests, so they don't interfere
2019-12-17 19:48:21 -08:00
Kubernetes Prow Robot
eaa68dd247
Merge pull request #86316 from pierewoj/master
Use private master IP in GCE kubemark tests
2019-12-17 19:47:57 -08:00
Kubernetes Prow Robot
e5f0648c6b
Merge pull request #86284 from ahg-g/ahg1-prefilter2
Register nodeports and noderesources prefilters
2019-12-17 12:01:10 -08:00
Kubernetes Prow Robot
7fdefe5002
Merge pull request #84735 from liggitt/wardle-example-e2e
wardle example e2e
2019-12-17 12:00:28 -08:00
Kubernetes Prow Robot
a1fc96f41e
Merge pull request #84462 from klueska/upstream-cpu-manager-update-state-semantics
Update CPUManager stored state semantics
2019-12-17 12:00:12 -08:00
Kubernetes Prow Robot
0b830f3d68
Merge pull request #83652 from Jefftree/taint-tolerations
promote e2e tests for taint-tolerations in predicates
2019-12-17 09:47:39 -08:00
Maciej Szulik
667aaf33a6
Split cronjob tests, so they don't interfere 2019-12-17 15:36:42 +01:00
Kubernetes Prow Robot
40750a02fa
Merge pull request #84425 from yutedz/e2e-pods-const
Declare constants in pods test as const
2019-12-17 06:18:00 -08:00
Lukasz Szaszkiewicz
869aef61af improves watch and report e2e test to also check IsResourceExpired since the API can return both errors (Gone, Expired) 2019-12-17 14:29:25 +01:00
Abdullah Gharaibeh
b3abfdc9e4 registered nodeports and noderesources prefilters 2019-12-17 07:29:37 -05:00
Kubernetes Prow Robot
9b840a72c9
Merge pull request #86148 from tanjunchen/use-framework-Equal
test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega…
2019-12-17 04:19:59 -08:00
Jakub Pierewoj
f9c4551a94 Use private master IP in GCE kubemark tests
Currently hollow nodes communicate with kubemark master using public
master IP, which results in each call going through cloud NAT. Cloud NAT
limitations become performance bottleneck (see kubernetes/perf-tests/issues/874).

To mitigate this, in this change, a second kubeconfig called "internal"
is created. It uses private master IP and is used to set up hollow nodes.

Note that we still need the original kubemark kubeconfig (using public master IP)
to be able to communicate with the master from outside the cluster (when
setting it up or running tests).

Testing:
- set up kubemark cluster, verified apiserver logs to confirm that the call
  from hollow nodes did not go through NAT
2019-12-17 12:49:50 +01:00
Kubernetes Prow Robot
acb2994f77
Merge pull request #86199 from hwdef/clean-e2e-framework
test/e2e: move funcs from test/e2e/pod to other folders
2019-12-16 21:39:03 -08:00
Kubernetes Prow Robot
e2cd6ff235
Merge pull request #86113 from haosdent/clean-e2e-framework-log
e2e: remove unused method in e2e/framework/log
2019-12-16 21:38:54 -08:00
Kubernetes Prow Robot
d97ed7c0d3
Merge pull request #86098 from tanjunchen/clean-e2e-framework-1209
move test/e2e/framework/lifecycle/ test/framework/cloud/gcp
2019-12-16 21:38:43 -08:00
Kubernetes Prow Robot
889030bdd5
Merge pull request #86061 from haosdent/clean-e2e-framework-deployment
e2e: move funs of framework/deviceplugin to e2e_node
2019-12-16 21:38:33 -08:00
Kubernetes Prow Robot
80f03eb2ac
Merge pull request #85453 from claudiubelu/tests/enable-for-windows
tests: Removes [LinuxOnly] tag from a few tests
2019-12-16 21:37:51 -08:00
Jordan Liggitt
5c537915bf Mark '[sig-apps] CronJob should delete successful/failed finished jobs with limit of one job' flaky 2019-12-16 17:05:30 -05:00
Jordan Liggitt
ce3839452e Mark '[sig-scheduling] PreemptionExecutionPath runs ReplicaSets to verify preemption running path' flaky 2019-12-16 17:05:05 -05:00
Jordan Liggitt
2164157113 Make e2e scale updates unconditional 2019-12-16 15:46:35 -05:00
Jordan Liggitt
176c95ff3e Add debugging for delete grace period e2e flake 2019-12-16 14:15:19 -05:00
Jordan Liggitt
d12608017d Mark GCEPD test flaky 2019-12-16 12:06:26 -05:00
Jordan Liggitt
8111bb3d77 Update wardle e2e image 2019-12-16 11:06:11 -05:00
Jordan Liggitt
cad5de706a Build sample-apiserver image using kubernetes 1.17 / go 1.13 2019-12-16 11:06:11 -05:00
hwdef
d45107a00d test/e2e: move funcs from test/e2e/pod to other folders 2019-12-16 11:58:49 +08:00
Mark Janssen
a634e254c1 Fix staticcheck failures for test/images
Errors from staticcheck:
test/images/agnhost/dns/common.go:79:6: func runCommand is unused (U1000)
test/images/agnhost/inclusterclient/main.go:75:16: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (SA1015)
test/images/agnhost/net/nat/closewait.go:41:5: var leakedConnection is unused (U1000)
test/images/agnhost/netexec/netexec.go:157:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:250:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:317:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:331:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:345:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:357:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:370:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:380:9: this value of err is never used (SA4006)
test/images/agnhost/netexec/netexec.go:381:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:386:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/pause/pause.go:43:23: syscall.SIGKILL cannot be trapped (did you mean syscall.SIGTERM?) (SA1016)
test/images/agnhost/serve-hostname/serve_hostname.go:125:15: the channel used with signal.Notify should be buffered (SA1017)
test/images/agnhost/webhook/patch_test.go:131:13: this value of err is never used (SA4006)
test/images/pets/peer-finder/peer-finder.go:155:6: this value of newPeers is never used (SA4006)
2019-12-15 22:34:27 +01:00
Kubernetes Prow Robot
32883e46d6
Merge pull request #86238 from SataQiu/fix-staticcheck-20191213
Fix staticcheck failures of test/e2e/manifest
2019-12-15 11:07:37 -08:00
Haosdent Huang
973fddd155 e2e: move funs of framework/gpu to e2e_node 2019-12-16 00:53:01 +08:00
Haosdent Huang
4536ed50a0 e2e: move funs of framework/deviceplugin to e2e_node 2019-12-16 00:46:56 +08:00
Haosdent Huang
21e906fba6 e2e: move funs of framework/job to e2e/upgrades/apps/job 2019-12-16 00:30:42 +08:00
Haosdent Huang
8d3a8d5a6c e2e: move funs of framework/metrics to e2e_node 2019-12-16 00:27:58 +08:00
Matthias Bertschy
6603f41a13 Promote StartupProbe to beta for 1.18 2019-12-15 14:49:34 +01:00
Kubernetes Prow Robot
5ead4974e0
Merge pull request #86000 from timoreimann/e2e-support-long-csi-driver-names
e2e: support long CSI driver names
2019-12-14 16:11:36 -08:00
Kubernetes Prow Robot
5135a13e77
Merge pull request #86240 from draveness/patch-4
doc: remove Draven from test package reviewers
2019-12-14 03:25:36 -08:00
Kubernetes Prow Robot
ae57548b2f
Merge pull request #86190 from SataQiu/test-owners-20191212
Promote SataQiu to an approver of test and test/e2e/framework
2019-12-13 16:19:49 -08:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Timo Reimann
a70bec465d e2e: support long CSI driver names
The storage e2e test suite uses given CSI driver names as pod names. For
pod names that also get enriched by a prefix and suffix, it is very easy
to exceed the 63 character limit that pod names are subject to, thereby
causing tests to fail.

This change fixes the described problem by omitting the driver name from
the pod name suffix.

It also allows us to drop VolumeResource.VolType.
2019-12-13 22:54:06 +01:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Kubernetes Prow Robot
6f49555208
Merge pull request #86193 from tanjunchen/clean-test-framework-apps
move funcs from test/e2e/framework to test/e2e/apps
2019-12-13 10:39:08 -08:00
clarklee92
623c4f9f17 e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-14 02:17:00 +08:00
Jordan Liggitt
749eea7e0f Prune server-side print exemption list 2019-12-13 12:23:39 -05:00
Jordan Liggitt
0387cc7cb3 Update generated files 2019-12-13 12:23:39 -05:00
Jordan Liggitt
f2f22b84cd Delete ReplicationControllerDummy 2019-12-13 12:21:33 -05:00
Jordan Liggitt
18ba6f9482 Remove references to unserved types 2019-12-13 12:21:33 -05:00
Jordan Liggitt
5d5b444c4d Remove use of testapi codecs, selflink, resourcepath functions 2019-12-13 11:56:29 -05:00
Kubernetes Prow Robot
5b77616374
Merge pull request #86177 from deads2k/configure-test
make test framework easier to re-use
2019-12-13 07:57:08 -08:00
Kubernetes Prow Robot
c34d140241
Merge pull request #86129 from damemi/remove-priority-code
Remove priority execution path from prioritizeNodes in generic_scheduler
2019-12-13 01:41:04 -08:00
Draven
d8c35733c0
doc: remove Draven from test package reviewers 2019-12-13 14:27:25 +08:00
SataQiu
95bf226533 fix staticcheck failures of test/e2e/manifest 2019-12-13 14:03:44 +08:00
tanjunchen
77a9d4772b move funcs from test/e2e/framework/replicaset to test/e2e/apps 2019-12-13 13:02:02 +08:00
Kubernetes Prow Robot
6715e35530
Merge pull request #86175 from ahg-g/ahg1-prefilters
Wrap InterPodAffinity predicate metadata as a Prefilter
2019-12-12 18:33:19 -08:00
tanjunchen
f786cb07b7 test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse()) 2019-12-13 10:11:47 +08:00
vpickard
0e644c8749 e2e-topology-manager: Fix bazel tests
Fix some tests

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 19:52:59 -05:00
Mike Dame
255ab6d2c3 Remove priority execution paths in favor of score plugins
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Kubernetes Prow Robot
b4b0d1903d
Merge pull request #85718 from dholbach/dholbach/remove-kube-timeout
drop KUBE_TIMEOUT in test/cmd/kubeadm.sh
2019-12-12 14:22:32 -08:00
vpickard
31b0d7f853 e2e-topology-manager: Fix package name
Change package name to e2enode

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:37:35 -05:00
vpickard
fba4a7be34 e2e-topology-manager: fixes for gofmt
Some cleanup for gofmt fixes

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:32:58 -05:00
vpickard
337fdf2f37 [WIP] e2e-topology-manager: Initial commit for E2E tests
This is the initial commit for E2E testing for Topology
Manager.

For now, run a subset of the CPU Manager tests.

Additional tests will be forthcoming.

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:32:58 -05:00
Kubernetes Prow Robot
c1b2ecaada
Merge pull request #86159 from clarklee92/move-e2e/framework/service
e2e: move funs of framework/service to e2e/network
2019-12-12 12:48:32 -08:00
Abdullah Gharaibeh
2fdf1fa3c1 inter-pod affinity prefilter 2019-12-12 15:20:14 -05:00
tanjunchen
89b31c8d69 move test/e2e/framework/lifecycle/ test/framework/cloud/gcp 2019-12-12 13:28:53 +08:00
Kubernetes Prow Robot
6dbd521cfa
Merge pull request #86178 from misterikkit/test-log-fix
fix log format string
2019-12-11 19:40:46 -08:00
SataQiu
20f0408f29 promote SataQiu to an approver of test and test/e2e/framework 2019-12-12 10:49:31 +08:00
Kubernetes Prow Robot
e76619931f
Merge pull request #86180 from Random-Liu/fix-critical-pod-cleanup-in-test
Make sure critical pod in the preemption test is always cleaned up.
2019-12-11 18:04:32 -08:00
Lantao Liu
915b096405 Make sure critical pod in the preemption test is always cleaned up.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-11 16:51:21 -08:00
Kubernetes Prow Robot
b38dfb3ccb
Merge pull request #85522 from YuikoTakada/local-latencies
Fix func VerifyLatencyWithinThreshold() to local
2019-12-11 14:30:32 -08:00
Kevin Klues
69f8053850 Update top-level CPUManager to adhere to new state semantics
For now, we just pass 'nil' as the set of 'initialContainers' for
migrating from old state semantics to new ones. In a subsequent commit
will we pull this information from higher layers so that we can pass it
down at this stage properly.
2019-12-11 23:02:51 +01:00
Jonathan Basseri
dc17fc4283 fix log format string 2019-12-11 13:27:13 -08:00
David Eads
773fbeab1e expose the clientConfig to consumers trying to build custom clients against the kubeapiserver 2019-12-11 16:10:36 -05:00
David Eads
d0210220e4 dump information for all namespaces related to the test 2019-12-11 16:00:57 -05:00
David Eads
ea913f38ea allow configuration of customized AfterEach functions for all tests 2019-12-11 15:53:00 -05:00
Kubernetes Prow Robot
343020101c
Merge pull request #86110 from haosdent/clean-e2e-framework-kubelet
e2e: move funs of framework/kubelet to e2e/scheduling
2019-12-11 12:52:56 -08:00
Kubernetes Prow Robot
7fb322e174
Merge pull request #86059 from haosdent/e2e-cleanup-autoscaling
e2e: remove unused method in e2e/framework/autoscaling.
2019-12-11 12:52:46 -08:00
Kubernetes Prow Robot
4ca93592d2
Merge pull request #86147 from tanjunchen/use-framework-Equal-20191211
test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...)
2019-12-11 11:32:24 -08:00
Kubernetes Prow Robot
2f66bcf8a6
Merge pull request #86136 from alejandrox1/add-alejandrox1-as-approver
Added alejandrox1 to test/approvers
2019-12-11 11:32:16 -08:00
Kubernetes Prow Robot
30edc8ea83
Merge pull request #86112 from SataQiu/fix-staticcheck-20191210
Fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere
2019-12-11 11:32:07 -08:00
Kubernetes Prow Robot
0e15d26fe7
Merge pull request #86077 from pohly/external-docs
e2e storage: improve instructions for external driver testing
2019-12-11 08:42:08 -08:00
Kubernetes Prow Robot
cfdc365525
Merge pull request #86133 from Huang-Wei/cleanup-predicate-path
Eliminate running paths of Predicates in scheduler
2019-12-11 06:18:06 -08:00
clarklee92
c4ad07b0b1 e2e: move funs of framework/service to e2e/network
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-11 20:13:34 +08:00
tanjunchen
35b0f1f7dd test/e2e_node/:use framework.Equal() instead of using gomega.Expect(bool).To(gomega.BeTrue(),explain) 2019-12-11 18:50:29 +08:00
tanjunchen
f8e0c6bb41 test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...) 2019-12-11 16:25:26 +08:00
Kubernetes Prow Robot
eef4c00ae9
Merge pull request #85621 from chewong/in-tree-azure-disk-e2e
Rename Azure driver to Azure Disk driver in e2e test
2019-12-10 22:14:06 -08:00
Wei Huang
dc3d1bd238
Eliminate running paths of Predicates in scheduler
- eliminate running paths of Predicates in scheduler; use Filter Plugins instead.
- refactor all unit tests
- adjust the TestPreemptWithPermitPlugin integration test
2019-12-10 19:14:13 -08:00
SataQiu
e70120f083 fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere 2019-12-11 10:33:21 +08:00
Kubernetes Prow Robot
30a5db136f
Merge pull request #86057 from SataQiu/fix-staticcheck-20191209
Fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites
2019-12-10 18:14:05 -08:00
Kubernetes Prow Robot
ca78590bdb
Merge pull request #86084 from cbf123/apiserver_rbac_fix
update RBAC rules in e2e aggregator test
2019-12-10 16:05:32 -08:00
Kubernetes Prow Robot
541b4e4b39
Merge pull request #85542 from schrodit/e2e-dump-ns
Dump namespace if the namespace could not be cleaned up
2019-12-10 16:05:20 -08:00
Kubernetes Prow Robot
c0d5d11263
Merge pull request #75583 from sandeeppsunny/zone_support
Added e2e test to verify zone support across datacenters
2019-12-10 16:04:06 -08:00
alejandrox1
c051fc2057 Added alejandrox1 to test/approvers
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-12-10 16:07:57 -05:00
Kubernetes Prow Robot
a8caae554f
Merge pull request #86028 from ahg-g/ahg1-benchmarks
Fix inter-pod affinity scheduler benchmarks
2019-12-10 08:59:29 -08:00
Abdullah Gharaibeh
a051c591a1 Fix inter-pod affinity scheduler benchmarks 2019-12-10 10:00:28 -05:00
SataQiu
3ed535a89a fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites 2019-12-10 16:09:29 +08:00
Haosdent Huang
6df97909bb e2e: remove unused method in e2e/framework/log 2019-12-10 16:00:37 +08:00
Haosdent Huang
546dbf8b3c e2e: move funs of framework/kubelet to e2e/scheduling 2019-12-10 15:40:20 +08:00
Kubernetes Prow Robot
78c56e6b4c
Merge pull request #84886 from YangLu1031/daemonRestartTest
Verify kubelet & kube-proxy recovery on Windows nodes
2019-12-09 21:35:28 -08:00
Kubernetes Prow Robot
3c4d2a5215
Merge pull request #78731 from claudiubelu/tests-hostnetwork
Sets HostNetwork to False for tests which do not require it
2019-12-09 15:22:39 -08:00
Kubernetes Prow Robot
47c7b99057
Merge pull request #86085 from robscott/gcp-lb-timeout
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
2019-12-09 14:00:45 -08:00
Kubernetes Prow Robot
83ebf2ffba
Merge pull request #86050 from SataQiu/clean-e2e-framework-20191209
e2e: move funs of framework/deployment to e2e/apps
2019-12-09 14:00:35 -08:00
Kubernetes Prow Robot
95703a2e01
Merge pull request #85962 from spiffxp/include-cloud-gcp-in-e2e-test
Include cloud/gcp tests in e2e.test
2019-12-09 14:00:17 -08:00
Rob Scott
57b538e657
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
Some related tests were flaking as a result of GCP LBs potentially
taking longer to update than 15 minutes.
2019-12-09 10:46:22 -08:00
Chris Friesen
a9f80c70b2 update RBAC rules in e2e aggregator test
Add the "get" and "watch" verbs to the ClusterRole created
for the sample apiserver.  Without this, the test complains about
"Failed to watch..." the resources in question.

Strictly speaking the "get" verb doesn't seem to be needed, but
this aligns the e2e test with the example at
staging/src/k8s.io/sample-apiserver/artifacts/example/rbac.yaml
2019-12-09 11:03:44 -06:00
Patrick Ohly
3cc926f5ef e2e storage: fix type in comment 2019-12-09 16:46:45 +01:00
Patrick Ohly
17ae1eda3e e2e storage: improve instructions for external driver testing
Some of the content was out-dated (`ShortName` was removed,
`dataSource` renamed). Better refer to the actual definitions with
functional links.

To make it simpler to find those, `driverDefinition` gets moved up in
`external.go`.
2019-12-09 15:20:13 +01:00
Marek Siarkowicz
31fb04fa98 Remove cluster-monitoring
Heapster is deprecated and no longer supported
2019-12-09 11:25:20 +01:00
Haosdent Huang
089374e8d6 e2e: remove unused method in e2e/framework/autoscaling. 2019-12-09 15:32:28 +08:00
SataQiu
10b173868a move funs of framework/deployment to e2e/apps 2019-12-09 11:30:15 +08:00
SataQiu
27d645dc5b fix staticcheck failures of test/e2e/storage 2019-12-07 21:32:11 +08:00
Kubernetes Prow Robot
8ef9caaded
Merge pull request #85676 from tanjunchen/fix-staticcheck-test-integration-apiserver
fix staticcheck in test/integration/apiserver
2019-12-06 19:49:08 -08:00
Kubernetes Prow Robot
e0f11a2fc3
Merge pull request #85893 from tanjunchen/fix-test-e2e-network
fix staticcheck in test/e2e/network/
2019-12-06 17:06:06 -08:00
Kubernetes Prow Robot
688149a0c6
Merge pull request #84613 from MorrisLaw/breakout-kubectl-from-utils
move KubectlCmd out of utils into its own package
2019-12-06 15:51:53 -08:00
Kubernetes Prow Robot
d49ce6ac42
Merge pull request #85751 from tanjunchen/fix-staticcheck-test-e2e-auth-cloud
fix staticcheck in   test/e2e/cloud/
2019-12-06 09:05:03 -08:00
tanjunchen
06c5901769 fix staticcheck in test/integration/apiserver 2019-12-06 23:05:20 +08:00
Kubernetes Prow Robot
93c9085e8a
Merge pull request #85973 from msau42/fix-e2e
Disable broken pd e2e test
2019-12-05 18:44:49 -08:00
Kubernetes Prow Robot
d47e1364c9
Merge pull request #85540 from pohly/testsuites-api
e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
2019-12-05 17:15:19 -08:00
Jefftree
4d3d364d2b promote e2e tests for taint-tolerations in predicates 2019-12-05 16:54:02 -08:00
Kubernetes Prow Robot
bf71df226d
Merge pull request #85967 from liggitt/kubectl-deflake
Deflake kubectl custom printing test
2019-12-05 15:55:28 -08:00
Kubernetes Prow Robot
4fe4ff885d
Merge pull request #85934 from xueweiz/e2e-node
Convert ExpectEqual(err, nil) to ExpectNoError(err)
2019-12-05 15:55:03 -08:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Michelle Au
2e6d6d73e7 disable node deletion detach test 2019-12-05 14:26:17 -08:00
Kubernetes Prow Robot
fe80f32904
Merge pull request #85780 from hwdef/fix-staticcheck16
test/e2e/auth: Fix static check failures
2019-12-05 13:50:44 -08:00
Kubernetes Prow Robot
e68d7be680
Merge pull request #85457 from BenTheElder/typecheck-fun
Typecheck support for verifying providerless build
2019-12-05 13:50:17 -08:00
Michelle Au
a8ba361fd6 expect node to be recreated with the same name 2019-12-05 13:32:17 -08:00
Jordan Liggitt
bacab3d457 Deflake kubectl custom printing test 2019-12-05 15:44:25 -05:00
Aaron Crickenberger
d924407ede Include cloud/gcp in e2e.test
Follows the pattern used by instrumentation to include
instrumentation/logging etc.
2019-12-05 12:42:30 -08:00
Kubernetes Prow Robot
864596f680
Merge pull request #85947 from jsafrane/privileged-hostpath
Run all csi-hostpath containers as privileged
2019-12-05 12:33:04 -08:00
Patrick Ohly
8227b61022 bazel update 2019-12-05 20:10:25 +01:00
Patrick Ohly
87ccd41af2 e2e storage: add compile test for public TestSuite API
This will catch accidentally adding a new interface function which
isn't exported. For example, an attempt to implement a new unexported
"foobar()" function then leads to:

test/e2e/storage/testsuites/api_test.go:54:5: cannot use &fakeSuite literal (type *fakeSuite) as type testsuites.TestSuite in assignment:
	*fakeSuite does not implement testsuites.TestSuite (missing testsuites.foobar method)
		have foobar()
		want testsuites.foobar()
FAIL	k8s.io/kubernetes/test/e2e/storage/testsuites [build failed]
2019-12-05 20:10:25 +01:00
Patrick Ohly
160da35b23 e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
Implementing a test suite was impossible outside of the
k8s.io/kubernetes/test/e2e/storage/testsuites package because all
interfaces and structs used by them were private.

As part of revamping the API, genericVolumeTestResource also gets
exported because it is useful for other test suites. Because the
TestResource interface became obsolete a while ago and isn't used
anymore, the new name is just testsuites.VolumeResource.

testpatterns.CSIInlineVolume needs special handling in a few places.
It can now be used in a test pattern for a test suite that uses a
VolumeResource instance.
2019-12-05 20:10:25 +01:00
Kubernetes Prow Robot
a3718d7653
Merge pull request #85872 from ahg-g/ahg-affinity-pref
Perf benchmarks for preferred (anti)pod affinity
2019-12-05 09:02:33 -08:00
Abdullah Gharaibeh
da67bcbd35 added benchmarks for preferred (anti)pod affinity 2019-12-05 10:50:00 -05:00
hwdef
d81dd48e2c test/e2e/auth: Fix static check failures 2019-12-05 22:42:04 +08:00
Jan Safranek
d3c562f7e0 Run all csi-hostpath containers as privileged
On systems with SELinux enabled, non-privileged containers can't access
data of privileged containers. Since the CSI driver socket is exposed
by a privileged container, all sidecars must be privileged too.
2019-12-05 13:02:53 +01:00
Kubernetes Prow Robot
2f58d2e3fe
Merge pull request #85890 from tanjunchen/fix-golint-test-e2e_node-ruuner
fix golint check in test/e2e_node/runner/remote
2019-12-05 00:36:32 -08:00
Benjamin Elder
94cf731978 typecheck support setting tags, skipping test code, and ignoring directories 2019-12-04 22:30:23 -08:00
tanjunchen
d51b72d9e9 fix staticcheck in test/e2e/network/ 2019-12-05 13:58:28 +08:00
Xuewei Zhang
c0db5b2562 Convert ExpectEqual(err, nil) to ExpectNoError(err) 2019-12-04 20:28:31 -08:00
Lantao Liu
32850dc47d Revert "Use ExpectEqual test/e2e_node"
This reverts commit 561ee6ece9.
2019-12-04 18:14:13 -08:00
Kubernetes Prow Robot
e8bc121341
Merge pull request #85916 from ahg-g/ahg-e2e
remove max pods from e2e test
2019-12-04 15:44:31 -08:00
MorrisLaw
e981d1ea44 remove framework dependency from framework sub-package kubectl 2019-12-04 21:00:34 +00:00
MorrisLaw
b85adbf1fd moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 2019-12-04 20:31:57 +00:00
MorrisLaw
4b99e5305e remove CheckFileSizeViaContainer from framework 2019-12-04 20:30:51 +00:00
MorrisLaw
cd8da67b03 move KubectlCmd out of utils into its own package 2019-12-04 20:30:43 +00:00
Abdullah Gharaibeh
8aa26a6ed6 remove max pods from e2e test 2019-12-04 13:38:08 -05:00
Jakub Pierewoj
6f0eec4dff Create kubemark cluster as private
This removes setting KUBE_GCE_PRIVATE_CLUSTER=false flag when creating
kubemark master.

In result, util.sh detect-master function detects both private and
public master IPs. The comment about cloud NAT does not apply after
https://github.com/kubernetes/kubernetes/pull/81073/files got merged
(see comments in the PR discussion).

This is first PR to change kubemark clusters to use private master IPs:
https://github.com/kubernetes/perf-tests/issues/874.

Note that kubemark kubeconfig will still contain public master IP. This
will be addresses in the follow-up PRs.

Testing:
* set up kubemark cluster
* verified that both private and public kubemark master IPs are logged
* ran tests on kubemark cluster using cluster loader
2019-12-04 15:19:22 +01:00
tanjunchen
29eb15c3a8 fix golint check in test/e2e_node/runner/remote 2019-12-04 18:14:52 +08:00
Kubernetes Prow Robot
0f332bae5d
Merge pull request #85853 from SataQiu/fix-staticcheck-20191203
Fix staticcheck failures of test/e2e/upgrade
2019-12-03 21:51:18 -08:00
Kubernetes Prow Robot
f47e4ae6ac
Merge pull request #85787 from tanjunchen/use-ExpectEqual-test-e2e_node
Use ExpectEqual test/e2e_node
2019-12-03 21:51:09 -08:00
Kubernetes Prow Robot
99e4f6529f
Merge pull request #85770 from tanjunchen/ExpectExpect-test-e2e-storage
use ExpectEqual of framework in test/e2e/storage
2019-12-03 21:50:56 -08:00
Kubernetes Prow Robot
9acdf52877
Merge pull request #85744 from tanjunchen/fix-golint-problems
Fix golint issues in test/e2e/lifecycle/
2019-12-03 19:44:57 -08:00
Nan Yu
1fb0dd4ec5 Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus 2019-12-03 14:26:35 -08:00
Kubernetes Prow Robot
9ae79ef8e3
Merge pull request #85849 from liggitt/deflake-delete-grace-period
Deflake delete grace period e2e
2019-12-03 13:18:34 -08:00
Kubernetes Prow Robot
ec293b6898
Merge pull request #85847 from liggitt/deflake-pod-readiness
Deflake pod readiness e2e
2019-12-03 13:17:25 -08:00
Kubernetes Prow Robot
35dfb9b215
Merge pull request #84788 from adelina-t/replace_nginx_agnhost
Replace nginx image with agnhost in sig-node pods tests
2019-12-03 13:16:59 -08:00
Ernest Wong
727fdef2db
Address PR comment 2019-12-03 11:34:02 -08:00
SataQiu
6fcd030877 fix staticcheck failures of test/e2e/upgrade 2019-12-03 23:36:09 +08:00
Jordan Liggitt
28327efe6b Deflake delete grace period e2e 2019-12-03 09:46:45 -05:00
Jordan Liggitt
c62d6add9b Deflake pod readiness e2e 2019-12-03 09:15:04 -05:00
Kubernetes Prow Robot
716b4549b2
Merge pull request #85749 from SataQiu/golint-e2e-20191129
Fix golint failures of test/e2e_node/remote
2019-12-03 06:06:58 -08:00
Kubernetes Prow Robot
bea2ca73f3
Merge pull request #85781 from tanjunchen/use-ExpectEqual-test-e2e-upgrades
Use expect equal test e2e upgrades
2019-12-03 03:50:57 -08:00
tanjunchen
561ee6ece9 Use ExpectEqual test/e2e_node 2019-12-03 18:01:30 +08:00
tanjunchen
9eda99793d use ExpectEqual of framework in test/e2e/storage 2019-12-03 17:41:49 +08:00
tanjunchen
d2d68026fc Fix golint issues in test/e2e/lifecycle/ 2019-12-03 17:14:38 +08:00
YuikoTakada
cd7859901c Fix func VerifyLatencyWithinThreshold() to local 2019-12-03 06:53:41 +00:00
Yang Lu
ba2cc99bde Add test cases to verify kubelet & kube-proxy can recover if being killed accidentally 2019-12-02 15:59:35 -08:00
Kubernetes Prow Robot
19ee1ea9fa
Merge pull request #85810 from liggitt/disable-webhook-ratelimit
Ensure webhook backend requests are not artificially rate-limited
2019-12-02 15:03:09 -08:00
Kubernetes Prow Robot
46aaeb36f6
Merge pull request #85808 from ahg-g/ahg-bench
Update number of scheduler perf benchmarks to be more representative
2019-12-02 13:48:58 -08:00
Abdullah Gharaibeh
e9c400aabc update scheduler benchmarks to be more representative 2019-12-02 13:19:14 -05:00
Jordan Liggitt
d620493b74 Ensure webhook backend requests are not artificially rate-limited 2019-12-02 12:01:51 -05:00
Kubernetes Prow Robot
bd77d5f441
Merge pull request #85717 from krzysied/kubemark_node_addon_labels
Setting kubemark node labels
2019-12-02 03:17:04 -08:00
tanjunchen
c687521b44 fix staticcheck in test/e2e/cloud/ 2019-12-02 11:29:49 +08:00
tanjunchen
0c36299c21 Use expect equal test/e2e/upgrades 2019-12-02 11:20:42 +08:00
SataQiu
69aae3aa5a fix golint failures of test/e2e_node/remote 2019-11-29 18:11:55 +08:00
Kubernetes Prow Robot
050c9471c8
Merge pull request #85644 from liggitt/meta-v1-table
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-28 10:05:18 -08:00
Kubernetes Prow Robot
83a8e8c9fb
Merge pull request #85711 from tanjunchen/use-ExpectEqual-test-e2e-auto
use ExpectEqual of framework in test/e2e/autoscaling/
2019-11-28 06:09:03 -08:00
Kubernetes Prow Robot
8be1202f08
Merge pull request #85671 from tanjunchen/update-test/e2e/common-to-use-framework
use framework  refactor code in test/e2e/common
2019-11-28 04:53:03 -08:00
Kubernetes Prow Robot
dcb7daa885
Merge pull request #85666 from SataQiu/e2e-clean-e2elog-20191127
e2e: use log functions of core framework on pv, testfiles and volume sub packages
2019-11-28 03:03:03 -08:00
tanjunchen
52ac2783bc use framework refactor code in test/e2e/common 2019-11-28 18:03:01 +08:00
Daniel Holbach
a252a617a5 drop KUBE_TIMEOUT in test/cmd/kubeadm.sh
As runyontr remarked in test/cmd/kubeadm.sh: when
	https://github.com/kubernetes/kubeadm/issues/1430 is closed,
	KUBE_TIMEOUT can be removed.
2019-11-28 10:49:41 +01:00
Kubernetes Prow Robot
1934ad6a9c
Merge pull request #85664 from tanjunchen/use-framework-autoscaling-cloud
use framework in  test/e2e/cloud/
2019-11-28 01:49:17 -08:00
Krzysztof Siedlecki
aacd79cc36 setting kubemark node labels 2019-11-28 10:36:56 +01:00
tanjunchen
4d9c2a4ef8 use ExpectEqual of framework in test/e2e/autoscaling/ 2019-11-28 13:53:52 +08:00
Kubernetes Prow Robot
3dcc1a14df
Merge pull request #85628 from lubinsz/pr_kubeadm_proxy
Adding KubeProxyConfigMap19 checking in test-e2e-kubeadm
2019-11-27 19:49:13 -08:00
Kubernetes Prow Robot
0efe584db6
Merge pull request #85513 from liu-cong/benchmark-fix
Fix benchmark artifact parsing.
2019-11-27 16:41:03 -08:00
Kubernetes Prow Robot
15475b4321
Merge pull request #85297 from gnufied/fix-pvc-condition-check
Fix PVC condition check for offline resizing
2019-11-27 12:29:20 -08:00
Kubernetes Prow Robot
ee81b30681
Merge pull request #85323 from tanjunchen/use-ExpectEqual-test/e2e/auth
use ExpectEqual in /e2e/auth
2019-11-26 23:19:34 -08:00
Kubernetes Prow Robot
93c2eed3cb
Merge pull request #84901 from SataQiu/golint-e2e-node-20191107
Fix golint issues in test/e2e_node
2019-11-26 23:19:21 -08:00
tanjunchen
f993950b3f use framewoek in test/e2e/cloud 2019-11-27 15:13:55 +08:00
SataQiu
4325e8a452 e2e: use log functions of core framework on pv, testfiles and volume sub packages 2019-11-27 14:18:18 +08:00
Bin Lu
14316058f0 Adding KubeProxyConfigMap19 checking in test-e2e-kubeadm
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-11-27 13:50:38 +08:00
Kubernetes Prow Robot
4a8205b6fd
Merge pull request #85620 from msau42/debug-integration
decrease test pv controller resync period to try to deflake api update conflicts
2019-11-26 19:43:40 -08:00
Kubernetes Prow Robot
6a48f55e56
Merge pull request #83714 from tanjunchen/fix-staticcheck-test/e2e/windows
fix staticcheck  failures in test/e2e/windows
2019-11-26 19:43:20 -08:00
Michelle Au
a3a4320aff Wait for PV to be available before creating PVCs in volume binding test 2019-11-26 17:13:13 -08:00
Michelle Au
5b1fb221b6 increase pv controller resync period to try to deflake api update conflicts 2019-11-26 15:28:20 -08:00
Kubernetes Prow Robot
038f645f12
Merge pull request #85371 from boylee1111/enable_snapshot_e2e_test_for_pd
Enable snapshottable e2e test for csi pd driver
2019-11-26 14:29:20 -08:00
Ernest Wong
657a3a3294
Delete client node selector during volume creation 2019-11-26 13:20:59 -08:00
Kubernetes Prow Robot
a82f7cdd5d
Merge pull request #85469 from hwdef/fix-staticcheck12
test/e2e/apimachinery: fix staticcheck warning
2019-11-26 12:17:34 -08:00
Kubernetes Prow Robot
8b05cec276
Merge pull request #84477 from yutedz/csi-node-v1
Switch storage version to use v1.CSINode in 1.18
2019-11-26 12:17:21 -08:00
Cong Liu
016ab0b899 Fix benchmark artifact parsing.
* Added a extractor to extract raw logs from json format and then pipe
it into benchmark parser.
* Also added -alsologtostderr=false -logtostderr=false to reduce noisy logs.
2019-11-26 13:47:12 -05:00
Jordan Liggitt
deb75da17b fixup kubectl test 2019-11-26 13:20:52 -05:00
Kubernetes Prow Robot
036cf78b51
Merge pull request #85619 from gnufied/debug-volume-metric-failure
Fix attach/detach metric failure
2019-11-26 08:09:11 -08:00
hwdef
a0489c6ca8 test/e2e/apimachinery: fix staticcheck warning 2019-11-26 22:07:26 +08:00
Kubernetes Prow Robot
91aa8dfec8
Merge pull request #85304 from oomichi/cleanup-profile_gatherer
Remove e2e/framework/profile_gatherer.go
2019-11-26 04:05:11 -08:00
Kubernetes Prow Robot
10883c4c69
Merge pull request #84728 from notpad/kubemark
Migrate Kubemark to distroless
2019-11-26 02:09:10 -08:00
SataQiu
d2bdf89a8b fix golint issues in test/e2e_node 2019-11-26 16:26:55 +08:00
Hemant Kumar
59274b56af Use plugin name for filtering metrics 2019-11-25 23:05:09 -05:00
Hemant Kumar
d78137bbfe Fix PVC condition check for offline resizing 2019-11-25 22:59:37 -05:00
Ted Yu
1cb3992d1b Switch storage version to use v1.CSINode in 1.18 2019-11-25 19:14:09 -08:00
Ernest Wong
dd76fdfce5
Rename Azure driver to Azure Disk driver 2019-11-25 15:51:30 -08:00
Kubernetes Prow Robot
a3a2c4230d
Merge pull request #85496 from tanjunchen/fix-invalid-urls
fix 1-12 number urls
2019-11-25 15:25:10 -08:00
Kubernetes Prow Robot
85103eed42
Merge pull request #85582 from mm4tt/kubemark_source_revert
Revert "remove redundant `source` in shell"
2019-11-25 09:04:09 -08:00
Kubernetes Prow Robot
c7c0d09489
Merge pull request #85200 from SataQiu/refactor-e2e-kubectl-20191113
e2e: move LogFailedContainers out of e2e test framework util.go
2019-11-25 09:03:25 -08:00
Kubernetes Prow Robot
0bfe9d5270
Merge pull request #85537 from xieyanker/patch-1
stop-kubemark.sh add namespace
2019-11-25 07:41:09 -08:00
Mateusz Matejczyk
5a1c6b6c02 Revert "remove redundant source in shell"
This reverts commit 197964210a.

It breaks all kubemark periodic tests - https://k8s-testgrid.appspot.com/sig-scalability-kubemark
Example failure (https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-kubernetes-kubemark-100-gce/1198635036526514177):
```
W1124 16:20:35.524] ./test/kubemark/start-kubemark.sh: line 27: CLOUD_PROVIDER: unbound variable
```
2019-11-24 08:32:27 -10:00
Kubernetes Prow Robot
2343a677e4
Merge pull request #85555 from Random-Liu/fix-upgrade-test
Fix GKE upgrade test.
2019-11-23 21:31:50 -08:00
Kubernetes Prow Robot
a8128804ab
Merge pull request #85502 from xieyanker/kubemark
fix kubemark output error
2019-11-22 18:40:04 -08:00
Kubernetes Prow Robot
300ca89e60
Merge pull request #85426 from davidz627/fix/testCtx
Plumb test state through to fake volume host creation for error handling
2019-11-22 17:31:22 -08:00
Kubernetes Prow Robot
d60486d8ae
Merge pull request #85340 from chendave/source
remove redundant `source` in shell
2019-11-22 17:30:26 -08:00
Kubernetes Prow Robot
ee1160cf9b
Merge pull request #85235 from oomichi/move-suites
Move suites.go to e2e package
2019-11-22 17:30:04 -08:00
Lantao Liu
73a881e06d Fix GKE upgrade test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-11-22 11:05:44 -08:00
Tim Schrodi
c3c7ea2efd Dump namespace if the namespace could not be cleaned up 2019-11-22 12:14:28 +01:00
xieyanker
4428c0c25c
stop_kubemark
stop kubemark add namespace when run `kubectl delete`
2019-11-22 16:26:21 +08:00
Aaron Crickenberger
3cbc07bb64 Promote a TCP probe test to Conformance 2019-11-21 12:12:58 -08:00
xieyanker
e16cc492b0 fix kubemark output error 2019-11-21 15:56:15 +08:00
tanjunchen
8f4a262d61 fix 1-12 number urls 2019-11-21 11:17:46 +08:00
Claudiu Belu
e465e1089d Sets HostNetwork to False for tests which do not require it
Some tests are setting HostNetwork=true, even if it is not required
for them to pass.

This patch will set the HostNetwork to false for those tests, allowing
them to be run on Windows nodes as well.
2019-11-20 17:36:54 -08:00
David Zhu
21f7060c8f Plumb test state through to fake volume host creation for error handling 2019-11-18 14:45:01 -08:00
Kubernetes Prow Robot
beaf3a2f04
Merge pull request #83837 from RainbowMango/pr_hide_apiserver_deprecated_metrics
Turn off apiserver deprecated metrics
2019-11-16 20:25:40 -08:00
Claudiu Belu
c80fe4d914 tests: Removes [LinuxOnly] tag from a few tests
We've added the WindowsRunAsUserName feature some time ago, and it was
promoted to Beta for v1.17. We can now remove the [LinuxOnly] tag for
a few tests.

Depends On: #83058
Depends On: #84882
2019-11-16 15:54:33 -08:00
Dr. Stefan Schimanski
7f44afa8cd apiextensions: freeze & doc supported v1.16 OpenAPI formats 2019-11-16 21:53:29 +01:00
Kubernetes Prow Robot
16e0976bd1
Merge pull request #84861 from sttts/sttts-crd-defaulting-conformance
e2e: promote CRD defaulting test to conformance test
2019-11-16 05:43:40 -08:00
notpad
dcf80e31ac Migrate Kubemark to distroless 2019-11-16 17:49:26 +08:00
Kubernetes Prow Robot
e0529008d0
Merge pull request #85370 from mikedanese/expcache
fix terrible bug and inline GC for expiring cache
2019-11-16 00:29:40 -08:00
Jordan Liggitt
834246ca70 Skip Node printing in kubectl column test 2019-11-15 21:16:46 -05:00
Kubernetes Prow Robot
9c26a752a9
Merge pull request #85231 from davidz627/flags
Flip CSIMigration and CSIMigrationGCE to Beta
2019-11-15 17:57:41 -08:00
Mike Danese
d16dde36a3 inline GC in expiring cache
This allows us to drop the background goroutine with negligable
difference in performance.
2019-11-15 17:50:31 -08:00
Boyil (Elliot) Li
cfa6f83427 Enable snapshottable e2e test for csi pd driver
- add csi pd driver manifests
- modify snapshottable test case
- fix tests of pod has to be created first for delay-binding PVC, otherwise PVC won't be bound
2019-11-15 15:46:48 -08:00
Rob Scott
7085d692b7
Reverting managed-by-setup annotation
This ended up causing far more problems than it was worth, especially
given that it just attempted to provide backwards compatibility with
the alpha release.
2019-11-15 11:50:58 -08:00
David Zhu
1a47bf54e2 De-race some CSI unit tests that were initializing the plugin manager…ger (and plugins) twice. Set some const variables earlier to support node info manager initialization and wait for initialization to complete before finishing plugin setup. 2019-11-15 11:23:32 -08:00
Travis Rhoden
0c5c3d8bb9
Remove pkg/util/mount (moved out of tree)
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
Dr. Stefan Schimanski
69282dc4d8 e2e: promote CRD defaulting test to conformance test 2019-11-15 15:19:45 +01:00
Dave Chen
197964210a remove redundant source in shell
It will be done in the subsequent script `source ...cluster/kubemark/util.sh`
2019-11-15 19:06:08 +08:00
Kubernetes Prow Robot
e4bde524d9
Merge pull request #85322 from davidz627/revert-85169-enable_snapshot_e2e_test_for_pd
Revert "Enable snapshot e2e test for csi pd driver"
2019-11-15 01:08:06 -08:00
Kubernetes Prow Robot
6c49283f69
Merge pull request #84875 from oomichi/move-test_context
Move RegisterNodeFlags() to e2e_node test
2019-11-15 01:07:42 -08:00
Anish Ramasekar
796faba4ac
Allow multiple node cidr masks in cm
update tests

add comment

amend var name

update comment

add check for empty slice

fix tests

fix mask size in test

review feedback

add ipv4 and ipv6 flag for mask sizes

add to violation exception list

remove import alias

run update-openapi-spec

review feedback

run update-bazel

review feedback

review feedback
2019-11-14 20:04:31 -08:00
tanjunchen
e975774b33 use ExpectEqual in /e2e/auth 2019-11-15 11:41:38 +08:00
David Zhu
1f2588496d
Revert "Enable snapshot e2e test for csi pd driver" 2019-11-14 19:29:20 -08:00
SataQiu
50bc528a7e e2e: move LogFailedContainers out of e2e test framework util.go 2019-11-15 10:21:26 +08:00
Kubernetes Prow Robot
693db6e347
Merge pull request #85169 from boylee1111/enable_snapshot_e2e_test_for_pd
Enable snapshot e2e test for csi pd driver
2019-11-14 17:50:42 -08:00
Kubernetes Prow Robot
19b4017b5d
Merge pull request #84424 from mikedanese/expcache
Add an expiring cache for the caching token authenticator
2019-11-14 17:50:06 -08:00
tanjunchen
7420faab43 fix-staticcheck in /test/e2e/windows 2019-11-15 09:45:43 +08:00
Kubernetes Prow Robot
141329fd21
Merge pull request #85285 from liggitt/kubectl-resource-version
Fix --resource-version handling in kubectl
2019-11-14 16:39:03 -08:00
Kubernetes Prow Robot
b9fa6e01b9
Merge pull request #83680 from bclau/tests/network-large-requests
tests: Adds large requests tests
2019-11-14 16:37:43 -08:00
Kubernetes Prow Robot
0386d769cc
Merge pull request #83058 from bclau/tests/windows-tests-support
tests: Fixes tests for Windows (containerd, RunAsUserName)
2019-11-14 16:37:13 -08:00
Kenichi Omichi
34b05d36aa Move suites.go to e2e package
suites.go is used from e2e.go only and suites.go has invalid dependency
to subpackage of e2e framework as e2e core framework.
So this moves suites.go from e2e core framework.
2019-11-14 23:50:48 +00:00
Kenichi Omichi
e27188d70b Remove e2e/framework/profile_gatherer.go
Since 59533f0cd1 which removes the
deprecated scalability tests, functions in profile_gatherer.go have
not been used at all.
So this removes e2e/framework/profile_gatherer.go
2019-11-14 23:41:38 +00:00
Mike Danese
3f194d5b41 migrate token cache to cache.Expiring 2019-11-14 13:50:15 -08:00
Kubernetes Prow Robot
97225e2742
Merge pull request #85230 from oomichi/add-todo-issue81245
Add TODOs for removing invalid e2e dependencies
2019-11-14 13:31:41 -08:00
Kubernetes Prow Robot
55cef8048c
Merge pull request #84439 from danielqsj/f-apparmor
refactor apparmor utils in e2e
2019-11-14 13:30:08 -08:00
Kubernetes Prow Robot
7f7f99b7b5
Merge pull request #83964 from Jefftree/bdd-conformance
Initial Implementation for kubetestgen for Conformance.
2019-11-14 13:29:37 -08:00
Kubernetes Prow Robot
567b13487f
Merge pull request #85162 from apelisse/strip-nullable
Strip nullable for Server-side apply
2019-11-14 11:19:48 -08:00
Boyil (Elliot) Li
9b9562837f update pd csi driver controller manifests 2019-11-14 11:11:30 -08:00
Boyil (Elliot) Li
f7bba28dab Enable snapshottable e2e test for csi pd driver
- add pd driver manifests
- modify snapshottable test case
2019-11-14 10:27:39 -08:00
Kenichi Omichi
aef8355358 Move RegisterNodeFlags() to e2e_node test
RegisterNodeFlags() is called in e2e_node test package only, so this
moves the function for making e2e core framework small and simple.
2019-11-14 18:11:21 +00:00
Jordan Liggitt
0ac8345d3a Fix --resource-version handling in kubectl 2019-11-14 12:33:14 -05:00
Kubernetes Prow Robot
77e110fcef
Merge pull request #84046 from bclau/tests/agnhost-guestbook-replacement
Tests/agnhost guestbook replacement
2019-11-14 08:29:34 -08:00
Kubernetes Prow Robot
b2a2ade1a1
Merge pull request #82878 from adelina-t/fix_82876
Check for terminated reason appropriate for containerD and dockershim
2019-11-13 21:45:49 -08:00
danielqsj
920dbddb46 refactor apparmor utils in e2e 2019-11-14 12:32:31 +08:00
Kubernetes Prow Robot
c98d9b6fab
Merge pull request #85149 from oomichi/move-util-4
Move functions from e2e/framework/util.go Part-4
2019-11-13 20:01:58 -08:00
RainbowMango
5e0695e339 Hide apiserver metrics that have been deprecated in 1.14
Update E2E test accordingly.
2019-11-14 09:56:48 +08:00
Kubernetes Prow Robot
fa1ca34550
Merge pull request #85236 from liu-cong/metrics-bucket
Update bucket for scheduler framework latency histograms.
2019-11-13 17:29:17 -08:00
Kubernetes Prow Robot
f5f024452b
Merge pull request #85226 from alculquicondor/flake/stable_cluster
Wait for terminating pods to be deleted
2019-11-13 17:28:49 -08:00
Kubernetes Prow Robot
64f4be5b32
Merge pull request #84390 from robscott/endpointslice-beta
Promoting EndpointSlices to beta
2019-11-13 17:27:50 -08:00
Claudiu Belu
56fe87d349 tests: Adds large requests tests
Ensures that requests that require large packets work properly, and that
they are not dropped.

Adds AgnhostPrivate to test/utils/image/manifest. Some tests are trying to pull
the agnhost image from the private registry, meaning that we would need to
always build and push the agnhost image to both e2e and private registry
whenever we bump its version. Decoupling them would mean that we only need
to push the image to the e2e registry.
2019-11-13 16:15:27 -08:00
Kubernetes Prow Robot
02af1dd62c
Merge pull request #85004 from deads2k/dynamic-agg-cert
dynamic reload cluster authentication info for aggregated API servers
2019-11-13 14:50:54 -08:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta 2019-11-13 14:20:19 -08:00
Cong Liu
8995c1e030 Update bucket for scheduler framework latency histograms. 2019-11-13 16:35:59 -05:00
Kubernetes Prow Robot
c466fd9eaf
Merge pull request #85180 from k-toyoda-pi/use_log_e2e_storage_utils
Use log functions of core framework on e2e/storage/utils
2019-11-13 13:05:30 -08:00
Kubernetes Prow Robot
7d1580270a
Merge pull request #85151 from hypnoglow/scheduler-default-algo-source
scheduler: make algorithm source an option
2019-11-13 13:04:09 -08:00
Kubernetes Prow Robot
9719ffe4ae
Merge pull request #84892 from YuikoTakada/local-metrics-pod
Remove unused func and struct from pod.go
2019-11-13 13:02:28 -08:00
Kubernetes Prow Robot
8eab6aad36
Merge pull request #84208 from robscott/endpointslice-e2e
Adding e2e tests covering EndpointSlice and Endpoints Controllers
2019-11-13 13:01:39 -08:00
Aldo Culquicondor
f6b460c991 Wait for terminating pods to be deleted
To reduce flakiness of Scheduler Predicates E2E tests

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-13 14:39:01 -05:00
Kenichi Omichi
8f32ee183f Add TODOs for removing invalid e2e dependencies
The e2e core framework and subpackages of e2e framework are defined.
The subpackages can import the core framework, but the core framework
should not import the subpackages. We've defined this dependency rule
after circular depencency issue happened.
This adds TODOs to understand what we should in this rule.
2019-11-13 19:34:08 +00:00
Antoine Pelisse
5038f80b45 Strip nullable for Server-side apply 2019-11-13 10:43:51 -08:00
Kubernetes Prow Robot
53397035a7
Merge pull request #85119 from YuikoTakada/remove-unused-CheckNewRSAnnotations
Remove unused function from e2e framework rest.go
2019-11-13 09:27:58 -08:00
Kubernetes Prow Robot
43ccfced1d
Merge pull request #84998 from wojtek-t/fix_owner_refs
Ensure that Node lease has OwnerReference set
2019-11-13 09:26:59 -08:00
Kubernetes Prow Robot
c85bde10c7
Merge pull request #84975 from mkumatag/fix-initcontainers
Remove resource constraints
2019-11-13 09:26:47 -08:00
Kubernetes Prow Robot
c5609071d8
Merge pull request #84971 from robscott/endpointslice-iptypes
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-13 09:26:36 -08:00
Kubernetes Prow Robot
c10d29ba88
Merge pull request #84356 from verb/pid-ga
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
David Eads
3fbfe60ed2 make client authentication optional for test kube-apiserver 2019-11-13 10:25:28 -05:00
David Eads
3aede35b3b dynamic reload cluster authentication info for aggregated API servers 2019-11-13 07:54:27 -05:00
Kubernetes Prow Robot
0b01915c03
Merge pull request #84291 from matthyx/startup_probe_test
Clarify startupProbe e2e tests
2019-11-13 02:47:11 -08:00
danielqsj
b1ced1a05e remove unused func 2019-11-13 16:09:41 +08:00
danielqsj
ce34d0a49d refactor events utils in e2e 2019-11-13 16:03:17 +08:00
Manjunath A Kumatagi
de483097cb Remove memory resource constraint 2019-11-13 13:22:44 +05:30
Igor Zibarev
6350095d3c scheduler: make algorithm source an option
Changes scheduler.New so that algorithm source is moved from the
parameter to an option. The default algorithm source is source with the
DefaultProvider.
2019-11-13 10:22:29 +03:00
toyoda
5683fe7f51 Use log functions of core framework on e2e/storage/utils 2019-11-13 16:17:11 +09:00
Kubernetes Prow Robot
6ff3b68d72
Merge pull request #84042 from okartau/avoid-local-kubectl
test/e2e: Reduce need to use local kubectl
2019-11-12 21:10:11 -08:00
YuikoTakada
2eac9a0f17 Remove unused func and struct from pod.go 2019-11-13 04:17:24 +00:00
YuikoTakada
e837a8b07e Remove unused function from e2e framework rest.go 2019-11-13 01:44:31 +00:00
John Belamaric
3d745c4ad4 Add johnbelamaric as conformance code reviewer/approver 2019-11-12 13:51:16 -08:00
Kubernetes Prow Robot
20e256b806
Merge pull request #85100 from alejandrox1/cleanup-e2epod
Removed unused method from e2e test framework
2019-11-12 11:51:38 -08:00
Kubernetes Prow Robot
ea2750eaa6
Merge pull request #84718 from yastij/remove-validators
remove system validators package from kubeadm and use k8s.io/system-validators
2019-11-12 11:50:53 -08:00
Kubernetes Prow Robot
fccf64baec
Merge pull request #84179 from odinuge/startup-probe-test
Fix startup probe test by checking updated values
2019-11-12 11:50:37 -08:00
Kubernetes Prow Robot
c580a12c8e
Merge pull request #83568 from bertinatto/volume_limits_ga
Promote volume limits to GA
2019-11-12 11:50:22 -08:00
Kenichi Omichi
74f68dfbce Move functions from e2e/framework/util.go Part-4
This is the last PR which moves functions from e2e/framework/util.go

- WaitForServiceWithSelector: Moved to e2e/cloud/gcp
- WaitForStatefulSetReplicasReady: Moved to e2e/storage
- WaitForRCToStabilize: Moved to e2e/kubectl
- CheckInvariants: Moved to e2e/common
- ContainerInitInvariant: Moved to e2e/common
- DumpEventsInNamespace: Renamed to local function
- WaitForDaemonSets: Moved to e2e/e2e.go
2019-11-12 19:25:23 +00:00
Kubernetes Prow Robot
6b642dae87
Merge pull request #84837 from justinsb/fix_get_kubelet_pods
e2e: Fix error where pods not logged
2019-11-12 10:23:28 -08:00
Rob Scott
6d2fc09ee8
Adding e2e tests covering EndpointSlice and Endpoints Controllers
Since EndpointSlices and Endpoints are expected to be enabled by default
for some time, it's important to have tests covering the functionality
of both controllers. With some consumers relying on Endpoints and others
relying on EndpointSlices, it's important to ensure both resources are
generated in a timely manner with consistent attributes.
2019-11-12 10:21:15 -08:00
David Eads
e44352f31a create utilities inspecting server TLS certs 2019-11-12 12:34:19 -05:00
Rob Scott
0fa9981e01
Splitting IP address type into IPv4 and IPv6 for EndpointSlices 2019-11-12 09:03:53 -08:00
Claudiu Belu
e8d062bd4a tests: Replaces guestbook with agnhost equivalent
The redis version has been bumped to version 5.0.5, but the maximum version supported on
Windows is 3.2. This can lead to failing tests, the output and behaviour can be different
(see #80516). In order to prevent such failures, the amount of times the Redis image is
used can be reduced.

This commit uses the previously added agnhost guestbook subcommand as a replacement for the
Guestbook application created by the test "should create and stop a working application".

Adds AgnhostPrivate to test/utils/image/manifest. Some tests are trying to pull
the agnhost image from the private registry, meaning that we would need to
always build and push the agnhost image to both e2e and private registry
whenever we bump its version. Decoupling them would mean that we only need
to push the image to the e2e registry.
2019-11-12 07:23:04 -08:00
Olev Kartau
b8c4b80e8d Removed clientset param from InjectContent
As one of previous changes added framework param to
InjectContent, it does not need separate param for clientset any more.
2019-11-12 14:50:37 +02:00
Kubernetes Prow Robot
681d22428b
Merge pull request #84768 from liggitt/delegated-authnz-v1
switch delegated authnz to v1 APIs
2019-11-12 04:48:35 -08:00
Kubernetes Prow Robot
897ce3073c
Merge pull request #84533 from davidz627/fix/deprecatedPath
Remove plugin watching of deprecated directory and CSI v0 support in accordance with deprecation policy
2019-11-12 04:48:20 -08:00
Olev Kartau
ab8444d8d7 Remove argument "cs clientset.Interface" from testFlexVolume
cs is not used any more after previous change removed cs arg
from TectVolumeClient. Functions down the call path
get cs value from framework parameter.
2019-11-12 14:42:24 +02:00
Olev Kartau
4f75ed2a94 Removed 2nd arg "cs" from TestVolumeClient
as we assume it is always set to f.ClientSet and we can
use its value from passed framework argument.
2019-11-12 14:42:24 +02:00
Olev Kartau
0064349ec5 fixtures.go: Removed unused parameter "client" in testVolumeContent() 2019-11-12 14:42:24 +02:00
Olev Kartau
373909946e utils.go: Changed bashExec to shExec, bash not guaranteed. 2019-11-12 14:42:24 +02:00
Olev Kartau
2fac3f2c20 test/e2e: Reduce need to use local kubectl
Use POST method instead of running local kubectl.
Use ExecCommandInContainerWithFullOutput() instead of RunKubectl().
PodExec() takes additional framework arg, passed down in call chain.
VerifyExecInPodFail uses different error code cast as original
one causes test code Panic if used with new call method.
2019-11-12 14:42:24 +02:00
Fabio Bertinatto
bf0182b9d3 Update hostpath CSI driver manifest
This is required for promoting volume limits to GA. The new version of
the driver reports the max number of volumes it supports. Such number
should be specified as a CLI argument when starting the driver.
2019-11-12 09:43:54 +01:00
Fabio Bertinatto
f6de8ab727 Enable volume limits e2e tests for CSI hostpath driver 2019-11-12 09:43:54 +01:00
wojtekt
07200a0764 Ensure that Node lease has OwnerReference set 2019-11-12 09:11:59 +01:00
Kubernetes Prow Robot
59e7570c38
Merge pull request #83653 from cwdsuzhou/Octo/e2efix
Fix storage e2e clean up
2019-11-11 21:54:06 -08:00
Kubernetes Prow Robot
805eecf692
Merge pull request #80058 from xing-yang/snapshot_beta
Enable VolumeSnapshotDataSource Feature Gate and update e2e tests for VolumeSnapshot CRD v1beta1
2019-11-11 20:06:07 -08:00
Yassine TIJANI
b9fe59c93e remove system validators package from kubeadm and use k8s.io/system-validators instead
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-11-12 01:09:56 +01:00
Kubernetes Prow Robot
01e014c7d6
Merge pull request #85012 from alculquicondor/feat/predicate_factory
Add MetadataProducerFactory for predicates
2019-11-11 14:46:36 -08:00
Kubernetes Prow Robot
1ab6360997
Merge pull request #84524 from johnSchnake/customReporter
Print progress updates to stdout and publish to URL
2019-11-11 14:46:07 -08:00
Jordan Liggitt
5ef4fe959a Switch kubelet/aggregated API servers to use v1 tokenreviews 2019-11-11 17:19:10 -05:00
David Zhu
802fe12803 Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/ 2019-11-11 11:42:58 -08:00
alejandrox1
cb25ac6c58 Removed unused method from e2e test framework
This PR is in preparation to start cleaning up test/e2e/framework/pods.go.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-11-11 13:13:15 -05:00
Aldo Culquicondor
6a98c93f3c Add MetadataProducerFactory for predicates
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-11 11:27:44 -05:00
David Eads
2d4fa51a6d close scheduler kube-apiserver 2019-11-11 08:04:22 -05:00
Kubernetes Prow Robot
6d0994fa66
Merge pull request #84796 from damemi/fix-graceful-shutdown
Fixed error check in graceful shutdown test
2019-11-11 00:05:40 -08:00
Xing Yang
3324722e07 VolumeSnapshot CRD v1beta1: Enable VolumeSnapshotDataSource feature gate and update e2e tests 2019-11-11 02:34:24 +00:00
Clayton Coleman
0ba0ef057a
test: Set RateLimiter via client config vs direct casting
This test has no need to perform a dereference to an implementation,
it can instead set the rate limited during initialization.
2019-11-10 21:30:36 -05:00
Clayton Coleman
93868cb413
Create a shim for Codecs that handles client duties
Clients have to renegotiate frequently, and the shape of the interface
that a client wants is slightly different than the interface on the
server. Create a new ClientNegotiator interface that represents what
the client->server code would want to use (mostly, still evolving
Encoder) and move versioning details out of RESTClient.

In the long run, we want to remove internal clients and conversions
from clients. This takes a step in that direction and also makes sure
watch negotiation is consistent with the server.
2019-11-10 21:30:35 -05:00
Clayton Coleman
15f5e64404
Detect watch protocol errors via an e2e test for apimachinery
This e2e test reproduces #62175 and will be expanded to check for other
negotiation related errors against real servers.
2019-11-10 21:30:34 -05:00
Kubernetes Prow Robot
0155d18fbc
Merge pull request #84485 from tallclair/mirror-owner
Mirror owner
2019-11-09 20:19:39 -08:00
Kubernetes Prow Robot
afac2ca6a5
Merge pull request #85008 from oomichi/move-utils-3
Move functions from e2e/framework/util.go Part-3
2019-11-09 15:29:39 -08:00
John Schnake
ed1d5270b3 Print progress updates to stdout and publish to URL
One common frustration of end users running the e2e suite is that
they take a significant amount of time and it is difficult to
gauge progress.

Even if tailing the logs it can be difficult to see where one
test starts and another ends or understand the if there have been
failures in the past 1h of logs.

This change adds a new custom reporter which prints summary information
as tests complete. This includes the number of tests to run and how
many have been passed/failed/skipped along with which tests have failed.

A new flag can be set which pushes these values to an endpoint. This is
intended for integration with Sonobuoy but any endpoint could consume and
surface this data to the user so they can better understand the state
of the current test run.
2019-11-09 15:35:08 -06:00
Kubernetes Prow Robot
36acfecd4b
Merge pull request #84973 from draveness/feature/inter-pod-affinity-score
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-09 02:43:40 -08:00
Kubernetes Prow Robot
9488fbef64
Merge pull request #84883 from Huang-Wei/tbe-flake-followup
Update test logic to simulate NodeReady/False and NodeReady/Unknown events correctly
2019-11-08 18:44:34 -08:00
Jefftree
fd7eaffd99 kubetestgen implementation 2019-11-08 15:40:22 -08:00
Kubernetes Prow Robot
6569bc736f
Merge pull request #85002 from oomichi/cleanup-util
Remove unused function from e2e framework util.go
2019-11-08 13:49:12 -08:00
Wei Huang
b6b92b6075
Update test logic to simulate NodeReady/False and NodeReady/Unknown events correctly
- optimize code to use one loop to spin up goroutines
- add `defer cleanupTest()` to avoid goroutine leaks
- use only one heartbeat channel
2019-11-08 12:41:47 -08:00
Kenichi Omichi
94211f1839 Move functions from e2e framework util.go
The following functions are called at some specific places only,
so this moves these functions to the places and makes them local.

- WaitForPersistentVolumeClaimDeleted: Moved to e2e storage
- PrintSummaries: Moved to e2e framework.go
- GetHostExternalAddress: Moved to e2e node
- WaitForMasters: Moved to e2e cloud gcp
- WaitForApiserverUp: Moved to e2e network
- WaitForKubeletUp: Moved to e2e storage vsphere
2019-11-08 19:25:16 +00:00
Kubernetes Prow Robot
15f586a6c1
Merge pull request #84963 from liggitt/feature-json-codes
Fix json patch limit check
2019-11-08 10:12:51 -08:00
Kenichi Omichi
5381f74641 Remove unused function from e2e framework util.go
The util.go file is so huge, it is better to make it small and simple
as possible for the maintenance.
This removes the following unused function:

- WaitForNodeHasTaintOrNot: Unused since 7e1794dcb1
2019-11-08 17:47:28 +00:00
Kubernetes Prow Robot
ed3cc6afea
Merge pull request #84988 from ahg-g/ahg-stablecluster
Revert changes to WaitForStableCluster in scheduler e2e test
2019-11-08 09:01:07 -08:00
Kubernetes Prow Robot
ae15368355
Merge pull request #84351 from wojtek-t/promote_node_lease_to_GA
Promote node lease to GA
2019-11-08 09:00:15 -08:00
Abdullah Gharaibeh
f4e4fb1fc8 Revert changes to WaitForStableCluster in scheduler e2e test 2019-11-08 07:56:10 -05:00
Matt Matejczyk
97e5dd489a Add envs for configuring hollow-node resource usage.
In addition clean up template variables to always use lower case in
hollow-node_template.yaml.
2019-11-08 12:50:40 +01:00
Marek Siarkowicz
4dd546cf2c Allow usage of consts and variables for stable metrics in static analysis 2019-11-08 09:41:59 +01:00
Kubernetes Prow Robot
55962eaaaa
Merge pull request #84942 from oomichi/fix-nodev1beta1
Fix the import aliase nodev1beta1
2019-11-07 23:52:58 -08:00
draveness
715068312a feat(scheduler): convert InterPodAffinity to score plugin 2019-11-08 15:37:33 +08:00
Kubernetes Prow Robot
468a0233ad
Merge pull request #84897 from YuikoTakada/delete-func-latencies
delete unused func in latencies.go
2019-11-07 22:00:35 -08:00
Kubernetes Prow Robot
3ee195f0e9
Merge pull request #81431 from andrewsykim/ga-node-topology
Promote Node Zone/Region Topology Labels to GA
2019-11-07 22:00:20 -08:00
Jordan Liggitt
3d5f11bda3 Add testcases covering large valid patches 2019-11-07 22:58:46 -05:00
Kubernetes Prow Robot
496d69ee16
Merge pull request #84868 from oomichi/move-e2e-util-2
Move functions from e2e/framework/util.go Part-2
2019-11-07 19:20:19 -08:00
Andrew Sy Kim
349749644f test/e2e: check both beta and zone label for getting cluster zone
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-07 21:22:05 -05:00
Andrew Sy Kim
4c194d52da kubelet: set both deprecated Beta and GA labels for zone/region topology from the cloud provider
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-07 21:22:04 -05:00
Kubernetes Prow Robot
9dfcc369b4
Merge pull request #84864 from deads2k/optional-verify-opts
allow a verifyoptionsfunc to indicate that no certpool is available
2019-11-07 17:39:14 -08:00
Kubernetes Prow Robot
3510ae5233
Merge pull request #84843 from clarklee92/UseFrameworkExpectIn-e2e
Use framework.ExpectEqual() in unit test
2019-11-07 17:39:02 -08:00
Kubernetes Prow Robot
1016b8b58a
Merge pull request #84941 from robscott/kubectl-get-e2e-fix
Limiting the scope of new kubectl get e2e tests to decrease flakiness
2019-11-07 16:21:10 -08:00
Kubernetes Prow Robot
1772446c46
Merge pull request #84937 from neolit123/1.17-fix-kubeadm-test-suite-flags
e2e_kubeadm: fix missing suite --test* flags
2019-11-07 16:21:01 -08:00
Kubernetes Prow Robot
66219e1638
Merge pull request #84510 from danielqsj/f-autoscaling
refactor autoscaling utils in e2e
2019-11-07 16:20:19 -08:00
Kubernetes Prow Robot
62f66ea2f5
Merge pull request #84905 from draveness/feature/remove-deprecated-priority-register
feat(scheduler): remove deprecated pattern in scheduler priority
2019-11-07 13:28:34 -08:00
Kubernetes Prow Robot
e445d4d779
Merge pull request #84871 from liggitt/cmd-test
Make test-cmd effective again
2019-11-07 13:28:21 -08:00
Kubernetes Prow Robot
0bf790b99f
Merge pull request #84806 from damemi/waitforstablecluster
Update WaitForStableCluster to wait for only system pods to exist
2019-11-07 13:28:04 -08:00
Kubernetes Prow Robot
26dc18aa68
Merge pull request #84630 from SataQiu/clean-test-util-20191101
e2e: move KubectlVersion out of e2e test framework util.go
2019-11-07 13:27:56 -08:00
Rob Scott
1ae53a15e6
Limiting the scope of new kubectl get e2e tests to decrease flakiness
The `kubectl get output` e2e test I'd previously added ended up being
flaky in certain e2e test scenarios. It relies on getting a list of API
resources in the cluster and running `kubectl get` calls against them.
The problem ended up being that other e2e tests could create resources
that would cause this test to fail. This change limits the scope of the
tests to not cover CRDs. This should still allow the test to catch new
Kubernetes resources with improperly configured kubectl output while
limiting the flakiness of the test.
2019-11-07 11:58:30 -08:00
David Eads
cd675cca92 close the kube-apiserver for taint tests 2019-11-07 14:48:24 -05:00
Kenichi Omichi
173c92d8f0 Fix the import aliase nodev1beta1
When running ./hack/verify-import-aliases.sh locally, the following
error happened:

  $ ./hack/verify-import-aliases.sh
  checking-imports:
  ERROR wrong alias for import "k8s.io/api/node/v1beta1" should be
  nodev1beta1 in file test/e2e/node/runtimeclass.go
   test/e2e_node/system/specs
  exit status 1

This fixes it.
2019-11-07 19:36:52 +00:00
Lubomir I. Ivanov
0b326831e1 e2e_kubeadm: fix missing suite --test* flags
For more details see 00e1ffb4e0.
2019-11-07 20:49:28 +02:00
Kubernetes Prow Robot
fc8f5a6410
Merge pull request #84881 from oomichi/cleanup-skip.go
Remove unused skip functions
2019-11-07 10:23:42 -08:00
Kubernetes Prow Robot
f7c3fa8324
Merge pull request #84860 from wojtek-t/remove_conversion_funcs_4
Eliminate couple default conversions
2019-11-07 09:05:30 -08:00
Kubernetes Prow Robot
7a1eaa112e
Merge pull request #84696 from dims/BenTheElder-byebyehacke2e
Remove hack/e2e.go
2019-11-07 09:05:04 -08:00
Kubernetes Prow Robot
d22e04c181
Merge pull request #84337 from hex108/cancel_context
Cancel context when RunPermitPlugins finishes
2019-11-07 09:04:10 -08:00
Kubernetes Prow Robot
a5fe905be4
Merge pull request #82705 from deads2k/agg-authn-publish
use controller to publish cluster authentication info
2019-11-07 09:03:10 -08:00
Mike Dame
a19d83494f Update e2e framework WaitForStableCluster function
Move WaitForStable cluster to test/e2e/scheduling and update it to wait for only system pods to be ready in a stable cluster.
2019-11-07 11:32:46 -05:00
draveness
3bb88356f4 feat(scheduler): remove deprecated pattern in scheduler priority 2019-11-07 22:43:07 +08:00
Kubernetes Prow Robot
41a70bcc0a
Merge pull request #84750 from hvaara/fix-golint-test-e2e_kubeadm
Fix golint issues in test/e2e_kubeadm
2019-11-07 04:36:07 -08:00
Kubernetes Prow Robot
1b4155804c
Merge pull request #84378 from serathius/static-analysis-bazel-25
Handle bazel >= 0.25 in stable metric static analysis
2019-11-07 04:34:56 -08:00
Kubernetes Prow Robot
c97d90546a
Merge pull request #84370 from AnitaNayak/anitanayak
Building peer-finder Image on s390x
2019-11-07 04:34:43 -08:00
Adelina Tuvenie
3ba4c686a4 Check for terminated reason appropriate for containerD and dockershim
Dockershim and containerD return different reasons for container not
starting. This test should check for both in order to pass on both
runtimes.
2019-11-07 13:34:27 +02:00
Kubernetes Prow Robot
eb42df3e9c
Merge pull request #81670 from liggitt/wardle-example
Change wardle.k8s.io to wardle.example.com
2019-11-07 01:54:42 -08:00
YuikoTakada
3ebe59c8df delete unused func in latencies.go 2019-11-07 08:21:00 +00:00
Jordan Liggitt
4c3bf1a660 Fix record_command suppression of test errors 2019-11-07 02:26:45 -05:00
Jordan Liggitt
cb17a2b6a6 Fix run_pod_tests 2019-11-07 02:26:45 -05:00
Jordan Liggitt
59dfac587f Fix assert methods 2019-11-07 02:26:45 -05:00
Justin SB
5031a2a049
e2e: Fix error where pods not logged
This was changed recently in #84640, but result must be pre-populated.

Example error:

`Nov  6 00:18:05.296: INFO: Unable to retrieve kubelet pods for node master-us-central1-c-t81q: expected pointer, but got nil`
2019-11-06 23:45:35 -05:00
SataQiu
f4ffca8e8b e2e: remove unused KubectlVersion function from framework/util 2019-11-07 11:18:58 +08:00
Claudiu Belu
f0e6d8ed09 tests: Fixes tests for Windows (containerd, RunAsUserName)
Since we've added support for RunAsUserName, we can now run some new
tests. However, the [LinuxOnly] tag will have to remain until the
WindowsRunAsUserName feature becomes enabled by default.

Additionally, Containerd supports file mounting on Windows, and some
tests will be able to pass on Windows with Containerd instead of Docker.
2019-11-06 19:14:21 -08:00
clarklee92
7ce12844d2 Use framework.ExpectEqual() in unit test
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-07 10:31:31 +08:00
Kubernetes Prow Robot
695c3061dd
Merge pull request #82809 from liggitt/go-1.13-no-modules
update to use go1.13.4
2019-11-06 17:02:43 -08:00
Kubernetes Prow Robot
e328029255
Merge pull request #84825 from bclau/tests/agnhost-fix-guestbook
tests: Fixes minor agnhost error
2019-11-06 15:34:31 -08:00
Kubernetes Prow Robot
7f441dc1c3
Merge pull request #84600 from jsafrane/e2e-log-initcontainers
Grab init containers logs in e2e tests
2019-11-06 15:34:03 -08:00
Jordan Liggitt
297570e06a hack/update-vendor.sh 2019-11-06 17:42:34 -05:00
Jordan Liggitt
e3ff39ffa0 Update build to go1.13.4 2019-11-06 17:39:05 -05:00
Jordan Liggitt
264c905a78 Fixup integration tests for TLS1.3 2019-11-06 17:39:05 -05:00
Jordan Liggitt
00e1ffb4e0 Move e2e_node flag copy into TestMain
As of go1.13, test flags like test.timeout are registered lazily.
This means they are not available in package init() methods:

> Testing flags are now registered in the new Init function,
> which is invoked by the generated main function for the test.
> As a result, testing flags are now only registered when running
> a test binary, and packages that call flag.Parse during package
> initialization may cause tests to fail.

This moves the copy of CLI flags into TestMain, just prior to parse.
2019-11-06 17:39:05 -05:00
Jordan Liggitt
8618c09369 opt out of module mode for builds 2019-11-06 17:39:05 -05:00
Kenichi Omichi
fb699b7315 Remove unused skip functions
This removes the following functions from e2e/framework/skip.go:

- SkipUnlessTaintBasedEvictionsEnabled: Unused since 7e1794dcb1
- SkipIfContainerRuntimeIs: Unused since 19a588eeda
2019-11-06 22:31:48 +00:00
Kubernetes Prow Robot
9d708b0203
Merge pull request #84858 from oxddr/revert-kubemark
Revert "enabling fluentd on kubemark"
2019-11-06 12:21:22 -08:00
Kubernetes Prow Robot
6ca4854ddf
Merge pull request #84774 from mm4tt/kubemark_owners
Add sig-scalability-approvers/reviewers as kubemark approvers/reviewers
2019-11-06 12:20:22 -08:00
Kubernetes Prow Robot
b09b962d96
Merge pull request #84746 from Huang-Wei/move-sched-constrants
Move out const strings in pkg/scheduler/api/well_known_labels.go
2019-11-06 12:20:06 -08:00
caiweidong
074aba8dce Fix storage e2e clean up 2019-11-06 23:42:20 +08:00
David Eads
7ab462b639 add close server missing from serviceaccount test 2019-11-06 10:17:19 -05:00
David Eads
7351c86860 publish cluster authentication trust via controller 2019-11-06 10:17:19 -05:00
danielqsj
32aaea1baf fix golint error 2019-11-06 22:58:55 +08:00
Dr. Stefan Schimanski
9f73c6ccf6 e2e: add defaulting test 2019-11-06 14:16:37 +01:00
wojtekt
ccded14941 Eliminate some default conversions 2019-11-06 14:08:15 +01:00
Kubernetes Prow Robot
a89265b441
Merge pull request #84845 from draveness/feature/selector-spread-as-score-plugin
feat: convert selector spread priority to score plugin
2019-11-06 05:02:00 -08:00
Kubernetes Prow Robot
0a66404d00
Merge pull request #84838 from justinsb/if_gomega_had_meant_us_to_understand_test_failures_it_would_have_given_pigs_wings
e2e: Provide more helpful error output for failing test
2019-11-06 05:01:51 -08:00
Janek Łukaszewicz
47c66f9f08 Revert "enabling fluentd on kubemark"
This reverts commit 92f56ab692.

This has broken kubemark test. Let's revert this change, debug offline and fix.
2019-11-06 11:59:41 +01:00
danielqsj
b7b1055bf4 refactor autoscaling utils in e2e 2019-11-06 17:02:42 +08:00
Matt Matejczyk
14e731924a Add sig-scalability-approvers/reviewers as kubemark approvers/reviewers 2019-11-06 08:51:49 +01:00
draveness
089e85e098 feat: convert selector spread priority to score plugin 2019-11-06 15:48:29 +08:00
Kubernetes Prow Robot
2aeacf025b
Merge pull request #84723 from hypnoglow/fix-golint-kubeapiserver
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:18:20 -08:00
Kubernetes Prow Robot
d5fbc1126b
Merge pull request #84471 from oomichi/move-e2e-util
Move functions from e2e/framework/util.go
2019-11-05 22:17:59 -08:00
Kubernetes Prow Robot
254f657df2
Merge pull request #83748 from robscott/kubectl-e2e
Adding e2e test to ensure kubectl get output is using custom columns when desired
2019-11-05 22:17:28 -08:00
Wei Huang
019d7497a5
bazel files 2019-11-05 20:57:21 -08:00
Wei Huang
dd74205bcf
Move out const strings in pkg/scheduler/api/well_known_labels.go 2019-11-05 20:56:21 -08:00
Justin SB
e3a9d6fd1a
e2e: Provide more helpful error output for failing test
Tests should provide more verbose output when their core functionality
fails; in this case we were only logging that the job count did not
match but this is not sufficient for understanding a failure.
2019-11-05 23:09:12 -05:00
Kenichi Omichi
eb9d1cb5cc Move functions from e2e/framework/util.go Part-2
This PR moves functions from test/e2e/framework.util.go for making e2e
core framework small and simple:

- RestartKubeProxy: Moved to e2e network package
- CheckConnectivityToHost: Moved to e2e network package
- RemoveAvoidPodsOffNode: Move to e2e scheduling package
- AddOrUpdateAvoidPodOnNode: Move to e2e scheduling package
- UpdateDaemonSetWithRetries: Move to e2e apps package
- CheckForControllerManagerHealthy: Moved to e2e storage package
- ParseKVLines: Removed because of e9345ae5f0
- AddOrUpdateLabelOnNodeAndReturnOldValue: Removed because of ff7b07c43c
2019-11-06 03:59:28 +00:00
Kubernetes Prow Robot
74cbf0dc33
Merge pull request #84745 from davidz627/revert-84656-fix/syncReal
Revert "Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes"
2019-11-05 15:31:41 -08:00
Kubernetes Prow Robot
0e53f3f455
Merge pull request #84499 from YuikoTakada/move-suites
Move funcs of suites.go to e2e.go
2019-11-05 15:31:03 -08:00
Kubernetes Prow Robot
336f0c6cd8
Merge pull request #84489 from zxl381/DL_audit
Fix a double lock in test/utils
2019-11-05 15:30:45 -08:00
Claudiu Belu
3247f0a814 tests: Fixes minor agnhost error 2019-11-05 15:21:58 -08:00
Kubernetes Prow Robot
75aca1fe03
Merge pull request #84795 from ahg-g/ahg-custom
Convert multiple node label predicates to be a single filter plugin
2019-11-05 11:45:11 -08:00
Kubernetes Prow Robot
e52df5bcc3
Merge pull request #84725 from liggitt/e2e-useragent
Set user agent for e2e consistently
2019-11-05 11:44:40 -08:00
Igor Zibarev
03dfa1a641 Fix golint issues in pkg/kubeapiserver 2019-11-05 22:25:32 +03:00
Kubernetes Prow Robot
b01ac96bd4
Merge pull request #84770 from mikedanese/uuid
remove github.com/pborman/uuid
2019-11-05 08:47:05 -08:00
Abdullah Gharaibeh
134baa50b9 Convert multiple node label predicates to be a single filter plugin. 2019-11-05 10:34:51 -05:00
Mike Dame
75f0712be2 Fix typo in error reporting in graceful shutdown test 2019-11-05 08:35:20 -05:00
Kubernetes Prow Robot
ee309ced7e
Merge pull request #84766 from Huang-Wei/tbe-flake
Fix a TaintBasedEviction integration test flake
2019-11-05 04:54:38 -08:00
Adelina Tuvenie
9a1f631c5c Replace nginx image with agnhost in sig-node pods tests 2019-11-05 13:18:15 +02:00
wojtekt
ffad401b4e Promote NodeLease feature to GA 2019-11-05 09:01:12 +01:00
YuikoTakada
da89d212dd Move funcs of suites.go to e2e.go 2019-11-05 07:21:38 +00:00
Kubernetes Prow Robot
efe5edfb3d
Merge pull request #84412 from jfbai/move-funcs-of-nodeutil-to-cloud-gcp
Move funcs of node_util to cloud/gcp.
2019-11-04 23:16:38 -08:00
Mike Danese
a4ca9e6c93 migrate callers to g/g/uuid 2019-11-04 23:15:29 -08:00
Wei Huang
8021fc5a37
Fix a TaintBasedEviction integration test flake 2019-11-04 19:46:50 -08:00
Kubernetes Prow Robot
1b0caa496e
Merge pull request #84640 from clarklee92/UseFrameworkLogIn-e2e/framework/kubelet
Use log functions of core framework on test/e2e/framework/kubelet
2019-11-04 19:40:38 -08:00
Kubernetes Prow Robot
8ff16f35f8
Merge pull request #84007 from wojtek-t/reduce_node_update_frequency
Reduce node update frequency
2019-11-04 15:28:43 -08:00
Kubernetes Prow Robot
1d1385af91
Merge pull request #83474 from msau42/topology-ga
CSI Topology ga
2019-11-04 15:28:27 -08:00
Kubernetes Prow Robot
2999b8bebb
Merge pull request #83055 from bclau/tests/agnhost-guestbook-app
tests: Adds guestbook app subcommand in agnhost
2019-11-04 15:28:10 -08:00
Roy Hvaara
a9ed936792
Fix golint issues in test/e2e_kubeadm 2019-11-04 23:20:24 +01:00
Kubernetes Prow Robot
46e286edcc
Merge pull request #83897 from krzysied/kubemark_enable_logging
Enabling fluentd on kubemark
2019-11-04 13:44:11 -08:00
David Zhu
c23c4296d1
Revert "Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes" 2019-11-04 11:26:34 -08:00
Jordan Liggitt
f0e33fee21 Change wardle API group to wardle.example.com 2019-11-04 12:57:16 -05:00
Kubernetes Prow Robot
7b6369c803
Merge pull request #84249 from odinuge/bump-shellcheck
Bump shellcheck to v0.7.0
2019-11-04 06:19:40 -08:00
Jordan Liggitt
300daa13a4 Set user agent for e2e consistently 2019-11-04 09:11:20 -05:00
Benjamin Elder
83c56a0373
remove hack/e2e.go 2019-11-03 19:36:59 -05:00
wojtekt
12c8b4a9df Bumpd NodeProblemDetector 2019-11-03 08:50:22 +01:00
Jianfei Bai
e9345ae5f0 Move funcs of nodeutil to cloud/nodes.go. 2019-11-03 11:45:36 +08:00
clarklee92
dfa069a4bd Use log functions of core framework on test/e2e/framework/kubelet
1. move GetOneTimeResourceUsageOnNode() from test/e2e/framework/kubelet/stats.go to getOneTimeResourceUsageOnNode() in test/e2e/framework/resource_usage_gatherer.go
2. copy GetKubeletPods() from test/e2e/framework/kubelet/kubelet_pods.go to getKubeletPods() in test/e2e/framework/util.go
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-03 00:41:22 +08:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Kubernetes Prow Robot
567c1bb4ec
Merge pull request #84513 from ingvagabund/retryAddOrUpdateAvoidPodOnNode
test/e2e: AddOrUpdateAvoidPodOnNode/RemoveAvoidPodsOffNode: retry when conflict hit during annotation update
2019-11-01 19:59:52 -07:00
Kubernetes Prow Robot
2da4678a80
Merge pull request #83578 from Huang-Wei/sched-policy-api-refactor
Scheduler Policy API Refactoring
2019-11-01 19:59:39 -07:00
Kubernetes Prow Robot
61200c9338
Merge pull request #84656 from davidz627/fix/syncReal
Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes
2019-11-01 18:08:45 -07:00
Kubernetes Prow Robot
9820925e07
Merge pull request #84463 from clarklee92/move-funcs-of-create
Move funcs of create.go to e2e/storage
2019-11-01 18:08:26 -07:00
Wei Huang
703a669db3
autogen files
- make generated_files
- update-bazel.sh & update-vendor.sh)
2019-11-01 14:38:09 -07:00
Wei Huang
c649666b4a
manual API changes and code refactoring
- add Policy API to pkg/scheduler/apis/config and staging/src/k8s.io/kube-scheduler/config/v1
- dual-register Policy as apiGroup "v1" and "kubescheduler.config.k8s.io
- move/merge pkg/scheduler/api to pkg/scheduler/apis/config/...
- alias schedulerapi to pkg/scheduler/apis/config
- alias legacyapi to pkg/scheduler/api
- eliminate latest.Codec; use scheme.Codecs instead
- unit tests to verify Policy YAML with version "v1" or "kubescheduler.config.k8s.io/v1" can be loaded properly
- update api/api-rules/violation_exceptions.list
2019-11-01 14:24:36 -07:00
Rob Scott
8ae5632859
Adding e2e test to ensure kubectl get output is using custom columns when desired.
This uses etcd test data to load resources and then ensures that
kubectl get output contains a different set of columns than default.
This assumes that all future API resources will either have appropriate
kubectl get output or add an exception here.

Co-authored-by: Luis Sanchez <sanchezl@redhat.com>
2019-11-01 14:08:08 -07:00
David Zhu
1f1859f937 Make writing file via container in tests sync for real this time 2019-11-01 11:35:22 -07:00
Kenichi Omichi
ca4c349096 Move functions from e2e/framework/util.go
- SimpleGET: Moved to ingress sub package of e2e framework
- PollURL: Moved to ingress sub package of e2e framework
- ProxyMode: Moved to service e2e test package
- ListNamespaceEvents: Moved to e2e_node test package
- NewE2ETestNodePreparer: Removed since 59533f0cd1
2019-11-01 17:39:29 +00:00
Kubernetes Prow Robot
4b95ea0cdd
Merge pull request #84500 from RainbowMango/pr_remove_prom_from_metrics_validation
Remove prom from metrics validation
2019-11-01 07:21:25 -07:00
Kubernetes Prow Robot
c89bc5cec7
Merge pull request #84384 from alejandrox1/framework-move-skips
Cleaned up and reorder skip functions from e2e framework
2019-11-01 02:11:24 -07:00
clarklee92
78d3d52ac2 Move funcs of create.go to e2e/storage
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-01 13:52:24 +08:00
Kubernetes Prow Robot
ed5b038313
Merge pull request #84218 from cofyc/fix74552
Support local filesystem volume with block source reconstruction and add related e2e tests
2019-10-31 21:53:36 -07:00
Kubernetes Prow Robot
9d6edae63a
Merge pull request #84509 from clarklee92/move-psp-under-e2e/framework
Use log functions of core framework on test/e2e/freamwork/psp.go
2019-10-31 12:34:51 -07:00
Lee Verberne
cbbe7d1bb9 Remove checks for PodShareProcessNamespace feature gate 2019-10-31 17:15:23 +00:00
alejandrox1
3da66c44e8 Cleaned up skip functions from e2e framework
This patch moves skip-related functions from framework/util.go to
another file.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-31 11:25:07 -04:00
Jan Safranek
17307c055c Grab init containers logs in e2e tests
Storage tests use initContainers + framework.TestContainerOutput and they
will benefit from logging their output in failed tests.
2019-10-31 14:58:51 +01:00
Jan Chaloupka
821220ecac test/e2e: AddOrUpdateAvoidPodOnNode/RemoveAvoidPodsOffNode: retry when conflict hit during annotation update
In case node object update fails due to revision conflict, it does not make sense to return success.
It needs to be retried so the v1.PreferAvoidPodsAnnotationKey annotation can be properly set in the next round.
2019-10-31 12:48:58 +01:00
Kubernetes Prow Robot
dda78d59be
Merge pull request #84379 from oomichi/e2e-network
Separate e2enetwork from e2e core framework
2019-10-31 02:55:37 -07:00
clarklee92
358dec9f3d Use log functions of core framework on test/e2e/freamwork/psp.go
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-10-31 17:43:09 +08:00
Kubernetes Prow Robot
c7bb076ade
Merge pull request #84303 from jackkleeman/dynamic-sni-cert
Dynamic SNI certificates
2019-10-31 01:25:51 -07:00
Kubernetes Prow Robot
10ded881fc
Merge pull request #83727 from bertinatto/e2e_hostpath_selinux
Optionally run e2e pod as privileged for SELinux
2019-10-31 01:25:37 -07:00
Kubernetes Prow Robot
ee4e1465ea
Merge pull request #84427 from YuikoTakada/local-DescribeItem
Change DescribeItem() to local func
2019-10-30 23:33:49 -07:00
Kubernetes Prow Robot
58b9232a9e
Merge pull request #84531 from johnbelamaric/conformance-behavior-kep-owners
Add conformance-behavior-approvers to OWNERS_ALIASES
2019-10-30 21:56:16 -07:00
Kubernetes Prow Robot
6196a5c7d1
Merge pull request #84495 from SataQiu/test-refactor-rcutil
test refactor: move test specific functions from rc_util.go
2019-10-30 21:56:03 -07:00
Kubernetes Prow Robot
c06f552e49
Merge pull request #84491 from davidz627/fix/verifyLoop
Force file sync after writing file via container in test
2019-10-30 21:55:50 -07:00
Kubernetes Prow Robot
da5b90a8c3
Merge pull request #84045 from bclau/tests/agnhost-netexec-changes
tests: Extends agnhost netexec udp buffers
2019-10-30 18:23:36 -07:00
David Zhu
e3d2432e01 Force file sync after writing file via container and wait for pod to
disappear after removal in test
2019-10-30 15:40:53 -07:00
Kubernetes Prow Robot
966cfde450
Merge pull request #84362 from johnSchnake/addSomeImageREADMEs
Adds some basic READMEs to some of the test images
2019-10-30 12:01:04 -07:00
Kubernetes Prow Robot
e1d3cc74e5
Merge pull request #84329 from jingyih/update_etcd_server_to_3.4
Update default etcd server to 3.4.3
2019-10-30 02:30:52 -07:00
Kubernetes Prow Robot
d0d4572c82
Merge pull request #84411 from jfbai/move-funcs-of-framework-to-common
Move funcs of framework to common runtimeclass.
2019-10-29 21:18:52 -07:00
Kubernetes Prow Robot
e86878436f
Merge pull request #84410 from jfbai/move-funcs-of-expect-to-common
move funcs of expect.go to e2e/common
2019-10-29 19:54:52 -07:00
Kubernetes Prow Robot
a8727f0f04
Merge pull request #84449 from ahg-g/ahg-prioritymeta
Priorities use SharedLister interface instead of NodeInfo Map
2019-10-29 17:21:03 -07:00
Kubernetes Prow Robot
345bea9a6f
Merge pull request #84444 from cofyc/fix84233
Improve e2e HostExec utility
2019-10-29 17:20:52 -07:00
Tim Allclair
9f7394ac63 Update generated files 2019-10-29 16:14:34 -07:00
Tim Allclair
62e7d197e3 Add mirror pod e2e test 2019-10-29 16:14:06 -07:00
Abdullah Gharaibeh
c6baa263a3 Update priorities to use SharedLister instead of using the snapshot directly 2019-10-29 16:22:00 -04:00
John Belamaric
c0e6a8704c Add conformance-behavior-approvers to OWNERS_ALIASES 2019-10-29 11:24:06 -07:00
Kubernetes Prow Robot
9731b51d23
Merge pull request #84501 from pohly/hostpath-dev-raw-block
e2e: share /dev with host in hostpath driver deployment
2019-10-29 08:22:43 -07:00
Jun Gong
81b705960f Cancel context to make sure all plugins are cancelled when each schedule finishes 2019-10-29 22:37:59 +08:00
Kubernetes Prow Robot
3f8b0a30ad
Merge pull request #84484 from zxl381/GL_framework
Prevent 2 goroutines in test from being leaked if proxy hangs
2019-10-29 05:52:56 -07:00
Kubernetes Prow Robot
a2eb319b31
Merge pull request #84450 from gongguan/fix_scheduler_predicate_test
Uncomment interpod affinity integration tests
2019-10-29 01:34:58 -07:00
Kubernetes Prow Robot
a8e819746d
Merge pull request #83442 from serathius/remove-prometheus-addon
Remove prometheus addon
2019-10-29 01:34:43 -07:00
Patrick Ohly
327a12cd08 e2e: share /dev with host in hostpath driver deployment
This is needed for raw block volumes. It mirrors a change made in the upstream
deployment in https://github.com/kubernetes-csi/csi-driver-host-path/pull/109

Raw block volumes use loop devices under the hood. "losetup --find
--show" uses LOOP_CTL_GET_FREE to get a free loop device. It then
expects to have the corresponding /dev/loopX already available. When
/dev inside the container is a static tmpfs which doesn't already have
those /dev/loop* devices (*) the new device fails to show up,
resulting in:

I1028 13:25:19.937846       1 server.go:117] GRPC call: /csi.v1.Controller/CreateVolume
I1028 13:25:19.938083       1 server.go:118] GRPC request: {"accessibility_requirements":{"preferred":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}],"requisite":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}]},"capacity_range":{"required_bytes":5368709120},"name":"pvc-24985a49-5638-4bf6-b789-bb99a28d1073","volume_capabilities":[{"AccessType":{"Block":{}},"access_mode":{"mode":1}}]}
I1028 13:25:19.961124       1 volume_path_handler_linux.go:41] Creating device for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004
I1028 13:25:20.391472       1 volume_path_handler_linux.go:75] Failed device create command for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004 exit status 1 losetup: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: failed to set up loop device: No such file or directory
E1028 13:25:20.392916       1 server.go:121] GRPC error: rpc error: code = Internal desc = failed to create volume 635c6569-f986-11e9-baa6-0242ac110004: failed to attach device /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: exit status 1

(*) It seems that the static tmpfs gets populated by Docker based on
what's currently on the host when the container starts. That would
explain why it worked in the Kubernetes Prow testing - the host must
have had enough loop devices already defined.
2019-10-29 08:52:12 +01:00
RainbowMango
db9ab74a7e Deal with auto-generated files.
- Update bazel by hack/update-bazel.sh
2019-10-29 15:32:09 +08:00
RainbowMango
4355772bb6 Remove directly reference to Prometheus 2019-10-29 15:08:16 +08:00
Kubernetes Prow Robot
6b1efb266d
Merge pull request #83957 from pohly/csi-sidecars-2.x
e2e storage: bump revision of sidecars and driver
2019-10-28 23:40:56 -07:00
SataQiu
24f374a395 move test specific functions from rc_util.go 2019-10-29 13:04:59 +08:00
yue9944882
6db3edff10 [generated] ./hack/update-all.sh
generated

generated

generated

rule

generated

generated
2019-10-29 12:59:17 +08:00
yue9944882
7c28a4b70e non-generated api models misc
rule list

rule

rule 2
2019-10-29 12:26:12 +08:00
Jianfei Bai
586261291f Remove unused functions in framework.go 2019-10-29 11:44:27 +08:00
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07:00
Ziheng Liu
a17925425f Fix a double lock in test/utils
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-28 20:18:19 -04:00
Ziheng Liu
2ca513a15d Prevent 2 goroutines from being leaked if proxy hangs
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-28 19:06:43 -04:00
Brendan Chang
fef67e4dab Fix validation for metav1 fuzz targets. 2019-10-28 17:50:29 -04:00
Kubernetes Prow Robot
ad47fe3962
Merge pull request #83925 from BurtonQin/framework_leak
framework: Fix a goroutine leak bug in resource_usage_gatherer.go
2019-10-28 14:08:58 -07:00
Michelle Au
fb6dfeb718 Convert attach-detach controller to use v1.CSINode 2019-10-28 13:41:13 -07:00
Michelle Au
2d467ed9d8 Update tests to use v1.CSINode 2019-10-28 13:41:13 -07:00
Michelle Au
603a2aa8a9 Add CSINode to storage/v1 2019-10-28 13:41:13 -07:00
Patrick Ohly
aacac747a0 e2e storage: bump revision of sidecars and driver
This updates to the releases meant to be used with Kubernetes 1.16
except for external-snapshotter, which is kept at the more recent
2.0.0-rc1 which targets 1.17.

The new external-attacher v2.0.0 needs updated RBAC rules, copied
verbatim from the v2.0.0 release.
2019-10-28 20:21:55 +01:00
Kubernetes Prow Robot
aae45e8dee
Merge pull request #84238 from danwinship/affinity-slower
Make e2eservice.CheckAffinity wait longer, to avoid flakes
2019-10-28 11:58:59 -07:00
Kubernetes Prow Robot
7129923e33
Merge pull request #84140 from leakingtapan/timeout
make ClaimProvisionTimeout a var
2019-10-28 11:58:45 -07:00
louisgong
7d996aa97f fix TestInterPodAffinity case 2019-10-28 21:30:32 +08:00
Yecheng Fu
d8c465c8d7 better HostExec
- separate stdout and stderr
- return command exit code
- remove kubectl dependency
2019-10-28 19:20:26 +08:00
Marek Siarkowicz
09329b5bbc Remove prometheus references in test/integration
This PR does minimal changes to interface to allow removing all
references to prometheus from `test` directory. In future I would expect
wrapping prometheus samples to provide better abstraction. Changes:

Move generic_metrics.go to testutil/metrics.go
Remove etcd.go as it was not called
Move prometheus label consts to testutil.
2019-10-28 11:40:32 +01:00
Yecheng Fu
8def74f394 use HostExec and sets.String 2019-10-28 10:35:06 +08:00
Yecheng Fu
25c5ad52fd simplify global mount points check 2019-10-28 10:35:06 +08:00
Yecheng Fu
b536395c07 Add e2e test to check for filesystem volume device mount cleanup 2019-10-28 10:35:02 +08:00
YuikoTakada
cd8da1f852 Change DescribeItem to local func 2019-10-28 02:10:57 +00:00
Ted Yu
e31c7cb193 Declare constants in pods test as const 2019-10-27 14:02:52 -07:00
Jianfei Bai
7401f2fe9b move funcs of expect.go to e2e/common 2019-10-27 11:54:32 +08:00
Brendan Chang
03a650f365 Change FuzzTime to FuzzTimeStrict for naming consistency 2019-10-26 22:36:28 -04:00
Kubernetes Prow Robot
9832418870
Merge pull request #84168 from BrendanSChang/fuzz
Add fuzz targets for Duration, MicroTime, and Time
2019-10-26 19:17:24 -07:00
Kubernetes Prow Robot
2896fb0be8
Merge pull request #83711 from tanjunchen/fix-staticcheck-test/e2e/network
fix staticcheck failures in test/e2e/common directory
2019-10-26 02:23:22 -07:00
Kubernetes Prow Robot
2bb35caa18
Merge pull request #84312 from davidz627/tests/pd
Add updated v0.6.0 stable PD driver specs - enable block tests for PD
2019-10-25 20:41:23 -07:00
Kubernetes Prow Robot
24ae4d6718
Merge pull request #84173 from cofyc/fix83693
Support local volume block mode reconstruction
2019-10-25 19:23:23 -07:00
Kubernetes Prow Robot
37edb6984b
Merge pull request #81592 from serathius/stable-metric-analysis-stdin
Pass list of files through stdin to avoid hitting ARG_MAX on some env…
2019-10-25 15:37:13 -07:00
David Zhu
d1383aa28f Update GCE PD CSI Driver YAMLS to v0.6.0 for testing. Enable Raw Block tests 2019-10-25 15:18:48 -07:00
Kenichi Omichi
5d6faaddf6 Separate e2enetwork from e2e core framework
networking_utils.go is only for network tests and it is nice to
separate it from the core framework for easy maintenance.
2019-10-25 17:58:20 +00:00
Marek Siarkowicz
4c7c581308 Handle bazel >= 0.25 in stable metric static analysis
Check both "bazel-genfiles" and "bazel-bin" due https://github.com/bazelbuild/bazel/issues/6761
2019-10-25 19:18:24 +02:00
Marek Siarkowicz
c62da00c56 Pass list of files through stdin to avoid hitting ARG_MAX on some environments 2019-10-25 18:52:23 +02:00
John Schnake
081b9f206d Adds some basic READMEs to some of the test images
Clarifies the use/purpose of some of the test images for easier
discovery/use in the future.
2019-10-25 11:33:41 -05:00
anitanayak
7dc3057d4d Building peer-finder on s390x 2019-10-25 09:03:47 -07:00
Brendan Chang
9ef94b2d47 Fixing comments FuzzDurationStrict and FuzzMicroTimeStrict 2019-10-25 11:44:49 -04:00
Jack Kleeman
d9adf535f3 Dynamic SNI certificates
Reload SNI certificate cert and key file from disk every minute and notify
the dynamic certificate controller when they change, allowing serving
tls config to be updated.
2019-10-25 16:38:51 +01:00
Kubernetes Prow Robot
09f453ff83
Merge pull request #83987 from wenjiaswe/etcd_client_3_4_2
Update etcd client to v3.4.3 in k8s v1.17
2019-10-25 08:29:39 -07:00
Kubernetes Prow Robot
f430a47b60
Merge pull request #84339 from wojtek-t/fix_deployment_correctness_at_scale
Fix deployment e2e test at scale
2019-10-25 05:17:42 -07:00
wojtekt
5cd06d15d8 Fix deployment e2e test at scale 2019-10-25 12:50:59 +02:00
Fabio Bertinatto
7e72c70772 Optionally run e2e pod as privileged for SELinux 2019-10-25 09:32:05 +02:00
Kubernetes Prow Robot
f06b3b8c10
Merge pull request #84313 from oomichi/move-UDPPoke
Move PokeUDP() to e2e service subpkg
2019-10-24 21:35:46 -07:00
Kubernetes Prow Robot
39a8417510
Merge pull request #84258 from oomichi/move-TranslateIPv4ToIPv6
Move TranslateIPv4ToIPv6() to e2e scheduling test
2019-10-24 16:56:31 -07:00
Kubernetes Prow Robot
04632e84e1
Merge pull request #84200 from jackkleeman/dynamic-serving-cert
Dynamic serving certificates
2019-10-24 16:56:19 -07:00
Kubernetes Prow Robot
df8587f99f
Merge pull request #84062 from seans3/tableprinter-move
Removes kubectl get dependency on Kubernetes core
2019-10-24 16:55:52 -07:00
Kenichi Omichi
a74b63d335 Move PokeUDP() to e2e service subpkg
PokeUDP() is used at e2e service subpackage only, so this moves the
function and the related code to the subpackage for making e2e core
framework small.
2019-10-24 22:49:35 +00:00
Claudiu Belu
8f099010a5 Centralizes images into agnhost (part 4)
Centralizes the following images into agnhost:

- dnsutils
- mounttest
- resource-consumer-controller
- test-webserver

Adds CoreDNS to agnhost image, which can be used in some DNS related tests (dnsmasq is Linux-only).

Adds Windows support to mounttest.

Bumps agnhost version to 2.9.
Bumps kitten version to 1.1.
Bumps nautilus version to 1.1.
2019-10-24 15:02:40 -07:00
Wenjia Zhang
660b17d0ae Pin dependencies and update vendors 2019-10-24 14:09:24 -07:00
Wenjia Zhang
9ead9373f3 Resolve uncompatibility from update: etcd CAFile -> TrustedCAFIle 2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a Replace github.com/coreos/etcd by go.etcd.io/etcd 2019-10-24 14:09:24 -07:00
Claudiu Belu
9dd79321e0 tests: Adds guestbook app subcommand in agnhost
The redis version has been bumped to version 5.0.5, but the maximum version supported on
Windows is 3.2. This can lead to failing tests, the output and behaviour can be different
(see #80516). In order to prevent such failures, the amount of times the Redis image is
used can be reduced.

This commit adds the guestbook subcommand to agnhost, which can be used to emulate the
Guestbook application created by the test "should create and stop a working application".

Bumps agnhost image VERSION.
2019-10-24 07:51:28 -07:00
Matthias Bertschy
8588fa2358 Clarify startupProbe e2e tests 2019-10-24 15:28:50 +02:00
Dan Winship
dde075ffe5 Fix service sanity check after jig.ChangeServiceType 2019-10-24 08:58:02 -04:00
Kubernetes Prow Robot
176929a72a
Merge pull request #84255 from oomichi/move-CreatePodOrFail
Move CreatePodOrFail() to e2e network test
2019-10-24 02:01:08 -07:00
Jack Kleeman
4e99b5d26a Add integration test for serving cert rotation 2019-10-24 09:15:44 +01:00
Kubernetes Prow Robot
3325cbb280
Merge pull request #84261 from oomichi/move-to-e2e-network-framework
Move funcs of networking_utils to e2e network
2019-10-24 00:47:08 -07:00
Kubernetes Prow Robot
31b7e3d905
Merge pull request #84235 from liggitt/extensions-v1-coverage
Use v1 CRD deletion endpoints in e2e tests
2019-10-23 19:07:19 -07:00
Kubernetes Prow Robot
a60d64ad54
Merge pull request #84098 from msau42/remove-hostnetwork
remove hostnetwork from hostpath csi manifest
2019-10-23 17:49:06 -07:00
Brendan Chang
7aa9434811 Use strict unmarshaling for metav1 fuzz targets 2019-10-23 19:16:50 -04:00
Kenichi Omichi
6be4fd45a5 Move funcs of networking_utils to e2e network
Many functions of networking_utils are used at e2e network only.
To make e2e core framework small as possible for reducing invalid
dependencies to e2elog subpackage, this moves these functions to
e2e network tests.
2019-10-23 22:58:32 +00:00
Kubernetes Prow Robot
ed5a3847a2
Merge pull request #83856 from mrbobbytables/update-autoscaling-owners
Prune inactive owners from autoscaling related OWNERS files.
2019-10-23 15:53:34 -07:00
Kenichi Omichi
f2dab471b5 Move TranslateIPv4ToIPv6() to e2e scheduling test
TranslateIPv4ToIPv6() is used at e2e scheduling test only, so this
moves the function to the place.
2019-10-23 22:41:09 +00:00
Odin Ugedal
4e44407fa9
Fix failing service test 2019-10-23 23:23:22 +02:00
Kenichi Omichi
a0c0130670 Move CreatePodOrFail()
CreatePodOrFail() is used at e2e network tests only, so this moves
the function to the e2e network tests.
2019-10-23 21:14:10 +00:00
Odin Ugedal
6a73c0899a
Fix shellcheck failures SC2251
https://github.com/koalaman/shellcheck/wiki/SC2251

This may be masking some test failures.

We have a bunch of test code like this:

set -o errexit
[...]
! kubectl get pod wrong-pod
[...]

This test will succeed no matter what the result (return code) of kubectl is.
2019-10-23 22:47:47 +02:00
Odin Ugedal
d467b8ea14
Fix shellcheck failures SC2128 2019-10-23 22:47:46 +02:00
Kubernetes Prow Robot
b75e2d84c1
Merge pull request #84229 from wojtek-t/fix_networking_tests
Fix and clean up timeouts for networking tests in large clusters
2019-10-23 12:52:02 -07:00
Kubernetes Prow Robot
36e7620ef3
Merge pull request #84212 from liggitt/revert-move-hostpid-tests
Revert "move hostPID tests to common"
2019-10-23 12:51:40 -07:00
Kubernetes Prow Robot
d250877696
Merge pull request #84188 from danwinship/service-sanitycheck-fix-2
Comment out an e2eservice sanity check for now
2019-10-23 12:51:19 -07:00
Kubernetes Prow Robot
0f1a8054f9
Merge pull request #83579 from deads2k/dynamic-cert-file-ca-bundle
Dynamic cert file ca bundle
2019-10-23 12:49:27 -07:00
David Eads
6beb96261e wire up a means to dynamically reload ca bundles for kube-apiserver 2019-10-23 11:01:56 -04:00
Dan Winship
cc8d3335b7 Make e2eservice.CheckAffinity wait longer, to avoid flakes 2019-10-23 10:28:54 -04:00
draveness
35d772e354 feat: graduate ScheduleDaemonSetPods to GA 2019-10-23 21:34:47 +08:00
Jordan Liggitt
c6fe4f0ac4 Use v1 CRD deletion endpoints in e2e tests 2019-10-23 09:01:38 -04:00
wojtekt
bf34ba0cdf Fix timeouts for networking tests in large clusters 2019-10-23 14:44:45 +02:00
Sean Sullivan
b43992f752 Updates file to reference cli-runtime printer package 2019-10-22 23:45:08 -07:00
Cheng Pan
b281d45749 Increase ClaimProvisionTimeout to 7 minutes 2019-10-23 05:40:06 +00:00
Kubernetes Prow Robot
ca0e694d63
Merge pull request #84174 from Random-Liu/upgrade-all-node-pools
Upgrade all node pools for gke upgrade test.
2019-10-22 20:10:36 -07:00
Jordan Liggitt
8d0e4a4492 Revert "move hostPID tests to common"
This reverts commit 20ac24929b.
2019-10-22 21:28:44 -04:00
Cristian Dima
da759609dc in pkg/controller/service rename service_controller.go to controller.go 2019-10-23 01:52:19 +03:00
Brendan Chang
862e814f82 Use sigyaml for the metav1 fuzz targets 2019-10-22 16:41:49 -04:00
Dan Winship
6a5caea2f6 Comment out an e2eservice sanity check for now 2019-10-22 10:27:51 -04:00
Odin Ugedal
fe8f75c500
Fix startup probe test by checking updated values 2019-10-22 10:04:56 +02:00
Yecheng Fu
7c7ba19781 Revert "Disable local block volume reconstruction test"
This reverts commit 7c240a18b6.
2019-10-22 14:28:20 +08:00
Kubernetes Prow Robot
3ff376923d
Merge pull request #83971 from yutedz/err-start-master
Log the error before calling closeFn
2019-10-21 22:31:21 -07:00
Lantao Liu
983fd27454 Upgrade all node pools for gke upgrade test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-10-21 22:28:53 -07:00
Kubernetes Prow Robot
10490a645c
Merge pull request #84159 from danwinship/service-sanitycheck-fix
Fix sanity-checking of LoadBalancer services in e2eservice.TestJig
2019-10-21 21:12:32 -07:00
Kubernetes Prow Robot
ffffd6b6f5
Merge pull request #84148 from gongguan/filter_plugin
[migration phase 1] Add filter plugin for cloud provider storage predicate
2019-10-21 21:12:19 -07:00
Kubernetes Prow Robot
9039e6b754
Merge pull request #83398 from bclau/tests/fix-windows-image-pulling
tests: Simplifies image pulling tests
2019-10-21 19:55:21 -07:00
Kubernetes Prow Robot
c981bce007
Merge pull request #83368 from Jefftree/move-hostpid-tests
Move hostPID tests to common
2019-10-21 17:09:22 -07:00
Ted Yu
79dfd42718 Log the error even if closeFn crashes 2019-10-21 16:41:54 -07:00
Brendan Chang
d2074fcdb8 Add fuzz targets for Duration, MicroTime, and Time 2019-10-21 19:00:39 -04:00
louisgong
70ca08ec89 filter plugin for cloud provider storage predicate 2019-10-21 23:56:23 +08:00
Dan Winship
0aae11db48 Fix sanity-checking of LoadBalancer services in e2eservice.TestJig 2019-10-21 10:33:38 -04:00
Kubernetes Prow Robot
ac6c77c440
Merge pull request #84121 from zouyee/renamefit
rename FilterPlugin NodeResources
2019-10-20 20:45:37 -07:00
Kubernetes Prow Robot
ba4adeff20
Merge pull request #84090 from oomichi/move-LaunchHostExecPod
Move LaunchHostExecPod() to e2e network
2019-10-20 17:47:37 -07:00
zouyee
04340eaa34 rename FilterPlugin NodeResources
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-20 12:51:16 +08:00
Kubernetes Prow Robot
e1685b5b59
Merge pull request #84074 from zouyee/proirity
LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
2019-10-19 17:21:37 -07:00
Kubernetes Prow Robot
7e53c9d808
Merge pull request #83756 from hex108/permit
Refactor scheduler's framework permit API
2019-10-19 06:47:37 -07:00
zouyee
408c9da2a6 LeastRequestedPriority/MostRequestedPriority/BalancedResourceAllocation as Score plugins
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-10-19 20:49:05 +08:00
Kubernetes Prow Robot
0c91af21b4
Merge pull request #84047 from draveness/feature/node-unschedulable-filter
feat: implement node unschedulable as a filter plugin
2019-10-19 04:03:37 -07:00
draveness
00a12c787c feat: implement node unschedulable as a filter plugin 2019-10-19 17:29:25 +08:00
Kubernetes Prow Robot
ff7a09928b
Merge pull request #84070 from neolit123/1.17-remove-test-owners-ref
remove usage of the test/test_owners.* files
2019-10-19 02:13:36 -07:00
Jun Gong
38b7668bb3 Refactor scheduler's framework permit API 2019-10-19 16:22:39 +08:00
Kubernetes Prow Robot
0f7873ad5c
Merge pull request #82308 from zhlhahaha/kubectl_flag
Add kubectlPath flag to e2e_node.test
2019-10-18 23:47:37 -07:00
Kubernetes Prow Robot
52063ef8c9
Merge pull request #84094 from yutedz/stor-max-size
Clarify the role for SupportedSizeRange
2019-10-18 21:54:30 -07:00
Kubernetes Prow Robot
578d061666
Merge pull request #84064 from cblecker/go-1.12.11
Update to use go1.12.12
2019-10-18 21:54:02 -07:00
Kubernetes Prow Robot
91627f4962
Merge pull request #83805 from wk8/wk8/gmsa_e2e_tweak
Amending the GMSA e2e test to allow it to run against Windows-only clusters
2019-10-18 21:53:50 -07:00
Kubernetes Prow Robot
0a6e5e65b9
Merge pull request #83750 from mwwolters/json_fuzz
A go-fuzz target for Serializer.Encode/Decode, tested with go-fuzz
2019-10-18 21:53:37 -07:00
Kubernetes Prow Robot
aab740ffc2
Merge pull request #82703 from draveness/feature/graduate-taint-nodes-by-condition-to-ga
feat: update taint nodes by condition to GA
2019-10-18 20:01:37 -07:00
draveness
1163a1d51e feat: update taint nodes by condition to GA 2019-10-19 09:17:41 +08:00
Michelle Au
1634ada147 remove hostnetwork from hostpath csi manifest 2019-10-18 18:14:17 -07:00
Ted Yu
0ae181cf0c Clarify the role for SupportedSizeRange 2019-10-18 14:58:56 -07:00
Kubernetes Prow Robot
103afd2ba7
Merge pull request #83549 from danwinship/service-jig-sanitycheck
more e2eservice.TestJig cleanups
2019-10-18 12:37:31 -07:00
Kubernetes Prow Robot
b5c74a3f26
Merge pull request #82817 from zouyee/scpq
fix Security Context should run with an image specified user ID
2019-10-18 12:37:22 -07:00
Kubernetes Prow Robot
edfffffdac
Merge pull request #82656 from odinuge/hugetlb-drop-caches
Compact memory before requesting huge pages
2019-10-18 12:37:08 -07:00
Christoph Blecker
e570e3e88d
Update to use go1.12.12 2019-10-18 10:37:34 -07:00
Kenichi Omichi
5285cf3eb2 Move LaunchHostExecPod() to e2e network
LaunchHostExecPod() is called only from e2e network.
So it is not necessary to keep the function as a part of e2e framework.
This moves it to the place which calls the function.
2019-10-18 17:29:01 +00:00
Kubernetes Prow Robot
27c679baca
Merge pull request #83982 from lichuqiang/frame_mig1
[migration phase 1] MatchInterPodAffinity as filter plugin
2019-10-18 09:23:58 -07:00
Mark Wolters
78c57cb2a3 Added go-fuzz target for json serializer Encode/Decode. 2019-10-18 09:11:43 -07:00
Dan Winship
52b366457f Add Namespace to e2eservice.TestJig, make all methods use jig namespace and name
Many TestJig methods made the caller pass a serviceName argument, even
though the jig already has a name, and every caller was passing the
same name to each function as they had passed to NewTestJig().

Likewise, many methods made the caller pass a namespace argument, but
only a single test used more than one namespace, and it can easily be
rewritten to use two test jigs as well.
2019-10-18 08:37:19 -04:00
Dan Winship
a0ad420018 Make e2eservice.TestJig methods return errors rather than failing
This is the preferred style for framework methods, and it lets us
write tests to confirm that certain things *don't* work.
2019-10-18 08:36:40 -04:00
Dan Winship
4dcc6229b1 Call jig.SanityCheckService automatically after changes 2019-10-18 08:35:55 -04:00
Kubernetes Prow Robot
422256110e
Merge pull request #84073 from draveness/feature/cleanup-framework-plugins
feat: several cleanups in the scheduling package
2019-10-18 04:43:57 -07:00
lichuqiang
671f7690fe [migration phase 1] MatchInterPodAffinity as filter plugin 2019-10-18 16:26:34 +08:00
Kubernetes Prow Robot
d1a79f136b
Merge pull request #84054 from ahg-g/ahg-gp
GeneralPredicate as framework plugin config
2019-10-17 21:19:58 -07:00
draveness
39af760930 feat: several cleanups in the scheduling package
+ Remove unused variable in tests.
+ Use more common statement for interface conformance check.
+ Fix several comments in the framework plugins.
2019-10-18 11:14:05 +08:00
Kubernetes Prow Robot
91050062f9
Merge pull request #83894 from notpad/feature/migration_nodevolumelimit
[migration phase 1] CSIMaxVolumeLimitChecker as filter plugin
2019-10-17 19:50:41 -07:00
Kubernetes Prow Robot
ae474606f1
Merge pull request #83831 from yuxiaobo96/k8s-check2
Remove direct references to prometheus from transformation_testcase.go
2019-10-17 19:49:58 -07:00
Dan Winship
85ebedd93e Remove an unneccessary e2eservice.TestJig method 2019-10-17 21:47:34 -04:00
Kubernetes Prow Robot
1f8b3bfd98
Merge pull request #83811 from immutableT/single-kms-mock
Use single kms-plugin mock in unit and integration tests.
2019-10-17 18:17:57 -07:00
Lubomir I. Ivanov
2c54160021 remove usage of the test/test_owners.* files
- remove update_owners.py; seems responsible for generating
test_owners files
- remove the existing test/test_owners.* files
- remove verify-test-owners.sh and references to it
2019-10-18 03:01:21 +03:00
Kubernetes Prow Robot
7ed388caa6
Merge pull request #83744 from neolit123/1.17-move-test-owners-sig-cl-gcp
test/e2e: move some tests from cluster-lifecycle to cloud-provider-gcp
2019-10-17 16:33:58 -07:00
Kubernetes Prow Robot
e129a6bc3f
Merge pull request #80004 from Miciah/prefer-to-delete-doubled-up-pods-of-a-replicaset
Prefer to delete doubled-up pods of a ReplicaSet
2019-10-17 15:09:58 -07:00
immutablet
4d24b41410 Use single kms-plugin mock in unit and integration tests. 2019-10-17 13:46:03 -07:00
Kubernetes Prow Robot
397f8b4248
Merge pull request #84020 from BenTheElder/bentheelder-checks-types
add myself to typecheck / go-srcimporter owners, move rmmh to emeritus
2019-10-17 09:52:38 -07:00
Miciah Masters
980b6406b2 Prefer to delete doubled-up pods of a ReplicaSet
When scaling down a ReplicaSet, delete doubled up replicas first, where a
"doubled up replica" is defined as one that is on the same node as an
active replica belonging to a related ReplicaSet.  ReplicaSets are
considered "related" if they have a common controller (typically a
Deployment).

The intention of this change is to make a rolling update of a Deployment
scale down the old ReplicaSet as it scales up the new ReplicaSet by
deleting pods from the old ReplicaSet that are colocated with ready pods of
the new ReplicaSet.  This change in the behavior of rolling updates can be
combined with pod affinity rules to preserve the locality of a Deployment's
pods over rollout.

A specific scenario that benefits from this change is when a Deployment's
pods are exposed by a Service that has type "LoadBalancer" and external
traffic policy "Local".  In this scenario, the load balancer uses health
checks to determine whether it should forward traffic for the Service to a
particular node.  If the node has no local endpoints for the Service, the
health check will fail for that node.  Eventually, the load balancer will
stop forwarding traffic to that node.  In the meantime, the service proxy
drops traffic for that Service.  Thus, in order to reduce risk of dropping
traffic during a rolling update, it is desirable preserve node locality of
endpoints.

* pkg/controller/controller_utils.go (ActivePodsWithRanks): New type to
sort pods using a given ranking.
* pkg/controller/controller_utils_test.go (TestSortingActivePodsWithRanks):
New test for ActivePodsWithRanks.
* pkg/controller/replicaset/replica_set.go
(getReplicaSetsWithSameController): New method.  Given a ReplicaSet, return
all ReplicaSets that have the same owner.
(manageReplicas): Call getIndirectlyRelatedPods, and pass its result to
getPodsToDelete.
(getIndirectlyRelatedPods): New method.  Given a ReplicaSet, return all
pods that are owned by any ReplicaSet with the same owner.
(getPodsToDelete): Add an argument for related pods.  Use related pods and
the new getPodsRankedByRelatedPodsOnSameNode function to take into account
whether a pod is doubled up when sorting pods for deletion.
(getPodsRankedByRelatedPodsOnSameNode): New function.  Return an
ActivePodsWithRanks value that wraps the given slice of pods and computes
ranks where each pod's rank is equal to the number of active related pods
that are colocated on the same node.
* pkg/controller/replicaset/replica_set_test.go (newReplicaSet): Set
OwnerReferences on the ReplicaSet.
(newPod): Set a unique UID on the pod.
(byName): New type to sort pods by name.
(TestGetReplicaSetsWithSameController): New test for
getReplicaSetsWithSameController.
(TestRelatedPodsLookup): New test for getIndirectlyRelatedPods.
(TestGetPodsToDelete): Augment the "various pod phases and conditions, diff
= len(pods)" test case to ensure that scale-down still selects doubled-up
pods if there are not enough other pods to scale down.  Add a "various pod
phases and conditions, diff = len(pods), relatedPods empty" test case to
verify that getPodsToDelete works even if related pods could not be
determined.  Add a "ready and colocated with another ready pod vs not
colocated, diff < len(pods)" test case to verify that a doubled-up pod gets
preferred for deletion.  Augment the "various pod phases and conditions,
diff < len(pods)" test case to ensure that not-ready pods are preferred
over ready but doubled-up pods.
* pkg/controller/replicaset/BUILD: Regenerate.
* test/e2e/apps/deployment.go
(testRollingUpdateDeploymentWithLocalTrafficLoadBalancer): New end-to-end
test.  Create a deployment with a rolling update strategy and affinity
rules and a load balancer with "Local" external traffic policy, and verify
that set of nodes with local endponts for the service remains unchanged
during rollouts.
(setAffinity): New helper, used by
testRollingUpdateDeploymentWithLocalTrafficLoadBalancer.
* test/e2e/framework/service/jig.go (GetEndpointNodes): Factor building the
set of node names out...
(GetEndpointNodeNames): ...into this new method.
2019-10-17 11:52:32 -04:00
Kubernetes Prow Robot
fef819254a
Merge pull request #83998 from draveness/feature/node-affinity-score-plugin
feat(scheduler): implement node affinity as score plugin
2019-10-17 08:24:38 -07:00
Abdullah Gharaibeh
517116921b GeneralPredicate as plugin config 2019-10-17 11:13:57 -04:00
notpad
f06925b0ee [migration phase 1] CSIMaxVolumeLimitChecker as filter plugin 2019-10-17 22:04:02 +08:00
Kubernetes Prow Robot
534051acec
Merge pull request #84036 from Huang-Wei/tbe-int-test-issue
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions
2019-10-17 05:12:50 -07:00
draveness
3d74da4d53 feat(scheduler): implement node affinity as score plugin 2019-10-17 17:02:10 +08:00
Kubernetes Prow Robot
cedacc9cae
Merge pull request #84025 from oomichi/move-CreateNginxPod
Move CreateNginxPod() to specific e2e
2019-10-17 01:47:48 -07:00
Kubernetes Prow Robot
bdc3f96838
Merge pull request #83989 from wojtek-t/remove_coordination_v1beta1
Swtich nodelifecyclecontroller to coordination/v1
2019-10-17 01:47:29 -07:00
Kubernetes Prow Robot
3719fcdffa
Merge pull request #82072 from draveness/feature/use-context-instead-of-channel
feat(scheduler): use context in scheduler package
2019-10-17 01:46:39 -07:00
Wei Huang
fbcc3c183a
Ensure TaintBasedEviction int test not rely on TaintNodeByConditions 2019-10-17 01:25:12 -07:00
Kubernetes Prow Robot
c3d8ad06a5
Merge pull request #84002 from cofyc/fix74552-cleanup
e2e: remove duplicated test specs
2019-10-16 22:25:41 -07:00
Kubernetes Prow Robot
9aed79b585
Merge pull request #83812 from oomichi/move-Initialized
Move Initialized() to e2e framework util
2019-10-16 22:25:21 -07:00
Kubernetes Prow Robot
cae9bbd059
Merge pull request #81358 from bclau/tests/replace-redis-image
tests: Replaces Redis image with Agnhost
2019-10-16 22:24:51 -07:00
Howard Zhang
1c9da19bf5 Add kubectlPath flag to e2e_node.test
e2e_node.test does not set default kubectlPath, which lead to test
errors as following:
[Fail] [sig-storage] EmptyDir volumes [It] pod should support
shared volumes between containers [Conformance]

When the test trying to read file in shared volume, it uses
"kubeclt exec namespace -c container_name -- cat file_name".
However, as variable framework.TestContext.KubectlPath not set,
kubectl binary can not be found in the test and the tast fails.

This patch move kubectlPath flag from RegisterClusterFlags to
RegisterCommonFlags, thus default value for
framework.TestContext.KubectlPath will be set,and
user can also use --kubectl-path flag to set kubectl path.

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-10-17 11:29:44 +08:00
draveness
47a6c5b693 feat(scheduler): use context in the scheduler package
+ Use context instead of stopCh
+ Add context to the scheduling framework interface
2019-10-17 09:03:55 +08:00
Kenichi Omichi
9e17a0e9f3 Move CreateNginxPod() to specific e2e
CreateNginxPod() is called from flexvolume_online_resize only and
that seems storage specific function because that requires a PVC.
So this moves the function to the place which calls it for the code
cleanup.
2019-10-17 00:10:38 +00:00
Benjamin Elder
0f807d5048 add myself to typecheck / go-srcimporter owners, move rmmh to emeritus 2019-10-16 15:17:22 -07:00
Kubernetes Prow Robot
cb19b56831
Merge pull request #83419 from deads2k/insecure-backend-proxy
Insecure backend proxy
2019-10-16 13:58:38 -07:00
Kubernetes Prow Robot
0e2383df15
Merge pull request #83893 from draveness/feature/node-prefer-avoid-pods
feat(scheduler): implement NodePreferAvoidPods as score plugin
2019-10-16 11:37:30 -07:00
Kubernetes Prow Robot
d1188a6802
Merge pull request #83946 from jsafrane/disable-local-reconstruction
Disable local block volume reconstruction test
2019-10-16 09:36:08 -07:00
Kubernetes Prow Robot
461c9b3c8c
Merge pull request #83935 from draveness/feature/fix-scheduler-perf
fix: scheduler perf test with pod informer
2019-10-16 09:35:33 -07:00
David Eads
867ee1d5ff add insecurebackendproxy 2019-10-16 11:43:17 -04:00
Yecheng Fu
1ff13e0782 e2e: remove duplicatd test suites 2019-10-16 19:42:11 +08:00
Claudiu Belu
8880a4f74f tests: Extends agnhost netexec udp buffers
Currently, the UDP buffer sizes are set to 1024 bytes. Larger requests will not be
read entirely by the UDP handlers, which can lead to tests relying on this to fail.
2019-10-16 04:21:45 -07:00
wojtekt
cf9203501e Swtich nodelifecyclecontroller to coordination/v1 2019-10-16 10:59:02 +02:00
Kubernetes Prow Robot
63cf2e260b
Merge pull request #83819 from mrbobbytables/emeritus-jbeda
Move jbeda to emeritus status.
2019-10-15 23:06:20 -07:00
Kubernetes Prow Robot
6b3d154787
Merge pull request #83816 from oomichi/remove-test_verify.go
Remove test_verify from e2e framework package
2019-10-15 23:06:09 -07:00
Kubernetes Prow Robot
d160c68aa4
Merge pull request #83978 from mikedanese/fuzz
add fuzzing targets for sig-yaml and yaml.v2
2019-10-15 21:10:07 -07:00
Mike Danese
647d6582bf add fuzzing targets for sig-yaml and yaml.v2
This is in prepration to add continous fuzzing of various targets via
https://github.com/google/oss-fuzz.
2019-10-16 00:40:50 +00:00
Boqin Qin
24dcd8eaac framework: Fix a goroutine leak bug in resource_usage_gatherer.go 2019-10-15 16:09:31 -04:00
Kubernetes Prow Robot
cb3b715de2
Merge pull request #83804 from jpbetz/etcd-3_3_17_server
Upgrade to etcd server 3.3.17
2019-10-15 12:50:09 -07:00
Jan Safranek
7c240a18b6 Disable local block volume reconstruction test
Quite hacky, hoping to fix the volume plugin soon.
2019-10-15 13:59:36 +02:00
draveness
e5a23f8dda fix: scheduler perf test with pod informer 2019-10-15 13:54:45 +08:00
Kubernetes Prow Robot
46a29a0cc3
Merge pull request #71674 from grayluck/firewall-event-msg
Change XPN firewall change msg. Should be required by security admin
2019-10-14 21:09:51 -07:00
Kubernetes Prow Robot
63bd1d7a5c
Merge pull request #80725 from aramase/dualstack-phase2-e2e
E2E tests for dualstack phase2
2019-10-14 17:45:51 -07:00
draveness
2d7044a556 feat(scheduler): implement NodePreferAvoidPods as score plugin 2019-10-14 21:21:24 +08:00
Krzysztof Siedlecki
92f56ab692 enabling fluentd on kubemark 2019-10-14 14:48:48 +02:00
Joe Betz
c92bd5e7b5 Upgrade to etcd server 3.3.17 2019-10-13 17:17:15 -07:00
notpad
4ff7251026 [migration phase 1] VolumeZoneChecker as filter plugin 2019-10-14 07:45:40 +08:00
Kubernetes Prow Robot
2e55cf01d1
Merge pull request #83854 from mrbobbytables/update-test-vsphere-owners
Prune inactive owners from test/e2e/framework/providers/vsphere/OWNERS.
2019-10-13 13:20:36 -07:00
Kubernetes Prow Robot
dd5cb6426d
Merge pull request #83849 from draveness/feature/node-locality-as-score-plugin
feat: implement imagelocality as a score plugin
2019-10-13 06:36:35 -07:00
Bob Killen
e37d702208
Prune inactive owners from autoscaling related OWNERS files. 2019-10-13 08:52:14 -04:00
Bob Killen
340eefe76b
Prune inactive owners from test/e2e/framework/providers/vsphere/OWNERS. 2019-10-13 08:39:38 -04:00
yuxiaobo
3346d3d18f Remove direct references to prometheus from transformation_testcase.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-13 20:36:39 +08:00
draveness
6f6618fc5d feat: implement imagelocality as a score plugin 2019-10-13 19:58:21 +08:00
Kubernetes Prow Robot
ceceacaa77
Merge pull request #83573 from ahmad-diaa/remove-factory-package
Move Factory Package to Scheduler
2019-10-13 00:32:36 -07:00
Kubernetes Prow Robot
743031d793
Merge pull request #83817 from oomichi/rename-framework-funcs
Rename e2e framework functions used locally
2019-10-12 17:34:37 -07:00
Ahmad Diaa
4448a1cea9 move factory package to scheduler 2019-10-12 23:03:07 +02:00
Lubomir I. Ivanov
0b3d50b6dc test/e2e: move GKE/GCE tests from /lifecycle to /cloud/gcp
Move GKE/GCE tests from the sig-cluster-lifecycle
ownership to the sig-cloud-provider-gcp ownership
(ideally the GCP sub-project).
2019-10-12 21:40:07 +03:00
Lubomir I. Ivanov
ed5c2979b7 test/test_owners.csv: remove sig-cluster-lifecycle ownership
These tests either no longer exists or a now owned by a different
SIG or in the case of SIG Cloud Provider -> the GCP sub project.
2019-10-12 21:40:07 +03:00
Kubernetes Prow Robot
fbcfabe8ae
Merge pull request #83808 from oomichi/rename-volume-fixtures
Rename Generate[Read|Write]FileCmd()s on e2e framework
2019-10-11 22:40:38 -07:00
Kubernetes Prow Robot
a7a6ca80d8
Merge pull request #83731 from notpad/feature/migration_nodiskconflict
[migration phase 1] NoDiskConflict as filter plugin
2019-10-11 21:16:52 -07:00
tanjunchen
33dda68788 fix staticcheck in test/e2e/common directory 2019-10-12 11:30:47 +08:00
Kubernetes Prow Robot
8553d50426
Merge pull request #83793 from oomichi/psp
Fix package name of psp on e2e framework
2019-10-11 18:05:04 -07:00
Kenichi Omichi
0126d35df1 Rename e2e framework functions used locally
The following functions are used locally in e2e framework subpackages.
 - RunSSHCommandViaBastion
 - MakeNginxPod
 - LogPodTerminationMessages
 - CheckPodsCondition
 - SetNodeAffinityRequirement

This renames them to clarify them as local ones.
2019-10-12 00:06:49 +00:00
Kenichi Omichi
ab208e9063 Remove test_verify from e2e framework package
test_verify.go contained the function TestPodSuccessOrFail() only,
and the function is used in the package only.
This moves the function to create.go and remove test_verify.go.
2019-10-12 00:01:20 +00:00
notpad
9e426a6be1 [migration phase 1] NoDiskConflict as filter plugin 2019-10-12 08:00:44 +08:00
Kenichi Omichi
06d41a485c Move Initialized() to e2e framework util
The function is used at e2e framework util module only.
So this moves the function to the module for trying to remove
dependencies to subpackages from core e2e framework.
2019-10-11 22:29:03 +00:00
Kenichi Omichi
e13fb0cbe5 Rename Generate[Read|Write]FileCmd()s
These functions are only used in fixtures.go module.
So it is not necessary to define them for exposing.
This renames these functions for making them local functions clearly.
2019-10-11 21:54:35 +00:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status. 2019-10-11 17:46:18 -04:00
Jean Rouge
d17624ad82 Amending the GMSA e2e test to allow it to run against Windows-only clusters
e2e Windows tests can be run against Windows-only clusters, which
currently will cause the GMSA test to fail, as it needs to be able to
deploy pods to at least one Linux node, for the GMSA webhook; this patch leverages the new
`--tolerate-master` flag that was added to the GMSA webhook deploy
script in https://github.com/kubernetes-sigs/windows-gmsa/pull/18.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-10-11 14:16:04 -07:00
Kubernetes Prow Robot
a847874655
Merge pull request #83792 from liggitt/flake-pre-stop
Mark 'wait until preStop hook completes the process' flaky
2019-10-11 13:42:38 -07:00
Kubernetes Prow Robot
2125c26a40
Merge pull request #83647 from BenTheElder/tainting-nodes-is-disruptive
tag test that taints a node as disruptive
2019-10-11 13:42:18 -07:00
Kenichi Omichi
c0430d3f8e Fix package name of psp on e2e framework
psp is imported as separated package from main framework but the
name was framework. This made confusion, so this renames it to psp.
2019-10-11 18:21:28 +00:00
Kubernetes Prow Robot
48d0088510
Merge pull request #83702 from mattjmcnaughton/mattjmcnaughton/staticcheck-fix-e2e-lifecycle
Address staticcheck failures for test/e2e/lifecycle/bootstrap
2019-10-11 10:53:57 -07:00
Jordan Liggitt
73dce3adec Mark 'wait until preStop hook completes the process' flaky 2019-10-11 13:09:32 -04:00
Kubernetes Prow Robot
77b86c4adf
Merge pull request #83764 from cofyc/fix83635
[migration phase 1] Implement CheckVolumeBinding as a filter plugin
2019-10-11 09:29:52 -07:00
Kubernetes Prow Robot
c980000176
Merge pull request #83663 from draveness/feature/add-shared-informers-factory
feat(scheduler): expose SharedInformerFactory to the framework handle
2019-10-11 09:29:40 -07:00
mattjmcnaughton
b92a51285b
Address staticcheck failures for test/e2e/lifecycle/bootstrap
Make small, non-functional changes to make the
`test/e2e/lifecycle/bootstrap` pass staticcheck.
2019-10-11 10:28:15 -04:00
Yecheng Fu
e8795562f9 [migration phase 1] Implement CheckVolumeBinding as a filter plugin 2019-10-11 20:35:11 +08:00
Kubernetes Prow Robot
833e8dc10b
Merge pull request #83736 from krzysied/kubemark_node_labels
Kubemark node labels
2019-10-11 05:17:47 -07:00
Krzysztof Siedlecki
8f9d9961a2 fixing sed separator 2019-10-11 10:54:01 +02:00
Kubernetes Prow Robot
c1a735c642
Merge pull request #83601 from ahg-g/ahg-migration-priority
Implemented taints and tolerations priority function as a Score plugin
2019-10-11 00:05:50 -07:00
Kubernetes Prow Robot
f985367ba4
Merge pull request #83755 from roycaihw/e2e-kubelet-resource-monitor
kubelet e2e: run resource monitor only if the actual number of nodes is small
2019-10-10 22:49:49 -07:00
draveness
ee4dec65b5 feat(scheduler): expose SharedInformerFactory to the framework handle 2019-10-11 10:23:21 +08:00
Kubernetes Prow Robot
d69dfa7e13
Merge pull request #83729 from danwinship/drop-getreadyschedulablenodesordie
Drop framework.GetReadySchedulableNodesOrDie
2019-10-10 19:00:43 -07:00
Kubernetes Prow Robot
a5e6ac0a95
Merge pull request #83694 from ahg-g/ahg-adv-config
[migration phase 1] Make scheduler cache, volume binder and listers available when registering default plugins
2019-10-10 19:00:21 -07:00
Kubernetes Prow Robot
242d806672
Merge pull request #83587 from timothysc/testing-OWNERS
Audit of test/* OWNERS files
2019-10-10 19:00:00 -07:00
Kubernetes Prow Robot
1e94c12d41
Merge pull request #80880 from DirectXMan12/bug/length-is-measured-in-bytes
Validation: len is measured in bytes
2019-10-10 18:59:20 -07:00
Haowei Cai
f5d6951c96 kubelet e2e: run resource monitor only if the actual number of nodes is
small
2019-10-10 17:02:51 -07:00
Kubernetes Prow Robot
77f86630d4
Merge pull request #82491 from openSUSE/pod-status-check
Validate container status in e2e pod status checks
2019-10-10 16:27:20 -07:00
Anish Ramasekar
50e2182faf
e2e test for dualstack phase2
dual-stack phase2 tests

update e2elog to framework

run update-bazel

update comment

fix go vet error

Review feedback

update method

Review feedback
2019-10-10 16:24:39 -07:00
Abdullah Gharaibeh
7429b0fe86 Implemented taints and tolerations priority function as a Score plugin 2019-10-10 17:49:40 -04:00
Timothy St. Clair
97055841b1 Audit of test/* OWNERS files 2019-10-10 15:52:51 -05:00
Kubernetes Prow Robot
1bb7835f0a
Merge pull request #83609 from avalluri/fix-storage-e2e-tests
Remove e2e/common package usage in volumemode testsuite
2019-10-10 13:41:52 -07:00
Kubernetes Prow Robot
3db6d3abcf
Merge pull request #83551 from dims/move-external-facing-kubelet-apis-to-staging
Move external facing kubelet apis to staging
2019-10-10 13:41:36 -07:00
Abdullah Gharaibeh
456df97745 made scheduler cache and volume binder available when instantiating factories for default plugins 2019-10-10 16:21:29 -04:00
Solly Ross
40aea0c70d Validation: len is measured in bytes
The `TooLong` validation message mentioned characters, but the `len`
function actually measures bytes, no characters.  This switches it over
to use bytes.

Characters are mostly an illusory concept anyway -- a vain attempt to
shield our minds against the lovecraftian nightmares that comes from
attemping to truly comprehend that eldritch treatise known as the
Unicode standard.  Which is to say: measuring things in characters is
hard and mostly ambiguous, and probably not what we meant to do.
2019-10-10 09:48:49 -07:00
Kubernetes Prow Robot
46dd075bab
Merge pull request #83718 from serathius/aliases
Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files
2019-10-10 09:04:05 -07:00
Kubernetes Prow Robot
4eb1ca46ed
Merge pull request #83667 from k-toyoda-pi/use_log_e2e_storage_topology
Use log functions of core framework on testsuites/topology.go
2019-10-10 07:31:57 -07:00
Sascha Grunert
5a8b695fef
Validate AgnhostPod readyness status in e2e tests
We now additionally check if the agnhost pods are ready before
marking the pod as running to increase the overall test stability.

Relates to: https://github.com/kubernetes/kubernetes/pull/82420
Fixes: https://github.com/kubernetes/kubernetes/issues/82445

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-10 14:11:06 +02:00
Marek Siarkowicz
c601d34eba Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files 2019-10-10 14:04:20 +02:00
Kevin Taylor
cb8a7c1a4c Promote VolumeSubpathEnvExpansion feature gate to GA 2019-10-10 09:34:40 +01:00
Amarnath Valluri
3333806734 Remove e2e/common package usage in volumemode testsuite
Change 04300826fd has introduced
"e2e/common" package dependency on volumemode testusuite. This results in
pulling all tests defined in common package while running storage e2e tests,
which are not necessary.

The only interested part from common package is the WaitTimeoutForEvent().
2019-10-10 09:30:12 +03:00
toyoda
1ae7726ff6 Use log functions of core framework on test/e2e/storage/testsuites/topology.go 2019-10-10 09:16:19 +09:00
Kubernetes Prow Robot
4d6deea241
Merge pull request #83681 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-test-e2e-node
Address `staticcheck` failures for `test/e2e/node/...`
2019-10-09 14:51:07 -07:00
Dan Winship
779a842b3c Drop framework.GetReadySchedulableNodesOrDie
It is now fully replaced by e2enode.GetReadySchedulableNodes,
e2enode.GetBoundedReadySchedulableNodes, and
e2enode.GetRandomReadySchedulableNode.
2019-10-09 15:20:26 -04:00
mattjmcnaughton
69a473be38
Address staticcheck failures for test/e2e/node/...
Fix the `staticcheck` failures for `test/e2e/node`. All of the
staticcheck errors were for variables which were never used. When these
values were `err`, we added processing for the errors. When they were
values that were just never used, we stopped giving them a name.
2019-10-09 10:26:11 -04:00
Dan Winship
6a040438ea Update test/e2e/storage for new GetReadySchedulableNodes stuff 2019-10-09 08:12:56 -04:00
Benjamin Elder
f3d962ad64 tag test that taints a node as disruptive 2019-10-08 18:22:17 -07:00
Kubernetes Prow Robot
72d052a444
Merge pull request #81797 from yastij/move-metrics-util
move util/metrics to component-base
2019-10-08 17:08:05 -07:00
Kubernetes Prow Robot
05474a6d84
Merge pull request #78306 from hoyho/feat/e2e-storage-dynamic-size
feat(e2e): refactor hard-coded provision size
2019-10-08 17:07:51 -07:00
Kubernetes Prow Robot
384e03ad92
Merge pull request #83616 from alejandrox1/add-alejandrox1-test-eviewer
Added alejandrox1 as test/* reviewer
2019-10-08 13:31:51 -07:00
Kubernetes Prow Robot
e856613dd5
Merge pull request #83211 from Jefftree/move_privilege_test
Move privilege e2e test to common
2019-10-08 10:57:23 -07:00
alejandrox1
dc90f99891 Added alejandrox1 as test/* reviewer
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-08 11:16:12 -04:00
Yassine TIJANI
c1487840bc move util/metrics to component-base
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-08 14:42:31 +02:00
Kubernetes Prow Robot
8098bae921
Merge pull request #83451 from jsafrane/block-reconstruct
Fix block volume reconstruction
2019-10-08 03:45:18 -07:00
Kubernetes Prow Robot
cb177dc6a1
Merge pull request #83570 from matthyx/startup_probe_test
Mark startupProbe test as NodeAlphaFeature and fix podClient
2019-10-07 23:36:18 -07:00
Kubernetes Prow Robot
53d500eca3
Merge pull request #83510 from alejandrox1/framework-err-handling
Refactored e2e-test-framework util.go
2019-10-07 23:35:52 -07:00
Kubernetes Prow Robot
c4108c9b4a
Merge pull request #83090 from Klaven/rm_validator_errors
Removal of kubernetes error dependencies
2019-10-07 23:35:25 -07:00
Kubernetes Prow Robot
72cd1c14ef
Merge pull request #83325 from yutedz/static-mirror-pod
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-07 22:15:40 -07:00
hoyho
b5c1432328 Add unit test for function getSizeRangesIntersection 2019-10-08 01:33:43 +08:00
hoyho
23320c958e feat(e2e): refactor hard-coded provision size
test/e2e/storage/testsuites creates volumes dynamically. Initially, the size of those volumes was
hard-coded in the test, which prevented using the tests with storage backends that couldn't support
that hard-coded size
2019-10-08 01:33:19 +08:00
Matthias Bertschy
84d0951969 Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation 2019-10-07 16:13:06 +02:00
Kubernetes Prow Robot
48b90db9c3
Merge pull request #83495 from tanjunchen/fix-typo
remove the repeat word in documents
2019-10-06 15:05:08 -07:00
Davanum Srinivas
6ecc0f83af
update bazel BUILD files
Change-Id: Ia3917cec1453c0b22a958faf8c22bccd79242d14
2019-10-06 15:29:23 -04:00
Davanum Srinivas
d30c489c54
Move pkg/kubelet/pluginregistration and deviceplugin
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
2019-10-06 15:28:38 -04:00
tanjunchen
de3cf23414 remove the repeat word in documents 2019-10-06 23:32:01 +08:00
Claudiu Belu
3c8822133a tests: Simplifies image pulling tests
Melds the "pull image from gcr.io" and "pull image from docker hub" tests
into a single test that pulls the agnhost image from the configured
e2eRegistry.

This also removes the need to maintain and update the image
"gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1". It should have been
a manifest list that also includes future Windows releases, like Windows Server 1903.
Additionally, the image has ~300 MB, meaning that with this change, it won't have to
wait as much to spawn a pod.

Removes "should not be able to pull non-existing image from gcr.io", since
the test "should not be able to pull image from invalid registry" test already
exists, and both of them test the same effect: cannot spawn a pod with an
image that does not exist.
2019-10-06 04:41:38 -07:00
Kubernetes Prow Robot
1f81255070
Merge pull request #83460 from ahg-g/ahg-first-predicate
[migration phase 1] Implement PodToleratesNodeTaint as a filter plugin
2019-10-05 14:07:11 -07:00
alejandrox1
352254129b Refactored e2e-test-framework util.go
This cleans up the framework.util.go file and moves various Expect*
functions into their own file for better organization.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-05 15:02:46 -04:00
Abdullah Gharaibeh
66386fdf49 Added the first predicate as a filter plugin: PodToleratesNodeTaints. 2019-10-05 08:43:17 -04:00
Kubernetes Prow Robot
a8e8e54f7a
Merge pull request #81816 from jennybuckley/apply-cap-managers
[server-side apply] Cap the number of managedFields entries for updates at 10
2019-10-05 03:15:11 -07:00
Kubernetes Prow Robot
b140b43107
Merge pull request #82176 from pohly/ginkgo-stack-fix
Ginkgo update + stack fix
2019-10-05 00:59:25 -07:00
Kubernetes Prow Robot
285dd49444
Merge pull request #81885 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-kubelet-test-integration
Fix `test/integration/kubelet` staticcheck failures
2019-10-05 00:59:13 -07:00
Kubernetes Prow Robot
87adebea04
Merge pull request #83456 from BenTheElder/jobs-may-restart
check that N job pods succeeded instead of exactly N pods existing a…
2019-10-04 21:51:47 -07:00
Abdullah Gharaibeh
043166f54b Modified the name of the Extensions method in the scheduler's framework. 2019-10-04 15:53:06 -04:00
Kubernetes Prow Robot
eba349b855
Merge pull request #83430 from draveness/feature/rename-plugincontext-to-cyclestate
feat(scheduler): rename PluginContext to CycleState
2019-10-04 10:22:32 -07:00
Jefftree
40976754b5 Move privilege e2e test to common 2019-10-04 09:54:52 -07:00
mattjmcnaughton
bd6d411010
Fix test/integration/kubelet staticcheck failures
`test/integration/kubelet` was failing staticcheck because it was
calling `t.Fatal` from the non-main Go routine. Address this by sending
errors causing t.Fatal back to a channel. The main thread can then
iterate through this channel, and call t.Fatal if there are any errors
in the channel.
2019-10-04 11:37:59 -04:00
Jan Safranek
612fb1793e Test global block directory in reconstruction tests 2019-10-04 14:03:40 +02:00
Kubernetes Prow Robot
ec05944b13
Merge pull request #83108 from jsafrane/hostexec-volumemode
Use pod + nsenter instead of SSH in block volume tests
2019-10-04 02:46:29 -07:00
Kubernetes Prow Robot
791bfac90f
Merge pull request #83084 from yutedz/ns-prune
Prune should respect namespace option
2019-10-04 02:46:12 -07:00
draveness
c73ff9749b feat(scheduler): rename PluginContext to CycleState 2019-10-04 17:30:36 +08:00
jennybuckley
61b19c7298 Cap the number of managedFields entries for updates at 10 2019-10-03 16:24:58 -07:00
jennybuckley
d72260b9da Refactor fieldmanager to be more modular 2019-10-03 16:24:58 -07:00
Benjamin Elder
4967f74599 check that N job pods succceeded instead of exactly N pods existing and succeeding 2019-10-03 11:03:44 -07:00
Kubernetes Prow Robot
0a17315e18
Merge pull request #83418 from ahg-g/ahg-first-priority
Refactor scheduler.New so that all framework-related parameters are options
2019-10-03 10:00:11 -07:00
Abdullah Gharaibeh
30e7016ccf Refactor scheduler.New so that all framework-related parameters are passed as options 2019-10-03 11:39:59 -04:00
Kubernetes Prow Robot
5fbda60c14
Merge pull request #82077 from deads2k/poststart
add ability to pre-configure poststarthooks for apiservers
2019-10-03 08:16:10 -07:00
Marek Siarkowicz
887e84e330 Remove Prometheus addon and it's tests
Prometheus addon was developed for exterimental and test purpose only.
As readme states it should not be used by anyone.
2019-10-03 14:15:58 +02:00
Kubernetes Prow Robot
bce9d225b1
Merge pull request #83432 from yutedz/ns-deletion-timeout
Reset default namespace deletion timeout to 5 minutes
2019-10-03 04:34:22 -07:00
Kubernetes Prow Robot
4afcba42be
Merge pull request #83261 from liggitt/yaml-limits
limit yaml/json decode size
2019-10-02 20:28:08 -07:00
Ted Yu
79359773f6 Reset default namespace deletion timeout to 5 minutes 2019-10-02 19:48:06 -07:00
Kubernetes Prow Robot
8e39c60919
Merge pull request #83376 from liyanhui1228/fix_test
Fix sig-node test by adding back the numNodes
2019-10-02 18:54:08 -07:00
Jordan Liggitt
8ef4566cef Limit YAML/JSON decode size 2019-10-02 21:52:19 -04:00
Jefftree
20ac24929b move hostPID tests to common 2019-10-02 13:36:08 -07:00
David Zhu
35d799c3a4 Remove block volume capability from GCE PD CSI Driver because not supported in v0.5.2 2019-10-02 10:11:47 -07:00
Kubernetes Prow Robot
8a12334683
Merge pull request #83386 from draveness/feature/get-rid-of-max-priority
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 06:19:09 -07:00
Kubernetes Prow Robot
514ea6f8f8
Merge pull request #83383 from wongma7/222nfs
Bump nfs provisioner version to v2.2.2
2019-10-02 03:03:08 -07:00
Kubernetes Prow Robot
9ac9a1d397
Merge pull request #83355 from beautytiger/dev-191001-sh-fix
fix wrong test in generic-resources.sh
2019-10-01 21:23:06 -07:00
draveness
9769d49bb5 feat(scheduler): remove MaxPriority in the scheduler api 2019-10-02 11:24:25 +08:00
Kubernetes Prow Robot
e31cc95276
Merge pull request #83381 from davidz627/fix/blockFail
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 20:03:06 -07:00
Matthew Wong
74adfc31b9 Bump nfs provisioner version to v2.2.2 2019-10-01 15:46:19 -07:00
Kubernetes Prow Robot
867fef5851
Merge pull request #82424 from jsafrane/mount-propagation-remove-ssh
Use pod + nsenter instead of SSH in mount propagation tests
2019-10-01 15:27:08 -07:00
David Zhu
8ff56a50a2 Run block tests for gce-pd csi driver. Improve skip block test function name 2019-10-01 15:23:19 -07:00
Angela Li
c06413b6f1 Fix sig-node test by adding back the numNodes 2019-10-01 13:59:38 -07:00
Kubernetes Prow Robot
dc0013a506
Merge pull request #83365 from notpad/feature/83244
A consistent interface for plugin extended functionality
2019-10-01 13:01:11 -07:00
Kubernetes Prow Robot
9d59ed80f5
Merge pull request #83262 from Huang-Wei/sched-extender-api-refactor
Refactor scheduler extender-related API fields
2019-10-01 13:00:50 -07:00
Patrick Ohly
72609fc5f4 bazel update 2019-10-01 21:30:12 +02:00
Patrick Ohly
4620d0b2b8 e2e log: move back to framework, part II
This continues the work in
https://github.com/kubernetes/kubernetes/pull/81426 by also moving the
logger_test.go, moving the log helper code from util.go to log.go (a
more logical place, as it is only used there) and updating comments.
2019-10-01 21:30:12 +02:00
Patrick Ohly
ecd7ae55bc e2e log: Ginkgo 1.10.1 fixes stack skip
Now Ginkgo properly skips the initial stack entry.
2019-10-01 21:27:29 +02:00
Patrick Ohly
f70c81c9f2 e2e log: consistent logging of stack backtrace and failure, part II
After merging
259bb3bef5 (diff-eb7b79470992813ea1905e96c298b47b)
ExpectEqual and some of the other wrappers logged the failure twice,
once inside the wrapper itself and once in the failure handler.

Logging the stack backtrace is useful because many assertions still
don't contain an explanation and therefore knowing where they occur is
crucial. Now all failures are logged with a "Full Stack Trace", not
just those with a wrapper. The stack is pruned to skip over wrapper
functions and removes Ginkgo internal functions to keep the stack
trace smaller.

Failures occuring in the wrappers were recorded as occuring in those
wrappers. Now the wrappers are skipped and the caller is recorded
instead.

The full stack trace recorded by Ginkgo 1.10.0 is currently off by one
entry. This needs to be fixed in Ginkgo, then the test can be updated.
2019-10-01 21:27:29 +02:00
Patrick Ohly
6cecc0ab37 e2e log: skip log.Failf in stack information
The function itself isn't relevant.
2019-10-01 21:25:59 +02:00
Patrick Ohly
02ce619078 e2e log: fix full stacktrace with Ginkgo 1.10.0
Ginkgo 1.10.0 includes the relevant fix for dumping the full stack
(https://github.com/onsi/ginkgo/pull/590), so when using that release
we can simplify the logging unit test.

By changing the skipping, we can avoid the rather volatile util.go
entries. However, that gomega is part of the stack trace still needs
to be fixed in Gingko.
2019-10-01 21:25:59 +02:00
Ted Yu
0939f90103 Check whether mirror pod is ciritical in managerImpl#evictPod 2019-10-01 11:12:18 -07:00
Wei Huang
a01259ef6f
bazel and codegen files 2019-10-01 09:51:40 -07:00
Wei Huang
cbdb4e3fdb
refactor scheduler extender related API
- move extender related API from pkg/scheduler/api to pkg/scheduler/apis/extender/v1

- alias extenderv1 to pkg/scheduler/apis/extender/v1

- use NodeScore and NodeScoreList in non-extender logic
2019-10-01 09:51:24 -07:00
notpad
fc55e74741 A consistent interface for plugin extended functionality 2019-10-01 23:59:48 +08:00
mattjmcnaughton
42f8596b13
Fix staticcheck failures in test/utils/...
The `err` return value was being overwritten in an unintended way, which
means the function may not return the proper error value. This diff
ensures it does.
2019-10-01 09:46:45 -04:00
David Eads
f14f4c933e add ability to pre-configure poststarthooks for apiservers 2019-10-01 09:08:18 -04:00
Guangming Wang
c0a4c09040 fix wrong test in generic-resources.sh
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-01 20:45:17 +08:00
Kubernetes Prow Robot
c2c821534b
Merge pull request #81093 from johnSchnake/useImageUtilsForLookup
Use imageutils instead of hardcoded image paths
2019-10-01 02:37:32 -07:00
Kubernetes Prow Robot
78940cd5ef
Merge pull request #81419 from mgdevstack/checkServiceReachability
Update e2e testing nodePort service listening on same port but different protocols
2019-10-01 01:21:40 -07:00
Jan Safranek
0c3293a3aa Use pod + nsenter instead of SSH in mount propagation tests
Not all Kubernetes clusters allow ssh to nodes during test.
2019-10-01 10:19:25 +02:00
Kubernetes Prow Robot
820b796c66
Merge pull request #83301 from justinsb/e2e_tag_volume_we_create
e2e: on aws, tag volumes we want the cluster to mount
2019-09-30 20:17:38 -07:00
Kubernetes Prow Robot
bc2971277d
Merge pull request #83148 from YuikoTakada/81427_e2e_common
use log functions of core framework
2019-09-30 20:17:31 -07:00
Kubernetes Prow Robot
8826378be5
Merge pull request #83331 from aojea/getporturl_ipv6
Allow ipv6 urls in GetPortURL()
2019-09-30 16:13:31 -07:00
Kubernetes Prow Robot
2d491ace8d
Merge pull request #82439 from smarterclayton/async_ns_cleanup
test/e2e: Delete test namespaces asynchronously
2019-09-30 14:35:31 -07:00
Kubernetes Prow Robot
3d40c4cea2
Merge pull request #83322 from wojtek-t/remove_scalability_tests
Remove deprecated scalability tests
2019-09-30 11:47:59 -07:00
Kubernetes Prow Robot
48199d3c0f
Merge pull request #83219 from alejandrox1/framework-util-skip
Cleaned up skip* functions from framework/util.go
2019-09-30 11:47:39 -07:00
Antonio Ojea
5e6eb467ac
Allow ipv6 urls in GetPortURL() 2019-09-30 20:32:36 +02:00
yankaiz
bd03c3a096 Change XPN firewall change message, should be required by security admin.
Add l7lbSrcRngsFlag to gce_loadbalancer.go so that ingress can have
fewer source ranges for l7 health checks.
2019-09-30 11:19:42 -07:00
wojtekt
59533f0cd1 Remove deprecated scalability tests 2019-09-30 16:04:09 +02:00
Justin SB
747d4481db
e2e: on aws, tag volumes we want the cluster to mount
Locked down IAM configurations will prevent mounting of arbitrary
volumes, so when we create volumes that we intend the cluster to
mount, we must set the appropriate EC2 tags.
2019-09-30 00:51:49 -04:00
Kubernetes Prow Robot
7066107ae3
Merge pull request #83117 from zouyee/valid
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Kubernetes Prow Robot
14e5adfc85
Merge pull request #82683 from davidz627/fix/translationStruct
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing
2019-09-29 10:11:37 -07:00
Marek Counts
114d7855f3 Removal of kubernetes error dependancies
removed kubernetes error deps
2019-09-28 15:09:48 +00:00
Kubernetes Prow Robot
39286f3962
Merge pull request #83255 from misterikkit/vsphere_stress
E2E: Add missing Bootstrap() call
2019-09-28 00:13:38 -07:00
Mayank Gaikwad
99475f9499 Update e2e testing nodePort service listening on same port but different protocols 2019-09-28 06:36:27 +05:30
John Schnake
2dab911ac2 Use imageutils instead of hardcoded image paths
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
David Zhu
92cb06a2e7 Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing in future 2019-09-27 12:59:53 -07:00
Clayton Coleman
67283da28b
test/e2e: Delete test namespaces asynchronously
Now that namespace deletion is reliable, use the suite tear down
to catch non terminated namespaces and stop waiting within each test
for deletion.

Serial tests that need a clean set of namespaces must use the
appropriate flag to control whether they wait for clean namespaces
on startup.
2019-09-27 15:58:05 -04:00
Jonathan Basseri
378a074212 E2E: Add missing Bootstrap() call
One of the vsphere storage test suites was hitting a nil panic because
it did not call Bootstrap().
2019-09-27 11:01:27 -07:00
Jordan Liggitt
c7932e18b5 Deflake TestWatchBasedManager 2019-09-27 12:23:35 -04:00
Kubernetes Prow Robot
d92a250636
Merge pull request #81685 from oomichi/e2elog-framework-p-r
Use log functions of core framework on [r-u]
2019-09-26 19:27:37 -07:00
alejandrox1
f525e02e59 Cleaned up skip* functions from framework/util.go
This is an effort to clean up the framework util.go file so that it
makes more sense and it is more managable.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-09-26 21:20:29 -04:00
Kubernetes Prow Robot
354a812086
Merge pull request #82171 from mgdevstack/linuxOnly-sessionAffinity
Add LinuxOnly tag to e2e testing session affinity
2019-09-26 16:55:50 -07:00
Kubernetes Prow Robot
66755bda05
Merge pull request #83139 from cblecker/here-we-go-again
Update to use go1.12.10
2019-09-26 14:40:38 -07:00
Kubernetes Prow Robot
c449359119
Merge pull request #74977 from mgdevstack/master-conformance-pqdn
Promote DNS e2e verifying PQDN resolution for cluster
2019-09-26 14:39:36 -07:00
Kubernetes Prow Robot
c0ad143f64
Merge pull request #82632 from wojtek-t/node_lease_conformance
Promote lease API test to Conformance
2019-09-26 13:02:49 -07:00
Kubernetes Prow Robot
b622b15ad4
Merge pull request #79814 from k-toyoda-pi/e2e_add_kubectl_describe_cronjob
Add e2e test for kubectl describe cronjob
2019-09-26 13:02:34 -07:00
Kenichi Omichi
6499f93266 Use log functions of core framework on [r-u]
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-09-26 18:17:10 +00:00
Kubernetes Prow Robot
5e4abfb946
Merge pull request #83042 from draveness/feature/remove-score-with-normalize-extension
feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin
2019-09-26 10:49:20 -07:00
Kubernetes Prow Robot
aac13fc4eb
Merge pull request #82106 from oomichi/circular-kubelet
Cleanup DumpAllNamespaceInfo() in e2e test
2019-09-25 23:59:06 -07:00
YuikoTakada
9ed2f632cc use log functions of core framework 2019-09-26 02:45:07 +00:00
draveness
314ec4e504 feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin 2019-09-26 10:19:06 +08:00
Christoph Blecker
15bba1feed
Update to use go1.12.10 2019-09-25 17:13:43 -07:00
Ted Yu
88e2f8e04f Prune should respect namespace 2019-09-25 16:43:08 -07:00
Kubernetes Prow Robot
ff8716f4cf
Merge pull request #83116 from neolit123/1.16-OWNERS
kubeadm: update OWNERS for 1.16
2019-09-25 13:52:48 -07:00
Kubernetes Prow Robot
62965b9e47
Merge pull request #83067 from vivekbagade/lifecycle
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 13:51:51 -07:00
Kubernetes Prow Robot
f4ff0e37d9
Merge pull request #78418 from mysunshine92/fix-typo-e2e-node
fix typos  in /test/e2e_node
2019-09-25 13:50:06 -07:00
Kubernetes Prow Robot
0b4cccc9d1
Merge pull request #82912 from ahg-g/ahg-prefilter-update
An interface that allows pre-filter plugins to update their pre-calculated status
2019-09-25 11:06:40 -07:00
Kubernetes Prow Robot
4568c61526
Merge pull request #82664 from johnSchnake/disruptiveConformanceTest
Allow disruptive conformance tests and tag 2 as such
2019-09-25 11:06:27 -07:00
Kubernetes Prow Robot
df271a1799
Merge pull request #82291 from danwinship/getnodes
migrate from framework.GetReadySchedulableNodesOrDie to e2enode.GetReadySchedulableNodes
2019-09-25 11:04:43 -07:00
Kubernetes Prow Robot
c37c0b9dff
Merge pull request #82037 from ii/update-configmap-test
Update ConfigMap test
2019-09-25 11:04:01 -07:00
Kubernetes Prow Robot
327f53ba57
Merge pull request #83064 from liggitt/propagate-context
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
zouyee
11746bcc19 using short flags instead with validate
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 23:08:50 +08:00
Lubomir I. Ivanov
bbee054adc kubeadm: update OWNERS for 1.16 2019-09-25 18:07:38 +03:00
Jan Safranek
c1c0ba1c76 Use pod + nsenter instead of SSH in block volume tests
listPodVolumePluginDirectory was moved to break import cycle.
2019-09-25 13:34:27 +02:00
Vivek Bagade
24f15a5823 Adding lifecycle to RC, RCSet, Deployment, and Job testutils 2019-09-25 10:53:28 +02:00
John Schnake
d0ab1f06fb Allow disruptive conformance tests and marks 2
- Adjusts tooling to allow disrutpive tests to be marked conformance
 - Updates the corresponding tests
 - Marks 2 tests as disruptive
2019-09-24 14:17:37 -05:00
Kubernetes Prow Robot
ba19458dae
Merge pull request #82910 from hwdef/del-unused-var2
fix(test): delete unused unused var or const
2019-09-24 11:45:29 -07:00
Dan Winship
ec4c1a1c05 Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
Dan Winship
3c445b2ad0 Add e2enode.GetBoundedReadySchedulableNodes, replace some uses of framework.GetReadySchedulableNodesOrDie
For tests that want at-most-N nodes
2019-09-24 13:03:40 -04:00
Dan Winship
71b02dd422 Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Abdullah Gharaibeh
37b9e6d1ea An interface that allows pre-filter plugins to update their pre-calculated.
This is needed to allow efficient preemption simulations: during preemption, we remove/add pods from each node before running the filter plugins again to evaluate whether removing/adding specific pods will allow the incoming pod to be scheduled on the node. Instead of calling prefilter again, we should allow the plugin to do incremental update to its pre-computed state.
2019-09-24 13:01:50 -04:00
Kubernetes Prow Robot
4d18142120
Merge pull request #82998 from zouyee/lookforstring
cleanup unused function LookForStringInFile
2019-09-24 08:58:23 -07:00
Kubernetes Prow Robot
637b24d8ad
Merge pull request #82717 from hwdef/use-log-func2
use log func in test/e2e/apimachinery
2019-09-24 08:57:58 -07:00
Kubernetes Prow Robot
5eb830a819
Merge pull request #81978 from carlory/fix-test-02
cleanup test code in upgrades and autoscaling pkg
2019-09-24 08:57:43 -07:00
Kubernetes Prow Robot
7c09b0b1ec
Merge pull request #81911 from ahmad-diaa/use-scheduler-in-createConfiguratorArgsWithPodInformer
Use scheduler.New() Instead of factory.NewConfigFactory() in Integration Test scheduler_test.go
2019-09-24 08:57:28 -07:00
Jordan Liggitt
92eb072989 Propagate context to Authorize() calls 2019-09-24 11:14:54 -04:00
zouyee
51653480c9 fix Security Context should run with an image specified user ID
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-24 20:26:34 +08:00
Kubernetes Prow Robot
e31f1ba53e
Merge pull request #83010 from clarklee92/use-log-functions-of-e2e/autoscaling
Use log functions of core framework on test/e2e/autoscaling
2019-09-24 02:23:30 -07:00
Kubernetes Prow Robot
eccb813183
Merge pull request #83013 from clarklee92/use-log-functions-of-e2e/upgrades
Use log functions of core framework on test/e2e/upgrades
2019-09-24 00:25:41 -07:00
Kubernetes Prow Robot
aba654f96b
Merge pull request #81744 from praseodym/fix-staticcheck-pkg/scheduler
Fix staticcheck failures for pkg/scheduler/...
2019-09-24 00:25:27 -07:00
Kubernetes Prow Robot
699b1777cc
Merge pull request #82108 from oomichi/circular-metrics
Copy PrettyPrintJSON to core framework
2019-09-23 17:31:24 -07:00
Mark Janssen
1a1b7001d6 Fix staticcheck failures for scheduler packages
Errors from staticcheck:
cmd/kube-scheduler/app/server.go:297:27: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead.  (SA1019)
pkg/apis/scheduling/v1alpha1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
pkg/apis/scheduling/v1beta1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
test/e2e/scheduling/predicates.go:757:6: func verifyReplicasResult is unused (U1000)
test/e2e/scheduling/predicates.go:765:6: func getPodsByLabels is unused (U1000)
test/e2e/scheduling/predicates.go:772:6: func runAndKeepPodWithLabelAndGetNodeName is unused (U1000)
test/e2e/scheduling/limit_range.go:172:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:177:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:196:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:201:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:240:3: this value of pod is never used (SA4006)
test/e2e/scheduling/taints.go:428:13: this value of err is never used (SA4006)
test/e2e/scheduling/ubernetes_lite.go:219:2: this value of pods is never used (SA4006)
test/integration/scheduler/extender_test.go:78:4: this value of resp is never used (SA4006)
test/integration/volumescheduling/volume_binding_test.go:529:15: this result of append is never used, except maybe in other appends (SA4010)
test/integration/volumescheduling/volume_binding_test.go:538:15: this result of append is never used, except maybe in other appends (SA4010)
2019-09-23 22:52:57 +02:00
Kubernetes Prow Robot
c9c01fb902
Merge pull request #82654 from odinuge/test-timeout
Fix pre pull of images in DiskPressure tests
2019-09-23 12:27:25 -07:00
Kenichi Omichi
7c23ba1b34 Copy PrettyPrintJSON to core framework
PrettyPrintJSON is most used e2emetrics function and that doesn't seem
specific for metrics. The implementation itself is generic, so it is
nice to move it to core framework for avoiding circular dependency.
2019-09-23 18:10:50 +00:00
Kubernetes Prow Robot
d62ebe31f0
Merge pull request #82029 from losipiuk/lo/runners-scalability
Allow relaxing deleted pods checking in RC runner
2019-09-23 09:43:24 -07:00
clarklee92
9f38753c77 Use log functions of core framework on test/e2e/upgrades
This makes sub packages of e2e test upgrades to use log functions
of core framework instead for avoiding circular dependencies.

Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 16:09:33 +08:00
clarklee92
11ed53fbcb Use log functions of core framework on test/e2e/autoscaling
This makes sub packages of e2e test autoscaling to use log functions
of core framework instead for avoiding circular dependencies.

Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 15:30:26 +08:00
zouyee
02ab6ad067 cleanup unused function
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 10:34:42 +08:00
Kubernetes Prow Robot
946df1a914
Merge pull request #81932 from palnabarun/fix-staticcheck-tests-e2e_node
Fixes static check failures in test/e2e_node/*
2019-09-20 22:55:37 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
ba690c0796
Merge pull request #82955 from misterikkit/vsphere-sc
storage E2E: test drivers must have DNS-1123 names
2019-09-20 20:07:51 -07:00
Kubernetes Prow Robot
07e26d9bfc
Merge pull request #82922 from ZP-AlwaysWin/dev08
Use framework.ExpectNotEqual()
2019-09-20 20:07:40 -07:00
Kubernetes Prow Robot
4ed88d4232
Merge pull request #81819 from msau42/topology-e2es
add volume topology e2es
2019-09-20 20:07:25 -07:00
Jonathan Basseri
e47ddafa9f storage E2E: test drivers must have DNS-1123 names
Because driver names get used in some object names (e.g. StorageClass)
the driver name must be a valid DNS-1123 name.
2019-09-20 16:39:24 -07:00
Kubernetes Prow Robot
a7bd7a925d
Merge pull request #82908 from ZP-AlwaysWin/dev06
Use framework.ExpectNotEqual()
2019-09-20 16:17:58 -07:00
Ahmad Diaa
bf6a70a1ce use scheduler.Option in initTestSchedulerWithOptions 2019-09-21 00:06:42 +02:00
Ahmad Diaa
995e741ef9 use scheduler.New in createConfiguratorArgsWithPodInformer 2019-09-21 00:06:41 +02:00
Kubernetes Prow Robot
c7619bd770
Merge pull request #80824 from damemi/preemption-e2e-to-integration
Move PodPriorityResolution e2e to integration
2019-09-20 12:27:25 -07:00
Michelle Au
8d3abb83f9 Rename testCleanup to driverCleanup
Change-Id: I2ee50e2c7eed82724b7a2703819dcefcf7fa915f
2019-09-20 12:26:53 -07:00
Michelle Au
95c7b42340 add topology e2es to storage testsuite
Change-Id: I1ec4247cef5d477ae2a76136113a4ed5ce30bf44
2019-09-20 12:26:53 -07:00
Kubernetes Prow Robot
26cc580e65
Merge pull request #82807 from jpbetz/reinvoke-integration-flake-fix
Fix reinvocation test flake by scoping webhooks and markers
2019-09-20 01:33:20 -07:00
Kubernetes Prow Robot
259d6bf608
Merge pull request #82189 from deads2k/ns-resources
add conditions for remaining object totals during ns termination
2019-09-20 01:33:00 -07:00
ZP-AlwaysWin
b77462eddd Use framework.ExpectNotEqual() 2019-09-20 16:09:44 +08:00
Kubernetes Prow Robot
895642f9c3
Merge pull request #82742 from whypro/flagparse
Move flag.Parse() from init() to TestMain()
2019-09-20 00:09:12 -07:00
hwdef
321b690f62 fix(test): delete unused unused var or const 2019-09-20 14:41:53 +08:00
ZP-AlwaysWin
600da41778 Use framework.ExpectEqual() 2019-09-20 11:52:11 +08:00
ZP-AlwaysWin
93b822d5a2 Use framework.ExpectEqual() 2019-09-20 11:38:28 +08:00
ZP-AlwaysWin
59f766fe0a Use framework.ExpectEqual() 2019-09-20 11:36:03 +08:00
ZP-AlwaysWin
b386bd469c Use framework.ExpectEqual() 2019-09-20 10:06:16 +08:00
Mike Dame
ca18b48151 Move PodPriorityResolution e2e to integration 2019-09-19 20:25:03 -04:00
Łukasz Osipiuk
95d1f4d9b0 Allow relaxing deleted pods checking in RC runner
There is strong probabilty that some pods will be deleted when
we are bombarding cluster with high volume of pods. We do that in
Cluster Autoscaler scalability tests and we want to relax check there.

Change-Id: Ib7883666c0c952f61914ab51dcf1f5244e1e7e42
2019-09-19 21:49:03 +02:00
Kubernetes Prow Robot
b0e5b9c7b0
Merge pull request #82842 from ahg-g/ahg-framework-config
Modified the Filter interface to pass in nodeinfo instead of node name.
2019-09-19 11:05:39 -07:00
Odin Ugedal
ec605eb300
Fix pre pull of images in DiskPressure tests
This waits for DiskPressure to no longer exist before pre pulling images
after a DiskPressure test. Otherwise we risk to pull images, while
kubelet evicts/removes them.
2019-09-19 12:24:17 +02:00
carlory
d870514162 cleanup test code in upgrades and autoscaling pkg 2019-09-19 14:06:41 +08:00
Kubernetes Prow Robot
668a1a12ca
Merge pull request #82725 from ZP-AlwaysWin/dev04
replace $IMAGE_NAME with ${IMAGE_NAME}
2019-09-18 22:13:13 -07:00
Kubernetes Prow Robot
a54dba0d84
Merge pull request #81856 from damemi/ravig-fix-tbe
Convert TaintBasedEvictions e2e to integration test
2019-09-18 14:49:01 -07:00
Abdullah Gharaibeh
89f936f6ac Modified the Filter interface to pass in nodeinfo instead of node name.
This is necessary to support preemption, which relies on passing modified nodeinfo objects to the filters to simulate evicting lower-priority pods.
2019-09-18 17:27:33 -04:00
Kubernetes Prow Robot
ae99e2d412
Merge pull request #82812 from zouyee/emp
fix emptyDir volumes pod should support shared volumes between containers
2019-09-18 11:11:32 -07:00
ravisantoshgudimetla
7e1794dcb1 Convert tbe e2e to integration test 2019-09-18 13:24:54 -04:00
WanLinghao
a6f5d99409 Refactor and clean up e2e framework utils. This patch handles test/e2e/framework/pv_util.go file 2019-09-18 17:57:13 +08:00
zouyee
4931a7eba8 uses the API instead to fixemptyDir volumes pod should support shared volumes between containers
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-18 13:58:44 +08:00
Kubernetes Prow Robot
57d87502ba
Merge pull request #82338 from draveness/feature/use-apiserver-in-scheduler-benchmarks
feat(scheduler): use api server to watch scheduled pods
2019-09-17 22:47:30 -07:00
Kubernetes Prow Robot
c49cbe3514
Merge pull request #82803 from deads2k/dump-namespace-resource
dump namespace object in e2e when it doesn't get deleted
2019-09-17 16:55:15 -07:00
Joe Betz
2c8ffc329b Fix reinvokation test flake by isolating webhooks and markers 2019-09-17 15:30:37 -07:00
Kubernetes Prow Robot
67d928acdc
Merge pull request #82096 from logicalhan/version-deletion
remove pkg/version and some of redundant copies of it
2019-09-17 14:27:16 -07:00
Kubernetes Prow Robot
28ed0dbbe3
Merge pull request #82772 from zouyee/ccms
fix pod infra containers oom-score-adj testing
2019-09-17 12:57:16 -07:00
David Eads
fda9680fc3 dump namespace object in e2e when it doesn't get deleted 2019-09-17 14:51:59 -04:00
Kubernetes Prow Robot
e7090e8f5e
Merge pull request #81517 from danwinship/iptables-monitor
drop firewalld monitoring, add better iptables monitor
2019-09-17 10:58:02 -07:00
Odin Ugedal
b1308ed70a
Compact memory before requesting huge pages
Compact memory to make bigger contiguous blocks of memory available
before allocating huge pages.

https://www.kernel.org/doc/Documentation/sysctl/vm.txt
2019-09-17 17:04:01 +02:00
Kubernetes Prow Robot
3a19f1e80b
Merge pull request #82472 from draveness/feature/remove-feature-gates-in-1-17
feat: cleanup several GA feature flags which should be removed in 1.17
2019-09-17 06:58:24 -07:00
whypro
69f48d87a4 Move flag parse to main func from init() 2019-09-17 19:30:24 +08:00
Kubernetes Prow Robot
1d724554f0
Merge pull request #82696 from mm4tt/nginx_custom_lb_timeout
Adjust nginx lb timeout depending on the cluster size in tests
2019-09-16 20:28:23 -07:00
zouyee
efcf4f4da2 update process name to fix pod infra containers oom-score-adj should be -998 and best effort container's should be 1000
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-17 11:25:38 +08:00
draveness
54e0f4773c feat(scheduler): use api server to watch scheduled pods 2019-09-17 11:24:59 +08:00
Kubernetes Prow Robot
9d8acc02b6
Merge pull request #82760 from gnufied/fix-upgrade-e2e-tests
Allow upgrade test to run on all cloudproviders
2019-09-16 18:06:48 -07:00
Han Kang
866ea74326 remove pkg/version and some of redundant copies of it
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Hemant Kumar
72729fc4f2 Allow upgrade test to run on all cloudproviders 2019-09-16 15:42:04 -04:00
Kubernetes Prow Robot
e2e3de233d
Merge pull request #82733 from yutedz/webhook-invocation-len
Check the length of recorder.invocations
2019-09-16 12:40:52 -07:00
Matt Matejczyk
532298c399 Adjust nginx lb timeout in tests
In addition delete the service & lb before ending to test to avoid the case
when deleting the namespace times out due to long LB deletion.

Ref.  https://github.com/kubernetes/kubernetes/issues/82695
2019-09-16 13:07:47 +02:00
Ted Yu
5e5824f9c5 Check the length of recorder.invocations 2019-09-15 16:43:12 -07:00
Dan Winship
b6c3d5416a Drop iptables firewalld monitoring support
The firewalld monitoring code was not well tested (and not easily
testable), would never be triggered on most platforms, and was only
being taken advantage of from one place (kube-proxy), which didn't
need it anyway since it already has its own resync loop.

Since the firewalld monitoring was the only consumer of pkg/util/dbus,
we can also now delete that.
2019-09-15 15:35:40 -04:00
Dan Winship
967fd5aaf0 e2e: test that both kube-proxy and kubelet recover after iptables flush 2019-09-15 15:34:24 -04:00
carlory
5bbedd39c0 use log funcs of core framework in the auth, kubectl and windows pkg 2019-09-15 21:39:54 +08:00
ZP-AlwaysWin
d777b6aa94 replace with 2019-09-15 13:55:48 +08:00
hwdef
937d4df16a use log func in test/e2e/apimachinery 2019-09-14 17:30:26 +08:00
Kubernetes Prow Robot
07e58a361b
Merge pull request #82691 from hwdef/use-log-func1
use log func in test/e2e/network
2019-09-13 23:34:39 -07:00
Kubernetes Prow Robot
698d264c89
Merge pull request #82661 from sttts/sttts-non-structural-crd-publishing-int-test
apiextensions: add integration test for not publishing non-structural CRDs
2019-09-13 20:26:40 -07:00
Kubernetes Prow Robot
af88acc812
Merge pull request #82704 from ahg-g/ahg-default-registry
Resolved cycle dependency in framework plugins registration
2019-09-13 18:06:40 -07:00
Kubernetes Prow Robot
c2a3f0b0de
Merge pull request #82678 from mucahitkurt/skip-multi-node-vol-availability-tests-for-hostpath
Skip e2e tests that require node independent volume for the drivers that don't support node independent volumes
2019-09-13 14:18:29 -07:00
Mucahit Kurt
f0aa13cd46 skip e2e tests that run on multi node cluster and require node independent volume for the drivers that does not support node independent volumes, like hostpath
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-09-13 22:49:53 +03:00
Nabarun Pal
83c443e728
Fixes static check failures in test/e2e_node/* 2019-09-14 00:39:45 +05:30
Abdullah Gharaibeh
3174d9c847 Added a noop plugin to make sure we have the dependencies worked out for the default registry of the scheduler framework. 2019-09-13 13:36:35 -04:00
hwdef
af16366001 use log func in test/e2e/network 2019-09-13 17:54:51 +08:00
Dr. Stefan Schimanski
da377c3dd3 apiextensions: add integration test for not publishing non-structural CRDs 2019-09-13 10:21:18 +02:00
David Zhu
f15cc60957 Update golang scientific notation using hack/update-gofmt.sh 2019-09-12 18:05:49 -07:00
Kubernetes Prow Robot
4dd1e3fa43
Merge pull request #82585 from wojtek-t/fix_meta_internalversion_codecs
Ensure conversions are registered for metainternalversion codecs
2019-09-12 17:26:31 -07:00
Kubernetes Prow Robot
e53a952fa4
Merge pull request #82283 from ahmad-diaa/fix-field-types-in-scheduler-api-types
Migrate scheduler api types to sized integers
2019-09-12 15:56:32 -07:00
Kubernetes Prow Robot
21db9c2670
Merge pull request #82653 from liggitt/skip-publish-nonstructural
Skip publishing OpenAPI for nonstructural schemas
2019-09-12 14:12:27 -07:00
Jordan Liggitt
0f64ec9456 Only publish openapi for structural schemas 2019-09-12 15:30:19 -04:00
wojtekt
4ec66c842e Promote lease API test to Conformance 2019-09-12 19:58:04 +02:00
wojtekt
54163527a6 Ensure conversions are registered for metainternalversion codecs 2019-09-12 19:32:02 +02:00
Ahmad Diaa
801cc549be migrate scheduler api types to sized integers 2019-09-12 19:06:40 +02:00
Kubernetes Prow Robot
3f33bfd801
Merge pull request #82600 from johnbelamaric/conformance-approver
Add johnbelamaric as conformance approver
2019-09-12 10:04:54 -07:00
Kubernetes Prow Robot
b3c4bdea49
Merge pull request #81997 from hwdef/fix-t/e/i/logging
use log functions of core framework
2019-09-12 08:16:41 -07:00
Kubernetes Prow Robot
6f1d84c24e
Merge pull request #81985 from carlory/fix-test-05
use log funcs of core framework in the scalability and cloud package
2019-09-12 08:16:28 -07:00
Kubernetes Prow Robot
043b96ee89
Merge pull request #82569 from calmkart/master
MOD:fix spelling errors
2019-09-11 22:53:06 -07:00
Kubernetes Prow Robot
50b8b42c1b
Merge pull request #82498 from liggitt/race-flake
Avoid encoding from competing goroutines
2019-09-11 21:23:50 -07:00
Kubernetes Prow Robot
5856ad57bb
Merge pull request #82481 from SataQiu/fix-e2e-kubeadm
e2e_kubeadm: fix command flags description
2019-09-11 21:22:35 -07:00
Kubernetes Prow Robot
118ae226b8
Merge pull request #82433 from alejandrox1/patch-1
Added alejandrox1 as test/e2e/framework reviewer
2019-09-11 18:28:15 -07:00
Kubernetes Prow Robot
1e70457df4
Merge pull request #82187 from ahg-g/ahg-prebind
Error out when Scheduler PreBind plugins return Unschedulable
2019-09-11 18:27:29 -07:00
Kubernetes Prow Robot
439e92b0c7
Merge pull request #82053 from tedyu/svc-update-break
Break out of loop when finalizer is found
2019-09-11 18:27:04 -07:00
Kubernetes Prow Robot
0c9288e97d
Merge pull request #82416 from mm4tt/nginx_ingress
Create LoadBalancer in nginx ingress tests
2019-09-11 15:28:11 -07:00
Kubernetes Prow Robot
7efc8e33d6
Merge pull request #82367 from jsafrane/cinder-block-tests
Enable block tests for Cinder
2019-09-11 15:27:07 -07:00
Kubernetes Prow Robot
3b393e3d17
Merge pull request #82330 from draveness/feature/remove-additional-cost-in-the-scheduler-benchmark
fix(scheduler): remove the defer function cost
2019-09-11 15:26:23 -07:00
Kubernetes Prow Robot
411caaf469
Merge pull request #82324 from andyzhangx/fix-azure-pv-e2e-test
test: fix azure disk e2e test failure
2019-09-11 15:25:53 -07:00
John Belamaric
84070403da Add johnbelamaric as conformance approver 2019-09-11 12:36:13 -07:00
Abdullah Gharaibeh
54ac023a53 Scheduler PreBind plugins are currently allowed to return Unschedulable status, which should not according to the KEP and comments. 2019-09-11 14:03:18 -04:00
Kubernetes Prow Robot
c12d8de141
Merge pull request #82245 from jsafrane/use-pause-for-race
Don't require any resources in race test
2019-09-11 10:42:02 -07:00
Kubernetes Prow Robot
caf21ac4ff
Merge pull request #82241 from jsafrane/disable-cephfs-test
Mark Ceph tests as serial
2019-09-11 10:41:48 -07:00
Kubernetes Prow Robot
51e9ff8579
Merge pull request #82224 from liggitt/debug-kubectl-e2e-log
Add debug info to kubectl e2e
2019-09-11 10:41:04 -07:00
Kubernetes Prow Robot
f5ae0604ad
Merge pull request #82175 from yutedz/fld-mgr-conflict
Move Update Apply conflict test to field manager test
2019-09-11 10:40:14 -07:00
Kubernetes Prow Robot
e3b5062057
Merge pull request #82170 from vivekbagade/graceTermination
Adding termination grace period to Deployment, RC, RCSet, and Job
2019-09-11 10:39:59 -07:00
Kubernetes Prow Robot
4b6c32c097
Merge pull request #82121 from Zhuzhenghao/typo/bound
Typo fix: binded -> bound
2019-09-11 10:39:28 -07:00
Kubernetes Prow Robot
4ab4e201aa
Merge pull request #82060 from aojea/isipv6method
Add a method to TestContext to check if is IPv6
2019-09-11 10:38:48 -07:00
Kubernetes Prow Robot
aa07db3b77
Merge pull request #82040 from ahmad-diaa/use-scheduler-in-volumescheduling
Use scheduler.New() Instead of factory.NewConfigFactory() in volumescheduling Integration Test
2019-09-11 07:03:24 -07:00
Kubernetes Prow Robot
3870692dff
Merge pull request #81983 from carlory/fix-test-04
use log functions of core framework in the 'test/e2e/storage/*'
2019-09-11 04:17:24 -07:00
Kubernetes Prow Robot
e60fd899e4
Merge pull request #81982 from s-ito-ts/81427_e2e_scheduling
Use log functions of core framework on test/e2e/scheduling
2019-09-11 02:49:25 -07:00
calmkart
00fcce9a58 MOD:fix spelling errors 2019-09-11 16:46:25 +08:00
Kubernetes Prow Robot
3bf2b1258d
Merge pull request #81980 from carlory/fix-test-03
cleanup test code in lifecycle, servicecatalog and ui package
2019-09-11 01:17:23 -07:00
calmkart
d558a89437 MOD:fix spelling errors 2019-09-11 15:59:15 +08:00
Kubernetes Prow Robot
5823cfce76
Merge pull request #81974 from carlory/fix-test-01
clean up test code
2019-09-10 23:49:21 -07:00
Sandeep Sunny
6b0748d3b5 Added e2e test to verify zone support across datacenters in the same vCenter 2019-09-10 23:14:41 -07:00
Kubernetes Prow Robot
0f46a8a4c8
Merge pull request #81043 from johnSchnake/whitelistedTaints
Add new flag for whitelisting node taints
2019-09-10 20:44:46 -07:00
Kubernetes Prow Robot
86b426932b
Merge pull request #81479 from danwinship/service-test-cleanup-2
more e2eservice.TestJig cleanups
2019-09-10 14:31:04 -07:00
Kubernetes Prow Robot
e1a432f08e
Merge pull request #81384 from Huang-Wei/fix-preemption-flakes
Apply zero TerminationGracePeriodSeconds to preemption victims
2019-09-10 14:30:17 -07:00
Kubernetes Prow Robot
6d67e3d154
Merge pull request #80780 from s-ito-ts/e2etest_podantiaffinity
e2e test: Label all nodes in pod anti-affinity test.
2019-09-10 14:30:01 -07:00
Kubernetes Prow Robot
344054bf4a
Merge pull request #80742 from k-toyoda-pi/fix_shellcheck_image-util
Fix shellcheck failure in test/image/image-util.sh
2019-09-10 14:29:45 -07:00
Kubernetes Prow Robot
fddd2bddb8
Merge pull request #80697 from draveness/feature/remove-scheduler-new-config-factory
feat: use scheduler.New instead in createSchedulerConfigurator
2019-09-10 14:29:29 -07:00
Kubernetes Prow Robot
1888745c3d
Merge pull request #82520 from sttts/sttts-test-liveness-pod
test: fix liveness pod
2019-09-10 02:36:55 -07:00
Dr. Stefan Schimanski
ace8fd945d test: fix liveness pod 2019-09-10 10:15:11 +02:00
Jordan Liggitt
510140ee27 Avoid encoding from competing goroutines 2019-09-09 12:03:38 -04:00
SataQiu
0a706d3827 e2e_kubeadm: fix command flags description 2019-09-09 18:39:33 +08:00
Claudiu Belu
b91aa9a5c3 tests: Replaces Redis image with Agnhost
Some tests are using the Redis image, but they do not explicitly need it.
This commit replaces the usage of the Redis image with the Agnhost image
in such test cases.
2019-09-09 00:25:18 -07:00
Kubernetes Prow Robot
35cf6b6cbc
Merge pull request #82262 from nilo19/t-qini-fix_index_panic
Prevent resultPod.Status.ContainerStatuses from being empty.
2019-09-08 21:47:17 -07:00
draveness
2c0d6053fa feat: remove PersistentLocalVolumes feature gates 2019-09-09 08:10:27 +08:00
Kubernetes Prow Robot
90f41951cd
Merge pull request #82420 from openSUSE/e2e-fix
Fix wrong command in e2e agnhost utility function
2019-09-06 17:41:20 -07:00
Kubernetes Prow Robot
e682310dcc
Merge pull request #82438 from liggitt/apply-fallback
Fallback to schemaless apply behavior for custom resources with unhandled schemas
2019-09-06 15:37:19 -07:00
Kubernetes Prow Robot
ab73a018de
Merge pull request #82018 from odinuge/prepull-images-after-tests
Add pre pull of e2e images after DiskPressure test
2019-09-06 13:49:20 -07:00
Jordan Liggitt
3904e14b40 Fallback to schemaless apply behavior for custom resources with unhandled schemas 2019-09-06 15:39:28 -04:00
Jorge Alarcon Ochoa
849386980c
Added alejandrox1 as test/e2e/framework reviewer 2019-09-06 12:39:16 -04:00
David Eads
95ae353f3a squash: reaction to comments 2019-09-06 09:58:41 -04:00
David Eads
0355f4482b add conditions for remaining object totals during ns termination 2019-09-06 09:50:41 -04:00
Matt Matejczyk
bd0691d159 Create LoadBalancer in nginx ingress tests
This should fix the nginx ingress test in private clusters.
See https://k8s-testgrid.appspot.com/sig-scalability-experiments#gce-private-cluster-correctness

Ref. https://github.com/kubernetes/kubernetes/issues/77538
2019-09-06 15:36:54 +02:00
Sascha Grunert
c8b656db50
Fix wrong command in e2e agnhost utility function
The `Command` will cause the container process not starting correctly,
so we now use the `Args` to end up running `/agnhost pause` as intended.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-09-06 15:05:40 +02:00
Kubernetes Prow Robot
1866891f71
Merge pull request #79235 from justinsb/fix_73099
kubectl attach test: wait for input before proceeding
2019-09-06 04:36:57 -07:00
carlory
910bd000ff use log functions of core framework in the 'test/e2e/storage/*' 2019-09-06 10:26:16 +08:00
Mayank Gaikwad
eb07002d41 Promote PQDN for services DNS e2e to Conformance 2019-09-06 02:14:46 +05:30
Kubernetes Prow Robot
208cfaad25
Merge pull request #82288 from deads2k/ns-conditions
fix namespace termination conditions to be consistent and correct
2019-09-05 13:01:11 -07:00
John Schnake
3c53481d5c Move from regexp to csv string 2019-09-05 14:37:16 -05:00
Kubernetes Prow Robot
2e6b073a3f
Merge pull request #82335 from rphillips/fixes/e2e_crash
kubelet e2e: defer the close to after the error check
2019-09-05 11:30:43 -07:00
carlory
d1290ffdef clean up test code 2019-09-05 23:44:19 +08:00
Dan Winship
c921c6893b inline e2eservice.CreatePausePodDeployment into tests
This isn't a generically-useful helper; it's specific to 2 test cases.
2019-09-05 11:43:42 -04:00
Dan Winship
0b9fa1146f Move a bunch of totally non-jiggy code out of e2eservice.TestJig
When test/e2e/framework/service was first created, a lot of service
test code got crammed into TestJig even though it didn't use any of
TestJig's members. Make that code available outside of TestJig.
2019-09-05 11:36:26 -04:00
Kubernetes Prow Robot
c4c64673d7
Merge pull request #82199 from dims/update-to-etcd-3.3.15-0-image
Update default etcd server to 3.3.15 for kubernetes 1.16
2019-09-05 06:35:10 -07:00
t-qini
56219956ec Prevent resultPod.Status.ContainerStatuses from being empty. 2019-09-05 20:31:21 +08:00