Kubernetes Prow Robot
f8f6229d77
Merge pull request #87950 from tanjunchen/fix-no-non-ascii-characters-/test
...
test/ : fix non-ascii characters
2020-02-10 17:22:15 -08:00
Kubernetes Prow Robot
921ef35e64
Merge pull request #87949 from 928234269/non_ascii_01
...
Fix non-ascii characters in test/e2e_node and test/network.
2020-02-10 17:22:01 -08:00
Michelle Au
1ee35e788e
Use NodeSelector instead of NodeName in hostexec Pod so that the Pod runs through the scheduler
...
Change-Id: Ia2f7ad39af318bbe707b43dfea706293ecdf5203
2020-02-10 15:36:04 -08:00
Jonathan Basseri
09121d9686
Add missing tag to vSphere storage E2E tests
...
This adds the [Feature:vsphere] tag to those vSphere tests which were
missing it. This makes it easier to specifically target the vSphere
storage E2E test suite.
2020-02-10 14:48:55 -08:00
Francesco Romani
70cce5e3f1
e2e: topomgr: introduce sriov setup/teardown funcs
...
Reorganize the code with setup and teardown functions,
to make room for the future addition of more device plugin
support, and to make the code a bit tidier.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
2f0a6d2c76
e2e: topomgr: use constants for test limits
...
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
fee1dba054
e2r: topomgr: improve the test logs
...
Add clarification to which test is doing what, to make
the test output easier to understand.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
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
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
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