Kubernetes Prow Robot
345e58b434
Merge pull request #75071 from mkimuram/issue/74552e2e
...
Fix volume reconstruction and add e2e tests
2019-08-06 06:05:55 -07:00
Jun Gong
a2f178ecd7
Refine TestFilterPlugin
2019-08-06 13:41:32 +08:00
moriadry
4b8080dda8
Fix error collides with imported package name
...
Fix error collides with imported package name
fix
fix
2019-08-06 12:20:29 +08:00
Kubernetes Prow Robot
65e5439faf
Merge pull request #80991 from davidz627/fix/testMani
...
Add davidz627 to testing manfiests csi owners
2019-08-05 19:58:28 -07:00
Kubernetes Prow Robot
3fdf5cf2ac
Merge pull request #80879 from ravisantoshgudimetla/fix-taint-manager
...
Wait for pods to be running before eviction starts
2019-08-05 19:58:07 -07:00
Kubernetes Prow Robot
da4248602d
Merge pull request #80516 from adelina-t/refactor_kubectl_test
...
Refactor kubectl retrieve logs test to use agnhost
2019-08-05 19:57:53 -07:00
Caleb Woodbine
b10743236e
Update function for data inequality verification
2019-08-06 01:53:08 +00:00
Kubernetes Prow Robot
4d337d2d32
Merge pull request #80990 from davidz627/fix/pdDriverMani
...
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 18:18:44 -07:00
Kubernetes Prow Robot
f18d1ad6c1
Merge pull request #80821 from damemi/duplicate-e2e
...
Remove duplicate scheduler anti-affinity preemption e2e
2019-08-05 18:18:06 -07:00
Kubernetes Prow Robot
b409073e99
Merge pull request #80496 from alejandrox1/e2e-framework-import-restrictions
...
Added import restrictions file to e2e framework
2019-08-05 15:08:43 -07:00
David Zhu
f5e95d1897
Add davidz627 to testing manfiests csi owners
2019-08-05 14:04:22 -07:00
Kubernetes Prow Robot
a56f3ed0b8
Merge pull request #80706 from WanLinghao/refactor_e2e_kubelet_stats
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-05 13:36:16 -07:00
Kubernetes Prow Robot
cce048123d
Merge pull request #80610 from aojea/ipv6kubectl
...
Add ipv6 support to the e2e kubectl tests
2019-08-05 13:36:02 -07:00
David Zhu
6d6faff491
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 13:23:17 -07:00
Vinicyus Macedo
0f21b692e4
Moved e2e boilerplate to framework
2019-08-05 16:23:56 -03:00
alejandrox1
f948ce176d
Added import restrictions file to e2e framework
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-05 14:27:12 -04:00
Kubernetes Prow Robot
cc270c138d
Merge pull request #78097 from draveness/feature/post-filter-extension-point
...
feat: implement "post-filter" extension point for scheduling framework
2019-08-03 09:43:51 -07:00
Kubernetes Prow Robot
7c86bdb8e5
Merge pull request #80928 from logicalhan/flake
...
increase timeout for maximum-startup-sequence-duration as a stopgap
2019-08-03 01:27:58 -07:00
Kubernetes Prow Robot
9827a6edc8
Merge pull request #80922 from ravisantoshgudimetla/fix-priority-toleration
...
Toleration priority function score computation
2019-08-02 20:28:44 -07:00
ravisantoshgudimetla
7c53ccfd68
Toleration priority function score computation
...
I think, if a pod doesn't have any tolerations, we don't prefer node without taints to
the one which has taints in https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/algorithm/priorities/taint_toleration.go#L29 , so there is no point in testing that particular functionality. The side effect of the above is, since we're going round-robin in every scheduling cycle sometimes we're choosing first node and in the next cycle we'd move onto next node(where taints are not being applied), so it's causing problem unnecessarily
2019-08-02 14:18:25 -07:00
Han Kang
981a4c95d9
increase timeout for maximum-startup-sequence-duration to decrease probability of a flake
2019-08-02 13:48:02 -07:00
Kubernetes Prow Robot
c68eeb230a
Merge pull request #80902 from bskiba/fix-prom-to-sd-image
...
Fix registry for prometheus-to-sd
2019-08-02 12:40:48 -07:00
Kubernetes Prow Robot
cd04b13a1d
Merge pull request #80882 from ravisantoshgudimetla/add-logging
...
Don't supress the node update error while logging
2019-08-02 12:40:22 -07:00
ravisantoshgudimetla
b4ea510529
Wait for pods to be running before eviction starts
2019-08-02 11:00:26 -07:00
Kubernetes Prow Robot
6278b90731
Merge pull request #80805 from mgdevstack/flaky-execPod
...
Fix failing service e2e due to execPod unavailability
2019-08-02 08:43:52 -07:00
Kubernetes Prow Robot
f370abb230
Merge pull request #80595 from aojea/e2e_preserve
...
Add IPv6 support to preserve source pod IP test
2019-08-02 06:53:53 -07:00
Kubernetes Prow Robot
231a6a7850
Merge pull request #80861 from mborsz/addon
...
Update kube-addon-manager to v9.0.2
2019-08-02 04:53:58 -07:00
Beata Skiba
3e96208700
Fix registry for prometheus-to-sd
2019-08-02 13:36:08 +02:00
Kubernetes Prow Robot
666d58bccc
Merge pull request #80778 from oomichi/cleanup-resource-quota
...
Removed unsed return values of createResourceQuota
2019-08-02 02:35:53 -07:00
draveness
aeadd793cb
feat: update multiple files in e2e node with framework helpers
2019-08-02 14:39:05 +08:00
Kubernetes Prow Robot
9743d7f270
Merge pull request #80730 from jennybuckley/apply-raw
...
Use raw bytes instead of nested map in metav1.Fields
2019-08-01 20:11:52 -07:00
draveness
feb64858aa
feat: implement "post-filter" extension point for scheduling framework
2019-08-02 10:12:54 +08:00
ravisantoshgudimetla
2d8a021bb1
Don't supress the node update error while logging
2019-08-01 17:43:45 -07:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Kubernetes Prow Robot
e857ae090c
Merge pull request #80011 from Huang-Wei/eps-int-test
...
Even Pods Spread - 6. Integration Test
2019-08-01 17:19:51 -07:00
Antonio Ojea
48f1756b93
Add IPv6 support to preserve source pod IP test
...
Co-Authored-By: Benjamin Elder <bentheelder@google.com>
2019-08-02 00:16:05 +02:00
Kubernetes Prow Robot
3287bf7a3a
Merge pull request #80859 from wojtek-t/fix_selflinks_in_tests
...
Fix selflinks in tests
2019-08-01 15:01:30 -07:00
Jordan Liggitt
308c23cf89
Generated
2019-08-01 17:17:42 -04:00
Jordan Liggitt
dda9bcb082
AdmissionReview: Allow webhook admission to dispatch v1 or v1beta1
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
bb707c8fe2
Merge pull request #80860 from AdamDang/patch-29
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 13:39:07 -07:00
Masaki Kimura
2306d2ff31
Refactor e2e tests
2019-08-01 20:09:47 +00:00
Jan Safranek
d79b7c754f
Add in-line filesystem volumes to MakeSecPod
2019-08-01 20:04:11 +00:00
Masaki Kimura
f1d2d9d670
Move disruptive tests to testsuites and add ones for block volume
2019-08-01 20:04:10 +00:00
Caleb Woodbine
b845fee7f7
Add ConfigMap patch e2e test with validation step
...
Test originally written by draveness for this PR:
https://github.com/kubernetes/kubernetes/pull/78924
This commit adds a validation step to the test.
2019-08-01 13:00:59 -07:00
Claudiu Belu
103498f538
test images: Adds version and bind-tools to agnhost
...
Adds bind-tools to the agnhost image. With this, dig will available
in the agnhost image, which can be used in DNS related tests.
Adds the --version flag to the agnhost binary, which will be useful for
debugging purposes (e.g.: when the image version does not match the binary
version).
Bumps version to 2.5.
2019-08-01 12:27:35 -07:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test
2019-08-01 10:42:27 -07:00
Kubernetes Prow Robot
9fdda3f610
Merge pull request #77534 from WanLinghao/psp_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-08-01 09:46:15 -07:00
Kubernetes Prow Robot
e40cfd984d
Merge pull request #80378 from davidz627/fix/gceAM
...
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-08-01 08:16:42 -07:00
Maciej Borsz
e442a427f5
Update kube-addon-manager to v9.0.2.
2019-08-01 16:15:51 +02:00
AdamDang
799fb862a5
Typo fix: DaemonsSet->DaemonSet
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 22:11:15 +08:00
wojtekt
bc00248e71
Fix selflinks in tests
2019-08-01 15:50:03 +02:00
Kubernetes Prow Robot
a1727472b2
Merge pull request #79195 from xychu/fix-shellchecks-d
...
Fix shellcheck failures in test/cmd/{d,l}.*.sh
2019-08-01 05:46:14 -07:00
Aldo Culquicondor
d935b1054c
Remove Configurator interface
...
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.
Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-08-01 08:36:38 -04:00
WanLinghao
92b0310cc5
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-01 17:40:02 +08:00
Kubernetes Prow Robot
86ebaaa023
Merge pull request #80816 from msau42/update-hostpath-csi
...
fix snapshotter rbac rules
2019-08-01 00:52:41 -07:00
Kubernetes Prow Robot
e4dfed624a
Merge pull request #80427 from mlmhl/kubemark-e2e
...
fix kubemark e2e test script
2019-08-01 00:52:28 -07:00
Kubernetes Prow Robot
e694959038
Merge pull request #80708 from WanLinghao/util_pods_refacotr
...
Move pod related functions in file test/e2e/framework/util.go to its sub directory
2019-07-31 20:08:38 -07:00
Kubernetes Prow Robot
fb46ec8455
Merge pull request #80383 from liu-cong/normalizescore
...
Add NormalizeScore extension point for scheduler framework.
2019-07-31 20:08:24 -07:00
Kubernetes Prow Robot
a6dca16d99
Merge pull request #80144 from Huang-Wei/stateless-ApplyFeatureGates
...
scheduler: make ApplyFeatureGates() stateless
2019-07-31 20:08:14 -07:00
Mayank Gaikwad
bf1597f665
Fix failing service e2e due to execPod IP unavailability
2019-08-01 08:34:22 +05:30
Dave Chen
aba7e7597b
doc: fix couple of issues for the doc of agnhost
...
- The code for google analytics is not well-formatted, which cause its not
rendered well and properly not work as expected.
- webhook v1beta1 is out, the `TODO` in the guide could be removed.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-01 10:54:57 +08:00
toyoda
c9ec5210e9
Use ExpectEqual in test/e2e_node/[a-d]
2019-08-01 09:27:52 +09:00
jennybuckley
addad99b6f
Use raw bytes in metav1.Fields instead of map
...
Also define custom proto unmarshaller that understands the old format
2019-07-31 16:05:54 -07:00
Kubernetes Prow Robot
39af3cccd6
Merge pull request #80769 from liggitt/admission-conformance
...
Convert e2e webhook tests to use v1 API
2019-07-31 13:48:28 -07:00
Kubernetes Prow Robot
a9a68c5e44
Merge pull request #80809 from bskiba/fix-exporter-image
...
Fix registry for PrometheusDummyExporter
2019-07-31 11:42:27 -07:00
Mike Dame
66b7d86a2f
Remove duplicate scheduler anti-affinity preemption e2e
2019-07-31 14:40:02 -04:00
Kubernetes Prow Robot
873e1fca75
Merge pull request #80795 from s-ito-ts/e2e_kubeadm
...
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 08:55:01 -07:00
Kubernetes Prow Robot
ffc2947149
Merge pull request #80772 from seans3/move-scale-updater-staging
...
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-31 06:56:35 -07:00
Beata Skiba
f629d26611
Fix registry for PrometheusDummyExporter
2019-07-31 15:38:36 +02:00
Kubernetes Prow Robot
14f4288ef4
Merge pull request #80739 from mlmhl/e2e
...
report error message when reset scheduler metrics in e2e test
2019-07-31 05:29:00 -07:00
Kubernetes Prow Robot
db2c55a86c
Merge pull request #80680 from SataQiu/clean-e2e-node
...
e2e_node: clean up non-recommended import
2019-07-31 05:28:21 -07:00
Kubernetes Prow Robot
e5cec2edc8
Merge pull request #80646 from danwinship/network-granular-checks
...
Un-[Slow] a bunch of networking tests
2019-07-31 03:04:21 -07:00
SataQiu
b5d5e7a9b4
update RSA keys to 2048 bits
2019-07-31 17:48:35 +08:00
s-ito-ts
1a33b58a9c
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 06:56:50 +00:00
Sean Sullivan
c011df28a4
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-30 23:15:15 -07:00
WanLinghao
e43572f02b
Move pod related functions file in test/e2e/framework/util.go to its sub direcotry
2019-07-31 13:53:41 +08:00
Kubernetes Prow Robot
17c533ac05
Merge pull request #80645 from verb/debug-api-test-owners
...
Assign OWNERS for pod integration tests to sig-node
2019-07-30 22:44:20 -07:00
Kenichi Omichi
23b7ec523d
Removed unsed return values of createResourceQuota
...
These values are not used at all, so let's remove them.
In addition, this adds framework.ExpectNoError() to the place
there was not error handling of createResourceQuota().
2019-07-31 01:53:44 +00:00
Jordan Liggitt
7f51beebb1
Fix hanging webhook error checking
2019-07-30 21:04:46 -04:00
Cong Liu
34373662d3
Add NormalizeScore extension point for scheduler framework.
2019-07-30 20:02:13 -04:00
Kubernetes Prow Robot
75d5189612
Merge pull request #80678 from seans3/move-polymorphic-staging
...
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 16:11:11 -07:00
Jordan Liggitt
bfaea07b06
Convert e2e webhook tests to use v1 API
2019-07-30 18:13:11 -04:00
Adelina Tuvenie
f8a38220e3
Refactor kubectl retrieve logs test to use agnhost
...
Windows is having trouble running this test because the Redis
port for Windows is older than the one used by the test, as
described in the issue #80265 .
Changing the "Kubectl should retrieve and filter logs" test
to use the agnhost image to generate the logs.
Fixes: https://github.com/kubernetes/kubernetes/issues/80265
2019-07-30 21:57:43 +03:00
Wei Huang
eb3ed24853
scheduler: make ApplyFeatureGates() stateless
2019-07-30 11:41:57 -07:00
Sean Sullivan
9f3384f02f
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 10:10:30 -07:00
Kubernetes Prow Robot
269183a7a8
Merge pull request #80666 from oomichi/cleanup-ResourceEventHandlerFuncs
...
Remove duplicated check in ObserveEventAfterAction
2019-07-30 10:09:43 -07:00
Kubernetes Prow Robot
e116b6f09d
Merge pull request #80615 from jeefy/e2e-test-fixes
...
Support passing `Args` for `newrc` function within `test/e2e`
2019-07-30 08:53:17 -07:00
Kubernetes Prow Robot
a1a8641eff
Merge pull request #80424 from chendave/doc
...
update guide to make the command works as expected
2019-07-30 05:33:31 -07:00
Kubernetes Prow Robot
d248bd099d
Merge pull request #80233 from alculquicondor/refactor/configurator
...
Remove NodeLister from Scheduler Configurator
2019-07-30 05:33:17 -07:00
Kubernetes Prow Robot
a23fc83fcd
Merge pull request #79751 from aojea/e2eDownwardAPI
...
Add e2e test for downward API with host network
2019-07-30 03:35:44 -07:00
Kubernetes Prow Robot
80d32e8ca2
Merge pull request #75000 from oomichi/cleanup-ingress
...
Fix error message of ListTargetHTTPSProxies
2019-07-30 03:34:50 -07:00
Kubernetes Prow Robot
614aab80f5
Merge pull request #78740 from oomichi/extend-check
...
Make the check strict to use ExpectNoError()
2019-07-30 01:59:04 -07:00
mlmhl
f2cf68b2a0
report error message when reset scheduler metrics in e2e test
2019-07-30 14:30:48 +08:00
Antonio Ojea
d20698a7a8
Debug values when test fail
2019-07-30 00:42:34 +02:00
Sean Sullivan
6c96a059dd
Move pkg/kubectl/cmd/util and subdirs to staging
2019-07-29 13:08:41 -07:00
skarthiksrinivas
73271c1970
Provision vSphere volume as per selectedNode
2019-07-28 22:03:02 -07:00
Kubernetes Prow Robot
c1d2ac43ee
Merge pull request #80259 from Nordix/kubeadm-e2e-networking-config
...
Kubeadm Networking Configuration E2E Tests
2019-07-28 18:21:53 -07:00
Jeffrey Sica
ea2f6c80d7
support args for newrc funcs
2019-07-28 11:45:43 -04:00
Dave Chen
5d268b9570
update guide to make the command works as expected
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-28 17:27:54 +08:00
SataQiu
641d330f89
e2e_node: clean up non-recommended import
2019-07-28 12:49:36 +08:00
Arvinderpal Wander
ca3bdfd793
kubeadm networking related tests.
...
* podSubnet check: if a podSubnet is specified in kubeadm-config
then the e2e test will check that pod-cidrs of individual nodes
fall within this range.
* serviceSubnet check: if a serviceSubnet is specified in
kubeadm-config then the e2e test will check that the kubernetes
service created in the default namespace got a service IP
from the configured range.
2019-07-27 07:30:26 -07:00
WanLinghao
d288bc0368
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-07-27 16:24:08 +08:00
Kubernetes Prow Robot
0f32f9ef0e
Merge pull request #77100 from chardch/add-driver-version
...
Emit the nvidia driver version in gpu e2e test
2019-07-27 00:49:57 -07:00
Kubernetes Prow Robot
a63446d5c7
Merge pull request #80669 from oomichi/dig-predicates
...
Add message which shows how much CPU used
2019-07-26 23:23:57 -07:00
Michelle Au
b60a55dc4f
fix snapshotter rbac rules
...
Change-Id: Ic6ebec87fd6d230a8e6cc2998df4b20d7a04a02b
2019-07-26 21:55:37 -07:00
Kubernetes Prow Robot
5e7c707e3c
Merge pull request #80662 from BenTheElder/fix-bazel
...
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 21:33:56 -07:00
Kubernetes Prow Robot
7075853a70
Merge pull request #80254 from hex108/preempt_with_permit
...
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-26 20:16:11 -07:00
Kenichi Omichi
c6c274e8c9
Add message which shows how much CPU used
...
"validates resource limits of pods that are allowed to run" test of
conformance tests are flake on some local environments.
The CPU workload pods don't seem work well and nodes have still CPU
capacity after running the workload pods. Then the conformance test
failed unexpectedly.
This adds message which shows how much CPU used by the workload pods
for investigating it easily.
2019-07-27 02:13:52 +00:00
Kenichi Omichi
18e3807cd7
Remove duplicated check in ObserveEventAfterAction
...
In ObserveEventAfterAction(), observedMatchingEvent is set if ok is
true. Now the ok is already checked with framework.ExpectEqual().
So this removes duplicated check for code cleanup.
2019-07-27 01:03:10 +00:00
Kubernetes Prow Robot
a300104f0a
Merge pull request #80578 from tsmetana/revert-pr78697
...
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-26 16:52:10 -07:00
David Zhu
0313dc217e
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-07-26 15:20:47 -07:00
Benjamin Elder
4542cb937f
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 14:32:40 -07:00
Kenichi Omichi
7ca57877b0
Fix error message of ListTargetHTTPSProxies
...
The error message of ListTargetHTTPSProxies operation contained
ListTargetHTTPProxies(HTTP instead of HTTPS) wrongly.
This fixes it.
2019-07-26 20:25:11 +00:00
Aaron Crickenberger
e0750bd8db
Promote taint-based eviction e2e tests to Conformance
2019-07-26 11:50:25 -07:00
Dan Winship
28526721b8
Un-[Slow] a bunch of networking tests
2019-07-26 12:25:03 -04:00
Lee Verberne
db5c348e43
Assign OWNERS for pod integration tests
2019-07-26 15:57:29 +00:00
Kubernetes Prow Robot
ee84c95bdb
Merge pull request #80634 from aojea/translatev4v6
...
Don´t translate to IPv6 empty addresses
2019-07-26 08:06:12 -07:00
Kubernetes Prow Robot
2c17bc39cb
Merge pull request #80617 from SataQiu/cleanup-e2e_kubeadm
...
e2e_kubeadm: clean up non-recommended import
2019-07-26 08:05:59 -07:00
Antonio Ojea
be8bedef7b
Don´t translate to IPv6 empty addresses
2019-07-26 12:43:26 +02:00
Kubernetes Prow Robot
fc4cbf743a
Merge pull request #80543 from davidz627/fix/makePV
...
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-26 03:24:25 -07:00
Kubernetes Prow Robot
9e4b126e18
Merge pull request #80550 from spiffxp/promote-jobs-complete-after-restart
...
Promote job completion after failure e2e test to Conformance
2019-07-25 22:35:58 -07:00
SataQiu
fc2d6aea48
e2e_kubeadm: clean up non-recommended import
2019-07-26 12:02:26 +08:00
Kubernetes Prow Robot
8497639221
Merge pull request #80544 from spiffxp/promote-jobs-adopt-release-orphan-pods
...
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-25 20:48:36 -07:00
Kubernetes Prow Robot
cc0137cdc6
Merge pull request #80398 from aojea/ipfamily
...
Add ip family autodetection to the testing framework
2019-07-25 18:12:00 -07:00
Kubernetes Prow Robot
2321d1e9e8
Merge pull request #80150 from ii/promote-statefulset-replica-scaling
...
Promote StatefulSet Replica scaling
2019-07-25 16:02:07 -07:00
Kubernetes Prow Robot
a3750501b0
Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
...
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Kubernetes Prow Robot
ba989a1e2b
Merge pull request #77593 from tathagatachowdhury/tathagata-e2e-network-policy
...
Added code for e2e tests for network policy.
2019-07-25 16:01:27 -07:00
Antonio Ojea
8988965df1
Add ipv6 support to the e2e kubectl tests
2019-07-26 00:40:46 +02:00
Kubernetes Prow Robot
f243bd4787
Merge pull request #79955 from msau42/update-hostpath-csi
...
Update csi hostpath driver in e2e
2019-07-25 14:34:11 -07:00
Kubernetes Prow Robot
63a43402a3
Merge pull request #77532 from WanLinghao/perf_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go file
2019-07-25 13:02:45 -07:00
David Zhu
862ba3fc05
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-25 10:57:29 -07:00
Patrick Ohly
4bc5d065c9
updated Bazel files
2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097
e2e storage: csi-mock tests for ephemeral inline volumes
...
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.
Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10
CSI: allow drivers that can handle persistent and ephemeral volumes
...
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.
Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.
The sanity check whether a CSI driver is being used correctly still
needs to be implemented.
Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca
e2e: remove unused ShortName from external driver definition
...
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Mayank Gaikwad
a921970745
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-07-25 20:01:35 +05:30
Antonio Ojea
bd15f3f9f7
Clarify IP family meaning
2019-07-25 16:14:57 +02:00
Kubernetes Prow Robot
79d128ae74
Merge pull request #80166 from chendave/webhook
...
cleanup: remove useless code
2019-07-25 04:43:52 -07:00
Tomas Smetana
4f3e31e978
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node"
...
This reverts commit d4f43e8e19
.
2019-07-25 13:32:39 +02:00
Kubernetes Prow Robot
a0a0146419
Merge pull request #80382 from davidz627/fix/refactor
...
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-25 01:37:53 -07:00
Xiangyang Chu
23ce08a7d0
Fix review comments, will squash later.
2019-07-25 14:42:23 +08:00
Kubernetes Prow Robot
79e82a6345
Merge pull request #79417 from draveness/feature/remove-factory-in-scheduler
...
feat: use scheduler.New in daemonset integration test
2019-07-24 23:29:51 -07:00
Kubernetes Prow Robot
4ed5ea601d
Merge pull request #80417 from k-toyoda-pi/expectequal_e2e_node_density_test
...
use ExpectEqual in density_test.go
2019-07-24 21:20:04 -07:00
WanLinghao
4c394ddf3b
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go
2019-07-25 09:41:00 +08:00
Aaron Crickenberger
e0b9d77609
Promote job completion after failure e2e test to Conformance
2019-07-24 17:17:07 -07:00
Aaron Crickenberger
275b7b2fa0
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-24 16:28:10 -07:00
Aldo Culquicondor
0ce1c95232
Store config args instead of config factory in test context
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Aldo Culquicondor
8e9af0185d
Remove NodeLister from Scheduler Configurator
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Mayank Gaikwad
1438a3c8fc
Add service reachability test util function and e2e fixes
2019-07-24 23:08:16 +05:30
Kubernetes Prow Robot
60c2d44129
Merge pull request #79552 from wongma7/windows-ebs
...
Add support for AWS EBS on windows
2019-07-23 17:14:28 -07:00
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -07:00
Antonio Ojea
54f81c3bb8
add ipv6 support to the hostport/HostIP e2e test
2019-07-23 22:55:38 +02:00
Antonio Ojea
0655ad338f
e2e: add a function to map IPv4 in IPv6
2019-07-23 22:55:33 +02:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Matthew Wong
02530b9ffb
Enable windows ntfs e2e storage tests for aws driver
2019-07-23 19:28:14 +00:00
Antonio Ojea
daff471766
e2e: Autodetect the IP family of the cluster
2019-07-23 20:09:19 +02:00
Kubernetes Prow Robot
16b65b259d
Merge pull request #80393 from smarterclayton/pod_failure
...
Pod e2e for reading last line can flake if pod runs to completion
2019-07-23 10:01:46 -07:00
Kubernetes Prow Robot
3ea28073a4
Merge pull request #80375 from wongma7/framework-csidriver
...
Add CSIDriver creation factory to e2e framework
2019-07-23 01:28:54 -07:00
Kubernetes Prow Robot
7dc5d1f064
Merge pull request #80377 from davidz627/fix/testAMDefault
...
Change default PVC AccessModes to RWO in test framework
2019-07-22 23:52:55 -07:00
Jun Gong
df14adf474
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-23 10:23:54 +08:00
mlmhl
8ca6de6d20
fix kubemark e2e test script
2019-07-23 10:07:14 +08:00
Kubernetes Prow Robot
f31d786927
Merge pull request #78477 from YoubingLi/filter
...
Fixes 78001 The implementation of Filter extension for the new framework
2019-07-22 16:48:53 -07:00
Matthew Wong
5060704a76
Add CSIDriver creation factory to e2e framework
2019-07-22 10:20:02 -07:00
Lee Verberne
477f17475d
Generated code for ephemeral containers integration tests
2019-07-22 14:21:36 +00:00
Lee Verberne
3995ca5a82
Add integration tests for ephemeral containers
2019-07-22 14:21:36 +00:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
toyoda
799026a7ee
use ExpectEqual in density_test.go
2019-07-22 16:11:11 +09:00
Clayton Coleman
86426b9f60
Pod e2e for reading last line can flake if pod runs to completion
...
Pod completes so fast the current check fails:
```
Jul 18 07:09:24.858: INFO: Running '/usr/bin/kubectl --server=https://api.ci-op-ziq360tf-12fbf.origin-ci-int-aws.dev.rhcloud.com:6443 --kubeconfig=/tmp/admin.kubeconfig run run-log-test --generator=run-pod/v1 --image=docker.io/library/busybox:1.29 --restart=OnFailure --namespace=e2e-tests-kubectl-nxzxx -- sh -c sleep 10; seq 100 | while read i; do echo $i; sleep 0.01; done; echo EOF'
...
Jul 18 07:09:25.116: INFO: Waiting up to 5m0s for pod "run-log-test" in namespace "e2e-tests-kubectl-nxzxx" to be "running and ready"
Jul 18 07:09:25.135: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 19.221661ms
...
Jul 18 07:09:57.456: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 32.339426605s
Jul 18 07:09:59.477: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 34.360446811s
...
Jul 18 07:14:24.023: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4m58.906706065s
Jul 18 07:14:26.023: INFO: Pod run-log-test failed to be running and ready.
```
The test should be reporting running and ready or succeeded.
2019-07-20 22:09:27 -04:00
Kubernetes Prow Robot
2e6eea5517
Merge pull request #80276 from tallclair/apparmor-upgrade
...
Don't expect pod to stay up during node upgrade
2019-07-20 05:56:54 -07:00
Kubernetes Prow Robot
febc95282a
Merge pull request #80331 from wongma7/framework-panic
...
Surface error returned by LoadConfig
2019-07-19 21:24:54 -07:00
Kubernetes Prow Robot
65b094676f
Merge pull request #78350 from globervinodhn/hostip_hostport_promote
...
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-07-19 14:25:24 -07:00
Kubernetes Prow Robot
b1bea169f5
Merge pull request #78000 from mkimuram/issue/77999
...
Move volume_expand tests to storage e2e testsuites
2019-07-19 14:25:11 -07:00
David Zhu
37aed97d62
Change default PVC AccessModes to RWO in test framework
2019-07-19 13:37:06 -07:00
Kubernetes Prow Robot
de9fb9c61c
Merge pull request #75632 from globervinodhn/correct_testname_backofflimit
...
Correct test name for existing E2E related to backofflimit in jobs
2019-07-19 12:37:11 -07:00
Elana Hashman
e0b66c792b
Drop "pod_name" and "container_name" metric labels
...
These labels were deprecated in 1.14 (#69099 ) and should no longer be
used in metric queries.
2019-07-19 10:08:21 -07:00
Kubernetes Prow Robot
b22cbcab75
Merge pull request #80327 from bparees/params
...
fix parameterization of test error message
2019-07-19 03:27:12 -07:00
Kubernetes Prow Robot
15ade86935
Merge pull request #79921 from s-ito-ts/remove_unnecessary_check
...
e2e test: Remove unnecessary return value check
2019-07-19 00:19:11 -07:00
Kubernetes Prow Robot
c45b77541b
Merge pull request #80329 from BenTheElder/less-sudo
...
remove sudo from storage tests
2019-07-18 22:55:11 -07:00
Kubernetes Prow Robot
3aa4fba780
Merge pull request #80153 from ii/promote-api-metadata-return-value
...
Promote API metadata return value
2019-07-18 21:33:23 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
...
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
draveness
c38ae01f8e
feat: move service_util to separated package
2019-07-19 08:32:39 +08:00
Matthew Wong
84b53966fd
Surface error returned by LoadConfig
2019-07-18 16:54:28 -07:00
Ben Parees
0feca84ea5
fix parameterization of test error message
2019-07-18 18:28:59 -04:00
Michelle Au
f8a7050d42
Update csi hostpath driver in e2e
...
Change-Id: I159a9554126b967f76fbb7f76c4336833bf2a910
2019-07-18 13:31:00 -07:00
Jiatong Wang
e24a962821
Fix error log issue, remove OrDie suffix in methods naming
2019-07-17 23:18:21 -07:00
Jiatong Wang
0b37152f17
Refactor and Move node related methods to framework/node package
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-07-17 22:54:15 -07:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc
.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
7b25fd4846
Merge pull request #80261 from kubernetes/revert-79954-promote-pod-autoscaling
...
Revert "Promote pod autoscaling"
2019-07-17 21:28:35 -07:00
Kubernetes Prow Robot
cabcd215c5
Merge pull request #80256 from ahg-g/ahg-score-test-flaky
...
Fixes TestScorePlugin flakiness.
2019-07-17 19:35:02 -07:00
Kubernetes Prow Robot
84937aeaf2
Merge pull request #75629 from globervinodhn/correct_testname_active_deadline
...
Correct test name for existing E2E related to active deadline in jobs
2019-07-17 18:16:12 -07:00
Xiangyang Chu
4ef227c682
Fix of review comments. Will squash later.
...
Including:
- Remove external usage of resource name vars
- Add commments about why we export field helpers
2019-07-18 09:12:28 +08:00
Tim Allclair
0a01ce1afd
Don't expect pod to stay up during node upgrade
2019-07-17 17:31:47 -07:00
Clayton Coleman
ffe52b4100
Revert "Promote pod autoscaling"
2019-07-17 13:21:23 -04:00
globervinodhn
c4e324196f
correct testname for existing E2E for testing backoff limit for jobs
2019-07-17 21:46:31 +05:30
globervinodhn
7c8b81a30b
correct testname for E2E related to active deadline in jobs
2019-07-17 21:42:52 +05:30
Abdullah Gharaibeh
83f79d846e
Fixes TestScorePlugin flakiness.
2019-07-17 10:03:55 -04:00
Kubernetes Prow Robot
29669a5e21
Merge pull request #74703 from johscheuer/refactor-csi-e2e-tests
...
Add patch method for container images
2019-07-17 02:40:34 -07:00
Xiangyang Chu
313044abd7
Fix shellcheck failures in test/cmd/l.*.sh
2019-07-17 17:07:22 +08:00
Xiangyang Chu
3a344c7168
Fix shellcheck failures in test/cmd/d.*.sh
2019-07-17 17:07:22 +08:00
Kubernetes Prow Robot
835552ecb6
Merge pull request #80191 from davidz627/fix/mountStage
...
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-17 00:42:33 -07:00
Youbing Li
7f9dd949e0
The implementation of Filter extension for the new framework
2019-07-17 03:28:30 -04:00
Kubernetes Prow Robot
a3898dc41d
Merge pull request #79109 from ahg-g/scoring
...
Score plugin for the scheduling framework.
2019-07-16 21:22:34 -07:00
Kubernetes Prow Robot
bdb0e51f6e
Merge pull request #79954 from ii/promote-pod-autoscaling
...
Promote pod autoscaling
2019-07-16 17:36:59 -07:00
David Zhu
b6a38d7e2b
Add supportedMountOptions for GCE PD CSI Driver tests
2019-07-16 16:17:54 -07:00
Kubernetes Prow Robot
77a7366486
Merge pull request #79945 from misterikkit/vsphere-e2e
...
More consistent env var handling in vsphere e2e test
2019-07-16 15:24:18 -07:00
Caleb Woodbine
5db35e67ee
Fix placement of test in conformance.txt
2019-07-16 21:36:55 +00:00
Benjamin Elder
21aedffe0d
remove sudo from storage tests
2019-07-16 11:38:18 -07:00
Abdullah Gharaibeh
c54c4d1962
Score plugin for the scheduling framework.
2019-07-16 09:38:37 -04:00
Kubernetes Prow Robot
9ac3fadbad
Merge pull request #80126 from aojea/redis
...
Use docker official redis images
2019-07-15 21:51:24 -07:00
Kubernetes Prow Robot
d900746422
Merge pull request #80188 from davidz627/fix/migrateTest
...
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 20:28:13 -07:00
Kubernetes Prow Robot
fe0404171c
Merge pull request #80142 from loqutus/master
...
remove github.com/kardianos/osext
2019-07-15 20:28:00 -07:00
Kubernetes Prow Robot
40edce1235
Merge pull request #79730 from jsafrane/add-block-tests
...
Consolidate block and filesystem tests
2019-07-15 20:27:23 -07:00
Kubernetes Prow Robot
fc5ef37db1
Merge pull request #79313 from chenchun/fix-flaky
...
Add Bind extension point to the scheduling framework
2019-07-15 18:31:38 -07:00
Kubernetes Prow Robot
d0dc9c84c0
Merge pull request #76328 from pontiyaraja/limitRangeCNF
...
removed flaky watch code and added NewIndexerInformerWatcher for LimitRange test case
2019-07-15 16:33:25 -07:00
David Zhu
0974db4634
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 16:26:07 -07:00
Matthew Wong
d5e838f864
Create C:\tmp if DNE
2019-07-15 15:10:38 -07:00
Kubernetes Prow Robot
b8a10b4e12
Merge pull request #79753 from alejandrox1/framework-metrics
...
Refactored metrics-related functions from framework/metrics_util.go
2019-07-15 14:54:02 -07:00
Caleb Woodbine
91da6fd565
Promote API metadata return value
2019-07-15 21:40:14 +00:00
Ruslan Gustomiasov
b4ce777b79
remove github.com/kardianos/osext
2019-07-15 23:40:13 +02:00
Johannes M. Scheuermann
302e9d9f6b
Add patch method for container images
...
Return error if registry is missing otherwise the log message could be
overlooked by a developer
2019-07-15 19:05:09 +02:00
Chun Chen
e04f03d3cb
Fix flaky test TestBindPlugin
2019-07-15 23:36:06 +08:00
Chun Chen
3bb1a081ab
Revert "Revert "Add Bind extension point of the scheduling framework""
...
This reverts commit b8950dab50
.
2019-07-15 23:36:02 +08:00
Dave Chen
c540fd8b84
cleanup: remove useless code
...
`failOpenHook` is validate against `configmaps`, it has nothing to
do with pod attaching.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-15 18:46:32 +08:00
Caleb Woodbine
1e8f5feffd
Fix imports, Formatting of text
2019-07-15 03:53:56 +00:00
Caleb Woodbine
a062367251
Promote StatefulSet Replica scaling
2019-07-15 02:02:39 +00:00
Antonio Ojea
048f7a212b
Adjust redis matching strings
2019-07-13 18:37:43 +02:00
Antonio Ojea
dc7694405a
Remove GBRedisSlave image
2019-07-13 17:18:12 +02:00
Antonio Ojea
33e1b1d8a5
Use docker official redis images
2019-07-13 17:01:25 +02:00
Kubernetes Prow Robot
ed935df86d
Merge pull request #80071 from msau42/update-pd-e2es
...
Update pd csi driver images to most recent stable
2019-07-13 00:07:04 -07:00
Kubernetes Prow Robot
c7f9dd0baf
Merge pull request #80086 from danwinship/no-endpoints-agnhost
...
Make service "no endpoints" test use agnhost connect
2019-07-12 20:19:29 -07:00
draveness
f49c9f5cb6
feat: use scheduler.New in daemonset integration test
2019-07-13 09:32:59 +08:00
Kubernetes Prow Robot
bc33fc8dfe
Merge pull request #74177 from dims/stop-testing-containerized-kubelet-in-e2e-node
...
Stop testing containerized kubelet in e2e-node
2019-07-12 10:57:05 -07:00
Michelle Au
46b720fe8c
Update pd csi driver images to most recent stable
...
Change-Id: If83847ca8ef2c65a90b1fc2065889dd7e74c9ab7
2019-07-12 09:30:08 -07:00
Kubernetes Prow Robot
b0d08f6a47
Merge pull request #78447 from yastij/scheduler-eventf
...
Migrate scheduler to use v1beta1 Event API
2019-07-12 06:31:06 -07:00
Dan Winship
9f5e1a140d
Make service "no endpoints" test use agnhost connect
2019-07-12 07:25:37 -04:00
Yassine TIJANI
08522f8e5a
move scheduler to use v1beta1.events
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-12 11:39:01 +02:00
tathagatachowdhury
f2c38e4d17
Added code for e2e tests for network policy.
2019-07-12 07:29:15 +00:00
Kubernetes Prow Robot
de091d102f
Merge pull request #80053 from bclau/tests/fix-jessie-dnsutils
...
tests: Fixes jessie-dnsutils image build
2019-07-11 22:03:29 -07:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
Kubernetes Prow Robot
824dfe9389
Merge pull request #79966 from tao12345666333/go-1.12.7
...
Update to go 1.12.7
2019-07-11 20:17:07 -07:00
Stephen Heywood
8e7d6540da
Update testname to match requested case
2019-07-12 02:00:22 +00:00
Kubernetes Prow Robot
9ef075f359
Merge pull request #80049 from davidz627/david/owners
...
Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD
2019-07-11 18:34:00 -07:00
Kubernetes Prow Robot
ebe60078e6
Merge pull request #80044 from BenTheElder/dashboard-feature
...
mark dashboard tests [Feature:Dashboard]
2019-07-11 18:33:47 -07:00
Stephen Heywood
a87ea6f83e
Fix case and update to follow RFC2119
2019-07-12 01:25:18 +00:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
...
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Jintao Zhang
dfa46f8d47
Update to go 1.12.7
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-07-12 07:16:25 +08:00
Kubernetes Prow Robot
1c99825adf
Merge pull request #79566 from sukeesh/auditlog
...
Cleanup: Audit log and error capitalization
2019-07-11 14:33:59 -07:00
Kubernetes Prow Robot
25dc90aa8a
Merge pull request #79423 from danwinship/agnhost-connect
...
Add new agnhost subcommand for a networking test
2019-07-11 14:33:46 -07:00
Kubernetes Prow Robot
91b26341f4
Merge pull request #78742 from smarterclayton/client_gc
...
The garbage collector and quota counter should use the metadata client and protobuf to access resources
2019-07-11 14:33:33 -07:00
David Zhu
2820c1d8c8
Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD
2019-07-11 13:14:31 -07:00
Masaki Kimura
ea4f4c8432
Move volume_expand tests to storage e2e testsuites
2019-07-11 18:49:49 +00:00
Kubernetes Prow Robot
e75bf58aea
Merge pull request #80001 from aramase/dualstack-e2e-cleanup
...
Cleanup for dualstack e2e tests
2019-07-11 11:25:08 -07:00
Benjamin Elder
1e831eff55
mark dashboard tests [Feature:Dashboard]
2019-07-11 10:07:33 -07:00
Clayton Coleman
d631f9b7e9
Use metadata informers instead of dynamic informers in controller manager
...
All controllers in controller-manager that deal with objects generically
work with those objects without needing the full object. Update the GC
and quota controller to use PartialObjectMetadata input objects which
is faster and more efficient.
2019-07-11 12:18:52 -04:00
Clayton Coleman
98d87a4f03
Rename metadata.NewConfigOrDie to be consistent
...
Updated name to match dynamic client
2019-07-11 12:18:51 -04:00
Clayton Coleman
637cc83341
Switch the garbage collector to use metadata client and protobuf
2019-07-11 12:18:51 -04:00
Maciej Borsz
bf5424bbbf
Add support for HA kubemark
2019-07-11 11:56:36 +02:00
Maciej Borsz
bb47330bd7
Remove support for KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
2019-07-11 08:28:01 +02:00
Kubernetes Prow Robot
4c68fa8243
Merge pull request #79239 from apelisse/400-instead-of-500
...
Return 400 on invalid patch requests
2019-07-10 21:39:20 -07:00
Devan Carpenter
4b8a9d4467
Update testname and fix typo
2019-07-10 21:01:37 -07:00
Devan Carpenter
4d1d096945
Update Conformance test Metadata
2019-07-10 20:59:19 -07:00
Kubernetes Prow Robot
8341344b75
Merge pull request #79862 from draveness/feature/add-expect-not-equal
...
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 18:49:31 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Antoine Pelisse
7e96438748
Return 400 on invalid patch requests
2019-07-10 15:22:10 -07:00
Anish Ramasekar
6c5cca323a
clean up and fix nits
2019-07-10 15:14:39 -07:00
Claudiu Belu
9ae1f41ca9
tests: Fixes jessie-dnsutils image build
...
Currently, the jessie-dnsutils image cannot be built for arm64, ppc64le, s390x,
as its mirrors has been moved to the archive.
This PR will replace its regular mirrors with the archive ones.
2019-07-10 14:38:36 -07:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
...
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
Kubernetes Prow Robot
79aab0b90d
Merge pull request #78246 from mborsz/kubemark
...
Migrate kubemark to e2e-up/e2e-down scripts
2019-07-10 07:42:27 -07:00
draveness
d3158b2c71
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 21:36:26 +08:00
Jan Safranek
a9e838f2e9
Remove redundant provisioning tests
2019-07-10 15:27:00 +02:00
Jan Safranek
b5a800e765
Remove redundant tests
...
We check that block / filesystem volume is writable in volumes.go
2019-07-10 15:17:09 +02:00
Jan Safranek
5fc9e23b50
Add block volume support to InjectContent / TestVolumeClient
2019-07-10 15:17:09 +02:00
Jan Safranek
a2c9052716
Refactor TestVolumeClient and InjectContent into common function
...
These two functions do almost the same thing - one writes data to volumes
in a pod, the second reads them. Let them share the code.
2019-07-10 15:17:09 +02:00
Maciej Borsz
4646594f29
Migrate kubemark to e2e-up/e2e/down scripts.
2019-07-10 11:23:55 +02:00
Kubernetes Prow Robot
3c09a870a4
Merge pull request #79692 from chendave/issue_79689
...
Address couple of issue on image build for ARM arch
2019-07-09 23:02:38 -07:00
Kubernetes Prow Robot
2c912e3516
Merge pull request #79685 from oomichi/use-ExpectEqual-apimachinery
...
Use ExpectEqual under e2e/apimachinery
2019-07-09 20:20:38 -07:00
Kubernetes Prow Robot
98a1c25203
Merge pull request #78801 from aramase/dualstacke2e
...
Add e2e tests for ipv6 dual stack feature
2019-07-09 20:20:25 -07:00
Caleb Woodbine
180ce027e8
Promote pod autoscaling
2019-07-10 01:15:41 +00:00
toyoda
6ce0d547e5
add failedJobsHistoryLimit to successfulJobsHistoryLimit test
2019-07-10 09:17:38 +09:00
toyoda
b4ccb62c39
add e2e test for cronjob failedJobsHistoryLimit
2019-07-10 09:10:58 +09:00
Kubernetes Prow Robot
2d1ee3db83
Merge pull request #79864 from draveness/feature/use-framework-expect-equal-instead
...
feat: use framework.ExpectEqual instead of should
2019-07-09 13:47:03 -07:00
Jonathan Basseri
ceb31f747b
More consistent env var handling in vsphere e2e test
...
This adds a useful error message when VSPHERE_WORKING_DIR is not set,
and replaces some explicit checks with the GetAndExpectStringEnvVar
helper.
2019-07-09 12:44:20 -07:00
Pandiyaraja Ramamoorthy
ecf3bb0c03
removed flaky watch code and added NewIndexerInformerWatcher
2019-07-10 00:02:04 +05:30
Kubernetes Prow Robot
b130ff4502
Merge pull request #79724 from deads2k/update-raw
...
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
David Eads
09c55bd117
make kubectl --raw consistent for create, update, get, delete
2019-07-09 09:03:56 -04:00
Kubernetes Prow Robot
4b5dc0a06d
Merge pull request #78697 from tsmetana/fix-multinode-e2e
...
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-09 03:10:16 -07:00
Kubernetes Prow Robot
a61006bbc4
Merge pull request #75593 from pohly/e2e-no-global-flags
...
e2e: avoid mandatory command line flags
2019-07-09 03:10:03 -07:00
s-ito-ts
0f8b7c92f3
Remove unnecessary return value check
2019-07-09 05:58:43 +00:00
Kubernetes Prow Robot
d4476f7f9e
Merge pull request #79869 from odinuge/hugetlb-feature-flag
...
Remove use of HugePages feature flag in test
2019-07-08 20:30:39 -07:00
Kubernetes Prow Robot
b6adfd09dd
Merge pull request #79860 from SataQiu/fix-test-20190707
...
e2e: use framework.ExpectEqual() for test/e2e/lifecycle
2019-07-08 20:30:26 -07:00
Kubernetes Prow Robot
d228123ad6
Merge pull request #79840 from sttts/sttts-chain-prepare-run
...
apiserver: chain delegated PrepareRun
2019-07-08 20:30:14 -07:00
Kubernetes Prow Robot
6d69cd1895
Merge pull request #75895 from msau42/enable-multipod-e2es
...
enable multipod e2es for intree volumes
2019-07-08 20:30:01 -07:00
Kubernetes Prow Robot
2cfd4a5eb9
Merge pull request #79168 from tnozicka/fix-sigapps-owners
...
Update Sig-Apps OWNERS to aliases in places that were missed in #76669
2019-07-08 17:30:01 -07:00
alejandrox1
348fd0805e
Refactored metrics-related functions from framework/metrics_util.go
...
This a refactoring of framework/metrics_utils.go into framework/metrics.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-07-08 19:35:10 -04:00
Kubernetes Prow Robot
dd9ae9a1d2
Merge pull request #76227 from sawlanipradeep/window-plugin-fix
...
Replace syscall.Execve with exec.Command.
2019-07-08 13:00:36 -07:00
Antonio Ojea
9c75f4a40a
Add e2e test for downward API with host network
...
Co-authored-by: BenTheElder <bentheelder@google.com>
2019-07-08 21:50:16 +02:00
Pradeep Sawlani
13be373ce7
For windows, use exec.Command instead of syscall.Execve.
...
sycall.Execve is not supported on windows.
2019-07-08 10:09:51 -07:00
Odin Ugedal
1c79157065
Remove use of HugePages feature flag in test
...
The flag was removed in 1.14, and huge pages are now enabled by
default.
2019-07-08 17:05:05 +02:00
Jordan Liggitt
e24377f190
Install/register v1 admission registration types
2019-07-08 09:49:29 -04:00
Kubernetes Prow Robot
d771dfac3d
Merge pull request #79765 from clarklee92/use-ExpectEqual-autoscaling
...
use ExpectEqual under e2e/autoscaling
2019-07-08 05:06:34 -07:00
Dr. Stefan Schimanski
f82bc712de
aggregator: wire OpenAPI correctly into PrepareRun flow
2019-07-08 13:59:00 +02:00
Sukeesh
346fdbccf0
Cleanup: Audit log and error capitalization
2019-07-08 20:20:12 +09:00
ClarkLee
5030064d2e
use ExpectEqual under e2e/autoscaling
2019-07-08 18:57:18 +08:00
toyoda
baddd2fd3b
Replace KubeDescribe with ginkgo.Describe in e2e/kubectl
2019-07-08 18:03:40 +09:00
Anish Ramasekar
bc13a39ccf
use framework.ExpectEqual for tests
2019-07-08 00:24:28 -07:00
draveness
0ec95afb76
feat: use framework.ExpectEqual instead of should
2019-07-07 21:07:48 +08:00
SataQiu
02585c8a08
e2e: use framework.ExpectEqual() for test/e2e/lifecycle
2019-07-07 17:09:11 +08:00
Kubernetes Prow Robot
80bfec44a0
Merge pull request #79756 from draveness/feature/use-framework-expect-equal-in-e2e-test
...
feat: use framework.ExpectEqual in upgrades and windows e2e test
2019-07-05 20:34:34 -07:00
Kubernetes Prow Robot
448b15562e
Merge pull request #79842 from zh1314/expectequal_e2e_scalability
...
Use ExpectEqual in e2e/scalability
2019-07-05 19:01:13 -07:00
Kubernetes Prow Robot
a44cb287dd
Merge pull request #79769 from clarklee92/use-ExpectEqual-common
...
Use ExpectEqual in e2e/common
2019-07-05 19:01:00 -07:00
Kubernetes Prow Robot
2054590481
Merge pull request #79695 from tanshanshan/e2e-apps
...
Use ExpectEqual under apps
2019-07-05 19:00:48 -07:00
Kubernetes Prow Robot
0304cda3e3
Merge pull request #79821 from frankjiao/ExpectEqual
...
Use framework.ExpectEqual() for e2e/cloud tests
2019-07-05 16:48:58 -07:00
Kubernetes Prow Robot
f1d0793621
Merge pull request #79762 from clarklee92/use-ExpectEqual-auth
...
Use ExpectEqual in e2e/auth
2019-07-05 16:48:46 -07:00
Kubernetes Prow Robot
4921e84841
Merge pull request #79699 from k-toyoda-pi/expectequal_e2e_kubectl
...
Use ExpectEqual in e2e/kubectl
2019-07-05 16:48:34 -07:00
Kubernetes Prow Robot
9e2fc16115
Merge pull request #79792 from SataQiu/fix-test-2019070402
...
e2e: use framework.ExpectEqual() for test/e2e/node
2019-07-05 14:15:00 -07:00
Kubernetes Prow Robot
b8fa7c4bb7
Merge pull request #79791 from SataQiu/fix-test-20190704
...
e2e: use framework.ExpectEqual() for test/e2e/network
2019-07-05 14:14:48 -07:00
Kubernetes Prow Robot
d97f08f0b3
Merge pull request #79781 from s-ito-ts/79686_scheduling
...
Use framework.ExpectEqual() under e2e/scheduling
2019-07-05 14:14:36 -07:00
Kubernetes Prow Robot
1addcf4715
Merge pull request #79755 from draveness/feature/use-framework-expect-equal-in-storage
...
feat: use framework.ExpectEqual in storage e2e test
2019-07-05 12:02:49 -07:00
Kubernetes Prow Robot
5865a7e3cf
Merge pull request #79754 from draveness/feature/use-framework-expect-equal-instead
...
feat: use framework.ExpectEqual in servicecatalog e2e test
2019-07-05 12:02:37 -07:00
zhanghui31
afee64477a
Use ExpectEqual in e2e/scalability
2019-07-05 22:02:08 +08:00
Kubernetes Prow Robot
915be28b61
Merge pull request #79733 from yastij/consolidate-etcd-version
...
consolidate etcd version per file
2019-07-05 05:06:36 -07:00
Frank Jiao
049b652c35
Use framework.ExpectEqual() for e2e/cloud tests
2019-07-05 14:15:54 +08:00
SataQiu
5234f2e668
e2e: use framework.ExpectEqual() for test/e2e/network
2019-07-05 11:05:09 +08:00
Tomas Smetana
d4f43e8e19
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-04 17:15:43 +02:00
Patrick Ohly
1822895ce2
update Bazel
2019-07-04 17:15:14 +02:00
Patrick Ohly
b86a007057
e2e: avoid mandatory command line flags
...
Tests should never directly add to the global command line, because
some users of the tests might not want them there. For example,
options might only get set directly from a config file.
To achieve that, e2e/framework/config, e2e/framework/viperconfig, and
e2e/framework/test_context.go avoid using the global flag set and
instead expect to be told by the caller which flag set to use. Tests
that called flag directly either get updated or obsolete flags get
removed.
The exception is framework.HandleFlags, which as before directly
implements global command line handling.
This is a breaking change for test suites which do not use that
function (and only those): they now need to ensure that they copy
individual flags from tests. Because the RegisterCommonFlags prototype
has changed, test suite authors will notice due to the resulting
compilation errors.
2019-07-04 17:15:14 +02:00
draveness
4c2e77a53e
feat: use framework.ExpectEqual in storage e2e test
2019-07-04 22:24:29 +08:00
Patrick Ohly
3630cfca2b
e2e: fix full path support when reading viper config file
...
Something changed in Viper such that it now returns the
ConfigFileNotFound error when the config file is not found, for
example when it is specified including the .yaml or .json suffix.
When the code was originally was written, it returned "Unsupported
Config Type".
Found when adding a unit test for this code (separate commit because
it depends on the flag changes).
2019-07-04 15:56:00 +02:00
SataQiu
03e4527a87
e2e: use framework.ExpectEqual() for test/e2e/node
2019-07-04 20:21:04 +08:00
Krzysztof Siedlecki
1e7a4d1cd5
Closing stopCh when pod_store is not created
...
If there is an error and pod store is not created, reflector should be stopped.
2019-07-04 13:41:14 +02:00
s-ito-ts
e7752f72e4
Use framework.ExpectEqual() under e2e/scheduling
2019-07-04 08:51:24 +00:00
ClarkLee
867c88471f
Use ExpectEqual in e2e/common
2019-07-04 13:50:19 +08:00
ClarkLee
b94b1672f9
Use ExpectEqual in e2e/auth
2019-07-04 11:41:20 +08:00
draveness
ff09cc5405
feat: use framework.ExpectEqual in upgrades and windows e2e test
2019-07-04 09:38:38 +08:00
draveness
36167cffd6
feat: use framework.ExpectEqual in servicecatalog e2e test
2019-07-04 09:07:27 +08:00
tanshanshan
2c130b236c
Use ExpectEqual under apps
2019-07-04 08:43:42 +08:00
Kubernetes Prow Robot
3c675ade25
Merge pull request #79731 from rajansandeep/ptrtest
...
Edit google DNS hostname
2019-07-03 13:53:05 -07:00
Kubernetes Prow Robot
a7cde2e70f
Merge pull request #78540 from immutableT/kms-plugin-healthz-check
...
Add healthz check for KMS Providers on kube-apiserver.
2019-07-03 13:52:13 -07:00
Kubernetes Prow Robot
8765ed365f
Merge pull request #79636 from liggitt/crd-preserve-unknown-openapi
...
Fix publishing x-kubernetes-preserve-unknown-fields working with kubectl
2019-07-03 12:29:52 -07:00
Kubernetes Prow Robot
024c7bd84f
Merge pull request #77819 from smarterclayton/client
...
Add a metadata client to client-go that can read PartialObjectMetadata
2019-07-03 10:34:32 -07:00
immutablet
05fdbb201f
Allow kube-apiserver to test the status of kms-plugin.
2019-07-03 10:03:32 -07:00
Yassine TIJANI
1efc45b790
consolidate etcd version
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-03 18:27:37 +02:00
Jordan Liggitt
990c656adb
Test kubectl with x-kubernetes-preserve-unknown-fields
2019-07-03 12:18:05 -04:00
Kubernetes Prow Robot
3c38115a32
Merge pull request #79045 from odinuge/file-perms
...
Fix file permissions for non executable files
2019-07-03 09:12:45 -07:00
Sandeep Rajan
9e683fab30
edit google dns hostname
2019-07-03 10:40:16 -04:00
Dave Chen
c60181317e
Address couple of issue on image build for ARM arch
...
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Anish Ramasekar
789920955a
add e2e for dualstack
...
add test for network connectivity check
update tests
complete tests
Review feedback
run update-bazel
feature flag connectivity test
remove dead code
add todo
2019-07-02 22:47:03 -07:00
toyoda
5a5886035b
Use ExpectEqual in e2e/kubectl
2019-07-03 13:55:19 +09:00
Kenichi Omichi
66b1dc230e
Use ExpectEqual under e2e/apimachinery
...
Since https://github.com/kubernetes/kubernetes/pull/78922 ExpectEqual()
is implemented as test framework. This makes e2e tests use the function
under test/e2e/apimachinery.
2019-07-03 02:49:35 +00:00
Kubernetes Prow Robot
a33840e023
Merge pull request #73977 from khenidak/ipv6dualstack
...
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Kubernetes Prow Robot
57416ef5ec
Merge pull request #78177 from MaysaMacedo/add-more-e2e-np-tests
...
Increase Network Policy tests coverage
2019-07-02 14:27:12 -07:00
Clayton Coleman
21f5e643d9
Add a metadata client to client-go that can read PartialObjectMetadata
...
This client exposes operations on generic metadata (get, list, watch, delete)
and allows patch operations. The client always uses protobuf and requests
the server transform the response into the appropriate object. Using this
client simplifies the work of generic controllers by allowing them to treat
all objects the same, and also improves performance both in the amount of
data sent as well as allowing protobuf on CRD resources.
2019-07-02 16:42:41 -04:00
Khaled Henidak(Kal)
584d7103e2
node ipam controller for ipv6 dualstack
2019-07-02 15:39:06 +00:00
Jan Safranek
2a08bd64af
Add public functions to define CSI external tests
...
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
b959e9a25a
Merge pull request #79322 from s-ito-ts/e2e_ephemeral_storage
...
e2e test: change from milli bytes to bytes in ephemeral-storage resource limits
2019-07-02 00:57:08 -07:00
Kubernetes Prow Robot
6d8dd21111
Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
...
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
Kubernetes Prow Robot
6f73ab2219
Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
...
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
f7f1b2d5f7
Merge pull request #72168 from brahmaroutu/conformance_hdr
...
Allow version field in the title to be changeable
2019-07-01 19:09:08 -07:00
Kubernetes Prow Robot
da0f51ffed
Merge pull request #78820 from haosdent/fix_typos
...
Fix typos.
2019-07-01 15:09:20 -07:00
Kubernetes Prow Robot
d3be556e1c
Merge pull request #77150 from chardch/gpu-test-pod-number
...
Only create one pod per node with gpus in E2E test
2019-07-01 15:09:07 -07:00
Kubernetes Prow Robot
b4e3bd381b
Merge pull request #79524 from bertinatto/add_missing_informer
...
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-07-01 12:53:33 -07:00
Kubernetes Prow Robot
ce2836831f
Merge pull request #76315 from globervinodhn/new_e2e_removejobpods
...
New E2E proposal: Validate that all the pods are removed when the job is deleted
2019-07-01 12:53:21 -07:00
Kubernetes Prow Robot
f2c4237605
Merge pull request #74847 from draveness/feature/filter-active-pods
...
refactor: use controller.FilterActivePods in test/e2e/framework/util.go
2019-07-01 11:07:20 -07:00
Dan Williams
8739ade3fa
kubelet: add CNI cache dir option and plumb through to CNI and kubenet
...
libcni 0.7.0 caches ADD operation results and allows the runtime to
retrieve these from the cache. In case the user wants a different
cache directory than the defaul, plumb that through like we do
for --cni-bin-dir and --cni-conf-dir.
2019-07-01 12:14:07 -05:00
Kubernetes Prow Robot
8756e2c5e4
Merge pull request #79588 from wojtek-t/deprecate_scalability_tests
...
Deprecate scalability tests (we use ClusterLoader already)
2019-07-01 07:24:00 -07:00
Kubernetes Prow Robot
c52df2a637
Merge pull request #79218 from neolit123/kubeadm-1.16-owners
...
kubeadm: update OWNERS for 1.16
2019-07-01 07:23:47 -07:00
Kubernetes Prow Robot
3f221551b6
Merge pull request #78728 from mborsz/firewall
...
Modify firewall rules names to make them shorter.
2019-07-01 07:23:34 -07:00
wojtekt
a756e20cb5
Update autogenerated files
2019-07-01 15:02:49 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
draveness
83e0d99614
refactor: use controller.FilterActivePods in framework e2e test
2019-07-01 18:12:02 +08:00
wojtekt
dcd064a482
Deprecate scalability tests
2019-07-01 09:15:15 +02:00
Alena Varkockova
853a47c4ed
Fix TestUnreservePlugin
2019-06-30 08:29:19 +02:00
Dan Winship
66b9611945
agnhost: add connect subcommand
...
This can be used by networking tests that need to distinguish
different connect errors.
2019-06-29 08:55:59 -04:00
Kubernetes Prow Robot
ad79598a36
Merge pull request #79172 from bclau/tests/windows-image-pulling-fix
...
tests: Fixes Windows image pulling tests
2019-06-28 19:21:25 -07:00
Kubernetes Prow Robot
39c20fdcf1
Merge pull request #79530 from liggitt/remove-print-internal
...
Remove internal object printing from kubectl
2019-06-28 16:09:42 -07:00
Kubernetes Prow Robot
8e55b5dd40
Merge pull request #79392 from Bowenislandsong/master
...
adding pre-condition for an e2e scheduler test
2019-06-28 12:43:44 -07:00
Kubernetes Prow Robot
d1d111496a
Merge pull request #79238 from bclau/tests/reduce-to-agnhost-part-3
...
tests: Replaces images used with agnhost (part 3)
2019-06-28 12:43:19 -07:00
Kubernetes Prow Robot
7417360054
Merge pull request #79142 from bclau/test-images/centralize-image-to-agnhost-part-3
...
Centralizes images into agnhost (part 3)
2019-06-28 12:42:54 -07:00
Jordan Liggitt
cf3e75de70
Remove internal object printing from kubectl
2019-06-28 10:54:50 -07:00
Kubernetes Prow Robot
ce9d4a947e
Merge pull request #79500 from BenTheElder/node-run-tests
...
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-28 08:05:51 -07:00
Bowen Song
d39453c35e
Adding an if statement to check the number of worker nodes available before running a test that needs 2 nodes.
...
Checking avoids error assertion in function 'CreateHostPortPods' to fail.
2019-06-28 09:25:39 -04:00
Fabio Bertinatto
dfc78caa21
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-06-28 13:32:03 +02:00
Andrea Nodari
b31f5c7233
Fix golint failures related to docs
2019-06-28 12:31:06 +01:00
Andrea Nodari
35f6ad187b
Fix golint failures for test/e2e/scalability
2019-06-28 12:31:06 +01:00
Benjamin Elder
30bf22c10e
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-27 21:12:08 -07:00
Mayank Gaikwad
49cc8ef60f
Replace buzybox and pause pod image with agnhost
2019-06-28 07:44:31 +05:30
Kubernetes Prow Robot
8f41397210
Merge pull request #79490 from seans3/remove-kubectl-dep
...
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 17:44:11 -07:00
Kubernetes Prow Robot
f3a03f71af
Merge pull request #79473 from wojtek-t/coordination_v1
...
Use coordination v1 API
2019-06-27 15:30:14 -07:00
Kubernetes Prow Robot
d009936151
Merge pull request #79405 from spiffxp/fix-walker-to-walk-all-describes
...
Conformance walker should handle nested/adjacent Describes
2019-06-27 15:29:35 -07:00
Richard Chen
9368b2ce87
Only create one pod per gpu node in E2E test
2019-06-27 13:40:35 -07:00
Sean Sullivan
e851af0aab
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 10:49:42 -07:00
Kubernetes Prow Robot
6fe4119998
Merge pull request #79467 from jsafrane/fix-mock-selinux
...
Run sidecars for csi-mock as privileged
2019-06-27 09:39:21 -07:00
wojtekt
e8ca50c43c
Use coordination v1 API
2019-06-27 18:08:40 +02:00
Kubernetes Prow Robot
8245461a8d
Merge pull request #79008 from jpbetz/fix-addlabel-mutation-example
...
Fix mutating webhook test image 'addlabel' to not clobber labels
2019-06-27 07:11:21 -07:00
Jan Safranek
d6077c717d
Run sidecars for csi-mock as privileged
...
The driver and provisioner runs as privileged, so make all the other
sidecar containers privileged too.
This helps on system with SELinux, non-privileged container can't access
socket of a privileged one.
2019-06-27 13:39:14 +02:00
Claudiu Belu
54be382552
tests: Clarifies agnhost's entrypoint-tester's usage
...
Some of the entrypoint-tester related tests overrides agnhost's default entrypoint
with agnhost-2, and this function's args will only contain the subcommand's
args (./agnhost entrypoint-tester these args), but we need to print *all* the
args, which is why os.Args should be printed instead.
2019-06-26 22:14:28 -07:00
Claudiu Belu
af5c0c9e09
Centralizes images into agnhost (part 3)
...
Centralizes the following images into agnhost:
- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 22:14:28 -07:00
Kubernetes Prow Robot
6b5cb97fba
Merge pull request #77397 from jsafrane/scheduler-benchmark-volumes
...
Add benchmark for scheduling of pods with PVs
2019-06-26 20:03:20 -07:00
Kubernetes Prow Robot
cd89631620
Merge pull request #79424 from draveness/feature/remove-sharing-plugins-in-framework-tests
...
refactor: add reset method to all test plugins
2019-06-26 18:51:32 -07:00
Lubomir I. Ivanov
f87223fbf8
kubeadm: update OWNERS for 1.16
...
- comment out Liz and Chuck until further notice.
Feel free to come back to kubeadm!!
- Add SataQiu as reviewer. Welcome.
- Add ereslibre as approver. Congrats!
2019-06-27 00:01:05 +03:00
Claudiu Belu
c752ea8134
tests: Replaces images used with agnhost (part 3)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -07:00
Claudiu Belu
6b7a641c96
tests: Fixes agnhost logs-generator usage
...
Cobra flags have 2 dashes, not 1.
2019-06-26 11:38:38 -07:00
draveness
40090e8563
refactor: add reset method to all test plugins
2019-06-26 23:06:34 +08:00
Jan Safranek
f6430c0159
Add benchmark for scheduling of pods with PVs
2019-06-26 14:07:17 +02:00
Aaron Crickenberger
ffe70f1a6e
Conformance walker should handle nested/adjacent Describes
...
This also revealed that the regex for Context was too generous and would
catch things like SecurityContext or ContextWithFoo(...) calls
This ensures that test suites with a ineligible tag in their top-level
Describe will be rejected from promotion to conformance
2019-06-25 21:41:38 -07:00
Kubernetes Prow Robot
20e97a6b4b
Merge pull request #79388 from aojea/e2e_ipv6_guestbook
...
Add ipv6 support to the e2e guestbook test
2019-06-25 19:25:13 -07:00
Kubernetes Prow Robot
ab618571b1
Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
...
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Kubernetes Prow Robot
5305532fcf
Merge pull request #75243 from aojea/e2e_ipv6_dns
...
Add ipv6 support to the DNS e2e tests
2019-06-25 18:15:14 -07:00
Kubernetes Prow Robot
22fb6fd174
Merge pull request #77595 from bertinatto/volume_limits
...
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Antonio Ojea
207c00aa8c
Add ipv6 support to the DNS e2e tests
...
Current DNS e2e test are only looking for A records, thus all IPv6
tests fail because we should look for AAAA records.
We can ask for both records in the same query, that allows us to
have the same tests for both scenarios.
` dig <name> A <name> AAAA`
In addition, the logic to find the hostname address has to be changed
because the command `hostname -i` fails in an IPv6 environemnt.
However, using `getent hosts $(hostname | ...)` give us the IPv6 adddress
of the current host.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-06-25 23:44:17 +02:00
Antonio Ojea
2017d9e03f
Add ipv6 support to the e2e guestbook test
2019-06-25 22:40:08 +02:00
Maysa Macedo
5fdddd31d2
Increase Network Policy tests coverage
2019-06-25 16:25:52 -04:00
Kubernetes Prow Robot
68aaf8b91f
Merge pull request #79352 from aojea/e2eIpv6Prestop
...
add IPv6 support to the e2e PreStop test
2019-06-25 11:44:49 -07:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
Fabio Bertinatto
33c8bacd41
Update nodeinfomanager to store volume limits in CSINode
2019-06-25 16:30:54 +02:00
Kubernetes Prow Robot
1db31d474f
Merge pull request #79057 from rphillips/fixes/e2e_kubelet_stats_fix
...
kubelet_stats: fix potential e2e crash dereferencing ContainerStats.CPU
2019-06-25 03:48:39 -07:00
Antonio Ojea
028206e13b
add IPv6 support to the e2e PreStop test
2019-06-25 11:52:07 +02:00
Kubernetes Prow Robot
38e95b1a78
Merge pull request #79317 from BenTheElder/yikeshell
...
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-25 01:15:29 -07:00
Kubernetes Prow Robot
bbc17310fc
Merge pull request #78922 from oomichi/add-ExpectEqual
...
Add ExpectEqual() to e2e framework
2019-06-25 01:14:50 -07:00
goodluckbot
032dde8754
Refactor statefulset e2e tests
2019-06-25 11:33:58 +08:00
s-ito-ts
ea06a1c936
change from milli bytes to bytes in ephemeral-storage resource limits
2019-06-24 02:29:53 +00:00
Benjamin Elder
21d1d273c8
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-23 17:01:54 -07:00
Antonio Ojea
410df752cd
Add ipv6 support to [sig-apps] StatefulSet e2e test
...
Use httpd docker images instead of nginx because they listen
by default both in IPv4 and IPv6
2019-06-23 17:23:28 +02:00
Kubernetes Prow Robot
8ce45b642e
Merge pull request #79262 from draveness/feature/graduate-pod-priority-to-ga
...
feat: cleanup PodPriority features gate
2019-06-23 02:45:54 -07:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
1dff339905
Merge pull request #67928 from vikaschoudhary16/e2e-dp
...
Add stub device plugin for e2e tests
2019-06-22 13:46:12 -07:00
Justin SB
0c57ad0004
kubectl attach test: wait for input before proceeding
...
This way we know stdin is attached and we are in a known state.
2019-06-22 15:45:58 -04:00
Kubernetes Prow Robot
eb145bef43
Merge pull request #79293 from SataQiu/cleanup-test-20190622
...
e2e: remove framework.Failf
2019-06-22 12:32:12 -07:00
draveness
b8950dab50
Revert "Add Bind extension point of the scheduling framework"
2019-06-22 22:52:57 +08:00
SataQiu
492c8c6f24
e2e: remove framework.Failf
2019-06-22 21:33:16 +08:00
Kubernetes Prow Robot
6efc5a8c9a
Merge pull request #78513 from chenchun/binder
...
Add Bind extension point of the scheduling framework
2019-06-21 18:52:25 -07:00
Kubernetes Prow Robot
dc8b928136
Merge pull request #79162 from SataQiu/fix-test-20190619
...
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Kubernetes Prow Robot
0c2830c560
Merge pull request #79084 from k-toyoda-pi/common_sysctlgo_remove_duplicate_comment
...
remove duplicate comment in e2e/common/sysctl.go
2019-06-21 12:16:39 -07:00
Kubernetes Prow Robot
80e844defa
Merge pull request #79150 from alejandrox1/framework-refactor-runtime-obj
...
Refactored runtime.Object helper functions into subpkg
2019-06-21 07:52:37 -07:00
Kubernetes Prow Robot
737d74d12d
Merge pull request #79092 from lubinsz/pr_bzl_rundir2
...
rundir attribute was missing for some new integration test cases
2019-06-20 22:50:34 -07:00
vikaschoudhary16
53c0641686
Add stub device plugin for e2e tests
2019-06-21 11:07:12 +05:30
Kubernetes Prow Robot
0f2b01ab33
Merge pull request #78022 from xychu/fix-shellchecks-g
...
Fix shellcheck failures in test/cmd/g.*sh
2019-06-20 20:46:35 -07:00
Jorge Alarcon Ochoa
4147d727a6
Refactored runtime.Object helper functions into subpkg
...
Organized functions that abstract the access of
k8s.io/apimachinery/pkg/runtime.Objects into a framework subpackge.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-06-20 21:42:59 -04:00
Kubernetes Prow Robot
ee0c2e31e8
Merge pull request #78780 from spiffxp/name-test-e2e-api-imports
...
rename test/e2e{,_node} api imports to groupversion
2019-06-20 17:14:35 -07:00
Kubernetes Prow Robot
c898ab2043
Merge pull request #78378 from k-toyoda-pi/golint_test_e2e_common_s-v
...
Fix golint failure in e2e/common/util.go
2019-06-20 12:58:35 -07:00
Aaron Crickenberger
cb88d87dab
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/resourcemetrics/v1alpha1
2019-06-20 11:41:23 -07:00
Aaron Crickenberger
4ca8821154
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1
2019-06-20 11:41:21 -07:00
Aaron Crickenberger
4d5d5b71d2
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1beta1
2019-06-20 11:41:12 -07:00
Aaron Crickenberger
efe97e4b0a
add import-alias for k8s.io/api/storage/v1beta1
2019-06-20 11:41:02 -07:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
35cef7369e
add import-alias for k8s.io/api/settings/v1alpha1
2019-06-20 11:40:54 -07:00
Aaron Crickenberger
9d5aac1845
add import-alias for k8s.io/api/scheduling/v1
2019-06-20 11:40:47 -07:00
Aaron Crickenberger
32f8aef97b
add import-alias for k8s.io/api/rbac/v1
2019-06-20 11:40:39 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
2a8bee4b37
add import-alias for k8s.io/api/extensions/v1beta1
2019-06-20 11:40:21 -07:00
Aaron Crickenberger
b8d0ce4019
add import-alias for k8s.io/api/core/v1
2019-06-20 11:40:15 -07:00
Aaron Crickenberger
f3fd3cff8e
add import-alias for k8s.io/api/coordination/v1beta1
2019-06-20 11:40:12 -07:00
Aaron Crickenberger
291658725b
add import-alias for k8s.io/api/certificates/v1beta1
2019-06-20 11:40:06 -07:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Aaron Crickenberger
426ffe0913
add import-alias for k8s.io/api/auditregistration/v1alpha1
2019-06-20 11:39:47 -07:00
Aaron Crickenberger
f38e47dd9d
add import-alias for k8s.io/api/apps/v1beta2
2019-06-20 11:39:45 -07:00
Aaron Crickenberger
0aae740ede
add import-alias for k8s.io/api/apps/v1
2019-06-20 11:39:40 -07:00
Aaron Crickenberger
ba36cc9ebb
add import-alias for k8s.io/api/admissionregistration/v1beta1
2019-06-20 11:39:35 -07:00
Kubernetes Prow Robot
ab3b24ac0a
Merge pull request #77798 from xychu/fix-shellchecks-b
...
Fix shellchecks in test/cmd/{b,c}.*.sh
2019-06-20 10:00:52 -07:00
Chun Chen
b339c0a8bf
Add Bind extension point of the scheduling framework
2019-06-20 15:56:01 +08:00
Kubernetes Prow Robot
00e13dbc12
Merge pull request #78187 from dims/update-vendored-dependencies-to-released-versions-2
...
Update vendored dependencies to released version
2019-06-19 23:46:48 -07:00
Kubernetes Prow Robot
465e96535d
Merge pull request #78836 from dims/verify-import-aliases-during-typecheck
...
Verify import aliases
2019-06-19 21:11:01 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
...
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
Xiangyang Chu
38a785b1ee
Fix review comments to use ${}
2019-06-20 10:46:41 +08:00
Kubernetes Prow Robot
96a2f12b4e
Merge pull request #79088 from s-ito-ts/golint_e2e_storage_testsuites
...
Fix golint failures of test/e2e/storage/testsuites
2019-06-19 18:37:25 -07:00
Kubernetes Prow Robot
bd35a48815
Merge pull request #78958 from tao12345666333/go-1.12.6
...
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Kubernetes Prow Robot
c47ab33e67
Merge pull request #79170 from soltysh/test_approver
...
Move soltysh back to approvers
2019-06-19 14:57:39 -07:00
Kubernetes Prow Robot
06656ce1ae
Merge pull request #79160 from vikaschoudhary16/e2e-upgrade-flake
...
e2e Flake: Pass updated deployment for comparison of replica count
2019-06-19 14:57:26 -07:00
Kubernetes Prow Robot
50181f3e90
Merge pull request #79151 from bclau/test-images/agnhost-baseimage-prefix
...
test images: Removes linux/ prefix from agnhost BASEIMAGE
2019-06-19 14:57:14 -07:00
Kubernetes Prow Robot
c2ff62c28c
Merge pull request #78779 from odinuge/test-cleanup
...
Enforce test style on e2e_node and e2e_kubeadm tests
2019-06-19 14:56:49 -07:00
Joe Betz
aa9999c8f1
Fix mutating webhook test image 'addlabel' to update existing labels instead of clobbering
2019-06-19 14:30:17 -07:00
Maciej Szulik
8a56562d8b
Move soltysh back to approvers
2019-06-19 16:31:38 +02:00
Tomas Nozicka
d4261ba741
Update Sig-Apps OWNERS in places that were missed in #76669
2019-06-19 15:36:16 +02:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
Vikas Choudhary
cc8facda70
Pass updated deployment for comparison of replica count
2019-06-19 14:21:42 +05:30
Kubernetes Prow Robot
9162d932cf
Merge pull request #78703 from MrHohn/svc-e2e-name-cleanup
...
[e2e] Make meaningful service name in test
2019-06-19 00:56:31 -07:00
Kubernetes Prow Robot
0a3557bc29
Merge pull request #75544 from pontiyaraja/pos
...
re-named conformance test name for pod creating with CPU and memory resources
2019-06-18 20:38:32 -07:00
Richard Chen
794ec63bbd
Output the nvidia gpu information in the E2E test.
...
Including the gpu information simplifies driver version verification.
nvidia-smi is used in order to display gpu information, which contains the driver version.
2019-06-18 17:11:19 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
...
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Kenichi Omichi
d5bc1ae8aa
Make the check strict to use ExpectNoError()
...
As https://github.com/kubernetes/kubernetes/pull/78478 we can use
ExpectNoError() instead of Expect(err).ToNot(HaveOccurred()) also.
This makes the test code check strict to cover the above case and
replaces the remaining in test/e2e/common/expansion.go
2019-06-18 16:55:16 +00:00
Kubernetes Prow Robot
0e499be526
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
...
e2e: fix return value of WaitForPodsWithLabelRunningReady
2019-06-18 08:04:22 -07:00
Kubernetes Prow Robot
1545b28b58
Merge pull request #79097 from xychu/fix-shellchecks-n
...
Fix shellcheck failures in test/cmd
2019-06-18 01:08:15 -07:00
Patrick Ohly
baef3e44cd
e2e: fix return value of WaitForPodsWithLabelRunningReady
...
Because of a := assignment, the anonymous function assigned the pod
list to a local variable instead of the
WaitForPodsWithLabelRunningReady return value which therefore always
was nil.
The correct code is an assignment with = as in WaitForPodsWithLabelScheduled.
2019-06-18 09:07:31 +02:00
s-ito-ts
85ba101947
Fix golint failures of test/e2e/storage/testsuites
2019-06-18 03:02:46 +00:00
Jiatong Wang
b1c346c295
Move node related methods to framework/node package
...
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Han Kang
54dcf5c9c4
add readyz endpoint for kube-apiserver readiness checks
...
add startup sequence duration and readyz endpoint
add rbac bootstrapping policy for readyz
add integration test around grace period and readyz
rename startup sequence duration flag
copy health checks to fields
rename health-check installed boolean, refactor clock injection logic
cleanup clock injection code
remove todo about poststarthook url registration from healthz
2019-06-17 11:16:13 -07:00
Ryan Phillips
997e1f6442
kubelet_stats: fix potential e2e crash dereferencing CPU
2019-06-17 09:57:21 -05:00
Kubernetes Prow Robot
8f927d8815
Merge pull request #78277 from k-toyoda-pi/change_betrue_equal_for_cronjob_test
...
Change BeTrue to Equal/BeNumerically in cronjob e2e test
2019-06-17 07:14:11 -07:00
Claudiu Belu
9e81f3b50b
tests: Replaces images used with agnhost (part 2)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
pontiyaraja
40146c85f4
re-named conformance test name for pod creating with CPU and memory resources
2019-06-17 14:54:08 +05:30
Claudiu Belu
d274107620
tests: Fixes Windows image pulling tests
...
A previous commit removed all hardcoded image names from the tests
and centralized them into kubernetes/test/utils/image/manifest.go,
but it contained a few errors, which causes the image pulling tests
to fail on Windows:
1. No entry was written for AuthenticatedWindowsNanoServer, causing
one of the tests to try to spawn a pod with the image name /.
2. The registry set for WindowsNanoServer was e2eRegistry, which is
set to a dockerhub registry (e2eteam) in all sig-windows jobs,
which is not the purpose of the test itself (the test tries to
spawn a pod using an image from gcr.io).
The reason why e2eRegistry is set to e2eteam is because that
registry contains the Windows images needed for all the Kubernetes
E2E tests.
This commit addresses this issue.
2019-06-17 01:42:30 -07:00
Bin Lu
53e639ab9d
rundir attribute was missing for some new integration test cases
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-17 01:00:05 -07:00
Xiangyang Chu
99b2184993
Fix shellcheck faulures in test/cmd
...
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00
Claudiu Belu
4ccdcd7ab1
test images: Removes linux/ prefix from agnhost BASEIMAGE
...
A previous commit added the BASEIMAGE file for agnhost, but with
the linux/ prefix, which is supposed to be added in the Windows
support PR [1].
This is needed in order to be able to build the image.
[1]: https://github.com/kubernetes/kubernetes/pull/76838
2019-06-16 21:57:12 -07:00
toyoda
c4a96d3215
fix golint failure in e2e/common/util.go
2019-06-17 10:10:36 +09:00
toyoda
12cc719e62
remove duplicate comment in e2e/common/sysctl.go
2019-06-17 09:20:51 +09:00
Davanum Srinivas
a6f8d575ba
Add kubeletstatsv1alpha1 as the preferred alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
...
Change-Id: I05a8390a667dba307c09d95f836e08e0759c12ee
2019-06-15 22:31:51 -04:00
Kubernetes Prow Robot
c5087f25c0
Merge pull request #78916 from mkimuram/rem-dot-import
...
Remove . import from e2e test
2019-06-15 16:34:08 -07:00
Kubernetes Prow Robot
081f477560
Merge pull request #78992 from smarterclayton/increase_timeout
...
Increase load balancer timeout in test cases
2019-06-15 05:54:09 -07:00
Kubernetes Prow Robot
cb862e3323
Merge pull request #78912 from kwiesmueller/add-managedFields-wiping-tests
...
add more tests on clearing managedFields
2019-06-14 23:07:00 -07:00
Kubernetes Prow Robot
a5b80f5112
Merge pull request #78805 from spiffxp/slow-tagging
...
tag some release-blocking tests taking over 5min as [Slow]
2019-06-14 20:46:23 -07:00
Kubernetes Prow Robot
411d6789e1
Merge pull request #78394 from bclau/tests/reduce-to-agnhost-part-1
...
tests: Replaces images used with agnhost (part 1)
2019-06-14 16:50:22 -07:00
Kubernetes Prow Robot
231e869693
Merge pull request #77518 from bclau/tests/image-pulling
...
tests: Combine Linux / Windows image pulling tests
2019-06-14 16:50:09 -07:00
Kubernetes Prow Robot
34b66e5225
Merge pull request #78771 from ravisantoshgudimetla/tbe-allow-localaddress
...
Allow master nodes to be accessed from private ips
2019-06-14 15:26:34 -07:00
Kubernetes Prow Robot
1feb3b4016
Merge pull request #78716 from liggitt/log-gc-test
...
Add integration test for propagationPolicy=Orphan GC
2019-06-14 15:25:44 -07:00
Kenichi Omichi
66a3817d62
Add ExpectEqual() to e2e framework
...
Many e2e tests expect two values are the same, such check is one of
common things in tests. Now gomega.Expect(foo).To(gomega.Equal(bar))
is doing that, this adds ExpectEqual() for replacing the above call
for readable code.
In addition, this replaces under apimachinery/generated_clientset.go
as a sample.
2019-06-14 20:57:20 +00:00
Davanum Srinivas
011911022d
Fix for build failure - viper now uses ConfigFileNotFoundError
...
Change-Id: I51c4fe26239c4a7bf750e0a6a66b452d9138832f
2019-06-14 16:47:53 -04:00
Masaki Kimura
701395c392
Remove dot import from e2e test and replace with framework.ExpectNoError
2019-06-14 20:46:11 +00:00
Odin Ugedal
35cb87f9cf
Fix file permissions for non executable files
...
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-14 21:04:50 +02:00
Kubernetes Prow Robot
ba4e931dd6
Merge pull request #78389 from bclau/test-images/centralize-images-to-agnhost-part-1
...
Centralizes images into agnhost (part 1)
2019-06-14 11:52:22 -07:00
Odin Ugedal
6bb8bb0227
Cleanup e2e_node test style
...
Remove the use of Except(err).NotTo(HaveOccured()), and switch to using
framework ramework.ExpectNoError(err)
2019-06-14 17:51:48 +02:00
Clayton Coleman
e7d26b3111
Increase load balancer timeout in test cases
...
In a heavily contested AWS account (that was close to rate limits)
it took more than 2m for the load balancer to begin accepting
requests. This increases the timeout to 3m to give upgrade tests
more of a chance to pass in a contentious environment.
2019-06-14 11:45:46 -04:00
Kubernetes Prow Robot
7abf2832bf
Merge pull request #78614 from liggitt/remove-beta-e2e-use
...
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
518f16636f
Merge pull request #78593 from RobertKrawitz/ephemeral-storage-quota-cleanup
...
Ephemeral storage quota cleanup
2019-06-14 05:33:18 -07:00
Kubernetes Prow Robot
4108333bcf
Merge pull request #78476 from mysunshine92/fix-typo-anti
...
fix typo in /test/integration
2019-06-14 04:08:48 -07:00
Kubernetes Prow Robot
928a642ffd
Merge pull request #78459 from davidz627/fix/skipXFS
...
Skip GCE PD in-tree plugin tests if fstype is xfs and node distro is not ubuntu or custom
2019-06-14 04:08:35 -07:00
Kubernetes Prow Robot
aa125b4dd5
Merge pull request #78390 from bclau/test-images/centralize-images-to-agnhost-part-2
...
Centralizes images into agnhost (part 2)
2019-06-14 02:51:04 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
...
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
bab3634adf
Merge pull request #78144 from lubinsz/pr_bazel_etcdmaster
...
Bug fix: remove etcd related issues in bazel-test-integration
2019-06-14 02:50:38 -07:00
Kubernetes Prow Robot
d8695d06b7
Merge pull request #78005 from ahg-g/ahg-perfilter
...
prefilter extension point implementation for the scheduler
2019-06-14 00:29:13 -07:00
Kubernetes Prow Robot
e2c5243d77
Merge pull request #77840 from mgdevstack/master-registry-utils
...
Add references of registry and image from imageutils
2019-06-14 00:28:47 -07:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
...
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
Kubernetes Prow Robot
0f5650d68b
Merge pull request #75859 from k-toyoda-pi/fix_shellcheck_failure_make-rules
...
fix shellcheck failures in /hack/make-rules/test.sh
2019-06-13 20:36:47 -07:00
Kubernetes Prow Robot
69d2e4304a
Merge pull request #75128 from bclau/tests/hostpath-privileged-false
...
tests: creates HostPath pods as unprivileged
2019-06-13 20:36:21 -07:00
Kubernetes Prow Robot
16bc6c1d02
Merge pull request #74982 from mgdevstack/promote-dns-hostname
...
Promote DNS e2e verifying DNS resolution for hostname and subdomain
2019-06-13 19:13:11 -07:00
Kubernetes Prow Robot
8305729d7a
Merge pull request #74635 from xychu/fix-with-assert
...
Fix shellchecks follow the `${var:?}` pattern
2019-06-13 19:12:45 -07:00
Kubernetes Prow Robot
c6bc1639c3
Merge pull request #72178 from dims/remove-ovirt-photon-cloudstack-cloud-providers
...
Remove ovirt/cloudstack/photon cloud providers
2019-06-13 19:12:19 -07:00
Kubernetes Prow Robot
62eae8d058
Merge pull request #70639 from mgdevstack/promote-security-context
...
Promote security context NodeConformance tests to Conformance suite
2019-06-13 17:48:20 -07:00
Claudiu Belu
e3774b85b2
tests: Combine Linux / Windows image pulling tests
...
Because Linux images cannot run on Windows and vice-versa, separate
tests were added for both OSes, only separated by a [LinuxOnly] tag
in their names.
Based on the given --node-os-distro, we can select which image to
use when spawning the pod.
2019-06-13 15:57:59 -07:00
Claudiu Belu
bd8cb8fae0
tests: Replaces images used with agnhost (part 1)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
Claudiu Belu
b633031ec5
tests: Sets MaximumNArgs for agnhost subcommands to 0
...
The subcommands rely on flags, not args. Because of this, the
cobra.MaximumNArgs should be set 0.
2019-06-13 14:58:34 -07:00
Claudiu Belu
bad9e15509
Updates agnhost README and Dockerfile files
...
logs-generator used to be configured through env variables, but with
the image centralization, that changed to flags.
This commit updates the agnhost README to reflect that.
2019-06-13 14:58:33 -07:00
Claudiu Belu
64c69094d3
Updates agnhost image version in documentation
...
The version was bumped to 2.1, not 1.1.
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2019-06-13 14:58:22 -07:00
Claudiu Belu
76550ea8b8
test images: Centralizes images into agnhost (part 1)
...
Centralizes the following images into agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 14:51:39 -07:00
Claudiu Belu
99e2646067
test images: Refactors agnhost image
...
Refactors the functions used in agnhost into different modules,
based on their functionality, leaving only the main in the base
folder.
Future commits will add several functionalities to agnhost, so
this change will be necessary to keep it clean.
2019-06-13 14:24:15 -07:00
Claudiu Belu
8fc07ea929
Centralizes images into agnhost (part 2)
...
Centralizes the following images into agnhost:
- net
- netexec
- nettest
- webhook
Adds logging persistent flags, which are used by some tests.
2019-06-12 21:31:37 -07:00
Jintao Zhang
37f091eadf
update to go 1.12.6
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
SataQiu
f90e228e79
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-12 19:00:15 +08:00
Kubernetes Prow Robot
0a9373b89a
Merge pull request #78885 from liggitt/procmount-1.15
...
1.15: Fix incorrect procMount defaulting
2019-06-11 13:46:18 -07:00
Kevin Wiesmüller
49abd3b3ab
add more tests on clearing managedFields
2019-06-11 20:30:53 +02:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Abdullah Gharaibeh
a61a437ef2
prefilter extension point implementation.
2019-06-10 17:01:50 -04:00
Kubernetes Prow Robot
32ec6c212e
Merge pull request #78691 from rajansandeep/revertto131
...
Revert CoreDNS to 1.3.1 in kube-up
2019-06-10 10:55:10 -07:00
Haosdent Huang
7ce6e71891
Fix typos.
2019-06-11 01:52:14 +08:00
Davanum Srinivas
e0821ca3dd
Remove ovirt/cloudstack/photon cloud providers
...
Change-Id: Iddb80bdc2a9d75d444b8a3cfe0b142acb78e9097
2019-06-10 12:50:53 -04:00
Aaron Crickenberger
248756e066
tag some release-blocking tests taking over 5min as [Slow]
...
I looked at all runs over all jobs run against master or release-1.15,
ignored [Feature:.*] or [Serial] tests, and added [Slow] to any tests
whose 50th percentile duration was over 5 minutes
Misc comments:
- the apimachinery chunking test is the worst offender, at about 15min
- all test cases for all drivers that ran the [Testpattern:.*(xfs)] were
taking longer than 5 minutes, so I got lucky and this was an easy
call; not sure how to support some drivers taking too long for some
test patterns
2019-06-07 17:42:35 -07:00
Kubernetes Prow Robot
c7972d9a5e
Merge pull request #78553 from caesarxuchao/alpha-gate-remainingItemCount
...
Protecting remainingItemCount behind a feature flag. Also updating the API doc
2019-06-07 12:21:58 -07:00
Kubernetes Prow Robot
28f13f720c
Merge pull request #78770 from liggitt/kubectl-apply-extra-properties
...
Fix kubectl apply skew test with extra properties
2019-06-06 14:43:59 -07:00
Jordan Liggitt
044e92b5cf
Fix kubectl apply skew test with extra properties
2019-06-06 14:55:52 -04:00
ravisantoshgudimetla
64bb6337d0
Allow master nodes to be accessed from private ips
2019-06-06 14:38:05 -04:00
Jordan Liggitt
2b911dda65
Fix conflicting duplicate webhook test
2019-06-06 11:35:13 -04:00
globervinodhn
faf5cda046
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-06-06 11:39:27 +05:30
globervinodhn
86f13ecb5a
New E2E to verify pods are deleted after Job deletion
2019-06-06 10:42:48 +05:30
Kubernetes Prow Robot
49a485b7d8
Merge pull request #78710 from spiffxp/conformance-exclude-tags
...
Error on tests ineligible for promotion to conformance
2019-06-05 14:02:14 -07:00
Aaron Crickenberger
67be4f5d06
Error on tests ineligible for promotion to conformance
...
If there are tags in the test name that describe qualities of the
test that make it ineligible for conformance, raise an error. This
is basically the "skip list" that heptio's e2e image used to use.
Thankfully all of our existing Conformance tests lack these tags. I
considered added [Slow] to the list, but let's save that for another
day.
2019-06-05 10:36:59 -07:00
Maciej Borsz
31f18c0a6d
Modify firewall rules names to make them shorter.
2019-06-05 13:18:53 +02:00
Jordan Liggitt
07670b67d2
Add integration test for propagationPolicy=Orphan GC
2019-06-05 01:45:22 -04:00
Bin Lu
34f95a8985
Bug fix: remove etcd related issues in bazel-test-integration
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-04 22:09:48 -07:00
Kubernetes Prow Robot
714fcd910f
Merge pull request #78537 from liggitt/log-gc-test
...
Fix GC integration test
2019-06-04 20:35:53 -07:00
Kubernetes Prow Robot
0d1007f84b
Merge pull request #78708 from jpbetz/reinvocation-flake-fix
...
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 18:45:52 -07:00
Kubernetes Prow Robot
b3b1c7c1e1
Merge pull request #78704 from dashpole/fix_windows_podresources
...
Disable kubelet local endpoints on windows
2019-06-04 16:47:52 -07:00
Joe Betz
e51320f69d
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 15:52:55 -07:00
Jordan Liggitt
6a7e7fc156
Fix TestStressingCascadingDeletion flake
2019-06-04 17:26:36 -04:00
David Ashpole
80ed28b15b
disable kubelet local endpoints on windows
2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot
85f2730d85
Merge pull request #78658 from jingxu97/June/window-test-fix
...
Fix volume mount tests issue for windows
2019-06-04 13:15:53 -07:00
Zihong Zheng
a4de66027f
[e2e] Make meaningful service name in test
2019-06-04 13:14:55 -07:00
Sandeep Rajan
bfb809f3c6
revert coredns to 1.3.1
2019-06-04 08:53:02 -04:00
Kubernetes Prow Robot
a04017a468
Merge pull request #78530 from liggitt/deflake-core-integration
...
Wait for pods to be garbage collected in integration test
2019-06-04 05:03:08 -07:00
Xiangyang Chu
cfc7b0d9c3
Change quoting format
2019-06-04 14:42:01 +08:00
Xiangyang Chu
81eb22900b
Fix shellchecks in test/cmd/{b,c}.*.sh
2019-06-04 14:42:01 +08:00
Jordan Liggitt
8229af31d2
Move test/e2e use to v1 APIs
2019-06-03 14:46:08 -04:00
Chao Xu
a64b3890e7
generated
2019-06-03 10:34:44 -07:00
Chao Xu
1ad5cb5bb1
Protect remainingItemCount behind a feature flag. Also updating the API doc
2019-06-03 10:34:44 -07:00
Jing Xu
8aacb8003f
Fix volume mount tests issue for windows
...
For windows node, security context is disabled. This PR fixes a bug so
that fsGroup will not be applied to pods that run on windows node.
Change-Id: Id9870416d2ad8ef791b3b4896d6747a2adbada2f
2019-06-03 10:12:27 -07:00
Hemant Kumar
0f62e3fbe8
Make language of error msgs and func names consistent: ExpandVolumeInUse
...
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot
ed4c1ddd23
Merge pull request #78548 from dashpole/flaky_performance
...
Move e2e node perf test to flaky suite
2019-06-01 12:12:29 -07:00
Kubernetes Prow Robot
9186366577
Merge pull request #78410 from MrHohn/svc-finalizer-e2e
...
[e2e] Add tests for service load balancer finalizer
2019-06-01 12:12:16 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
...
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Kubernetes Prow Robot
08b19d58ce
Merge pull request #78486 from yastij/event-integration-test
...
add integration test for core/v1beta1 event compatibility
2019-06-01 02:54:55 -07:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
...
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
Kubernetes Prow Robot
d817a7e9a0
Merge pull request #78325 from caesarxuchao/storageVersionHash-beta
...
Graduate storageVersionHash field in the discovery doc to beta
2019-05-31 23:22:33 -07:00
Kubernetes Prow Robot
753a422b13
Merge pull request #78305 from rajansandeep/addreadyplugintotests
...
Add ready plugin in CoreDNS corefile for DNS tests
2019-05-31 23:22:20 -07:00
Kubernetes Prow Robot
227f34b33a
Merge pull request #77817 from smarterclayton/apicrd
...
CRDs should support watch of protobuf PartialObjectMetadata
2019-05-31 20:44:35 -07:00
Robert Krawitz
10d37bb748
Rename pkg/volume/util/quota -> pkg/volume/util/fsquota
2019-05-31 13:57:44 -04:00
Kubernetes Prow Robot
e87679cfaa
Merge pull request #74733 from wk8/wk8/misc_fixes
...
Not asking for sudo passwords for password-less sudo users any more
2019-05-31 07:12:43 -07:00
Mayank Gaikwad
3377737af2
Add references of registry and image from imageutils
2019-05-31 14:27:07 +05:30
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
...
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
Kubernetes Prow Robot
cf76868b34
Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
...
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Chao Xu
6cf499db6c
object matcher
2019-05-30 17:23:35 -07:00
Clayton Coleman
26a6cdda86
Set integration tests to use distinct namespaces
...
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.
Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.
From a failed integration run:
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
Joe Betz
95fa928ecb
Add mutating admission webhook reinvocation
2019-05-30 14:31:09 -07:00
Joe Betz
55ecc45455
split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook
2019-05-30 14:31:09 -07:00
David Ashpole
3a33f5378c
move e2e node perf test to flaky suite
2019-05-30 13:50:28 -07:00
David Zhu
00eb0d23c3
Skip tests is fstype is xfs and node distro is gci, cos, or windows
2019-05-30 13:08:29 -07:00
Jordan Liggitt
d93ef9396b
Wait for pods to be garbage collected
2019-05-30 11:46:09 -04:00
Yassine TIJANI
bfa12a0992
add integration test for core/v1beta1 event compatibility
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 15:01:15 +00:00
Clayton Coleman
89e752add0
CRDs should support watch of protobuf PartialObjectMetadata
...
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.
As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).
2019-05-30 10:47:35 -04:00
Jorge Alarcon Ochoa
4969a05327
Refactored pod-related functions from framework/util.go
...
This a refactoring of framework/utils.go into framework/pod.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
Kubernetes Prow Robot
13ec0e2bb9
Merge pull request #78478 from draveness/feature/use-framework-expect-no-error
...
fix: use framework.ExpectNoError instead of gomega
2019-05-30 04:55:01 -07:00
Kubernetes Prow Robot
38afd9815e
Merge pull request #78445 from soltysh/remove_job_scale
...
Remove kubectl scale job
2019-05-30 02:24:33 -07:00
Kubernetes Prow Robot
b18846cf4c
Merge pull request #78426 from sttts/sttts-crd-conversion-beta
...
apiextensions: promote CRD conversion to beta
2019-05-30 02:24:18 -07:00
Kubernetes Prow Robot
6dfec4a2ec
Merge pull request #78386 from SataQiu/fix-test-golint-20190527
...
Fix golint failures of test/e2e/chaosmonkey
2019-05-29 22:54:45 -07:00
Chao Xu
2f4c273398
Graduate storageVersionHash field in the discovery doc to beta
2019-05-29 17:38:28 -07:00
Kubernetes Prow Robot
eb2b5d37ff
Merge pull request #78283 from s-ito-ts/77706_e2e_common
...
Use framework.ExpectError() for e2e/common
2019-05-29 17:24:58 -07:00
Kubernetes Prow Robot
60248990a8
Merge pull request #78051 from davidz627/fix/skipMetrics
...
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-29 17:24:33 -07:00
Kubernetes Prow Robot
bb475c4a64
Merge pull request #77567 from wgliang/features/scheduling-framework-post-bind
...
Add Post-bind extension point to the scheduling framework
2019-05-29 17:24:20 -07:00
Jean Rouge
1bd3d8b929
Not asking for sudo passwords for password-less sudo users any more
...
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh
with a password-less sudo user on a dev box right now requires to first
create a password for that user, and then type it every time one wants
to run these tests. This patch is fixing this by not asking for sudo
credentials if it seems the user can run any command without a
password.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-29 14:04:13 -07:00
Dr. Stefan Schimanski
c692875277
apiextensions: fix conversion tests to enable pruning
2019-05-29 21:57:45 +02:00
yameiwang
8d07b2641e
fix typo in /test/integration
2019-05-30 03:47:43 +08:00
Dr. Stefan Schimanski
1e5591297b
apiextensions: remove CustomResourceWebhookConversion test guards
2019-05-29 21:19:51 +02:00
Robert Krawitz
46b3c75113
Add e2e test for quota-based eviction.
...
Positive test is skipped if quotas not available.
2019-05-29 15:12:28 -04:00
Kubernetes Prow Robot
472b9011d5
Merge pull request #77937 from MaysaMacedo/increase-e2e-np-tests
...
Increase coverage for e2e Network Policy tests
2019-05-29 11:26:39 -07:00
Kubernetes Prow Robot
c7611727a6
Merge pull request #77861 from bclau/images/dnsutils-coredns
...
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
2019-05-29 11:26:26 -07:00
Kubernetes Prow Robot
cc11d977b4
Merge pull request #76826 from bclau/tests/nettest-recheck
...
tests: Adds retry to netexec connectivity check
2019-05-29 11:26:00 -07:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
...
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kenichi Omichi
63e0507fd9
Check e2e test code to use ExpectError()
...
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kubernetes Prow Robot
3978d13d45
Merge pull request #78086 from lubinsz/pr_bzl_api
...
data attribute was missing for apiextensions-apiserver test cases
2019-05-29 09:44:38 -07:00
draveness
d6c600dac0
fix: use framework.ExpectNoError instead of gomega
2019-05-29 23:46:35 +08:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
...
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
350c309da4
Merge pull request #78284 from SataQiu/test-e2e-refactor-20190524
...
[e2e] Refactor: cleanup Logf from framework/util
2019-05-29 05:33:15 -07:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
...
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
Kubernetes Prow Robot
223809de3b
Merge pull request #78279 from k-toyoda-pi/replace_expecterror_e2e_a
...
Use framework.ExpectError() for e2e/a*
2019-05-29 03:11:16 -07:00
Kubernetes Prow Robot
51336deb4a
Merge pull request #78264 from tallclair/runasnonroot
...
Add RunAsNonRoot test
2019-05-29 03:10:50 -07:00
Kubernetes Prow Robot
cd9f430941
Merge pull request #78135 from liggitt/webhook-conversion
...
Convert to admission webhook-recognized versions
2019-05-29 00:52:36 -07:00
s-ito-ts
3492c81e12
Use framework.ExpectError() for e2e/common
2019-05-29 05:46:16 +00:00
Kubernetes Prow Robot
afba9c0355
Merge pull request #77877 from liggitt/deflake-integration
...
Wait for integration precondition
2019-05-28 22:21:12 -07:00
Kubernetes Prow Robot
65188f8690
Merge pull request #77852 from k-toyoda-pi/golint_test_e2e_common_p-r
...
Fix golint failures of test/e2e/common/[p-r]*
2019-05-28 22:21:00 -07:00
Nils Domrose
cc93ec05e8
Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils
2019-05-28 22:18:42 +02:00
Zihong Zheng
a9ed5702be
[e2e] Add tests for service load balancer finalizer
2019-05-28 11:32:24 -07:00
Jordan Liggitt
8c194ea615
Add webhook admission conversion test
2019-05-28 14:30:20 -04:00
yameiwang
098c29b5f4
fix typos in if statememnt in /test/e2e_node
2019-05-28 23:04:33 +08:00
Jordan Liggitt
145e8c46cf
Make GetRemainingItemCount/SetRemainingItemCount use pointers
2019-05-28 10:37:06 -04:00
Maciej Szulik
85d8b0ce3f
Remove kubectl scale job
2019-05-28 15:24:38 +02:00
Kubernetes Prow Robot
b49d429f64
Merge pull request #78381 from qingsenLi/k8s-190527
...
fix a little spelling error
2019-05-28 01:02:57 -07:00
Kubernetes Prow Robot
cc5a87dba9
Merge pull request #78326 from roycaihw/crd-kubectl-e2e
...
fix test flake when kubectl e2e and crd-openapi e2e run in parallel
2019-05-28 01:02:43 -07:00
Kubernetes Prow Robot
470916d32d
Merge pull request #77922 from sttts/sttts-structural-crd-pruning-conversion-test
...
apiextensions: integration tests for pruning after conversion webhook
2019-05-28 01:02:00 -07:00
Haowei Cai
9808fa3d6c
mitigate test flake when kubectl e2e and crd-openapi e2e run in parallel
2019-05-27 12:59:11 -07:00
qingsenLi
f98bbdec32
fix a little spelling error
2019-05-28 01:38:44 +08:00
SataQiu
a6e0614dd9
fix golint failures of test/e2e/chaosmonkey
2019-05-27 18:30:12 +08:00
Maysa Macedo
b6f73bc82a
Increase coverage for e2e Network Policy tests
2019-05-27 02:59:56 -04:00
toyoda
028cd65db9
fix golint failure in e2e/common/[p-r]*
2019-05-27 08:57:02 +09:00
Kubernetes Prow Robot
16d33c4985
Merge pull request #78042 from oomichi/use-ExpectNoError-common2
...
Use framework.ExpectNoError() on e2e/common
2019-05-25 13:03:50 -07:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
...
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
Dr. Stefan Schimanski
cd0b46874a
apiextensions: add storage race TODO in CRD conversion e2e test
2019-05-25 17:57:04 +02:00
Chao Xu
e28a1072d9
Make ListMeta.RemainingItemCount a pointer (*int64) to make sure it's omitted
...
when serialized to proto.
The SetRemainingItemCount() and GetRemainingItemCount() still takes and
returns an int64 to make developers life easier.
2019-05-24 18:12:55 -07:00
Tim Allclair
19a588eeda
Add a special-cased runtime handler for dockershim
2019-05-24 15:30:34 -07:00
Tim Allclair
c851c480d3
Move to debian-base non-root image
2019-05-24 11:57:43 -07:00
Sandeep Rajan
08e3fb5588
Add ready plugin to dns tests
2019-05-24 11:08:58 -04:00
SataQiu
d3a902ff5b
e2e refactor: cleanup Logf form framework/util
2019-05-24 16:39:46 +08:00
toyoda
7acb1540a9
Use framework.ExpectError() for e2e/a*
2019-05-24 15:16:02 +09:00
Kubernetes Prow Robot
a07b027261
Merge pull request #77825 from roycaihw/crd-openapi-beta
...
Promote Publish CRD OpenAPI to beta
2019-05-23 22:24:31 -07:00
Morten Torkildsen
f1883c9e8c
Support scale subresource for PDBs ( #76294 )
...
* Support scale subresource for PDBs
* Check group in finder functions
* Small fixes and more tests
2019-05-23 22:24:17 -07:00
toyoda
749e76351f
change BeTrue to Equal or BeNumerically in cronjob e2e test
2019-05-24 13:22:07 +09:00
Mikhail Mazurskiy
4ce1fb7d40
Cleanup math/rand package usage
2019-05-24 09:25:04 +10:00
Kubernetes Prow Robot
8c94f4daed
Merge pull request #78058 from verult/skip-leaking-pd
...
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredM…
2019-05-23 14:48:20 -07:00
Tim Allclair
6e78c5bdde
Add RunAsNonRoot test
2019-05-23 12:23:04 -07:00
Kubernetes Prow Robot
d83805c479
Merge pull request #78194 from roycaihw/crd-openapi-e2e
...
Fix alpha CRD openapi e2e
2019-05-22 21:34:25 -07:00
Kubernetes Prow Robot
d1d6f64cda
Merge pull request #78198 from Random-Liu/node-e2e-service-account
...
Use default service account when creating test instance.
2019-05-22 20:06:23 -07:00
Kubernetes Prow Robot
367f135372
Merge pull request #78192 from Random-Liu/support-image-family-in-node-e2e
...
Support image family in node e2e image config file.
2019-05-22 13:52:38 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
...
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Haowei Cai
629bdf5e84
restore test behavior for CRD without validation cases
...
the test doesn't set empty validation but expects CRD controller to treat
nil schema specially and publish an empty schema
2019-05-22 12:16:08 -07:00
Haowei Cai
1cfed1cca6
fix crd openapi alpha e2e
...
make schema used in e2e structural so it can be published;
GET before UPDATE to tolerate object change
2019-05-22 12:14:55 -07:00
Jordan Liggitt
46b5573f78
Fix CRD e2e tests
2019-05-22 10:31:34 -04:00
Kenichi Omichi
496a18febc
Add hack/verify-test-code.sh
...
This script checks coding style for test code.
It is useful to enforce developers to use framework methods for
keeping readable test code for example.
2019-05-22 14:15:25 +00:00
Kubernetes Prow Robot
6ab483b6fb
Merge pull request #78155 from qingsenLi/k8s-190521
...
remove unused const in test/integration
2019-05-22 04:01:05 -07:00
Kubernetes Prow Robot
3371378506
Merge pull request #78096 from SataQiu/fix-golint-test-20190520
...
Fix golint failures of test/e2e/storage/drivers
2019-05-22 04:00:52 -07:00
Kubernetes Prow Robot
ec0f8b843f
Merge pull request #77913 from s-ito-ts/golint_test_e2e_autoscaling
...
Fix golint failures of test/e2e/autoscaling
2019-05-22 04:00:25 -07:00
Kubernetes Prow Robot
c2633d8969
Merge pull request #77890 from oomichi/use-ExpectNoError-scalability
...
Use ExpectNoError() for scalability and scheduling
2019-05-22 02:40:25 -07:00
Lantao Liu
6bcad9cf71
Support image family in node e2e image config file.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-21 21:32:48 -07:00
Lantao Liu
cd33337ad9
Use default service account when creating test instance.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-21 21:09:04 -07:00
Kubernetes Prow Robot
2fd1556eb3
Merge pull request #77720 from jiatongw/e2e/framework/service_util
...
Move service_util endpoints related functions to framework/endpoints/ports.go
2019-05-21 11:40:21 -07:00
Kubernetes Prow Robot
ae2a1628f6
Merge pull request #75459 from wk8/wk8/gmsa_beta
...
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
qingsenLi
7da5f2d3e6
remove unused const in test/integration
2019-05-22 00:51:52 +08:00
Nils Domrose
d14c2cca8a
fix golint errors in test/e2e/storage/utils
2019-05-21 11:11:21 +02:00
Kubernetes Prow Robot
fe0d89fc57
Merge pull request #78131 from sttts/sttts-e2e-CreateMultiVersionTestCRD-fix
...
e2e: fix CreateMultiVersionTestCRD version logic
2019-05-20 18:39:05 -07:00
Kubernetes Prow Robot
938041694c
Merge pull request #77554 from sttts/sttts-structural-publishing
...
apiextensions: publish (only) structural OpenAPI schemas
2019-05-20 18:38:39 -07:00
Kubernetes Prow Robot
b049dfaa59
Merge pull request #77343 from johnSchnake/removeGKE-SAR-404-path
...
GKE also requires SAR endpoints
2019-05-20 13:21:13 -07:00
Dr. Stefan Schimanski
9e04e778dd
e2e: fix CreateMultiVersionTestCRD version logic
2019-05-20 22:07:02 +02:00
Jiatong Wang
76f76450ca
Move service_util endpoints related to framework/endpoints
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-20 11:47:38 -07:00
SataQiu
b828e570b1
fix golint failures of test/e2e/storage/drivers
2019-05-20 13:12:38 +08:00
s-ito-ts
c101f40e18
Fix golint failures of test/e2e/autoscaling
2019-05-20 02:20:39 +00:00
Bin Lu
b121545b70
data attribute was missing for apiserver integration test cases
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-19 20:04:35 +08:00
Guoliang Wang
20f9c9940e
Add Post-bind extension point to the scheduling framework
2019-05-19 18:12:16 +08:00
Kubernetes Prow Robot
0f31cc93b6
Merge pull request #74440 from yliaog/dynamic
...
Switched to use dynamic shared informer for Garbage Collector.
2019-05-18 12:23:12 -07:00
Kubernetes Prow Robot
df4f033a4f
Merge pull request #77501 from JieJhih/scheduling/plugin
...
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
Dr. Stefan Schimanski
bc86aeba05
apiextensions: switch OpenAPI pubilshing to structural schema
2019-05-18 11:12:48 +02:00
Kubernetes Prow Robot
a7f13bcaf0
Merge pull request #77901 from k-toyoda-pi/use_expect_no_error_e2e_network_1
...
use framework.ExpectNoError() for e2e/network
2019-05-17 21:51:07 -07:00
Kubernetes Prow Robot
21448ea606
Merge pull request #77220 from jingxu97/March/windows_test
...
Update subpath e2e test for windows
2019-05-17 20:26:46 -07:00
Kubernetes Prow Robot
df8e241fb9
Merge pull request #76346 from caesarxuchao/delete-admission-objects
...
Sending existing object to the webhook for the DELETE verb
2019-05-17 20:26:22 -07:00
Cheng Xing
eead54985d
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredMaster() is true
2019-05-17 16:52:06 -07:00
Yu Liao
05ebe91277
Switched to use dynamic shared informer for Garbage Collector.
2019-05-17 15:41:36 -07:00
JieJhih Jhang
2cd5fc54a1
add scheduling framework configuration
...
update bazel build
fix get plugin config method
initialize only needed plugins
fix unit test
fix import duplicate package
update bazel
add docstrings
add weight field to plugin
add plugin to v1alpha1
add plugins at appropriate extension points
remove todo statement
fix import package file path
set plugin json schema
add plugin unit test to option
initial plugin in test integration
initialize only needed plugins
update bazel
rename func
change plugins needed logic
remove v1 alias
change the comment
fix alias shorter
remove blank line
change docstrings
fix map bool to struct
add some docstrings
add unreserve plugin
fix docstrings
move variable inside the for loop
make if else statement cleaner
remove plugin config from reserve plugin unit test
add plugin config and reduce unnecessary options for unit test
update bazel
fix race condition
fix permit plugin integration
change plugins to be pointer
change weight to int32
fix package alias
initial queue sort plugin
rename unreserve plugin
redesign plugin struct
update docstrings
check queue sort plugin amount
fix error message
fix condition
change plugin struct
add disabled plugin for unit test
fix docstrings
handle nil plugin set
2019-05-18 06:30:28 +08:00
David Zhu
9854ecbeef
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-17 13:23:31 -07:00
Kubernetes Prow Robot
63e6cf3a0a
Merge pull request #78021 from s-ito-ts/77103_e2e_storage
...
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 13:04:25 -07:00
Kubernetes Prow Robot
a4fc418c84
Merge pull request #76401 from chardch/gpu-job-with-recreate
...
E2E test for GPU job interrupted by node recreate
2019-05-17 13:04:12 -07:00
Kenichi Omichi
b17384acbe
Use framework.ExpectNoError() on e2e/common
2019-05-17 17:30:38 +00:00
Jing Xu
e570d27b40
Update subpath e2e test for windows
...
Modify the current subpath e2e file to allow it run in windows clusters.
Change-Id: I921dfbbae9480c718853a97a76cc0a95b1af9790
2019-05-17 10:13:41 -07:00
Jordan Liggitt
0b88095a17
Switch admission webhook test to work with shared etcd
2019-05-17 09:54:14 -07:00
Chao Xu
7bb4a3bace
Run deleteValidation at the storage layer so that it will be retried on
...
conflict.
Adding unit test verify that deleteValidation is retried.
adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.
update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
Kubernetes Prow Robot
46a80259f6
Merge pull request #77980 from SataQiu/fix-golint-test-20190516
...
Fix golint failures of test/e2e
2019-05-17 07:01:04 -07:00
Kubernetes Prow Robot
583fcb91ca
Merge pull request #77976 from soltysh/validate_true
...
Don't rely on defaults enforce flags we rely on in tests
2019-05-17 07:00:51 -07:00
Kubernetes Prow Robot
76c112ed06
Merge pull request #77965 from lubinsz/pr_bazel_dir
...
Bug fix: failed to run integration test by using bazel
2019-05-17 07:00:37 -07:00
Kubernetes Prow Robot
3193e78a2f
Merge pull request #77333 from sttts/sttts-structural-crd-pruning
...
apiextensions: implement structural schema CRD pruning
2019-05-17 05:38:05 -07:00
s-ito-ts
9357cecf54
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 09:50:19 +00:00
Kubernetes Prow Robot
b10e16e8ec
Merge pull request #77955 from oomichi/use-ExpectNoError-upgrades
...
Use ExpectNoError() for e2e/upgrades
2019-05-17 02:04:58 -07:00
Kubernetes Prow Robot
27410955e2
Merge pull request #77952 from liggitt/delete-on-update
...
Handle updates removing remaining finalizers on deleted objects
2019-05-17 02:04:32 -07:00
Kubernetes Prow Robot
01f0be4901
Merge pull request #76639 from lubinsz/pr_bzl_arm64
...
Add an environment variable for bazel-test-integration on Arm
2019-05-17 02:04:06 -07:00
Xiangyang Chu
eee32a6a88
Fix shellcheck failures in test/cmd/g.*sh
2019-05-17 15:40:14 +08:00
Dr. Stefan Schimanski
d10f8c1ad3
Update generated files
2019-05-17 09:35:10 +02:00
Dr. Stefan Schimanski
c6712455bd
apiextensions: add pruning e2e & integration tests for admission webhooks
2019-05-17 09:35:10 +02:00
Dr. Stefan Schimanski
77bfddacfd
apiextensions: add pruning integration tests
2019-05-17 09:35:10 +02:00
Kubernetes Prow Robot
dc462bd473
Merge pull request #77927 from sttts/sttts-e2e-util-crd-cleanup
...
e2e: cleanup test/util/crd to decouple tests
2019-05-16 20:40:04 -07:00
Kubernetes Prow Robot
abd35ad758
Merge pull request #77902 from s-ito-ts/77103_e2e_node
...
Use framework.ExpectNoError() for e2e/node
2019-05-16 20:39:39 -07:00
Bin Lu
5504d845ff
Bug fix: failed to run integration test by using bazel
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-17 11:19:55 +08:00
Jean Rouge
b39d8f4777
Kubelet & implementation changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Updated tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 22:07:03 -04:00
Kohei Toyoda
62d5eb524b
Merge branch 'master' into fix_shellcheck_failure_make-rules
2019-05-17 08:43:08 +09:00
Kubernetes Prow Robot
dddb133c26
Merge pull request #77909 from k-toyoda-pi/use_expect_no_error_e2e_network_2
...
use framework.ExpectNoError() for e2e/network/ingress.go service.go
2019-05-16 16:27:19 -07:00
Kubernetes Prow Robot
6dfc996156
Merge pull request #77423 from apelisse/rollout-restart-other-workloads
...
Implement rollout restart for statefulset and daemonset
2019-05-16 16:27:06 -07:00
Kubernetes Prow Robot
109d61f844
Merge pull request #75758 from mgdevstack/pqdn-service-linuxonly
...
Add [LinuxOnly] tag to few e2e verifying dns resolution
2019-05-16 16:26:40 -07:00
Richard Chen
2a70a0b424
Add an e2e test for running a gpu job interrupted by node recreation.
2019-05-16 11:41:01 -07:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Antoine Pelisse
145935d815
Implement rollout restart for statefulset and daemonset
2019-05-16 08:50:42 -07:00
Kubernetes Prow Robot
dfcc60d4e5
Merge pull request #77908 from SataQiu/fix-golint-test-20190515
...
Fix golint failures of test/e2e_node/services
2019-05-16 08:48:26 -07:00
SataQiu
be8a072655
fix golint failures of test/e2e
2019-05-16 23:31:47 +08:00
Mayank Gaikwad
64f2c68948
Add [LinuxOnly] to e2e verifying PQDN resolution
2019-05-16 20:07:37 +05:30
Maciej Szulik
e808bf9717
Don't rely on defaults enforce flags we rely on in tests
2019-05-16 15:23:55 +02:00
Kubernetes Prow Robot
1284c99ec9
Merge pull request #77894 from draveness/feature/refactor-test-e2e-apps
...
feat: use framework.ExpectNoError in e2e apps disruption
2019-05-16 06:07:42 -07:00
Kubernetes Prow Robot
6fff760175
Merge pull request #70658 from spiffxp/tcp-probe
...
cleanup container probe tests and add tcp probe case
2019-05-16 06:05:43 -07:00
Bin Lu
51ee2b1f0b
Add an environment variable for bazel-test-integration on Arm
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-16 16:53:18 +08:00
Kubernetes Prow Robot
b7bc5dc9db
Merge pull request #77692 from oomichi/use-ExpectNoError-common
...
Use framework.ExpectNoError() for e2e/common
2019-05-16 01:10:34 -07:00
Kubernetes Prow Robot
34aa283c65
Merge pull request #77643 from atoato88/fix-golint-e2e-framework-asterisk
...
Fix golint failures of e2e/framework/*.go
2019-05-16 01:10:21 -07:00
Kubernetes Prow Robot
aba8040669
Merge pull request #77189 from xiaojingchen/fix-golint-failures
...
Fix golint failures in cmd/kube-controller-manager
2019-05-15 22:56:34 -07:00
Haowei Cai
eb35525d4a
stop enabling gate in tests
2019-05-15 17:15:06 -07:00
Aaron Crickenberger
0541be1787
Add a tcp probe e2e test
2019-05-15 15:23:35 -07:00
Aaron Crickenberger
944976d11f
Extract pod specs and handlers into fixtures
2019-05-15 15:22:58 -07:00
Kenichi Omichi
333f3d8b9a
Use ExpectNoError() for e2e/upgrades
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 21:48:40 +00:00
Jordan Liggitt
fba885a0d2
Handle updates removing remaining finalizers on deleted objects
2019-05-15 17:17:39 -04:00
Dr. Stefan Schimanski
a90cab07f9
e2e: cleanup test/util/crd to decouple tests
2019-05-15 22:24:21 +02:00
Kenichi Omichi
48f1f74a51
Use ExpectNoError() for scalability and scheduling
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 20:19:25 +00:00
Kubernetes Prow Robot
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
...
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
SataQiu
7fa953fcb5
fix golint failures of test/e2e_node/services
2019-05-15 15:37:21 +08:00
Kubernetes Prow Robot
47cef03dab
Merge pull request #77748 from yuwenma/etcd-release
...
Update etcd* version to use latest released images.
2019-05-15 00:04:35 -07:00
Kubernetes Prow Robot
358536ed5a
Merge pull request #77693 from oomichi/use-ExpectNoError-root
...
Use framework.ExpectNoError() for e2e/
2019-05-15 00:04:22 -07:00
s-ito-ts
f2a7650ede
Use framework.ExpectNoError() for e2e/node
2019-05-15 05:32:03 +00:00
toyoda
a8e8d4a668
use framework.ExpectNoError() for e2e/network/ingress.go service.go
2019-05-15 13:57:41 +09:00
toyoda
ba4119a07b
use framework.ExpectNoError() for e2e/network
2019-05-15 13:33:13 +09:00
Kubernetes Prow Robot
0a3884e164
Merge pull request #77714 from danielqsj/t1
...
cleanup dot imports and make test error checking more readable in test/e2e/scheduling
2019-05-14 20:36:41 -07:00
Kubernetes Prow Robot
5c4b6528c2
Merge pull request #77613 from mikedanese/fixinclusterconfig
...
BoundServiceAccountTokenVolume: fix InClusterConfig
2019-05-14 20:36:16 -07:00
draveness
95a6376899
feat: use framework.ExpectNoError in e2e apps disruption
2019-05-15 10:10:23 +08:00
Kenichi Omichi
b9fffd1571
Use framework.ExpectNoError() for e2e/common
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 01:58:01 +00:00
Kubernetes Prow Robot
de6ce5ee16
Merge pull request #69867 from HotelsDotCom/allow-updates-to-pdbs
...
Allow updates/patches to pod disruption budgets
2019-05-14 18:24:17 -07:00
Kubernetes Prow Robot
08afeb855f
Merge pull request #77821 from kwiesmueller/clear-managed-fields
...
add test to make sure managedFields can be reset
2019-05-14 15:34:32 -07:00
Kubernetes Prow Robot
0b6ad8bc3f
Merge pull request #77563 from jpbetz/admission-webhook-options
...
Pass {Operation}Options to Webhooks
2019-05-14 15:34:19 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Mayank Gaikwad
fc2af0e5a4
Promote e2e verifying DNS resolution for o pod's fqdn, hostname and subdomain
2019-05-14 23:53:00 +05:30
Jordan Liggitt
e3b4937440
Wait for integration precondition
2019-05-14 14:11:35 -04:00
Joe Betz
900d652a9a
Update tests for: Pass {Operation}Option to Webhooks
2019-05-14 10:49:43 -07:00
Mike Danese
96ed93d889
BoundServiceAccountTokenVolume: add e2e test
2019-05-14 09:43:45 -07:00
David McCormick
5b9e4f1e88
Rebase allow updates to pdbs to latest upstream master
2019-05-14 12:25:22 +01:00
Claudiu Belu
fb3e51baa7
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
...
The dnsutils and jessie-dnsutils images are installing dnsmasq,
which is required for a few tests checking custom DNS servers and
configurations.
dnsmasq is a Linux specific binary. In order for the tests to also
pass on Windows, this commit adds CoreDNS to the images, so a later
commit will update the tests to use CoreDNS instead of dnsmasq.
2019-05-14 09:59:06 +00:00
Kubernetes Prow Robot
a1eaacd59b
Merge pull request #77804 from sttts/sttts-apimachinery-integration-test-unify
...
integration: don't use low-level etcd master setup for dry-run+admission-webhook tests
2019-05-14 02:29:10 -07:00
Dr. Stefan Schimanski
76b5bee48c
integration: Start{RealMasterOrDie->TestServer} in dryrun tests
2019-05-14 10:10:55 +02:00
Dr. Stefan Schimanski
28f88c91ee
integration: Start{RealMasterOrDie->TestServer} in admissionwebhook tests
2019-05-14 10:10:55 +02:00
Kubernetes Prow Robot
cf8e8e4f0c
Merge pull request #77627 from draveness/feature/refactor-expect-no-error
...
refactor: use framework.ExpectNoError instead
2019-05-13 23:19:20 -07:00
Kubernetes Prow Robot
2926505fff
Merge pull request #77503 from mgdevstack/master-subdomain-e2e
...
Add subdomain entry to verify dns resolution
2019-05-13 23:19:07 -07:00
danielqsj
ccecc67a5b
fix golint error in test/e2e/scheduling
2019-05-14 14:18:52 +08:00
danielqsj
4cb4864487
replace test error checking with more readable way
2019-05-14 14:17:20 +08:00
danielqsj
15a4342fe8
remove dot imports in e2e/scheduling
2019-05-14 14:17:20 +08:00
Kubernetes Prow Robot
1cb9c20303
Merge pull request #77579 from k-toyoda-pi/use_expect_no_error_e2e_apps_2
...
use framework.ExpectNoError() for daemon_set.go and deployment.go
2019-05-13 21:49:09 -07:00
Kubernetes Prow Robot
a60d2126ad
Merge pull request #77715 from danielqsj/t2
...
fix golint error make test error checking more readable in test/e2e/node
2019-05-13 19:47:09 -07:00
Yuwen Ma
1f0f050fde
Update etcd* version to use latest released images.
2019-05-13 17:28:40 -07:00
Kubernetes Prow Robot
8f23ad2c24
Merge pull request #77754 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle-bootstrap
...
Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
2019-05-13 16:59:21 -07:00
Kubernetes Prow Robot
c54b664b1c
Merge pull request #77559 from ahg-g/permit-extension-point
...
Implement the permit extension point in scheduler.
2019-05-13 16:59:08 -07:00
toyoda
4841e5b98c
use framework.ExpectNoError() for daemon_set.go and deployment.go in e2e/apps
2019-05-14 08:44:54 +09:00
Akihito INOH
dddc6a53d4
Fix golint failures of e2e/framework/*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/networking_utils.go
- test/e2e/framework/service_util.go
- test/e2e/framework/util.go
All golint failures in test/e2e/framework are fixed at this commit.
Remove 'test/e2e/framework' from 'hack/.golint_failures'
2019-05-14 07:04:57 +09:00
Kubernetes Prow Robot
389252feae
Merge pull request #77709 from danielqsj/test
...
replace test error checking with more readable way
2019-05-13 13:15:23 -07:00
Kubernetes Prow Robot
3d12466c02
Merge pull request #77736 from lledru/e2elog-cloud
...
e2e-test/cloud: logf instead framework.logf
2019-05-13 10:26:27 -07:00
Kevin Wiesmüller
fe3c9c8b6f
add test to make sure managedFields can be reset
2019-05-13 18:34:11 +02:00
SataQiu
a4825d1cb8
fix golint failures of test/e2e/auth
2019-05-12 22:57:24 +08:00
draveness
950f6e868c
refactor: use framework.ExpectNoError instead
2019-05-12 10:44:03 +08:00
danielqsj
124efde4f8
fix golint error in e2e/node
2019-05-12 07:35:13 +08:00
danielqsj
73c2daeeea
replace test error checking with more readable way
2019-05-12 07:32:26 +08:00
danielqsj
087bc1369e
remove dot imports in e2e/node
2019-05-12 07:32:26 +08:00
Kubernetes Prow Robot
d01c015346
Merge pull request #77777 from SataQiu/fix-golint-test-20190511
...
Fix golint failures of test/e2e/storage
2019-05-11 15:22:10 -07:00
Kubernetes Prow Robot
73c83a82fc
Merge pull request #77668 from SataQiu/fix-golint-test-20190509
...
Fix golint failures of test/e2e/network
2019-05-11 13:30:11 -07:00
SataQiu
01d38fec16
fix golint failures of test/e2e/storage
2019-05-11 23:30:17 +08:00
SataQiu
515f8342d3
fix golint failures of test/e2e/network
2019-05-11 22:29:40 +08:00
Kubernetes Prow Robot
6897c68de5
Merge pull request #77708 from draveness/feature/refactor-more-expectnoerror-in-e2e
...
feat: use framework.ExpectNoError instead in e2e test
2019-05-11 02:04:11 -07:00
Kubernetes Prow Robot
80fec73015
Merge pull request #77649 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle
...
Use framework.ExpectNoError() for e2e/lifecycle
2019-05-10 21:30:49 -07:00
Kubernetes Prow Robot
274876ef9a
Merge pull request #77448 from smarterclayton/api_serve
...
Support meta.k8s.io/v1 Table and PartialObjectMetadata requests to the API
2019-05-10 21:30:37 -07:00
Kubernetes Prow Robot
fdf6050045
Merge pull request #77701 from spiffxp/promote-oomichi-test-approver
...
Promote oomichi to approver for test/
2019-05-10 19:28:36 -07:00
Kubernetes Prow Robot
a245408f38
Merge pull request #76734 from oomichi/conformance-req-01
...
Check conformance test should not call any Skip
2019-05-10 19:28:11 -07:00
Kubernetes Prow Robot
f712c3ee0e
Merge pull request #77620 from johnbelamaric/add-to-conformance-reviewers
...
Add johnbelamaric as conformance test reviewer
2019-05-10 17:56:24 -07:00
Kubernetes Prow Robot
33f44a29b8
Merge pull request #77617 from cmluciano/cml/extensiontonetworking
...
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Kubernetes Prow Robot
9ecc57ef88
Merge pull request #77718 from danielqsj/t3
...
cleanup dot imports and make test error checking more readable in test/e2e/storage
2019-05-10 16:33:02 -07:00
Akihito INOH
d35851724e
Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle/bootstrap.
2019-05-11 05:04:05 +09:00
Kubernetes Prow Robot
e1f0526934
Merge pull request #77742 from deads2k/test-debug
...
improve e2e namespace dumping on failure
2019-05-10 13:00:45 -07:00
Kubernetes Prow Robot
bac667ebf4
Merge pull request #77716 from wking/job-running-test-error-reporting
...
test/e2e/upgrades/apps/job: List Pods in failure message
2019-05-10 13:00:14 -07:00
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Kubernetes Prow Robot
07e3b7cdca
Merge pull request #74639 from xychu/fix-shellchecks-a
...
Make test/cmd/a*.sh pass shellcheck
2019-05-10 10:38:12 -07:00
Christopher M. Luciano
d9e4933da3
ingress: migrate extensions.Ingress to networking.Ingress
...
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04:00
Abdullah Gharaibeh
98de316436
Implement the permit extension point in scheduler.
2019-05-10 12:42:04 -04:00
David Eads
d503cba375
improve e2e namespace dumping on failure
2019-05-10 10:11:24 -04:00
W. Trevor King
96b04bfeac
test/e2e/upgrades/apps/job: List Pods in failure message
...
Currently, this test can fail with the not-very-helpful [1,2]:
fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
<bool>: false
to be true
Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271 ), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.
Thanks to Maciej Szulik for the fixups [3] :).
[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
loic le dru
61731dd1d1
e2e-test logf instead framework.logf
2019-05-10 14:18:55 +02:00
Kubernetes Prow Robot
b9ccdd2824
Merge pull request #77598 from danielqsj/unreserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-09 23:37:57 -07:00
danielqsj
629ec7e113
replace test error checking with more readable way
2019-05-10 13:58:09 +08:00
danielqsj
1058877fbf
remove dot imports in e2e/storage
2019-05-10 13:56:26 +08:00
danielqsj
8a6fede9e6
remove dot imports in e2e/storage/vsphere
2019-05-10 13:56:16 +08:00
danielqsj
997648a923
Add Un-reserve extension point for the scheduling framework
2019-05-10 13:19:22 +08:00
danielqsj
f3ea5e5c94
replace test error checking with more readable way
2019-05-10 10:15:45 +08:00
draveness
c045046e5b
feat: use framework.ExpectNoError instead in e2e test
2019-05-10 09:53:10 +08:00
Akihito INOH
be4af8f83f
Use framework.ExpectNoError() for e2e/lifecycle
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle.
2019-05-10 10:45:32 +09:00
Joe Betz
b0aab03209
Fix admission webhook integration tests to filter out controller requests
2019-05-09 17:34:33 -07:00
Aaron Crickenberger
69eab5f04b
Prune test/OWNERS
...
Move approvers who haven't reviewed any PRs touching test/ in
over six months to emeritus_approvers (and remove from reviewers
as well to avoid assigning to inactive people)
2019-05-09 16:30:58 -07:00
Kubernetes Prow Robot
69b52633cc
Merge pull request #77605 from pohly/multivolume-storage-class-fix
...
Multivolume storage class fix
2019-05-09 15:48:22 -07:00
Kubernetes Prow Robot
b27fe7f4b9
Merge pull request #74314 from oomichi/add-ExpectError
...
Add ExpectError() to e2e test framework
2019-05-09 15:47:57 -07:00
Aaron Crickenberger
f0ec8c8644
Promote oomichi to approver in test/
2019-05-09 14:22:06 -07:00
Kenichi Omichi
2a7202b71f
Use framework.ExpectNoError() for e2e/
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-09 19:26:16 +00:00
Kubernetes Prow Robot
851afa0bea
Merge pull request #77528 from cblecker/go-1.12.5
...
Update to go 1.12.5
2019-05-09 09:32:51 -07:00
Kubernetes Prow Robot
524169fe1c
Merge pull request #77005 from k-toyoda-pi/e2e_add_check_pod_in_job
...
[e2e] add pod status check after job completes in job test
2019-05-09 06:20:48 -07:00
xiaojingchen
2b19a4db9e
fix cmd/kube-controller-manager's golint failures
2019-05-09 17:56:08 +08:00
toyoda
34a120fc42
fix shellcheck failures in /hack/make-rules/test.sh
2019-05-09 17:47:12 +09:00
Patrick Ohly
093027c891
e2e/storage: ensure that also external storage classes are unique
...
One previously undocumented expectation is that
GetDynamicProvisionStorageClass can be called more than once per test
and then each time returns a new, unique storage class. The in-memory
implementation in driveroperations.go:GetStorageClass ensured that,
but loading from a .yaml file didn't. This caused the multivolume tests
to fail when applied to an already installed GCE driver with the
-storage.testdriver parameter.
2019-05-09 08:53:25 +02:00
Kubernetes Prow Robot
ee0038adaa
Merge pull request #77425 from figo/e2e
...
Modify apimachinery,apps,instrumentation tests to import framework/log
2019-05-08 21:48:47 -07:00
Kubernetes Prow Robot
548bf0afe5
Merge pull request #77580 from liggitt/fix-list-interface
...
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 20:13:26 -07:00
Kubernetes Prow Robot
7f86cb140f
Merge pull request #72167 from brahmaroutu/conformance_context
...
Comment association to ConformanceIt block should be validated properly.
2019-05-08 20:12:48 -07:00
Kubernetes Prow Robot
b6887e3915
Merge pull request #77530 from seans3/unexport-print-table
...
Unexport PrintTable function
2019-05-08 17:15:26 -07:00
hui luo
4d4e4f4056
Modify apimachinery,apps,instrumentation tests to import framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages
2019-05-08 16:46:39 -07:00
John Belamaric
4f3653f026
Add johnbelamaric as conformance test reviewer
2019-05-08 16:37:25 -07:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5
2019-05-08 15:43:01 -07:00
Kubernetes Prow Robot
71bbabc36b
Merge pull request #77486 from jiatongw/logf/kubectl
...
Modify e2e/kubectl tests to import e2elog.Logf
2019-05-08 14:32:45 -07:00
Kubernetes Prow Robot
b3875556b0
Merge pull request #77336 from johnSchnake/refactorFrameworkSSH
...
Move ssh code to new package
2019-05-08 13:06:47 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Kenichi Omichi
436544488b
Add ExpectError() to e2e test framework
...
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot
f7d92fb963
Merge pull request #77427 from draveness/feature/use-logf-in-log-pkg
...
refactor: use e2elog.Logf instead of framework.Logf
2019-05-08 10:12:34 -07:00
John Schnake
338bc3ce42
Move framework ssh code to new package
...
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.
Extracting these methods to their own package for reuse.
Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00
Patrick Ohly
62c5c6345e
Revert "Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)"
...
This reverts commit c50e7fd301
because
it included API changes that shouldn't have been in that PR and
fixing the storage class conflict inside the framework is probably the
wrong place.
2019-05-08 17:28:13 +02:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
086a86b9e2
Merge pull request #77525 from davidz627/fix/externalMulti
...
Make external driver name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-08 04:54:48 -07:00
Kubernetes Prow Robot
bace505467
Merge pull request #77577 from logicalhan/revert-unreserve
...
Revert "Add Un-reserve extension point for the scheduling framework"
2019-05-08 03:04:32 -07:00
Jordan Liggitt
e5778f05b9
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 02:00:18 -04:00
Kubernetes Prow Robot
7faeee22b1
Merge pull request #77556 from spiffxp/add-spiffxp-to-conformance-code-approvers
...
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 22:15:10 -07:00
Kubernetes Prow Robot
873e7a3259
Merge pull request #77533 from jiatongw/logf/lifecycle
...
Modify e2e/lifecycle tests to import e2elog.Logf
2019-05-07 22:14:58 -07:00
Kubernetes Prow Robot
11a46d2515
Merge pull request #77479 from danielqsj/id
...
fix increment-decrement lint error
2019-05-07 22:14:45 -07:00
Han Kang
51992d61a0
Revert "Add Un-reserve extension point for the scheduling framework"
...
This reverts commit 8b5182581a
.
2019-05-07 21:17:29 -07:00
Kubernetes Prow Robot
1ce103a41f
Merge pull request #77457 from danielqsj/un-reserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-07 17:52:45 -07:00
Kubernetes Prow Robot
7aa57df279
Merge pull request #77374 from cheftako/gce-staging
...
Staging the GCE Cloud Provider
2019-05-07 17:52:32 -07:00
Kubernetes Prow Robot
b4262e9a22
Merge pull request #77408 from johnSchnake/frameworkLogRefactoringCommonScaleUpgrades
...
Move scalability, upgrade, and common packages to framework/log
2019-05-07 15:54:46 -07:00
Srini Brahmaroutu
e9bab1c896
Allow version field in the title to be changeable
2019-05-07 15:05:04 -07:00
David Zhu
c50e7fd301
Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-07 14:37:06 -07:00
Kubernetes Prow Robot
eacae8540a
Merge pull request #76508 from bclau/tests/agnhost-custom-dns-test
...
tests: Adds configurable pod DNS nameservers and search list test
2019-05-07 14:30:49 -07:00
Walter Fender
796097ae40
Staging the GCE Cloud Provider
...
**What type of PR is this?**
/kind cleanup
**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md ). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.
**Which issue(s) this PR fixes**:
Fixes #
**Special notes for your reviewer**:
**Does this PR introduce a user-facing change?**:
```
NONE
```
Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Aaron Crickenberger
8ee8b77eed
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 12:11:36 -07:00
Srini Brahmaroutu
1cb5872cd3
Comment association to ConformanceIt block should be validated properly.
2019-05-07 09:16:44 -07:00
Srini Brahmaroutu
37e700050b
Add Release information to each of the conformance tests.
2019-05-07 09:14:08 -07:00
Kubernetes Prow Robot
19ed7fa731
Merge pull request #77113 from s-ito-ts/77103_autoscaling
...
Use framework.ExpectNoError() for e2e/autoscaling
2019-05-07 08:16:09 -07:00
Kubernetes Prow Robot
8fa775e546
Merge pull request #75187 from subramanian-neelakantan/host_to_create_volume
...
Use any host that mounts the datastore to create Volume
2019-05-07 08:15:54 -07:00
Kubernetes Prow Robot
db44f31bff
Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code
...
Remove unused code from CSI e2e tests
2019-05-07 00:23:41 -07:00
Jiatong Wang
b26b6f0d5c
Modify e2e/lifecycle tests to import e2elog.Logf
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-07 00:23:13 -07:00
danielqsj
8b5182581a
Add Un-reserve extension point for the scheduling framework
2019-05-07 14:51:58 +08:00
Kubernetes Prow Robot
1fb8ed12a2
Merge pull request #75993 from caesarxuchao/add-count
...
Adding RemainingItemCount to ListMeta
2019-05-06 22:53:40 -07:00
Sean Sullivan
41b84b7f6e
Unexport PrintTable function
2019-05-06 22:16:45 -07:00
Kubernetes Prow Robot
ce9ea5ea41
Merge pull request #77335 from loqutus/remove-test-cauldron
...
remove soak test cauldron
2019-05-06 21:32:18 -07:00
toyoda
8afecb8c30
add pod status check after job completes in job e2e test
2019-05-07 11:47:56 +09:00
Kubernetes Prow Robot
d2b8f3e145
Merge pull request #77034 from atoato88/fix-golint-e2e-framework-providers-gce
...
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
2019-05-06 19:17:40 -07:00
draveness
da7507500f
refactor: use e2elog.Logf instead of framework.Logf
2019-05-07 08:15:31 +08:00
Kubernetes Prow Robot
a9fc9754bb
Merge pull request #77413 from johnSchnake/frameworkLogRefactoringnodeWindowsAutoscale
...
Move node, windows, and autoscaling tests to framework/log
2019-05-06 17:07:53 -07:00
Kubernetes Prow Robot
c9dda348e3
Merge pull request #77016 from jiatongw/e2e/framework/upgrade
...
[e2e] Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
2019-05-06 17:07:41 -07:00
Kubernetes Prow Robot
56ceba5e30
Merge pull request #77352 from mcrute/move-aws-provider
...
Staging legacy AWS cloud provider
2019-05-06 15:30:19 -07:00
Kubernetes Prow Robot
922f3603ea
Merge pull request #76221 from RobertKrawitz/node-pid-limit-beta
...
Graduate SupportNodePidsLimit to beta
2019-05-06 15:29:53 -07:00
Kubernetes Prow Robot
3d800dff75
Merge pull request #75115 from bclau/resource-consumer-controller
...
Uses the resource-consumer/controller image instead of resource-consumer-controller
2019-05-06 15:29:40 -07:00
Kubernetes Prow Robot
6027a38e78
Merge pull request #77282 from MrHohn/addon-manager-9.0.1
...
Bump addon-manager to v9.0.1
2019-05-06 14:01:52 -07:00
Johannes M. Scheuermann
d59c67871c
Remove unused code from CSI e2e tests
2019-05-06 21:59:09 +02:00
Chao Xu
58c18309a8
Add RemainingItemCount to ListMeta
2019-05-06 12:58:51 -07:00
Mike Crute
6f5cf1a6e0
Staging legacy AWS cloud provider
2019-05-06 09:34:13 -07:00
Kubernetes Prow Robot
ad57e7408d
Merge pull request #77481 from danielqsj/fu
...
remove redundant else block
2019-05-06 06:53:53 -07:00
Mayank Gaikwad
831939b65e
Add subdomain to verify dns resolution by subdomain
2019-05-06 16:47:02 +05:30
Jiatong Wang
3b5bedd7cf
Modify e2e/kubectl tests to import e2elog.Log
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-06 00:23:59 -07:00
danielqsj
6fc04b696c
remove redundant else block
2019-05-06 13:43:33 +08:00
danielqsj
142fe19f2d
fix increment-decrement lint error
2019-05-06 13:14:51 +08:00
Kubernetes Prow Robot
43ce2f17cf
Merge pull request #77401 from johnSchnake/frameworkLogRefactoringStorageVsphereTestSuites
...
Move storage tests to use the framework/log package
2019-05-05 07:19:37 -07:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
...
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Kubernetes Prow Robot
80bbb0cde1
Merge pull request #77093 from oomichi/use-ExpectError-e2e-auth
...
Use framework.ExpectNoError() for e2e/auth
2019-05-04 13:47:37 -07:00
John Schnake
a6f5ebf831
Move storage tests to use the framework/log package
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:50:38 -05:00
John Schnake
afc66a5487
Move scalability, upgrade, and common packages to framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:45:15 -05:00
Kubernetes Prow Robot
22cf3ca0a5
Merge pull request #75952 from bclau/tests/max-backoff-tests-flakiness
...
tests: Solve backoff tests flakiness
2019-05-03 22:18:04 -07:00
Kubernetes Prow Robot
5f8d290346
Merge pull request #75675 from mwwolters/addon-manager-kubeconfig
...
Added function to create kubeconfig for addon-manager
2019-05-03 22:17:51 -07:00
Kubernetes Prow Robot
f4ce6b6560
Merge pull request #77373 from alejandrox1/framework-deployment-refactor
...
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
Kubernetes Prow Robot
7287ae6b2e
Merge pull request #77054 from k-toyoda-pi/golint_test_e2e_common_pods
...
Fix golint failures of test/e2e/common/pods.go
2019-05-03 18:26:03 -07:00
Kubernetes Prow Robot
fd5560e90a
Merge pull request #75246 from aojea/e2e_ipv6_prestop
...
Add IPv6 support to the nettest image
2019-05-03 18:25:38 -07:00
Kubernetes Prow Robot
a26709ecee
Merge pull request #76061 from towolf/dynamic-cluster.local
...
test/e2e/network: Honor --dns-domain in more places
2019-05-03 17:01:38 -07:00
Kubernetes Prow Robot
59cedcf541
Merge pull request #77411 from liggitt/fix-rc-flake
...
Expect the correct object type to be removed
2019-05-03 15:12:29 -07:00
Mark Wolters
1456979e93
Added function to create kubeconfig for addon-manager
2019-05-03 15:12:16 -07:00
Jorge Alarcon Ochoa
dc619067d9
Refeactored framework deployment utils
...
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Kubernetes Prow Robot
217e08d735
Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
...
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07:00
Jiatong Wang
30322ba93d
Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-03 12:14:31 -07:00
Kenichi Omichi
52885a8ec3
Check conformance test should not call any Skip
...
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
John Schnake
2ede81c2a6
Move node, windows, and autoscaling tests to framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 13:23:57 -05:00
Jordan Liggitt
37c9e6b444
Expect the correct object type to be removed
2019-05-03 14:10:02 -04:00
Claudiu Belu
33bc5bf6a8
tests: Adds retry to netexec connectivity check
...
The container might start before all the networking plumbing has
been sucessfully completed, causing the Kubernetes reachability
check to fail.
This commit adds a few retries to the connectivity check.
2019-05-03 09:51:18 -07:00
Kubernetes Prow Robot
6f1fd17b7a
Merge pull request #77366 from johnSchnake/frameworkLogRefactoring
...
Move auth and network tests to use framework/log
2019-05-03 08:53:19 -07:00
Tobias Wolf
e3299d5f6a
test/e2e/network: Honor --dns-domain in more places
...
Try to finish what commit 4c8a65ac01
started; that is, do not assume
cluster.local is a constant base domain, when it is configurable.
This makes DNS e2e tests pass with --dns-domain, which was only being honored
for some tests, not all
Signed-off-by: Tobias Wolf <towolf@gmail.com>
2019-05-03 17:02:16 +02:00
John Schnake
0c62f751b6
Move auth and network tests to use framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 08:41:21 -05:00
Subramanian Neelakantan
18922a3c44
Use any host that mounts the datastore to create Volume
...
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-05-03 16:42:41 +05:30
Kubernetes Prow Robot
83f769c2a3
Merge pull request #77139 from cmluciano/cml/ingressnetv1beta1default
...
ingress: use networking api group for default storage of ingress
2019-05-02 16:22:18 -07:00
Akihito INOH
2562d4d0fd
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
...
This fixes golint failures of the following file:
test/e2e/framework/providers/gce/recreate_node.go
And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
Kubernetes Prow Robot
75546a0166
Merge pull request #75591 from bclau/tests/split-hosts-entries
...
tests: Splits hostname from DNS test
2019-05-02 14:18:20 -07:00
Kubernetes Prow Robot
c3e8a434eb
Merge pull request #77330 from liggitt/collapse-integration-storage-config
...
Collapse integration test storage setup onto actual storage config
2019-05-02 08:26:19 -07:00
John Schnake
3853a0ecd9
GKE also requires SAR endpoints
...
There was a specific error flow that was commented as only applying
to GKE. This was never tested specifically for GKE (only commented
as such) but that seems to be out of date and can be removed. If
the SAR endpoint does not exist it should be considered an error.
2019-05-02 10:20:49 -05:00
Ruslan Gustomiasov
0069a6cf08
remove soak test cauldron
2019-05-02 13:30:47 +02:00
Kubernetes Prow Robot
1626aa56d0
Merge pull request #77053 from SataQiu/fix-golint-test-20190425
...
Fix golint failures of test/e2e/lifecycle
2019-05-02 02:00:17 -07:00
Claudiu Belu
a7598c791f
tests: Adds configurable pod DNS nameservers and search list test
...
This test creates a pod with custom DNS configurations and expects
them to be set in the containers.
The test pod is using the agnhost image, which can output the container's
DNS configurations that the test checks.
2019-05-01 20:52:20 -07:00
Kubernetes Prow Robot
9e52832c52
Merge pull request #77317 from gnufied/fix-block-volume-resizing
...
Fix block volume expansion
2019-05-01 20:42:56 -07:00
Jordan Liggitt
cbc9a11ffd
Collapse integration test storage setup onto actual storage config
2019-05-01 21:52:55 -04:00
Hemant Kumar
0eb68c5a22
Fix blockvolume expansion
2019-05-01 18:25:54 -04:00
Kubernetes Prow Robot
5189f24a75
Merge pull request #77315 from msau42/external-e2e
...
add multivolume suite to external storage test suite
2019-05-01 14:33:08 -07:00
Kubernetes Prow Robot
2b561456ce
Merge pull request #77101 from davidz627/feature/migrationTest
...
Add testing infra for checking whether an in-tree plugin is using backend that is shimmed to CSI
2019-05-01 14:32:30 -07:00
Kubernetes Prow Robot
2c6597a5d0
Merge pull request #76750 from qingsenLi/k8s190416
...
remove some unused const in test/e2e
2019-05-01 13:14:33 -07:00
Christopher M. Luciano
4bac85c162
ingress: use networking api group for default storage of ingress
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
The change to registrytest was found by liggitt to mitigate a NPE error.
This is necessary since ingress is a cohabitating resource that is not
stored in the default version for the networking resource.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-01 15:14:11 -04:00
Michelle Au
bb8c1b144c
add multivolume suite to external storage test suite
...
Change-Id: I59e529956e8cd40a948b2d21395b4b3c33b212bf
2019-05-01 11:35:46 -07:00
David Zhu
1271237d23
Add migration metrics checking to all test suites
2019-05-01 11:24:03 -07:00
Baasbank
d97b7f20f8
fixes golint errors in pkg/printers/storage
...
fixes golint errors in pkg/printers
fixes golint errors for pkg/printers/internalversion
implements recommended changes
2019-05-01 17:02:55 +01:00
Kubernetes Prow Robot
8f5a62af48
Merge pull request #77159 from draveness/feature/refactor-expect-no-errors
...
refactor: use framework.ExpectNoError instead in e2e tests
2019-05-01 08:22:57 -07:00
Kubernetes Prow Robot
1e015237c7
Merge pull request #77267 from liggitt/kubectl-set-local-namespace
...
Preserve existing namespace when using kubectl set --local
2019-04-30 16:11:21 -07:00
Zihong Zheng
037d4b3a07
Bump addon-manager to v9.0.1
...
- Rebase image on debian-base:v1.0.0.
2019-04-30 15:19:08 -07:00
Kubernetes Prow Robot
aedebb23aa
Merge pull request #77233 from msau42/remove-pd-external
...
remove pd-external from e2e config
2019-04-30 14:11:37 -07:00
Kubernetes Prow Robot
afde45abfa
Merge pull request #76507 from bclau/tests/agnhost-updates
...
tests: agnhost image updates
2019-04-30 14:10:58 -07:00
Kubernetes Prow Robot
fb704d3410
Merge pull request #77184 from draveness/feature/refactor-logger
...
feat: add logger package in test e2e framework
2019-04-30 09:21:53 -07:00
Jordan Liggitt
2fae80c27c
Preserve existing namespace when using kubectl set --local
2019-04-30 10:39:29 -04:00
Kubernetes Prow Robot
cf22c56c7f
Merge pull request #75848 from bsalamat/framework_update
...
Implement/update interfaces and skeleton for the scheduling framework
2019-04-30 00:03:36 -07:00
draveness
f3d444d44e
feat: add logger package in test e2e framework
2019-04-30 11:47:47 +08:00
Bobby (Babak) Salamat
83828bcb2d
autogenerated files
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
77824f5135
Change scheduler constructors to receive a plugin registry.
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
404dc1ed79
Update scheduler framework plugins to align with the latest changes to the framework design
2019-04-29 16:40:56 -07:00
Michelle Au
80471bf487
remove pd-external from e2e config
...
Change-Id: I1d734fcc8e8145e586b5df9acd0736c7ba0658d1
2019-04-29 15:25:14 -07:00
Kubernetes Prow Robot
4ebe11a6cb
Merge pull request #76110 from DirectXMan12/infra/prune-owners
...
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
Kubernetes Prow Robot
306740f81c
Merge pull request #77156 from draveness/feature/refactor-util-endpoints
...
refactor: move wait for endpoints to new pkg
2019-04-29 10:44:20 -07:00
Kubernetes Prow Robot
9b437f9520
Merge pull request #76909 from Huang-Wei/fix-iks-kubemark
...
kubemark: fix and enhance kubemark scripts for IKS
2019-04-29 06:30:23 -07:00
Kubernetes Prow Robot
e5dd4521a8
Merge pull request #73664 from prksu/kubectl-exec-resource-name
...
Kubectl exec support resource/name format
2019-04-27 09:06:21 -07:00
draveness
774c15f2be
refactor: move wait for endpoints to new pkg
2019-04-27 22:05:39 +08:00
draveness
04bb797ff6
refactor: use framework.ExpectNoError instead in e2e tests
2019-04-27 15:49:15 +08:00
Kubernetes Prow Robot
7a9e1fb7a9
Merge pull request #76218 from anfernee/regression-issue-74839
...
Add e2e for connection reset issue
2019-04-26 18:30:35 -07:00
Kubernetes Prow Robot
63ee026980
Merge pull request #77143 from guineveresaenger/lintflake
...
Addresses linter complaint in broken_webhook test file
2019-04-26 17:14:45 -07:00
Kubernetes Prow Robot
ce9a2c800e
Merge pull request #76468 from julianvmodesto/ssa-cross-gv-test
...
Adds an integration test for cross group-version server-side apply
2019-04-26 17:14:33 -07:00
guineveresaenger
9ecf58c42e
Fixes flaky linter complaint in broken_webhook test file
2019-04-26 13:57:55 -07:00
Kubernetes Prow Robot
62219e1f66
Merge pull request #76978 from alejandrox1/framework-deployment-refactor
...
Refeactored framework deployment utils
2019-04-26 10:38:38 -07:00
Wei Huang
fbec01dc71
kubemark: fix and enhance kubemark scripts for IKS
...
- fix shell script issues
- `bx` is deprecated; rename to `ibmcloud`
- remove unnecessay variable replacement in hollow-node_template.yaml
- add replacement logic for HOLLOW_KUBELET_TEST_ARGS and HOLLOW_PROXY_TEST_ARGS
- don't hardcode KUBEMARK_IMAGE_REGISTRY to brandondr96
- make cluster number and spec configurable
- make number and spec of workers configurable
- separate NUM_NODES and KUBEMARK_NUM_NODES
2019-04-26 10:15:29 -07:00
toyoda
2c098b37e3
use framework.ExpectNoError() for e2e/apps
2019-04-26 19:23:12 +09:00
s-ito-ts
ad5e57b0fe
Use framework.ExpectNoError() for e2e/autoscaling
2019-04-26 08:33:51 +00:00
Xiangyang Chu
7a385bf2ea
Fix wrong pipe in grep -q
2019-04-26 14:23:53 +08:00
Kubernetes Prow Robot
1c5eed4233
Merge pull request #77038 from justaugustus/legacy-cp-azure
...
Staging the legacy Azure Cloud Provider
2019-04-25 22:54:27 -07:00
Xiangyang Chu
906058bf7b
Update grep -q usage to avoid closed pipe
2019-04-26 11:39:11 +08:00
Xiangyang Chu
2260cc29b9
Make test/cmd/a*.sh pass shellcheck
2019-04-26 11:39:11 +08:00
Kubernetes Prow Robot
7289c1e97a
Merge pull request #77094 from xing-yang/update_rbac
...
Update rbac rule for external-snapshotter e2e test
2019-04-25 20:04:36 -07:00
Julian V. Modesto
5303f431cb
Add tests for cross group-version SSA.
...
- Use apps/v1 APIs in integration tests.
As in https://github.com/kubernetes/kubernetes/pull/75302
- Add test for cross group-version server side apply.
https://github.com/kubernetes/kubernetes/pull/75157
- Add test for version conversion in the field manager.
https://github.com/kubernetes/kubernetes/pull/75151
Follow up to https://github.com/kubernetes/kubernetes/pull/75302 .
Addresses https://github.com/kubernetes/kubernetes/issues/73723 .
2019-04-25 22:01:28 -04:00
Stephen Augustus
2f74c90480
Staging the legacy Azure Cloud Provider
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-04-25 20:03:45 -04:00
David Zhu
213cc99ead
Operation generator migration metric fixes and test metrics retrieval code
2019-04-25 16:27:45 -07:00
Kubernetes Prow Robot
a7a6bf4386
Merge pull request #77091 from apelisse/apelisse-approver-test
...
Add apelisse as approvers for apiserver integration tests
2019-04-25 16:11:12 -07:00
Kubernetes Prow Robot
ed2ab71710
Merge pull request #75237 from aojea/ipv6_downward
...
Add IPv6 support to the Downward e2e API test
2019-04-25 13:36:42 -07:00
Kenichi Omichi
a6039c46e5
Use framework.ExpectNoError() for e2e/auth
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/auth.
2019-04-25 20:23:28 +00:00
Xing Yang
61b35caf38
Update rbac rule for external-snapshotter e2e test
...
In the DeleteVolumeFinalizer feature in external-snapshotter,
the external-snapshotter needs to update the PVC object to
add a Finalizer if a snapshot is being created from the PVC
and delete the Finalizer after the snapshot is created.
For that reason, we need to add "update" rbac rule for the
PVC object in external-snapshot e2e test manifest file.
DeleteVolumeFinalizer PR is here. It couldn't pass e2e test
until we fix the rbac rule in e2e.
https://github.com/kubernetes-csi/external-snapshotter/pull/47
2019-04-25 12:48:25 -07:00
Antoine Pelisse
83c734363e
Add apelisse as approvers for apiserver integration tests
2019-04-25 11:02:58 -07:00
SataQiu
1d8615a0a2
fix golint failures of test/e2e/lifecycle
2019-04-25 23:40:22 +08:00
Claudiu Belu
53df13ac22
Uses the resource-consumer/controller image instead of resource-consumer-controller
...
Dockerhub does not support slashes in the image names, so when the tests are
configured to use a dockerhub registry instead of the current
gcr.io/kubernetes-e2e-test-images registry, the tests using the mentioned image
will fail, as the image cannot exist and cannot be pulled.
2019-04-25 05:17:25 -07:00
Ahmad Nurus S
0c39d7d380
Kubectl exec support resource/name format
2019-04-25 17:44:01 +07:00
toyoda
bee9676d50
fix golint failure test/e2e/common/pods.go
2019-04-25 16:39:21 +09:00
Kubernetes Prow Robot
e4a57b77ec
Merge pull request #76719 from bertinatto/fix_vsphere_size
...
Fix Vsphere rouding up of volume size
2019-04-24 16:50:46 -07:00
Jorge Alarcon Ochoa
8200ae6279
Refeactored framework deployment utils
...
xref: #76206
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-04-24 19:28:03 -04:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Antonio Ojea
d528944a03
Add more strict IPv6 regex
...
Previous IPv6 regex was too loose, this patchs adds a better and
more strict regex for IPv6 addresses and makes the IPv4 and IPv6
regex availables as constants inside the framework pkg
2019-04-24 23:37:24 +02:00
Kubernetes Prow Robot
6cd85298c5
Merge pull request #75566 from jiayingz/gpu-test-update
...
Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add.
2019-04-24 14:20:47 -07:00
Kubernetes Prow Robot
dc05e1e412
Merge pull request #76824 from wojtek-t/cleanup_protobuf_contenttype
...
Cleanup content-type protobuf constants
2019-04-24 12:25:02 -07:00
wojtekt
b48cc43eff
Cleanup content-type protobuf constants
2019-04-24 17:11:24 +02:00
Joachim Bartosik
74bd4d643a
Detect zone of MIG in e2e VPA tests
...
I was running e2e VPA tests and some were failing because the tests
assume thata they're running on:
- zonal single-zone cluster, or
- regional multi-zone cluster.
And I was running them on regional, single-zoned cluster.
Change-Id: I110a70d2249f981b60cf76d1ad674ccfcedd8fb3
2019-04-24 16:11:53 +02:00
Fabio Bertinatto
d98db30d15
Change Vsphere e2e test to verify rounded PV size instead
2019-04-24 13:42:16 +02:00
Kubernetes Prow Robot
d1e7bb297c
Merge pull request #60771 from jennybuckley/kube-up-broken-webhook
...
Use semantic equality in client ca post start hook
2019-04-24 01:24:01 -07:00
Kubernetes Prow Robot
c7cd03cc38
Merge pull request #76900 from SataQiu/fix-shellcheck-test-20190422
...
Fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-23 23:50:39 -07:00
Kubernetes Prow Robot
279d4e1ca3
Merge pull request #76959 from sbezverk/non_persistent_objects
...
webhook integration tests for non persistent resources
2019-04-23 20:28:23 -07:00
Kubernetes Prow Robot
c1703864e7
Merge pull request #76934 from wongma7/ginkgo-e2etest
...
Use e2e.test binary instead of test/e2e in example invocations
2019-04-23 19:08:34 -07:00
Kubernetes Prow Robot
1b8d0abe29
Merge pull request #76911 from sbezverk/no_admission
...
test for exempted from admission validation/mutation objects
2019-04-23 19:08:11 -07:00
Kubernetes Prow Robot
85b7323dbc
Merge pull request #76705 from atoato88/fix-golint-e2e-framework-util-go-part3
...
Fix golint failures of e2e/framework/util.go - part3
2019-04-23 19:08:00 -07:00
Serguei Bezverkhi
6fe28ee957
Adding non persistent review test
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 18:02:40 -04:00
Kubernetes Prow Robot
4098347433
Merge pull request #76488 from atoato88/fix-golint-e2e-framework-util-go-part2
...
Fix golint failures of e2e/framework/util.go - part2
2019-04-23 14:02:12 -07:00
Kubernetes Prow Robot
56d7912939
Merge pull request #76348 from atoato88/fix-golint-e2e-framework-util-go
...
Fix golint failures of e2e/framework/util.go - part1
2019-04-23 14:02:01 -07:00
Serguei Bezverkhi
cc7700ae31
no admission logic
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 16:27:55 -04:00
Matthew Wong
51db6cb093
Use e2e.test instead of test/e2e in example invocations
2019-04-23 15:59:54 -04:00
jennybuckley
d10ee7c874
Add integration test for restarting kube-apiserver with a broken webhook
2019-04-23 12:49:28 -07:00
Kubernetes Prow Robot
90fbbee129
Merge pull request #76910 from liggitt/pod-admission
...
webhook admission tests: connect, proxy, binding, eviction
2019-04-23 12:12:00 -07:00
Akihito INOH
31046bbf52
Fix golint failures of e2e/framework/util.go - part3
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 2354 to line 3685 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-24 02:16:06 +09:00
Jordan Liggitt
a4576ec5a6
Fix binding and eviction admission
2019-04-23 10:31:34 -04:00
Jordan Liggitt
4cfa5c7192
Test webhook admission - proxy subresources
2019-04-23 10:31:34 -04:00
Jordan Liggitt
cc72248203
Test webhook admission - pod connect subresources
2019-04-23 10:31:34 -04:00
Kubernetes Prow Robot
888b81b638
Merge pull request #76238 from Dieken/30s-ttl-for-coredns
...
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-23 06:20:09 -07:00
Kubernetes Prow Robot
dc08b6b275
Merge pull request #76625 from gnufied/skip-if-no-default-sc
...
Skip storage tests that depend on default SC - if no default SC is found
2019-04-22 14:37:45 -07:00
Hemant Kumar
6fee8a7727
Skip pvc protection tests if no default SC is found
...
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.
But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
SataQiu
c892beca8b
fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-22 22:08:26 +08:00
Jordan Liggitt
69042da958
Add integration tests covering admission webhooks
2019-04-20 03:33:36 -04:00
Jordan Liggitt
3bbd9b2c55
tag test/integration/apimachinery as integration test
2019-04-20 02:20:31 -04:00
Jordan Liggitt
aee1997a19
quiet integration test logs
2019-04-20 02:20:31 -04:00
Kubernetes Prow Robot
b384712024
Merge pull request #76576 from cblecker/go-1.12.4
...
Update to go 1.12.4
2019-04-19 21:53:42 -07:00
Kubernetes Prow Robot
f3ca66ad23
Merge pull request #76745 from atoato88/fix-golint-e2e-framework-util-go-part4
...
Fix golint failures of e2e/framework/util.go - part4
2019-04-19 20:29:58 -07:00
Akihito INOH
97fe60e807
Fix golint failures of e2e/framework/util.go - part4
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 3686 to end of file at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-20 08:47:37 +09:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
9e6ed2713e
Merge pull request #76751 from jiatongw/e2e/framework/service_util
...
[e2e] Remove unused function and clean up redundant code
2019-04-19 02:27:54 -07:00
Kubernetes Prow Robot
f3ec8f0d99
Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
...
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
Kubernetes Prow Robot
5f1a3a98d4
Merge pull request #75245 from aojea/e2e_ipv6_lifecyclehook
...
Add IPv6 support to the Container Lifecycle tests
2019-04-18 21:59:54 -07:00
Jiatong Wang
9f2fa7d269
Remove unused function and clean up redundant code
2019-04-18 21:08:34 -07:00
Kubernetes Prow Robot
888d26d119
Merge pull request #76773 from mm4tt/kubemark_firewall
...
Create the "internal" firewall rule for kubemark master.
2019-04-18 13:02:14 -07:00
Matt Matejczyk
02f282187b
Create the "internal" firewall rule for kubemark master.
...
This is equivalent to the "internal" firewall rule that is created for
the regular masters.
The main reason for doing it is to allow prometheus scraping metrics
from various kubemark master components, e.g. kubelet.
Ref. https://github.com/kubernetes/perf-tests/issues/503
2019-04-18 17:25:27 +02:00
qingsenLi
23b91b8043
remove some unused const in test/e2e
2019-04-18 22:20:35 +08:00
John Schnake
028df0451d
Refactor of e2e/framework/authorizer_util.go
...
- moves these helper functions into e2e/framework/auth
- removes logging from helper functions
- in some cases explicitly returns errors that were implicitly
ignored/logged. In the situations where they should be ignored,
we explicitly check that the condition is met before ignoring it.
- fixes references of these methods to use the right package and
return values
2019-04-17 16:39:37 -05:00
Kubernetes Prow Robot
129a586cf3
Merge pull request #76083 from rramkumar1/patch-15
...
Remove Ingress-GCE test that verifies backend health check is not reconciled
2019-04-17 13:40:19 -07:00
Kubernetes Prow Robot
462d909f6d
Merge pull request #75244 from aojea/e2e_ipv6_health
...
Add ipv6 support to the e2e healthz test
2019-04-17 13:40:04 -07:00
Kubernetes Prow Robot
23e6f80304
Merge pull request #76132 from SataQiu/fix-e2e-apps-golint-20190404
...
Fix golint failures of test/e2e/apps
2019-04-17 12:16:04 -07:00
Kubernetes Prow Robot
6c55e2d206
Merge pull request #76523 from msau42/csi-beta-e2e
...
update to csi e2es to use official images
2019-04-17 10:44:23 -07:00
Lili Cosic
c9cbabc8f9
pkg,test: Fix DaemonSet typos
2019-04-17 18:47:00 +02:00
SataQiu
03180ec2b2
fix golint failures of test/e2e/apps
2019-04-17 19:04:51 +08:00
Akihito INOH
85f21c16ac
Fix golint failures of e2e/framework/util.go - part2
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 1395 to line 2353 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
This changes following files because of change function name
in above file.
- test/e2e/apps/rc.go
- test/e2e/apps/replica_set.go
2019-04-17 19:00:12 +09:00
Kubernetes Prow Robot
c3bec0bae4
Merge pull request #74601 from mrbobbytables/fix-test-image-shellcheck
...
Fix shellcheck lint errors in test/images/* scripts
2019-04-17 02:22:03 -07:00
Antonio Ojea
0522265817
Bump nettest image version
2019-04-17 11:13:12 +02:00
Antonio Ojea
f574a839a6
Rebase nettest image from scratch to distroless
2019-04-17 11:13:04 +02:00
Akihito INOH
9d0bc4b8df
Fix golint failures of e2e/framework/util.go - part1
...
This is a part of a series for fixing golint failures for util.go.
- fixes `should not use dot imports` about `ginkgo` and `gomega`
- fixes golint failures from top of file to line 1394 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
This changes following files because of change function name
in above file.
- test/e2e/e2e.go
- test/e2e/network/network_tiers.go
- test/e2e/network/service.go
2019-04-17 18:07:01 +09:00
Kevin Taylor
bb5b4ad0b2
Beta upgrade for feature date VolumeSubpathEnvExpansion
2019-04-17 07:41:00 +01:00
Kubernetes Prow Robot
92e087c402
Merge pull request #75989 from neolit123/remove-aggregator-from-e2e-fw
...
[e2e] decouple the aggregated clientset from the e2e testing framework
2019-04-16 16:20:09 -07:00
Kubernetes Prow Robot
a81a8b6529
Merge pull request #75066 from aojea/e2e_ipv6_conn
...
Use IP addresses to test external connectivity
2019-04-16 16:19:53 -07:00
Yongkun Gui
5168e6277f
Add e2e for connection reset issue
...
Regression test for #74839
2019-04-16 13:34:42 -07:00
Kubernetes Prow Robot
2347da833c
Merge pull request #76378 from cwdsuzhou/clean_up_codes_in_scheduler
...
clean up unused code in scheduler
2019-04-16 12:29:07 -07:00
Kubernetes Prow Robot
0dc281df04
Merge pull request #76631 from andrewsykim/refactor-framework-util
...
remove unused functions & types in test/e2e/framework/util.go
2019-04-16 10:27:44 -07:00
Lubomir I. Ivanov
760a825f7c
e2e-test-framework: decouple the aggregated clientset from the framework
...
Remove usage of the aggregated clientset in the e2e testing framework
itself. We have one test that consumes the clientset in the suite
and it's in test/e2e/apimachinery/aggregator.go, which was recently
promoted to conformance in 8101b86
.
This test now obtains a local copy of the aggregated clientset.
The suite still has to compile the internal client in.
One possible solution here is to move this test in a separate suite,
yet it's unclear of how to tackle the problem now that the test
has to run as part of the conformance suite.
2019-04-16 18:05:09 +03:00
Kubernetes Prow Robot
99e61466ab
Merge pull request #76637 from mm4tt/test_network
...
Add missing node.address != "" condition in tests
2019-04-16 02:12:17 -07:00
Kubernetes Prow Robot
03c5079ac1
Merge pull request #75134 from mgdevstack/promote-runtime-3
...
Promote container runtime e2e verifying termination message
2019-04-16 02:11:44 -07:00
Kubernetes Prow Robot
53b7bc30b3
Merge pull request #76612 from mkumatag/patch-1
...
Add mkumatag to the approvers list
2019-04-16 00:51:23 -07:00
Kubernetes Prow Robot
35669df1ab
Merge pull request #76066 from SataQiu/golint-test-20190403
...
Fix golint failures of e2e/apimachinery
2019-04-15 23:31:22 -07:00
SataQiu
91bd1ac1ea
fix golint failures of test/e2e/apimachinery
2019-04-16 19:03:26 +08:00
Kubernetes Prow Robot
4c4c378d99
Merge pull request #76014 from WanLinghao/auth_can-i_improve
...
Improve `kubectl auth can-i` command by warning users when they try access resource out of scope
2019-04-15 23:31:06 -07:00
Matt Matejczyk
618d6771f8
Add missing node.address != "" condition in tests
...
It turns out to be a frequent bug that is revealed when nodes don't have
external IP addresses. In the test we assume that in such case there
won't be any addresses of type 'NodeExternalIp', which is invalid. In
such case there will be an address of type 'NodeExternalIP', but with
the empty 'Address' field.
Ref. https://github.com/kubernetes/kubernetes/issues/76374
2019-04-16 08:13:43 +02:00
Kubernetes Prow Robot
7609d1d49e
Merge pull request #76577 from jiatongw/upgrade
...
[e2e] Clean up e2e/framework/upgrade_util.go
2019-04-15 21:01:05 -07:00
Kubernetes Prow Robot
34cfa7b5fa
Merge pull request #76607 from mattjmcnaughton/mattjmcnaughton/fix-typo-in-kube-proxy-migration-e2e-test
...
Fix typo in kube-proxy-migration-e2e test
2019-04-15 18:05:51 -07:00
Kubernetes Prow Robot
9217cb5b6e
Merge pull request #76350 from jpbetz/watch-consistency-conformance
...
Promote 'watch-consistency' e2e test to be a conformance test
2019-04-15 18:05:20 -07:00
Bob Killen
5518defffc
Fix shellcheck lint errors in test/images/volume/nfs/run_nfs.sh
2019-04-15 20:02:03 -04:00
Bob Killen
f795e22932
Fix shellcheck lint errors in test/images/volume/iscsi/create_block.sh
2019-04-15 20:01:25 -04:00
Bob Killen
346bcdaa27
Fix shellcheck lint errors in test/images/volume/gluster/run_gluster.sh
2019-04-15 20:01:25 -04:00
Andrew Sy Kim
71e5980ad4
remove unused functions & types in test/e2e/framework/util.go
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-15 19:21:39 -04:00
Jiatong Wang
6d7869ee96
Clean up e2e/framework/upgrade_util.go
2019-04-15 15:46:25 -07:00
Kubernetes Prow Robot
8045a99a70
Merge pull request #76565 from xichengliudui/ends-With-Newline
...
Use fmt.printf() to end with a newline
2019-04-15 14:25:22 -07:00
Kubernetes Prow Robot
cd158cc6bb
Merge pull request #76602 from jsafrane/revert-hack
...
Revert accidentally pushed e2e images
2019-04-15 13:11:37 -07:00
Kubernetes Prow Robot
bf70f69b15
Merge pull request #76552 from mattjmcnaughton/mattjmcnaughton/improve-readability-in-e2e-network-service-tests
...
Improve readability in e2e/network/service tests
2019-04-15 11:46:55 -07:00
Kubernetes Prow Robot
94a1458638
Merge pull request #76368 from SataQiu/cleanup-test-20190410
...
Cleanup command prompt for readme.md
2019-04-15 10:26:06 -07:00
Manjunath A Kumatagi
3319452ddf
Add mkumatag as a owner
2019-04-15 20:41:08 +05:30
mattjmcnaughton
a52b9fb4ff
Fix typo in kube-proxy-migration-e2e test
...
s/uprgade/upgrade
2019-04-15 10:00:42 -04:00
Jan Safranek
5a3796b115
Revert "hack"
...
This reverts commit 5f9756c3ce
.
2019-04-15 14:26:55 +02:00
SataQiu
270e27d4b7
fix golint failures of test/e2e_kubeadm/util.go
2019-04-16 00:49:15 +08:00
Mayank Gaikwad
82822f10e1
Promote container runtime e2e verifying termination message
2019-04-15 16:37:18 +05:30
Christoph Blecker
759121309f
Update to go 1.12.4
2019-04-14 21:01:00 -07:00
Kubernetes Prow Robot
56817f2543
Merge pull request #76115 from SataQiu/fix-shell-20190404
...
Fix shellcheck failures of zookeeper-installer/install.sh, etc
2019-04-13 21:20:01 -07:00
Claudiu Belu
60e9fe79af
tests: agnhost image updates
...
Adds the following subcommands to the agnhost binary:
- dns-server-list: outputs the host's DNS server list with which it was
configured with. This can be found in /etc/resolv.conf on Linux and
through some powershell commands on Windows.
- etc-hosts: outputs the host's hosts file. This can be found in /etc/hosts
for Linux, and C:/Windows/System32/drivers/etc/hosts for Windows.
- pause: pauses the binary's execution. This can be used to keep the Pod in
a Running state for various reasons, including executing additional agnhost
commands.
Refactors bits of the code to avoid duplication.
Adds a README for the agnhost image.
2019-04-13 21:12:58 -07:00
Kubernetes Prow Robot
0e157cbc36
Merge pull request #75713 from SataQiu/fix-e2e_node-builder-20190326
...
Fix golint failures in test/e2e_node/builder
2019-04-13 19:18:00 -07:00
SataQiu
d735aaadd6
fix shellcheck failures of zookeeper-installer/install.sh zookeeper-installer/on-start.sh
2019-04-14 07:07:50 +08:00
mattjmcnaughton
a00019ca9c
Improve readability in e2e/network/service tests
...
Improve readability in e2e network service tests by using differently
named methods for a test with a transition and without a transition.
This replaces a boolean argument, which didn't give any indication w.r.t
its purpose (unless one read the method).
2019-04-13 13:48:05 -04:00
SataQiu
9f8ee74a52
cleanup command prompt for readme.md
2019-04-13 19:10:36 +08:00
Kubernetes Prow Robot
1b9206a17c
Merge pull request #76414 from SataQiu/refactor-e2e-volume-20190411
...
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 00:42:03 -07:00
SataQiu
a34f6277d9
add OWNERS for test/e2e/framework/volume
2019-04-13 16:59:04 +08:00
SataQiu
252cabf155
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 16:58:37 +08:00
Kubernetes Prow Robot
df6ca6ab9f
Merge pull request #76156 from chardch/recreate-master-retry
...
Recreate nodes e2e test
2019-04-12 23:26:02 -07:00
Kubernetes Prow Robot
9aac5ced1f
Merge pull request #74702 from globervinodhn/secret_empty_promote
...
Promote empty secret key e2e test to conformance test
2019-04-12 21:38:02 -07:00
Jiaying Zhang
8175579a0c
add recreate node e2e test
...
Move recreate_node test to gce provider tests.
2019-04-12 16:00:19 -07:00
Kubernetes Prow Robot
969c1106f1
Merge pull request #76084 from SataQiu/fix-shell-20190403
...
Fix shellcheck failures of test/images/pets/redis-installer/on-start.sh
2019-04-12 15:56:32 -07:00
Kubernetes Prow Robot
2a6efd3fe7
Merge pull request #75473 from pontiyaraja/podCNF
...
promote pod should be submitted and removed e2e test case to conformance
2019-04-12 15:56:18 -07:00
Kubernetes Prow Robot
2d5f5a9da5
Merge pull request #75471 from pontiyaraja/sharedVolCNF
...
promote shared volumes between the container in a pod e2e to conformance
2019-04-12 15:56:04 -07:00
Michelle Au
cb21282136
update to csi e2es to use official images
2019-04-12 15:48:55 -07:00
Kubernetes Prow Robot
cf76367f05
Merge pull request #75101 from mgdevstack/promote-runtime-2
...
Promote container runtime e2e having non default TerminationMessagePath set
2019-04-12 14:30:36 -07:00
Kubernetes Prow Robot
42b3d9d9f3
Merge pull request #74983 from mgdevstack/master-conformance-pqdn-externamesrv
...
Promote DNS e2e verifying DNS resolution for externalName services
2019-04-12 14:30:22 -07:00
Kubernetes Prow Robot
9c61764a07
Merge pull request #74892 from globervinodhn/rc_exceed_quota_promote
...
Promote exceed quota e2e test for Replication Controller to conformance test
2019-04-12 14:30:08 -07:00
Kubernetes Prow Robot
c3ac9fb1ab
Merge pull request #74791 from globervinodhn/job_delete_promote
...
Promote graceful job deletion e2e test to conformance test
2019-04-12 14:29:53 -07:00
Kubernetes Prow Robot
c48a16a6a9
Merge pull request #76457 from caesarxuchao/fix-image-build
...
Follow up of #76126
2019-04-12 12:57:16 -07:00
Kubernetes Prow Robot
cc368faa1b
Merge pull request #73739 from jsafrane/parallelize-iscsi
...
Parallelize iSCSI tests
2019-04-12 12:56:47 -07:00
Kubernetes Prow Robot
73e4b133f1
Merge pull request #76300 from jingxu97/April/window_provisioning_fix
...
Fix test failures in volume provisioning
2019-04-12 11:35:00 -07:00
Kubernetes Prow Robot
81b64f4972
Merge pull request #76228 from draveness/feature/refactor-framework-job-util
...
refactor: cleanup e2e framework job utils
2019-04-12 11:34:46 -07:00
draveness
f32352ac7e
refactor: clean up e2e framework job utils
...
1. Move job_util to e2e/framework/job package
2. Remove unused UpdateJobWithFunc
2019-04-12 21:26:33 +08:00
Kubernetes Prow Robot
bb845a715a
Merge pull request #76498 from mm4tt/kubemark_fix
...
Fail start-kubemark.sh on master or hollow nodes set-up errors
2019-04-12 06:15:27 -07:00
Kubernetes Prow Robot
d999f456ea
Merge pull request #76434 from SataQiu/join-test-20190411
...
add @SataQiu as a reviewer of test (re-open)
2019-04-12 03:23:46 -07:00
Mateusz Matejczyk
17daab3a7d
Fail on master or hollow nodes set-up error.
...
Ref. https://github.com/kubernetes/kubernetes/issues/76490
2019-04-12 12:17:20 +02:00
Kubernetes Prow Robot
ed2bdd53dc
Merge pull request #76409 from draveness/feature/refactor-framework-rs-util
...
refactor: cleanup e2e replicaset utils
2019-04-12 00:41:43 -07:00
Kubernetes Prow Robot
daf75a0ad5
Merge pull request #76400 from jiatongw/gpu
...
[e2e] Move gpu_util.go to e2e/framework/gpu
2019-04-12 00:41:28 -07:00
Mayank Gaikwad
f7d8771dfe
Promote security context NodeConformance tests to Conformance suite
2019-04-12 10:22:24 +05:30
Kubernetes Prow Robot
3ef622d5b8
Merge pull request #76391 from SataQiu/update-readme-20190410
...
Update README.md by cleaning up command prompts
2019-04-11 13:10:56 -07:00
Kubernetes Prow Robot
305f718716
Merge pull request #76361 from SataQiu/cleanup-e2e-20190410
...
Small cleanup of e2e/framework/ingress
2019-04-11 13:10:43 -07:00
Joe Betz
a6126dc55a
Promote 'watch-consistency' e2e test to be a conformance test
2019-04-11 12:54:16 -07:00
Chao Xu
1b41803421
fixing image-util.sh
2019-04-11 11:20:26 -07:00
SataQiu
2ca28e8d80
add @SataQiu as a reviewer of test
2019-04-12 02:13:33 +08:00
draveness
dee97a4e5c
refactor: cleanup e2e replicaset utils
2019-04-12 01:48:10 +08:00
Kubernetes Prow Robot
ca55432599
Merge pull request #76371 from SataQiu/try-more-involved-20190410
...
add @SataQiu as a test/e2e/framework reviewer
2019-04-11 09:04:16 -07:00
Claudiu Belu
4d22a51414
tests: creates HostPath pods as unprivileged
...
The containers are mounted the /tmp folder as a HostPath volume
and they are supposed to create a new file in it.
The /tmp folder has 777 file permissions, so there shouldn't be any
problems creating a file, even if the container is unprivileged.
2019-04-11 04:31:05 -07:00
Kubernetes Prow Robot
ce0be7fa20
Merge pull request #76255 from SataQiu/fix-golint-service_util-20190408
...
Fix some golint failures of test/e2e/framework/service_util.go
2019-04-11 02:40:10 -07:00
Jiatong Wang
7814865b40
Move gpu_util.go to e2e/framework/gpu
2019-04-10 14:30:24 -07:00
Kubernetes Prow Robot
c2254cf19a
Merge pull request #76388 from sttts/sttts-crd-openapi-publishing-e2e-ha-support
...
crd-openapi-publishing: in e2e query apiserver instances for HA
2019-04-10 10:08:42 -07:00
SataQiu
2fc698ede2
update README.md by cleaning up command prompts
2019-04-10 22:35:39 +08:00
Kubernetes Prow Robot
3ec638d3cd
Merge pull request #75905 from ravisantoshgudimetla/fix-priorities
...
Fix usage priority fraction in priorities e2e test
2019-04-10 07:08:17 -07:00
Dr. Stefan Schimanski
b88a99da0c
crd-openapi-publishing: in e2e query apiserver instances for HA
2019-04-10 15:43:24 +02:00
Jan Safranek
5f9756c3ce
hack
...
in VM:
make all WHAT=volume/iscsi
(+ break after amd64)
2019-04-10 14:54:06 +02:00
Jan Safranek
b18dba3794
Parallelize iSCSI tests
...
iSCSI target (=the server) is implemented in Linux kernel. The "iSCSI
server" pod is not a real server, it just configures the kernel on the
host. In order to run iSCSI tests in parallel, we need to be able to
run multiple such pods on a single node, serving different LUNs to
different tests.
The "server pod" must run with HostNetwork=true to achieve that.
Each pod then creates its own IQN with namespace name, so it can't
collide with other server pods running in another namespaces on the same
node.
2019-04-10 14:43:06 +02:00
aaa
433f86c6a7
Use fmt.printf() to end with a newline
...
update pull request
update pull request
update pull request
2019-04-10 07:43:54 -04:00
caiweidong
4c12c76a90
clean up unused code
2019-04-10 19:12:40 +08:00
SataQiu
5667a4446f
add @SataQiu as a test/e2e/framework reviewer
2019-04-10 16:54:38 +08:00
WanLinghao
7fbd71835e
'kubectl auth can-i` command would not hint user when they try to access
...
some resource out of scope. For example, try get namespace inside defaut namespace.
It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
would give a `yes`. After this patch, a warning info would be given.
For more detail, please refer issue #75950
2019-04-10 13:12:45 +08:00
SataQiu
05612d76b6
small cleanup of e2e/framework/ingress
2019-04-10 12:17:50 +08:00
Kubernetes Prow Robot
e2091b769a
Merge pull request #71136 from yue9944882/chore/prune-all-kk-internal-clientset
...
Prune literally all kube-apiserver internal client
2019-04-09 13:58:45 -07:00
Kubernetes Prow Robot
085620575c
Merge pull request #76324 from SataQiu/refactor-e2e-framework-20190409
...
Refactor and clean up e2e/framework/exec_util.go
2019-04-09 12:37:04 -07:00
SataQiu
55b322e04a
refactor and clean up e2e/framework/exec_util.go
2019-04-09 23:14:38 +08:00
Rohit Ramkumar
4d72932a9d
Remove Ingress-GCE test that verifies backend health check is not reconciled.
2019-04-09 10:33:47 -04:00
Kubernetes Prow Robot
99a52350a4
Merge pull request #76309 from jiatongw/e2e_gpu
...
Clean up and remove blank lines
2019-04-09 07:29:20 -07:00
Kubernetes Prow Robot
466abb0168
Merge pull request #76233 from draveness/feature/refactor-framework-rc-util
...
refactor: remove unused function and add comments in rc util
2019-04-09 07:29:07 -07:00
yue9944882
8f601d3413
prune internal client references from test/*
2019-04-09 21:43:55 +08:00
Jiatong Wang
df2072dd19
Clean up and remove blank lines
2019-04-08 20:02:51 -07:00
Kubernetes Prow Robot
2d0e5c1818
Merge pull request #76282 from fabriziopandini/kubeadm-e2e-JUnitReporter
...
Add JUnitReporter to kubeadm e2e test
2019-04-08 17:27:40 -07:00
Kubernetes Prow Robot
097ba59cd2
Merge pull request #76126 from SataQiu/fix-part-shell-20190404
...
Fix some shellcheck failures of test/images/image-util.sh
2019-04-08 17:27:03 -07:00
Jing Xu
208fbfe975
Fix test failures in volume provisioning
...
For windows, the command such as "mount" and "grep" do not work for
windows node, this PR is fix the test issue by removing those commands
and change it windows ones if the node OS is windows.
Change-Id: I2428128ee407b611067b8e7c000dfff539d17309
2019-04-08 16:10:36 -07:00
Kubernetes Prow Robot
2a05e1b76f
Merge pull request #76260 from SataQiu/golint-network-20190408
...
Fix some golint failures of e2e/network/[d-k]*.go
2019-04-08 14:41:22 -07:00
Kubernetes Prow Robot
30bd57293f
Merge pull request #76251 from SataQiu/fix-golint-framework-20190408
...
Fix golint failures of test/e2e/framework/framework.go
2019-04-08 14:41:10 -07:00
Kubernetes Prow Robot
3409a5362a
Merge pull request #76062 from apelisse/rollout-restart
...
Create `kubectl rollout restart deployment/$deployment` to do a rolling restart
2019-04-08 14:40:44 -07:00
ravisantoshgudimetla
074bbb0434
Build file
2019-04-08 15:53:54 -04:00
fabriziopandini
0c4031f3a6
kubeadm-e2e-JUnitReporter
2019-04-08 14:53:37 +02:00
SataQiu
36bc97cbb8
fix some golint failures of e2e/network/[d-k]*.go
2019-04-08 18:27:08 +08:00
SataQiu
fd3fdbd335
fix some golint failures of test/e2e/framework/service_util.go
2019-04-08 15:57:52 +08:00
Mehdy Bohlool
864cf3e33a
Generated files
2019-04-08 00:29:04 -07:00
Mehdy Bohlool
1afc25d575
Change e2e test to use custom ports
2019-04-08 00:19:57 -07:00
SataQiu
1405819049
fix golint failures of test/e2e/framework/framework.go
2019-04-08 15:11:37 +08:00
Kubernetes Prow Robot
f873d2a056
Merge pull request #75862 from xichengliudui/fixshellcheckfailures
...
Fix shellcheck failures in bootstrap.sh and create_block.sh
2019-04-07 21:52:24 -07:00
draveness
7e63c16b10
refactor: remove unused function and add comments in rc util
2019-04-07 21:36:05 +08:00
Yubao Liu
f7f51fab2a
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-07 20:41:25 +08:00
Antoine Pelisse
1bf99e2e4e
Create kubectl rollout restart deployment/$deployment
to do a rolling restart
2019-04-06 21:14:40 -07:00
Kubernetes Prow Robot
9c2df998af
Merge pull request #75820 from YoubingLi/bugfix
...
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
...
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot
2c013fa1a8
Merge pull request #75129 from xing-yang/informer
...
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Robert Krawitz
1c0d021de8
Graduate SupportNodePidsLimit to beta
2019-04-05 18:29:52 -04:00
Bobby (Babak) Salamat
16a7cbd320
generated files
2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4
Use Scheduling V1 API instead of Scheduling v1beta1
2019-04-05 14:21:45 -07:00
Kubernetes Prow Robot
92a2076149
Merge pull request #76203 from andrewsykim/test-reviewer
...
add @andrewsykim, @neoli123, @stevesloka and @johnSchnake as test/ reviewers
2019-04-05 13:14:10 -07:00
Kubernetes Prow Robot
d7db904ef8
Merge pull request #76192 from wongma7/hostpath-provisioner
...
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 13:13:58 -07:00
Kubernetes Prow Robot
5c205da741
Merge pull request #76052 from neolit123/remove-cmd-kubeadm-from-e2e-fw
...
test: partially decouple from cmd/kubeadm
2019-04-05 13:13:46 -07:00
Kubernetes Prow Robot
762a9e5b2d
Merge pull request #76017 from wojtek-t/tls_in_kubemark
...
Add TLS support to kubemark
2019-04-05 13:13:34 -07:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
20cece67b5
Merge pull request #76006 from atoato88/fix-golint-e2e-framework-s
...
Fix golint failures of e2e/framework/statefulset_utils.go
2019-04-05 11:52:10 -07:00
Kubernetes Prow Robot
4d6e2fcef0
Merge pull request #75936 from qingsenLi/k8s190401
...
fix a mistake
2019-04-05 11:51:45 -07:00
Kubernetes Prow Robot
23d7e489dd
Merge pull request #75797 from atoato88/fix-golint-e2e-framework-v
...
Fix golint failures of e2e/framework/v*.go
2019-04-05 11:51:33 -07:00
Kubernetes Prow Robot
79000d4ac5
Merge pull request #75783 from oomichi/golint-e2e-framework-m
...
Fix golint failures of e2e/framework/metrics_util.go
2019-04-05 11:51:21 -07:00
Kubernetes Prow Robot
4d73d99fd7
Merge pull request #75705 from oomichi/golint-e2e-framework-f
...
Fix golint failures of e2e/framework/f*.go
2019-04-05 10:21:20 -07:00
Andrew Sy Kim
046f322cd0
add @andrewsykim, @neolit123, @stevesloka and @johnSchnake as test/ reviewer
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-05 12:33:38 -04:00
Kubernetes Prow Robot
e18667405d
Merge pull request #76193 from wongma7/multivolume-node-affinity
...
Use metadata.name instead of hostname label when setting affinity
2019-04-05 09:01:32 -07:00
Matthew Wong
c802f81045
Update to latest csi/external-provisioner rbac
2019-04-05 11:09:25 -04:00
Matthew Wong
900034e5ed
Use metadata.name instead of hostname label when setting affinity
2019-04-05 07:53:35 -04:00
Matthew Wong
5d9330aa75
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 07:38:43 -04:00
Jan Safranek
fc8b8669d1
Don't run topology tests with GCE CSI driver on non-GCE cloud
2019-04-05 13:26:11 +02:00
Kubernetes Prow Robot
ca1e47065b
Merge pull request #76163 from msau42/csi-beta-e2e
...
Use official images in pd driver e2es
2019-04-05 01:17:20 -07:00
Kubernetes Prow Robot
c644851d31
Merge pull request #76136 from mkumatag/update_etcd_repo
...
Use multi-arch etcd image
2019-04-04 22:31:54 -07:00
Kubernetes Prow Robot
ca7b6129d5
Merge pull request #76057 from atoato88/fix-golint-e2e-framework-r
...
Fix golint failures of e2e/framework/r*.go
2019-04-04 21:07:29 -07:00
Kubernetes Prow Robot
73c1e35491
Merge pull request #76174 from msau42/slow-e2es
...
Mark slow storage e2es
2019-04-04 19:37:19 -07:00
Michelle Au
ce7ac63916
Mark slow storage e2es
2019-04-04 18:01:22 -07:00
Kubernetes Prow Robot
8660288acd
Merge pull request #76034 from mkimuram/issue/75775
...
Restore volume tests using statefulset
2019-04-04 17:48:07 -07:00
Kubernetes Prow Robot
df646dfed8
Merge pull request #76032 from bclau/tests/agnhost-image
...
tests: Adds agnhost image
2019-04-04 17:47:55 -07:00
Kubernetes Prow Robot
f25fa0e9e1
Merge pull request #75750 from msau42/metrics
...
Improve volume operation metrics
2019-04-04 17:47:43 -07:00
Akihito INOH
fad1ebc45f
Fix golint failures of e2e/framework/v*.go
...
This fixes golint failures of the following file:
- test/e2e/framework/volume_util.go
This changes following file because of change function name
in above file.
- test/e2e/storage/testsuites/volumes.go
2019-04-05 06:16:13 +09:00
Michelle Au
2379c9896a
Enable topology in pd driver e2es
2019-04-04 11:54:54 -07:00
Masaki Kimura
b474b28f7b
Use framework.ExpectNoError() for rest of under test/e2e/storage
2019-04-04 18:51:51 +00:00
Masaki Kimura
f2e39e42b8
Use framework.ExpectNoError() for test/e2e/storage/persistent_volumes.go
2019-04-04 18:42:36 +00:00
Masaki Kimura
15188268b4
Restore volume tests using statefulset
2019-04-04 18:42:36 +00:00
Manjunath A Kumatagi
175dcdb3d6
Use multi-arch etcd image
2019-04-04 08:35:57 -07:00
Lubomir I. Ivanov
76906dd738
test: partially decouple from cmd/kubeadm
...
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.
To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.
2) Using PKI helper function in apimachinery and auth tests.
To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.
There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system
But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
Kubernetes Prow Robot
4d380ee279
Merge pull request #76117 from SataQiu/fix-golint-test-20190404
...
Fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
2019-04-04 05:30:52 -07:00
SataQiu
a2954adf33
fix some shellcheck failures of test/images/image-util.sh
2019-04-04 14:35:16 +08:00
Akihito INOH
c8f933c591
Fix golint failures of e2e/framework/r*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/resource_usage_gatherer.go
- test/e2e/framework/rs_util.go
2019-04-04 13:15:44 +09:00
Kubernetes Prow Robot
c2877f862a
Merge pull request #76091 from andrewsykim/external-resizer-rbac
...
external-resizer in e2e tests should have access to leases
2019-04-03 21:07:36 -07:00
Kubernetes Prow Robot
4e728efbd6
Merge pull request #76087 from sttts/sttts-fail-feature-gate-errors
...
Handle feature gate errors
2019-04-03 21:07:24 -07:00
Kubernetes Prow Robot
9e97aafe5a
Merge pull request #76045 from anfernee/issue-74839
...
Image for Regression test for #74839
2019-04-03 21:07:01 -07:00
SataQiu
e6b9197f7c
fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
2019-04-04 11:13:27 +08:00
Mayank Gaikwad
295f43b1fa
Promote container runtime e2e verifying non-default termination message path
2019-04-04 07:09:17 +05:30
Solly Ross
837976cb59
Prune directxman12 from metrics/autoscaling OWNERS
...
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Yongkun Gui
ccf36c235b
Add test image for issue-74839
2019-04-03 15:44:32 -07:00
Kubernetes Prow Robot
445a373458
Merge pull request #76043 from seans3/integration-fix
...
test-cmd: Fixes erroneous integration test that usually passes accidentally
2019-04-03 14:55:37 -07:00
Kubernetes Prow Robot
7849396966
Merge pull request #76028 from SataQiu/fix-e2e-framework-20190403
...
Fix golint failures of e2e/framework/rc_util.go
2019-04-03 14:55:25 -07:00
Kubernetes Prow Robot
f0ea0fccdf
Merge pull request #75909 from ravisantoshgudimetla/fix-hostname
...
Fix nodeSelector hostname
2019-04-03 14:55:01 -07:00
Michelle Au
db472c87a7
Add e2e tests
2019-04-03 12:03:26 -07:00
Kubernetes Prow Robot
c79fbabf23
Merge pull request #75389 from jpbetz/pagination-v1
...
Paginate watch cache->etcd List calls & reflector init/resync List calls not served by watch cache
2019-04-03 11:14:25 -07:00
Andrew Sy Kim
11042e015e
external-resizer in e2e tests should have access to leases
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-03 12:16:42 -04:00
Kubernetes Prow Robot
25ffbe6338
Merge pull request #74274 from oomichi/use-ExpectNoError-for-e2e-storage
...
Use framework.ExpectNoError() for e2e/storage
2019-04-03 08:33:47 -07:00
Dr. Stefan Schimanski
37046e3028
Handle feature gate errors
2019-04-03 16:52:05 +02:00
SataQiu
b732a53c6b
fix shellcheck failures of test/images/pets/redis-installer/on-start.sh
2019-04-03 21:55:05 +08:00
wojtekt
2c36a2ec1a
Add TLS support to kubemark
2019-04-03 08:29:42 +02:00
Kubernetes Prow Robot
51db0fe21a
Merge pull request #76030 from andrewsykim/e2e-legacyscheme
...
test/e2e: replace legacy scheme with client-go scheme
2019-04-02 22:47:53 -07:00
SataQiu
9452461c43
fix golint failures of e2e/framework/rc_util.go
2019-04-03 12:04:12 +08:00
Sean Sullivan
402d61c189
test-cmd: Fixes erroneous integration test that usually passes accidentally
2019-04-02 20:21:14 -07:00
Joe Betz
e5a4f09ab3
Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache
2019-04-02 13:06:15 -07:00
Michelle Au
d2aa8178f2
Remove alpha CRD install
2019-04-02 10:59:11 -07:00
Kenichi Omichi
7af6ddd353
Fix golint failures of framework/metrics_util.go
...
This fixes golint failures of framework/metrics_util.go.
Cleanup:
- SaturationTime was only used in test/e2e/scalability/density.go.
So this moves it into the e2e test.
- interestingClusterAutoscalerMetrics was not used in filterMetrics()
so this removes the related code.
2019-04-02 16:25:16 +00:00
Kenichi Omichi
542b07cd6a
Use framework.ExpectNoError() for e2e/storage
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/storage.
2019-04-02 16:20:35 +00:00
Andrew Sy Kim
4ac9feb7f9
test/e2e: replace legacy scheme with client-go scheme
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-02 10:08:55 -04:00
Lubomir I. Ivanov
405f9eb703
test/e2e/apps: fix panic in DaemonSet tests due to legacy scheme
2019-04-02 15:20:00 +03:00
qingsenLi
2c4860746b
fix a mistake-2
2019-04-02 18:19:17 +08:00
Kubernetes Prow Robot
de2bfc78cb
Merge pull request #74119 from yeya24/patch-1
...
remove the redundant "the"
2019-04-02 03:04:34 -07:00
Kubernetes Prow Robot
54ee638d9d
Merge pull request #75979 from verult/repd-e2e-nilpointer
...
Fixed storage class nilpointer in RePD failover test
2019-04-02 01:37:22 -07:00
Kubernetes Prow Robot
fd23c84022
Merge pull request #75953 from wojtek-t/add_etcd_metrics
...
Expose etcd client latency metrics
2019-04-02 01:37:11 -07:00
Kubernetes Prow Robot
fe9d7d59d2
Merge pull request #74406 from danielqsj/clean_unused_metrics
...
clean nonexistent metrics in e2e test
2019-04-02 01:36:46 -07:00
Akihito INOH
b0a4d7cdcb
Fix golint failures of e2e/framework/statefulset_utils.go
...
This fixes golint failures of the following file:
- test/e2e/framework/statefulset_utils.go
This changes following file because of change function name
in above file.
- test/e2e/apps/statefulset.go
2019-04-02 15:34:30 +09:00
Kubernetes Prow Robot
a38fdcfed5
Merge pull request #75975 from oomichi/golint-e2e-framework-pv_util
...
Fix golint failures of e2e/framework/pv_util.go
2019-04-01 22:45:08 -07:00
Youbing Li
c438d7b495
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-02 00:49:40 -04:00
Kubernetes Prow Robot
4eee255ef3
Merge pull request #75888 from rramkumar1/patch-13
...
Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs
2019-04-01 15:49:09 -07:00
Kubernetes Prow Robot
e192be8b1a
Merge pull request #75873 from listx/master
...
add listx to OWNERS for test/images and test/utils/image
2019-04-01 15:48:58 -07:00
Kubernetes Prow Robot
5d77a5217a
Merge pull request #75616 from andrewsykim/e2e-remove-internal-clientset
...
remove usages of internal clientset in e2e framework
2019-04-01 15:48:36 -07:00
Cheng Xing
60c2885194
Regional PD failover e2e test: set pvc name explicitly instead of relying on GenerateName
2019-04-01 14:41:30 -07:00
Kenichi Omichi
85631679ad
Fix golint failures of e2e/framework/pv_util.go
2019-04-01 20:39:25 +00:00
Kubernetes Prow Robot
c8d6d7c0d0
Merge pull request #74757 from tallclair/runtimehandler-e2e
...
Add custom runtime handler e2e test
2019-04-01 13:18:47 -07:00
wojtekt
d5c9ad8049
Expose etcd client latency metrics
2019-04-01 20:46:18 +02:00
Cheng Xing
d20845f635
Fixed storage class nilpointer in RePD failover test
2019-04-01 11:35:02 -07:00
Kubernetes Prow Robot
46ae77421c
Merge pull request #73041 from giuseppe/fix-logs
...
kubelet: fix some race conditions with logs -f
2019-04-01 10:02:34 -07:00
Rohit Ramkumar
b2a3f72a1c
Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs
2019-04-01 11:42:45 -04:00
SataQiu
e8a72dea37
fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go
2019-04-01 16:04:29 +08:00
Kubernetes Prow Robot
2792f1a24e
Merge pull request #75857 from danielqsj/sc1
...
support both JSON and YAML for scheduler configuration
2019-03-31 12:36:31 -07:00
Giuseppe Scrivano
31397083b2
test, e2e: add tests for logs -f
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-31 12:15:36 +02:00
SataQiu
610a1d1b96
fix golint failures of e2e/framework/ssh.go, e2e/framework/size.go
2019-03-31 16:32:22 +08:00
Kubernetes Prow Robot
b0aee7fa3c
Merge pull request #75897 from oomichi/golint-e2e-framework-p
...
Fix golint failures of e2e/framework/p*.go
2019-03-30 15:57:20 -07:00
Claudiu Belu
625a9d98a8
tests: Adds agnhost image
...
The new image is meant to be used for testing purposes, whenever there
are significant differences between Linux and Windows in the way
something is obtained or tested. For example, the DNS suffix list can
be found in ``/etc/resolv.conf`` on Linux, but on Windows, such file
does not exist, and one way to obtain the mentioned list would be
through some powershell commands.
The image contains an extendable CLI as the entrypoint, the tests
only having to add the necessary arguments. For the previous example,
passing the ``dns-suffix`` argument will print out the comma separated
DNS suffix list, on both Linux and Windows.
The image name means that it should behave the same way on any host,
no matter the host OS.
2019-03-30 06:04:56 -07:00
Kubernetes Prow Robot
ef42d82705
Merge pull request #75796 from msau42/fix-e2e-multizone
...
Switch PD tests to use delayed binding
2019-03-30 02:57:08 -07:00
Kubernetes Prow Robot
aad83d1e49
Merge pull request #75892 from rramkumar1/patch-14
...
Remove static IP test from Ingress-GCE e2e tests
2019-03-29 23:53:45 -07:00
Kubernetes Prow Robot
b179862d96
Merge pull request #75613 from tallclair/owners
...
Copy node test owners to e2e/common
2019-03-29 23:53:08 -07:00
Kubernetes Prow Robot
a9db137737
Merge pull request #75621 from oomichi/golint-e2e-framework-g-j
...
Fix golint failures of e2e/framework/[g-j]*.go
2019-03-29 21:11:08 -07:00
Kubernetes Prow Robot
789818794f
Merge pull request #75860 from oomichi/golint-e2e-framework-n
...
Fix golint failures of e2e/framework/n*.go
2019-03-29 17:33:32 -07:00
ravisantoshgudimetla
3a4a69280b
Fix nodeSelector hostname
2019-03-29 20:01:45 -04:00
Kenichi Omichi
1fa57d0a85
Fix golint failures of e2e/framework/[g-j]*.go
2019-03-29 23:46:26 +00:00
ravisantoshgudimetla
346f97c048
Ignore BE pods while evaluating
2019-03-29 18:35:31 -04:00
Michelle Au
634be030a8
Fix provisioning tests to allow delayed binding
2019-03-29 15:00:26 -07:00
ravisantoshgudimetla
a6055b5c26
Fix usage priority fraction
2019-03-29 17:56:42 -04:00
Kenichi Omichi
a81dd53e53
Fix golint failures of e2e/framework/p*.go
...
This fixes golint failures of
- test/e2e/framework/perf_util.go
- test/e2e/framework/pods.go
- test/e2e/framework/profile_gatherer.go
- test/e2e/framework/provider.go
- test/e2e/framework/psp_util.go
2019-03-29 18:50:01 +00:00
Michelle Au
ac69f83905
enable multipod e2es for intree volumes
2019-03-29 11:37:35 -07:00
Rohit Ramkumar
f25c80224e
Remove static IP test from Ingress-GCE e2e tests
2019-03-29 13:50:13 -04:00
Linus Arver
918c8ecad2
add listx to OWNERS for test/images and test/utils/image
...
I'd like to use /lgtm and /approve commands directly on issues/PRs that
are forwarded to me by ixdy@, such as for
https://github.com/kubernetes/kubernetes/issues/73507 and
https://github.com/kubernetes/kubernetes/pull/73739 .
Change-Id: I07cd236a67530165432b66ed9557adddd48e076a
2019-03-28 23:55:11 -07:00
SataQiu
a232c3266d
fix golint failures of e2e/framework/test_context.go
2019-03-29 14:41:24 +08:00
danielqsj
49c4c6f76f
add yaml test cases for scheduler creation
2019-03-29 11:29:09 +08:00
Kenichi Omichi
78a93f8ced
Fix golint failures of e2e/framework/n*.go
2019-03-29 02:17:43 +00:00
Andrew Sy Kim
1470df7a05
remove usages of internal clientset in e2e framework
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-03-28 21:13:40 -04:00
Kubernetes Prow Robot
da018a6bfa
Merge pull request #75362 from serathius/gcp-security-patches
...
Update gcp images with security patches
2019-03-28 14:25:58 -07:00
Kubernetes Prow Robot
5716127cff
Merge pull request #75641 from fabriziopandini/e2e-kubeadm-new-test
...
E2e kubeadm new test
2019-03-28 03:48:43 -07:00
Claudiu Belu
e44961e47d
tests: Solve backoff tests flakiness
...
The container status is not constant, and can change over time in the
following order:
- Running: When kubelet reports the Pod as running. This state is missable if
the container finishes its command faster than kubelet getting to report this
state.
- Terminated: After the Container finished its command, it will enter the Terminated
state, in which will remain for a short period of time, before kubelet will try
to restart it.
- Waiting: When kubelet has to wait for the backoff period to expire before actually
restarting the container.
Treating and handling each of these states when calculating the backoff period between
container restarts will make the tests more reliable.
2019-03-28 02:08:40 -07:00
Michelle Au
bbf6683e22
Switch PD tests to use delayed binding
2019-03-27 18:30:13 -07:00
Kubernetes Prow Robot
b9dbb458fb
Merge pull request #72384 from zhouhaibing089/quota-crd
...
resourcequota: use dynamic informer
2019-03-27 16:00:49 -07:00
Rohit Ramkumar
2020868fdf
Remove tests exercising the backend protocol feature of Ingress-GCE
2019-03-27 15:51:02 -04:00
zhouhaibing089
f58c2ae62d
resourcequota: use dynamic informer
...
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Mayank Gaikwad
8f5c3a2980
Promote DNS e2e verifying DNS resolution for externalName services
2019-03-27 10:45:59 +05:30
Kubernetes Prow Robot
743fddd174
Merge pull request #75605 from smarterclayton/check_crd_proto
...
Check CRD protobuf negotiation in integration tests
2019-03-26 21:58:47 -07:00
Kubernetes Prow Robot
e05be44808
Merge pull request #74693 from mkimuram/issue/74545
...
Add e2e tests for multiAttach
2019-03-26 20:44:48 -07:00
Kubernetes Prow Robot
d24fe8a801
Merge pull request #75735 from andrewsykim/update-install-etcd-link
...
fix link to etcd install docs for integration tests
2019-03-26 18:11:29 -07:00
Kubernetes Prow Robot
feb9bb151c
Merge pull request #75730 from wojtek-t/minor_perf_improvements
...
Avoid allocations in ByIndex() function
2019-03-26 18:11:16 -07:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
...
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
Kubernetes Prow Robot
094938895a
Merge pull request #75746 from verult/repd-min-size
...
Updated regional PD minimum size for zonal failover test
2019-03-26 16:59:00 -07:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
...
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Cheng Xing
6a02ebb30c
Updated regional PD minimum size; changed regional PD failover test to use StorageClassTest to generate PVC template
2019-03-26 14:23:08 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
...
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
...
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Andrew Sy Kim
e26157df07
fix link to etcd install docs
2019-03-26 13:40:18 -04:00
wojtekt
7d46e27db1
Avoid allocations in ByIndex() function
2019-03-26 14:14:42 +01:00
fabriziopandini
5b675d6f00
e2e-kubeadm-new-test
2019-03-26 12:16:57 +01:00
Kubernetes Prow Robot
bff4ecbe1b
Merge pull request #75685 from freehan/flaky-test
...
make NEG tests more resilient to API failures and add more failure lo…
2019-03-25 23:13:17 -07:00
SataQiu
b1cb58fdf2
fix golint failures in test/e2e_node/builder
2019-03-26 14:12:45 +08:00
Kubernetes Prow Robot
0162b98a4f
Merge pull request #75650 from xichengliudui/add-xichengliudui-to-onwers
...
Add @xichengliudui to test/OWNERS
2019-03-25 21:17:17 -07:00
Kubernetes Prow Robot
2cda7d29e8
Merge pull request #75690 from oomichi/golint-e2e-framework-d-e
...
Fix golint failures of e2e/framework/[d-e]*.go
2019-03-25 19:47:28 -07:00
Kubernetes Prow Robot
1e36b6f47a
Merge pull request #75640 from fabriziopandini/e2e-kubeadm-refactor
...
e2e kubeadm refactor
2019-03-25 19:47:15 -07:00
Minhan Xia
600e8b0eba
make NEG tests more resilient to API failures and add more failure logging
2019-03-25 16:53:33 -07:00
Kenichi Omichi
e28fb1a1f4
Fix golint failures of e2e/framework/f*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/flake_reporting_util.go
- test/e2e/framework/framework.go
2019-03-25 23:21:33 +00:00
Kenichi Omichi
65e6e46515
Fix golint failures of e2e/framework/[d-e]*.go
...
This fixes golint failures on the following files:
- test/e2e/framework/deployment_util.go
- test/e2e/framework/exec_util.go
Cleanup:
- ScaleDeployment() was not used at all, so let's remove it.
- ExecCommandInPod() and ExecCommandInPodWithFullOutput() were called
in the framework only, so let's make them local.
2019-03-25 20:42:11 +00:00
Kenichi Omichi
20074882db
Fix golint failures of e2e/framework/[k-l]*.go
...
In addition, this replaces the combination of GetCPUSummary() and
FormatCPUSummary() with LogCPUSummary() in e2e/node/kubelet_perf.go
because that is completely same.
2019-03-25 19:46:51 +00:00
fabriziopandini
cb306ae0b3
e2e-kubeadm-refactor
2019-03-25 15:28:30 +01:00
WanLinghao
244b244f9d
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-25 14:54:22 +08:00
globervinodhn
a5f3e24ab7
promote empty secret key test to conformance: Version updated to v1.15
2019-03-23 16:07:50 +05:30
Kubernetes Prow Robot
3dfe9072ad
Merge pull request #75615 from oomichi/golint-e2e-framework
...
Fix golint failures of e2e/framework/[a-c].go
2019-03-22 17:02:35 -07:00
Kubernetes Prow Robot
18ac575d9b
Merge pull request #75611 from neolit123/e2e-fw-owners
...
test/e2e/framework: add OWNERS file
2019-03-22 15:46:46 -07:00
Kubernetes Prow Robot
a3bc56fffb
Merge pull request #74746 from oomichi/golint-e2e-framework-gce
...
Fix golint failures under test/e2e/[..]/gce
2019-03-22 15:46:08 -07:00
Kenichi Omichi
63f44a0bbf
Fix golint failures of e2e/framework/[a-c].go
...
This fixes golint failures on the following files:
- test/e2e/framework/authorizer_util.go
- test/e2e/framework/cleanup.go
- test/e2e/framework/create.go
2019-03-22 21:16:45 +00:00
Kubernetes Prow Robot
290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
...
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Tim Allclair
59bfb1cb9a
Copy node test owners to e2e/common
2019-03-22 12:02:05 -07:00
Lubomir I. Ivanov
e0f0d4c9f8
test/e2e/framework: add OWNERS file
2019-03-22 21:00:07 +02:00
Clayton Coleman
6825daa91a
Check CRD protobuf negotiation in integration tests
...
Add a few more tests to verify CRDs don't regress as client changes
are made.
2019-03-22 13:14:46 -04:00
Kenichi Omichi
da7c9f70c3
Fix golint failures under test/e2e/[..]/gce
...
This fixes golint failures under test/e2e/framework/providers/gce/.
Cleanup:
* FirewallTimeoutDefault is not used at all, so remove it.
* FirewallTestTcpTimeout, FirewallTestHttpPort and FirewallTestUdpPort
are used at test/e2e/network/firewall.go only. So move them.
2019-03-22 15:59:17 +00:00
Kubernetes Prow Robot
dfe2e0e705
Merge pull request #75349 from brahmaroutu/cifailure_daemonset
...
Daemon Set Conformance test fails in CI process using ci-kubernetes-c…
2019-03-22 00:04:30 -07:00
Kubernetes Prow Robot
c48ed1c5ac
Merge pull request #74356 from oomichi/golint-e2e-framework-kubemark
...
Fix golint failures for e2e/[..]/kubemark
2019-03-21 19:26:32 -07:00
Kubernetes Prow Robot
775d298cb0
Merge pull request #75347 from kanwar-saad/secret_negative_test_fix
...
test/e2e: Fix double error in secret negative testcase
2019-03-21 17:32:30 -07:00
Kubernetes Prow Robot
e5d99f893b
Merge pull request #75280 from pontiyaraja/volumes
...
removed time flaky and added default pod delete timeout
2019-03-21 17:32:17 -07:00
Jiaying Zhang
54c2c2690c
Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add.
2019-03-21 16:29:47 -07:00
Claudiu Belu
06f115641c
tests: Splits hostname from DNS test
...
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for pods for Hostname and Subdomain" test to fail.
The mentioned test has /etc/hosts file entry checks. This commits separates the
DNS check and the /etc/hosts checks into two tests.
2019-03-21 06:14:53 -07:00
Claudiu Belu
e372f56b25
tests: Fixes Python3 compatibility
...
The Python code used in the example_cluster_dns test is not compatible with Python3.
Keeping in mind that Python2 will no longer be supported from 2020 onwards, it is a good idea to address this issue.
2019-03-21 14:32:25 +02:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
7c2b93ce86
Merge pull request #75525 from fabriziopandini/kubeadm-test-owners
...
Add test/e2e_kubeadm/ OWNERS file
2019-03-20 17:55:49 -07:00
Kubernetes Prow Robot
bce6434a3a
Merge pull request #75517 from jingxu97/march/gkeglustertest
...
Skip GlusterDynamicProvisioner test in GKE
2019-03-20 17:55:36 -07:00
aaa
46799b6dd4
Fix shellcheck failures in bootstrap.sh and create_block.sh
2019-03-20 17:37:50 -04:00
fabriziopandini
437bd8dff4
kubeadm-test-owners
2019-03-20 22:19:17 +01:00
Srini Brahmaroutu
b64066b41b
Daemon Set Conformance test fails in CI process using ci-kubernetes-conformance-image as the num nodes is calculates incorrectly by the test context.
...
Fixes #75348
2019-03-20 14:01:19 -07:00
Kubernetes Prow Robot
8142ab5904
Merge pull request #75466 from denkensk/import-defaultprovider
...
import DefaultProvider in BenchmarkScheduling util
2019-03-20 13:31:38 -07:00
Jing Xu
221c673f31
Skip GlusterDynamicProvisioner test in GKE
...
The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
2019-03-20 12:07:50 -07:00
Kubernetes Prow Robot
02387f1a88
Merge pull request #75344 from jeffdyoung/multi-arch-tests
...
enable s390x to test containers
2019-03-20 11:08:41 -07:00
Kubernetes Prow Robot
e34879925a
Merge pull request #75335 from sjenning/fix-sched-preempt-test
...
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-20 11:08:14 -07:00
Kubernetes Prow Robot
6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
...
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Kubernetes Prow Robot
6f93f87ac4
Merge pull request #75002 from rramkumar1/remove-ingress-upgrade-tests
...
Remove Ingress-GCE upgrade + downgrade tests from k/k
2019-03-19 21:27:01 -07:00
Kubernetes Prow Robot
66674f5496
Merge pull request #74408 from lubinsz/pr_tf
...
node-perf/tf-wide-deep: add support for Arm64
2019-03-19 19:01:17 -07:00
Peter McAlpine
ac88e13821
Fix lint warnings in pkg/controller/cronjob.
2019-03-19 14:36:26 -04:00
pontiyaraja
d46c56f384
promote should be submitted and removed e2e test case to conformance
2019-03-19 15:14:54 +05:30
pontiyaraja
584e00aa20
promote shared volumes between the container in a pod e2e to conformance
2019-03-19 14:39:40 +05:30
wangqingcan
e2af183d3e
import DefaultProvider
2019-03-19 16:21:34 +08:00
Kubernetes Prow Robot
5cc445dc8b
Merge pull request #75447 from liggitt/flaky-audit
...
Mark audit e2e tests as flaky
2019-03-18 21:56:19 -07:00
danielqsj
088773e030
add kubelet_docker_operations_errors_total into InterestingKubeletMetrics
2019-03-19 10:30:31 +08:00
Dan Williams
bfd8ad3268
build/gci: bump CNI version to 0.7.5
2019-03-18 17:16:42 -05:00
jeffdyoung
468d0a2daa
add s390x to test containers
2019-03-18 17:13:49 -04:00
aaa
7ea664dfe8
Add xichengliudui to test/OWNERS
2019-03-18 16:21:49 -04:00
Kubernetes Prow Robot
cd9f18bd7d
Merge pull request #75340 from pohly/framework-crd-utils
...
framework k8s.io/apiextensions-apiserver dependency
2019-03-18 12:26:22 -07:00
Jordan Liggitt
cacafc1947
Mark audit e2e tests as flaky
2019-03-18 14:59:37 -04:00
Rohit Ramkumar
31d5e3c1a6
Remove Ingress-GCE upgrade tests from k/k
2019-03-18 10:18:08 -07:00
danielqsj
b6ce45961b
clean nonexistent metrics in e2e test
2019-03-18 17:57:40 +08:00
Kubernetes Prow Robot
1a24040447
Merge pull request #74781 from liggitt/http2-watch
...
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot
3512757882
Merge pull request #75416 from tallclair/local-redirects
...
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot
d156c09010
Merge pull request #75411 from freehan/disable-test
...
disable HTTP2 ingress test
2019-03-16 02:24:57 -07:00
Kubernetes Prow Robot
f3fdac12a0
Merge pull request #75413 from BenTheElder/cross-1.12.1
...
upgrade to go1.12.1
2019-03-15 21:26:56 -07:00
Kubernetes Prow Robot
f53987511d
Merge pull request #75393 from neolit123/revert-75305-workaround_once_mutex_issue
...
Revert "Speculative workaround for #74890 "
2019-03-15 18:18:57 -07:00
Kubernetes Prow Robot
df2094b3d7
Merge pull request #74646 from mkumatag/refactor_workload_tests
...
Refactor the node perf tests to run on non-amd64 cluster
2019-03-15 12:40:57 -07:00
Tim Allclair
691a301368
e2e test for http probe redirects
2019-03-15 11:52:25 -07:00
Benjamin Elder
650ffe2085
update test/images to go 1.12.1
2019-03-15 10:58:54 -07:00
Minhan Xia
3aa2f1b05c
disable HTTP2 ingress test
2019-03-15 10:18:45 -07:00
Marek Siarkowicz
9e9b906047
Update gcp images with security patches
...
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
2019-03-15 09:24:32 +01:00
Lubomir I. Ivanov
4eabc1cc16
Revert "Speculative workaround for #74890 "
2019-03-15 03:59:44 +02:00
Jordan Liggitt
8f9ed58d20
Deflake node lease test
2019-03-14 09:38:40 -07:00
Kubernetes Prow Robot
897d62ace7
Merge pull request #75164 from krmayankk/runasgroup
...
add missing psp e2e tests for runasgroup
2019-03-13 18:02:25 -07:00
Seth Jennings
6db621589c
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-13 17:20:34 -05:00
Jordan Liggitt
f2a0c0342c
Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
...
This reverts commit cd1c9f9018
.
2019-03-13 15:12:26 -07:00
Jordan Liggitt
9cd57a5a18
Add kubelet watch manager integration test
2019-03-13 15:12:26 -07:00
Patrick Ohly
25c615c157
test: fix golint warnings in crd_util.go
...
Because the code was moved, golint is now active. Because users of the
code must adapt to the new location of the code, it makes sense to
also change the API at the same time to address the style comments
from golint ("struct field ApiGroup should be APIGroup", same for
ApiExtensionClient).
2019-03-13 23:00:49 +01:00
kanwar saad bin liaqat
2f852a27cb
Fix double error of secret negative testcase
...
E2E Test "Secret should fail to create secret in volume
due to empty secret key" tries to create a secret
with empty key and check whether it fails or not.
But the secret creation in this test fails with
double error due to invalid secret name. This will
make this test to pass even if the fuctionality
which needs to be tested is broken.
This commit fix the secret name error(name should not
have capital letters) so that the secret creation fails
only due to desired reason.
Signed-off-by: kanwar saad bin liaqat <kanwar.sbl@gmail.com>
2019-03-13 22:23:02 +02:00
Patrick Ohly
cf805f5af4
update Bazel files
2019-03-13 19:06:56 +01:00
Patrick Ohly
e8a7cee43e
test: remove k8s.io/apiextensions-apiserver from framework
...
There are two reason why this is useful:
1. less code to vendor into external users of the framework
The following dependencies become obsolete due to this change (from `dep`):
(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg
2. works around https://github.com/kubernetes/kubernetes/issues/75338
which currently breaks vendoring
Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9
(as demonstrated by
586ae281ac
).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot
118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
...
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Kubernetes Prow Robot
2748ac6210
Merge pull request #75305 from justinsb/workaround_once_mutex_issue
...
Speculative workaround for #74890
2019-03-13 05:49:33 -07:00
Kubernetes Prow Robot
60d0ec579b
Merge pull request #75301 from dashpole/plugin_watcher_fix
...
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 23:53:42 -07:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
...
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Mayank Kumar
c4e0ede58b
add missing psp e2e tests for runasgroup
2019-03-12 22:07:07 -07:00
Kubernetes Prow Robot
93402fc8e8
Merge pull request #75277 from jennybuckley/fix-ints
...
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Justin SB
803de74685
Speculative workaround for #74890
...
We try using an atomic with a CAS, as a potential workaround for
issue #74890 .
Kudos to @neolit123 for the investigation & idea.
This is a speculative workaround - we are really seeing if this is
better; if not we should revert.
If it is better we should file a bug against go 1.12, and then revert!
Issue #74890
2019-03-12 18:09:01 -04:00
Tim Allclair
d15718cb1c
Add custom runtime handler e2e test
2019-03-12 14:47:56 -07:00
Kubernetes Prow Robot
c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
...
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot
11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
...
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot
02b6557e49
Merge pull request #75081 from freehan/flaky-test
...
beef up NEG tests
2019-03-12 13:18:53 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
...
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
Jordan Liggitt
0aaf1ca4ff
Use apps/v1 APIs in integration tests
2019-03-12 13:17:18 -07:00
David Ashpole
e64c08f869
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 12:58:23 -07:00
globervinodhn
c52a27f409
promote job deletion in the namespace e2e to conformance - version updated to v1.15
2019-03-12 12:44:59 +05:30
globervinodhn
6b8226327d
Promote e2e failre test for rc check for exceeding pod quota to conformance - Version updated to v1.15
2019-03-12 12:41:39 +05:30
pontiyaraja
48440bdb73
removed time flaky and added default pod delete timeout
2019-03-12 12:35:32 +05:30
jennybuckley
10259c959e
Fix int/float apply bug
2019-03-11 23:07:21 -07:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
...
Populate the storage version hash
2019-03-11 21:36:36 -07:00
Tim Hockin
de25d6cb95
Kube-proxy: REJECT LB IPs with no endpoints
...
We REJECT every other case. Close this FIXME.
To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07:00
Tim Hockin
382f5c83c0
Retool HTTP and UDP e2e utils
...
This is a prefactoring for followup changes that need to use very
similar but subtly different test. Now it is more generic, though it
pushes a little logic up the stack. That makes sense to me.
2019-03-11 20:33:35 -07:00
Kubernetes Prow Robot
c094f873a9
Merge pull request #75206 from liggitt/node-lease
...
deflake nodelease test
2019-03-11 20:24:36 -07:00
Jing Xu
3718f4e0ed
Add bracket to the sig-window tag
...
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Hemant Kumar
cc61632255
Add pod information when max volume condition is missing
2019-03-11 17:11:56 -04:00
Tim Hockin
19e333b5cc
Fix small race in e2e
...
Occasionally we get spurious errors about "no route to host" when we
race with kube-proxy. This should reduce that. It's mostly just log
noise.
2019-03-11 12:40:28 -07:00
Chao Xu
887cb93d8d
generated BUILD
...
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
4ea48886df
Merge pull request #75008 from nikopen/patch-4
...
rebase audit-proxy image to distroless/static
2019-03-11 09:39:40 -07:00
Bin Lu
cd0e86b4fc
node-perf/tf-wide-deep: add support for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-11 14:03:32 +08:00
Antonio Ojea
12ca2dd8a2
Add IPv6 support to the nettest image
...
The test [sig-node] PreStop should call prestop when killing a pod
[Conformance] use the nettest image for testing, but it turns out
that this image is configured to listen in the address 0.0.0.0.
Removing the address from the function http.ListenAndServe makes
it start listening on both IPv4 and IPv6 addresses.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-03-10 21:29:36 +01:00
Antonio Ojea
527d2aa2bd
Add IPv6 support to the Container Lifecycle tests
...
Current e2e tests for the Container Lifecycle Hooks weren't
using brackets for the IPv6 URL addresses per RFC2732, thus those
tests were failing.
This patches add brackets to the target URL if it's an IPv6 address.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 17:24:09 +01:00
Antonio Ojea
d5d57baa36
Add ipv6 support to the e2e healthz test
...
The test [k8s.io] Probing container [It] should not be restarted with a
/healthz http liveness probe [NodeConformance] [Conformance]
fails because it's using a nginx image that's spawns a server that's
only listening on IPv4 by default.
Switching to an image like TestWebserver that's listening in IPv4 and IPv6 by default
allows the test to run on IPv4 and IPv6 environments.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 16:53:06 +01:00
Manjunath A Kumatagi
3818f64780
Refactor the node perf tests to run on non-amd64 cluster
2019-03-10 19:23:24 +05:30
Kubernetes Prow Robot
01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
...
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Kubernetes Prow Robot
92b66c5c02
Merge pull request #75151 from jennybuckley/fix-conversion-bug
...
Fix apply conversion bug
2019-03-09 15:15:26 -08:00
Kubernetes Prow Robot
faaec7f997
Merge pull request #75177 from mm4tt/node-problem-detector
...
Disable NodeProblemDector test in large clusters.
2019-03-09 11:31:29 -08:00
aojeagarcia
ae4ccc91b2
Add IPv6 support to the Downward e2e API test
...
Current regex used in the Downward e2e API tests is matching only
IPv4 addresses, consequently those tests fails with IPv6 clusters.
This patch modifies the regex to match ipv4 and ipv6 addresses.
Ref: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-09 20:10:31 +01:00
jennybuckley
2fdc7e1f35
add test to verify fix
2019-03-08 22:35:33 -08:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
...
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
...
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Kubernetes Prow Robot
968d833617
Merge pull request #75073 from grayluck/esipp
...
Allow session affinity a period of time to setup for new services.
2019-03-08 19:17:30 -08:00
Kubernetes Prow Robot
41b544bcf7
Merge pull request #75003 from tallclair/runtimeclass-beta
...
Promote RuntimeClass to beta
2019-03-08 18:02:12 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Masaki Kimura
b4c88acec6
Add e2e tests for multiAttach
2019-03-09 00:26:00 +00:00
Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
5bfbb89f35
Merge pull request #75192 from andrewsykim/area-test
...
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 15:41:24 -08:00
Kubernetes Prow Robot
d778b9308a
Merge pull request #75063 from wangzhen127/npd-test-fix
...
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-08 14:19:09 -08:00
Jordan Liggitt
5b0099785e
deflake nodelease test
2019-03-08 16:31:05 -05:00
Tim Allclair
0604256d6c
Update tests for RuntimeClass beta
2019-03-08 13:21:52 -08:00
Tim Allclair
bc01f97055
Promote RuntimeClass to beta
2019-03-08 13:21:52 -08:00
Minhan Xia
1065a473da
beef up NEG tests
2019-03-08 11:33:38 -08:00
Clayton Coleman
3230a0b4fd
Support Table and PartialObjectMetadata on watch
...
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.
When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.
Add a volume attachment printer and tighten up table validation error cases.
Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
2019-03-08 13:03:59 -05:00
Kubernetes Prow Robot
583ff363fa
Merge pull request #75131 from gnufied/increase-pod-wait-time
...
Fix emptydir e2e flake
2019-03-08 09:17:28 -08:00
Andrew Kim
941966c31d
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 11:56:19 -05:00
Hemant Kumar
a8f318779b
Add CSI volume resizing tests
...
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Matt Matejczyk
2f7cb25bbb
Disable NodeProblemDector test in large clusters.
...
It's suspected of causing timeouts in scalability 5k node cluster
tests, see https://github.com/kubernetes/kubernetes/issues/75095#issuecomment-470912583
2019-03-08 13:35:12 +01:00
Kubernetes Prow Robot
eaa78b88ac
Merge pull request #75152 from pjh/gce-windows-dns-testfix
...
Don't test metadata server connectivity from GCE Windows pods.
2019-03-08 00:54:02 -08:00
Kubernetes Prow Robot
af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
...
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Kubernetes Prow Robot
5c2fe63591
Merge pull request #75116 from adelina-t/patch-1
...
Update gmsa test
2019-03-07 22:44:33 -08:00
Kubernetes Prow Robot
535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
...
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Bin Lu
973a3c7233
Add bazel-test-integration for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot
788f24583e
Merge pull request #74990 from jingxu97/pd_windows_test
...
Add GCE PD tests for windows cluster
2019-03-07 21:20:23 -08:00
Kubernetes Prow Robot
183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
...
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot
ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
...
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909 ]
2019-03-07 18:39:25 -08:00
Peter Hornyack
c88085dff2
Don't test metadata server connectivity from GCE Windows pods.
...
Windows containers do not include a route to the GCE metadata server by
default. This check is causing the "DNS should provide DNS for the
cluster" test to fail for clusters with Windows nodes
(https://testgrid.k8s.io/sig-windows#gce-windows-master&width=20 ).
Tested that this works by running "DNS should provide DNS for the
cluster" against an e2e cluster with Windows nodes brought up on GCE.
2019-03-07 17:51:17 -08:00
yankaiz
70c42380f7
Allow session affinity a period of time to setup for new services.
...
This is to deal with the flaky session affinity test.
2019-03-07 17:34:40 -08:00
Kubernetes Prow Robot
e8daa90ca7
Merge pull request #75124 from gnufied/fix-attach-limit-flake
...
Fix volume attach limit flake
2019-03-07 16:13:05 -08:00
Kubernetes Prow Robot
2b354f3857
Merge pull request #73383 from danielqsj/zkr
...
bump zookeeper-installer image version in e2e
2019-03-07 16:12:09 -08:00
David Ashpole
6051664c0f
add kubelet prometheus resource metrics endpoint
2019-03-07 15:39:37 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
aojeagarcia
ae77399686
Use IP addresses to test external connectivity
...
Current IPv6 e2e test for external connectivity is using a
domain address (google.com) as target.
However, the same IPv4 test uses the well known Google DNS address
8.8.8.8.
We should be coherent in the testing, this patch changes the target to use
the Google IPv6 DNS address 2001:4860:4860::8888.
2019-03-07 22:24:30 +01:00
Jordan Liggitt
8f47501418
Ensure namespaces exist on start
2019-03-07 15:09:46 -05:00
Tim Allclair
222988bdda
Migrate to internal node.k8s.io client
2019-03-07 11:57:12 -08:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Hemant Kumar
93c2a1af3f
Fix emptydir e2e flake
...
Wait forver and reduce grace period deletion
2019-03-07 14:35:39 -05:00
Hemant Kumar
9d78c96e56
Fix volume attach limit flake
...
It looks like node does become unschedulable for the pod
but condition does not get added to the pod in time.
Also ginkgo could retry the test and hence it helps to use
unique node label for scheduling.
2019-03-07 12:35:52 -05:00
Jing Xu
18be0a49e6
Add GCE PD tests for windows cluster
...
This PR is the first one to add a few GCE PD tests for windows cluster. Will
add more tests in later PRs
2019-03-07 09:13:56 -08:00
Patrick Ohly
e84271ed8a
e2e/storage: allow empty volume type
...
This can happen when the test pattern is about snapshotting.
2019-03-07 16:57:16 +01:00
Adelina Tuvenie
90b8c877ed
Update gmsa test
...
Wait for the container to be in Running state before running any command.
2019-03-07 17:04:25 +02:00
Patrick Ohly
915d6365f1
e2e/storage: fix snapshot support in external driver testing
...
When using an already installed driver, the snapshot name is the
original driver name. Renaming was incorrectly copied from the in-tree
CSI hostpath driver.
2019-03-07 15:45:40 +01:00
Kubernetes Prow Robot
dcbe588f76
Merge pull request #74938 from brusMX/win-e2e-nodeport
...
Creating NodePort test for Windows
2019-03-07 06:35:05 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
...
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Kubernetes Prow Robot
bf4e93da57
Merge pull request #75067 from msau42/csi-beta-e2e
...
make CSI PD tests serial
2019-03-07 02:23:12 -08:00
Kubernetes Prow Robot
6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
...
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot
9ce5966ff0
Merge pull request #74832 from roycaihw/kubectl-crd-test
...
kubectl e2e: test client-side validation behavior on CustomResources
2019-03-06 22:55:21 -08:00
Kubernetes Prow Robot
96ee0d0977
Merge pull request #74738 from wk8/wk8/gmsa_e2e
...
Adding an e2e test on Windows GMSA support
2019-03-06 22:55:09 -08:00
Zhen Wang
f4d9e7d992
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-06 22:42:47 -08:00
Haowei Cai
54b99413b2
generated
2019-03-06 20:36:40 -08:00
Haowei Cai
867cdce212
apiextensions: add openapi publishing unit+integration+e2e tests
...
Co-authored-by: Maciej Szulik <maszulik@redhat.com>
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 20:36:23 -08:00
Kubernetes Prow Robot
88a685feef
Merge pull request #74807 from runyontr/test-cmd-kubeadm-isolation
...
Kubeadm test Isolation: #74464
2019-03-06 17:59:52 -08:00
Kubernetes Prow Robot
8178fa1b13
Merge pull request #72836 from pohly/storage-test-plugin
...
e2e/storage: testing of external storage drivers
2019-03-06 17:59:11 -08:00
Kubernetes Prow Robot
ab7a48d796
Merge pull request #70036 from pbarker/audit-etoe
...
dynamic audit e2e test
2019-03-06 17:58:58 -08:00
Jean Rouge
b721f8e339
Adding an e2e test on Windows GMSA support
...
This patch is adding an e2e on the Windows GMSA support added in
https://github.com/kubernetes/kubernetes/pull/73726 and
https://github.com/kubernetes/kubernetes/pull/74737 .
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Jean Rouge
1d1a765e79
Updating Windows' e2e tests' README to the official repo list
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Michelle Au
8b97e2ab7c
make CSI PD tests serial
2019-03-06 15:11:50 -08:00
Patrick Ohly
6644db9914
e2e/storage: testing of external storage drivers
...
It is useful to apply the storage testsuite also to "external" (=
out-of-tree) storage drivers. One way of doing that is setting up a
custom E2E test suite, but that's still quite a bit of work.
An easier alternative is to parameterize the Kubernetes e2e.test
binary at runtime so that it instantiates the testsuite for one or
more drivers. Some parameters have to be provided before starting the
test because they define configuration and capabilities of the driver
and its storage backend that cannot be discovered at runtime. This is
done by populating the DriverDefinition with the content of the file
that the new -storage.testdriver parameters points to.
The universal .yaml and .json decoder from Kubernetes is used. It's
flexible, but has some downsides:
- currently ignores unknown fields (see https://github.com/kubernetes/kubernetes/pull/71589 )
- poor error messages when fields have the wrong type
Storage drivers have to be installed in the test cluster before
starting e2e.test. Only tests involving dynamically provisioned
volumes are currently supported.
2019-03-06 22:06:31 +01:00
Kubernetes Prow Robot
7fbfe70147
Merge pull request #74958 from dims/Promote-mkumatag-to-approver
...
Promote mkumatag to approver in test/images
2019-03-06 12:54:48 -08:00
Bruno Medina
7cbbfcc9ef
Creating NodePort test for Windows
...
Co-authored-by: Muzz Imam <muzzz.imam@gmail.com>
2019-03-06 12:29:38 -08:00
Ben Swartzlander
1493e684d3
Promote CSI raw blocks to beta
2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot
c4fd78e7c9
Merge pull request #74993 from msau42/csi-beta-e2e
...
e2e test updates for CSIDriver and CSINode beta
2019-03-06 08:24:38 -08:00
Kubernetes Prow Robot
d99979f8b5
Merge pull request #75015 from cofyc/fix73168-disable-temporarily
...
Disable "should set different fsGroup for second pod if first pod is deleted" temporarily
2019-03-06 04:46:10 -08:00
Niko Pen
58c7b5de9c
version bump
2019-03-06 12:33:38 +00:00
Kubernetes Prow Robot
87f9429087
Merge pull request #75011 from msau42/fix-readonly-e2e
...
don't check for container status ready in subpath test
2019-03-06 03:26:47 -08:00
Kubernetes Prow Robot
3213a6d61f
Merge pull request #74989 from liggitt/webhook-test-namespace
...
Scope slow/failing webhook to test namespace
2019-03-06 03:26:26 -08:00
Kubernetes Prow Robot
e1c5e8394e
Merge pull request #71950 from bclau/fix-max-backoff-test-flake
...
tests: getRestartDelay waits for the next Terminated state
2019-03-06 03:26:04 -08:00
Kubernetes Prow Robot
62065bd27d
Merge pull request #74964 from bclau/tests/externalname-retry
...
tests: Adds retry for dig for ExternalName test
2019-03-06 02:08:23 -08:00
Kubernetes Prow Robot
9c75270b2b
Merge pull request #74905 from stevesloka/numNodesLookup
...
If num-nodes is not set, then look up via API how many are scheduleable
2019-03-06 00:44:49 -08:00
Kubernetes Prow Robot
8060c94503
Merge pull request #74743 from lee0c/lecattar/win-mem-limits
...
Windows nodeAllocatable test
2019-03-06 00:44:17 -08:00
Kubernetes Prow Robot
7304c50ef5
Merge pull request #74655 from bclau/tests/windows-gcrio
...
tests: Adds gcr.io Windows image test case
2019-03-06 00:44:06 -08:00
Michelle Au
afbc8a5056
e2e test updates for beta
2019-03-05 20:24:59 -08:00
Yecheng Fu
05fe7094d5
Disable "should set different fsGroup for second pod if first pod is deleted" test temporarily
2019-03-06 10:46:17 +08:00
Michelle Au
b90ef213af
don't check for container status ready in subpath test
2019-03-05 18:31:59 -08:00
Niko Pen
f7752c645a
rebase image to distroless/static
2019-03-06 00:49:48 +00:00
Kubernetes Prow Robot
596a48dd64
Merge pull request #74945 from liucimin/fix_e2e_test_typo
...
Typo fix in e2e test description message: defaut->default
2019-03-05 14:54:45 -08:00
Kubernetes Prow Robot
5bc1e9b8ea
Merge pull request #74830 from msau42/lock-csi-ga
...
lock csi and plugin watcher GA feature gates
2019-03-05 14:54:10 -08:00
Patrick Barker
898700d104
removes cluster type restrictions from dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
718a747961
fix missing event report handling in dynamic audit e2e
2019-03-05 14:38:58 -07:00
Patrick Barker
62edfe8d97
adds owner of TODO comments in dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
db1207c646
adds better logging around retry loops in dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
67a245ae61
remove unneeded println
2019-03-05 14:38:58 -07:00
Patrick Barker
45d715cdc6
adds dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Kubernetes Prow Robot
98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
...
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Kenichi Omichi
1fcab19821
Fix golint failures for e2e/[..]/kubemark
2019-03-05 20:55:00 +00:00
Haowei Cai
591f00e9b3
test client-side validation behavior for CRD
...
support version-skew testing
2019-03-05 12:22:46 -08:00
Lee Cattarin
0251a2493a
Remove dot imports
2019-03-05 11:58:28 -08:00
Jordan Liggitt
ce31686686
Scope slow/failing webhook to test namespace
2019-03-05 14:55:45 -05:00
Kubernetes Prow Robot
5d2b0de95d
Merge pull request #74922 from wangzhen127/fix-npd-test-ubuntu
...
Fix NPD e2e test on clusters with Ubuntu nodes
2019-03-05 11:10:13 -08:00
Kubernetes Prow Robot
f8d8ef94dc
Merge pull request #74868 from qingsenLi/k8s190304
...
remove some unused const in test/e2e_node
2019-03-05 11:10:02 -08:00
Michelle Au
08330c37ca
lock csi and plugin watcher GA feature gates
2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot
1d257d657c
Merge pull request #74829 from pohly/e2e-ginkgo
...
test/e2e: fix `ginkgo ./test/e2e`
2019-03-05 08:16:17 -08:00
Steve Sloka
3dfaed9f7e
If num-nodes is set to '-1', then look up via API how many nodes are scheduleable
...
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-05 10:46:05 -05:00
Kubernetes Prow Robot
257205d656
Merge pull request #74811 from gnufied/fix-attachable-csi-mock-driver
...
When checking for pod info version, make volume attachable
2019-03-05 06:51:39 -08:00
Kubernetes Prow Robot
e24e26fac8
Merge pull request #74647 from danielqsj/e2ein
...
Fix golint failures for e2e/instrumentation/...
2019-03-05 06:51:10 -08:00
Kubernetes Prow Robot
ad36156f14
Merge pull request #74638 from liucimin/fix_e2e_test_kubadm-
...
Typo fix in e2e test description message: kubadm->kubeadm
2019-03-05 06:50:59 -08:00
Davanum Srinivas
ac83cca69b
Promote mkumatag to approver in test/images
...
Change-Id: I653d4c40901cf5ba0097c31a64ea55b3b10e418e
2019-03-05 08:50:48 -05:00
Kubernetes Prow Robot
6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
...
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
liucimin
2179ca23c8
Typo fix in e2e test description message: defaut->default
2019-03-05 15:56:05 +08:00
Kubernetes Prow Robot
f5574bf62a
Merge pull request #74603 from stevesloka/e2eImageList
...
Refactor to allow for a way to get list of e2e images
2019-03-04 19:27:47 -08:00
Kubernetes Prow Robot
35c9624fd6
Merge pull request #74500 from sandeeppsunny/fix-e2e-tests
...
Change to unblock e2e tests for vsphere provider
2019-03-04 19:27:25 -08:00
Kubernetes Prow Robot
e2f42845d1
Merge pull request #74487 from danielqsj/window
...
Fix golint failures for e2e/windows
2019-03-04 19:27:11 -08:00
Kubernetes Prow Robot
dba8300e52
Merge pull request #74391 from cofyc/fix71237-update-old
...
Update old local tests to use general host executor and local test resource manager
2019-03-04 19:27:00 -08:00
Xing Yang
d69e0ff3f0
Enable CSI test suite and fix test failures
2019-03-04 16:42:13 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Zhen Wang
87faa00a14
Fix NPD E2E test on clusters with Ubuntu nodes
2019-03-04 15:26:21 -08:00
danielqsj
ae7c1187bf
fix init pattern
2019-03-05 07:21:55 +08:00
danielqsj
5cf1950ef8
Fix golint in test/e2e/instrumentation/logging
2019-03-05 07:10:39 +08:00
danielqsj
873fbf9112
Fix golint in test/e2e/instrumentation/monitoring
2019-03-05 07:07:06 +08:00
Kubernetes Prow Robot
5756eea804
Merge pull request #74700 from SataQiu/fix-golint-20190228
...
Fix golint failures in test/e2e/instrumentation, test/e2e_node/environment
2019-03-04 13:25:26 -08:00
Hemant Kumar
2567d1b5dd
Always make CSI driver attachable when checking for pod info
...
Fixes https://github.com/kubernetes/kubernetes/issues/74724
2019-03-04 12:35:16 -05:00
Kubernetes Prow Robot
b1d4d40679
Merge pull request #74668 from sttts/sttts-kube-apiserver-endpoints-when-ready
...
kube-apiserver: don't create endpoints before being ready
2019-03-04 01:57:41 -08:00
Claudiu Belu
fd03127cac
tests: Adds retry for dig for ExternalName test
...
The network connection might not yet be established by the time the
container starts, causing the dig command to fail.
Retrying the dig command will solve this issue. This approach is similar
to the other DNS Conformance tests.
2019-03-03 21:28:47 -08:00
Claudiu Belu
d5f2ec4b6a
tests: Adds TODO for Windows only test
...
It has been suggested to replace the "e2eteam/busybox:1.29" image
used in the test "should be able to pull image from docker hub [NodeConformance]"
with a nanoserver image manifest list.
Adds a TODO for it.
2019-03-03 21:11:24 -08:00
Claudiu Belu
5edc073122
tests: getRestartDelay waits for the next Terminated state
...
Kubelet might miss reporting the new Running state when restarting
a pod after its backoff period expired, and thus, the pod will
continue to remain in CrashLoopBackOff state, causing the
"should cap back-off at MaxContainerBackOff" and
"should have their auto-restart back-off timer reset on image update"
tests to fail, since they're waiting the Pods to enter a Running state.
Waiting for the next Terminated state instead of the next Running state
is more reliable.
Note that this adds 5 seconds to the restart delay due to the fact that
the Container runs for 5 seconds (it's command is "sleep 5"), but it is
within the test's expectations.
2019-03-03 08:35:51 -08:00
Aaron Crickenberger
3b3c977fc7
Update test/cmd/legacy-script.sh
...
Co-Authored-By: runyontr <runyontr@gmail.com>
2019-03-02 20:41:42 -05:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Yecheng Fu
a81b351670
Update persistent_volumes-local.go to use utils.HostExec/utils.LocalTestResourceManager.
...
This simplifies the code and makes it more maintainable.
2019-03-02 20:38:20 +08:00
Kubernetes Prow Robot
6b2882738b
Merge pull request #74805 from HotelsDotCom/feature/remove-kubectl-binary
...
VolumeSubpathEnvExpansion alpha tests - change kubectl references to API calls
2019-03-02 03:41:15 -08:00
Kubernetes Prow Robot
f16035600a
Merge pull request #73807 from dekkagaijin/discovery-hardening
...
harden the default RBAC discovery clusterrolebindings
2019-03-01 21:49:30 -08:00
Kubernetes Prow Robot
65b7a430f3
Merge pull request #74287 from qingsenLi/k8s190220-delete-const
...
delete some unused const in test/e2e_node
2019-03-01 19:13:53 -08:00
Jake Sanders
9c7d31928d
harden the default RBAC discovery clusterrolebindings
2019-03-01 18:45:05 -08:00
Kubernetes Prow Robot
9b8c58644a
Merge pull request #74418 from danielqsj/duration
...
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Steve Sloka
6dc5494ec9
Refactor to allow for a way to get list of e2e images
...
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-01 17:15:19 -05:00
Kubernetes Prow Robot
7955a2865c
Merge pull request #74764 from msau42/fix-repd-e2e
...
bump repd min size in e2es
2019-03-01 14:09:19 -08:00
Kubernetes Prow Robot
646145f578
Merge pull request #74125 from tuanvcw/fixing_typo
...
Fix many typos in both code and comments
2019-03-01 14:08:45 -08:00
Kubernetes Prow Robot
222dd0af4c
Merge pull request #71022 from emwalker/68026-golint-fixes-5
...
Remove test/integration/* from hack/.golint_failures
2019-03-01 14:08:33 -08:00
Kubernetes Prow Robot
8acb522c03
Merge pull request #74488 from xichengliudui/fixshellcheck19022502
...
fix shellcheck in test/e2e_node/jenkins/...
2019-03-01 12:49:08 -08:00
Patrick Ohly
ef6f3e0a18
test/e2e: fix ginkgo ./test/e2e
...
When running ginkgo directly against the source code of the test suite
instead of using some pre-compiled e2e.test binary, ginkgo no longer
recognized that it runs a Ginkgo testsuite, which broke "-focus" and
"-p".
By re-inserting the magic strings that ginkgo looks for into a
comment, we can restore the desired behavior without affecting the
code.
Fixes : #74827
2019-03-01 21:44:30 +01:00
Vallery Lancey
579764eb37
Tiny whitespace tweak in ingress.go
2019-03-01 11:19:01 -08:00
Vallery Lancey
776ac93f04
Fix mispelled variable in ingress.go after rebase
2019-03-01 10:42:06 -08:00
Vallery Lancey
3de7307a8c
Merge branch 'master' into move-gce-test-manifests
2019-03-01 10:29:32 -08:00
Lee Cattarin
b9c0d10ce7
Run hack/update-bazel
2019-03-01 09:33:28 -08:00
Thomas Runyon
1e44e33517
pulled kubeadm tests out of runTests to run before tests in test/cmd
...
Added timeout for https://github.com/kubernetes/kubeadm/issues/1430
2019-03-01 12:17:25 -05:00
Sandeep Sunny
c4ef9ad765
Change to unblock vsphere e2e tests
2019-03-01 17:27:15 +05:30
Kubernetes Prow Robot
36e934d0a9
Merge pull request #74632 from cblecker/go-1.12
...
Update to use golang 1.12
2019-03-01 03:47:06 -08:00
Kubernetes Prow Robot
8c95a07b4b
Merge pull request #73007 from krmayankk/runasgroup
...
Promote RunAsGroup to Beta
2019-03-01 03:46:55 -08:00
Kevin Taylor
8828ccfa6b
Change kubectl references to API calls
2019-03-01 11:33:03 +00:00
Dr. Stefan Schimanski
2a9a9fa155
kube-apiserver: first remove endpoints, then add when ready
2019-03-01 10:46:18 +01:00
Kubernetes Prow Robot
983cf51c53
Merge pull request #74666 from bclau/tests/configurable-etcd-image
...
tests: Adds configurable registry for etcd image
2019-02-28 20:36:28 -08:00
Kubernetes Prow Robot
ac0a946d3e
Merge pull request #74538 from MrHohn/e2e-service-latencies-flake
...
[e2e] Add acceptableFailureRatio to service latency test
2019-02-28 20:36:17 -08:00
Kubernetes Prow Robot
d761fe8491
Merge pull request #72774 from globervinodhn/conformance-emptyconfigmapkey-addition
...
Promote emptyconfigmap key e2e test to conformance test
2019-02-28 20:36:07 -08:00
Kubernetes Prow Robot
caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
...
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Kubernetes Prow Robot
55a65763c0
Merge pull request #71479 from soggiest/podpreset-initcontainers
...
PodPreset: Add same functionality for init containers as standard containers
2019-02-28 20:35:45 -08:00
Eric Walker
75df4dc04c
Remove test/integration/* from hack/.golint_failures
2019-02-28 19:52:39 -07:00
Michelle Au
4a5a34b42c
bump repd min size in e2es
2019-02-28 18:35:34 -08:00
Kubernetes Prow Robot
1c71f6b078
Merge pull request #74744 from Huang-Wei/debug-gke-cos
...
print out verbose info for a scheduler e2e test
2019-02-28 17:52:15 -08:00
Mayank Kumar
1b1251277c
Promote RunAsGroup to Beta
2019-02-28 17:24:39 -08:00
Kubernetes Prow Robot
ba34591627
Merge pull request #74716 from cofyc/fix73559
...
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 16:07:09 -08:00
Lee Cattarin
e18a2ce2ea
Update copyright year
2019-02-28 15:13:44 -08:00
Wei Huang
f1e2884275
print out verbose info for a scheduler e2e test
2019-02-28 15:00:13 -08:00
Christoph Blecker
f1d2fee259
Upgrade to go1.12.0
2019-02-28 14:10:08 -08:00
Lee Cattarin
b1e5d7c342
Replace agent role selector with windows OS selector
2019-02-28 12:26:21 -08:00
Kubernetes Prow Robot
a3cace3aa3
Merge pull request #74648 from johscheuer/fix-redis-e2e-test-image
...
Add bash dependency to Redis e2e image
2019-02-28 11:51:46 -08:00
Kubernetes Prow Robot
2235a7e9a2
Merge pull request #74554 from mkimuram/issue/74380
...
Fix resource leaking PDs for volume mode test
2019-02-28 11:51:36 -08:00
Lee Cattarin
fe6057456e
Test to check that allocatable memory limit is respected on windows & small edit to density test
...
Co-authored-by: Bruno Medina <bmedinab@gmail.com>
2019-02-28 11:32:34 -08:00
Yecheng Fu
1bfd3838e2
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 17:22:23 +08:00
Kubernetes Prow Robot
711b310389
Merge pull request #74606 from andrewsykim/cleanup-volumeattachment
...
replace usage of v1beta1 VolumeAttachments with v1
2019-02-28 00:27:36 -08:00
Kubernetes Prow Robot
02b8056efb
Merge pull request #73288 from wangzhen127/npd-config
...
Decouple node-problem-detector release from kubernetes
2019-02-28 00:27:25 -08:00
danielqsj
a60365e67b
Fix golint in test/e2e/windows/hybrid_network.go
2019-02-28 15:55:14 +08:00
danielqsj
1187936c18
Fix golint in test/e2e/windows/volumes.go
2019-02-28 15:48:48 +08:00
danielqsj
cee02e62b7
Fix golint failures for e2e/windows
2019-02-28 15:48:48 +08:00
Kubernetes Prow Robot
6af2e9afea
Merge pull request #74591 from xichengliudui/fixgolint190226
...
fix shellcheck in test/image/...
2019-02-27 20:39:25 -08:00
SataQiu
c0a0471b3b
fix golint failures in test/e2e/instrumentation, test/e2e_node/environment
2019-02-28 12:29:22 +08:00
Kubernetes Prow Robot
48def74e64
Merge pull request #74550 from vyta/e2e-tests/hybrid-test
...
Add cross-OS test for service connectivity
2019-02-27 15:54:47 -08:00
Andrew Kim
01933b02a3
replace usage of v1beta1 VolumeAttachments with v1
2019-02-27 15:42:12 -05:00
Kubernetes Prow Robot
7dbe426b24
Merge pull request #74320 from gnufied/cleanup-csi-test-dups
...
Add e2e for CSI volume limit
2019-02-27 12:31:12 -08:00
Kubernetes Prow Robot
5d0e293b85
Merge pull request #70492 from mgdevstack/master-runtime-tabletest
...
Transition "e2e/common/runtime.go" table based tests to individual tests
2019-02-27 12:31:01 -08:00
Claudiu Belu
81ee747395
tests: Adds private gcr.io Windows image test case
...
Adds the test "should be able to pull from private registry with secret [NodeConformance]"
which will pull the image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.
2019-02-27 11:23:08 -08:00
Claudiu Belu
ab3ccc1bd7
Removes [WindowsOnly] tag
...
Removes the [WindowsOnly] tag from the test:
"should be able to pull image from docker hub [WindowsOnly] [NodeConformance]"
2019-02-27 11:23:08 -08:00
Claudiu Belu
0f12efa8d3
tests: Adds gcr.io Windows image test case
...
Adds the test "should be able to pull image from gcr.io [NodeConformance]",
which will pull the the image "gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.
The command passed to the Windows Container has been changed to
"ping -t localhost", which will keep the container in the Running state,
which is required and checked by the test.
2019-02-27 11:22:53 -08:00
Masaki Kimura
c5155f81a0
Fix resource leaking PDs for volume mode test
...
fixes #74380
2019-02-27 18:48:34 +00:00
Vy Ta
a7a1f5871b
poll_interval to pollInterval
2019-02-27 10:01:46 -08:00
Vy Ta
25d0352029
remove key from toleration
2019-02-27 09:47:33 -08:00
Kevin Taylor
833720669c
Fix pod creation for node e2e tests
2019-02-27 15:38:17 +00:00
Johannes M. Scheuermann
cf171f43eb
Add bash dependency to redis e2e image
2019-02-27 11:02:21 +01:00
Kubernetes Prow Robot
076af3d1b5
Merge pull request #74570 from s-ito-ts/add_resourcequota_test
...
Adding e2e test for update and delete of resourcequota
2019-02-27 01:04:08 -08:00
Kubernetes Prow Robot
649f225517
Merge pull request #73064 from pontiyaraja/flaky
...
removed flaky watch from pods test cases
2019-02-27 01:03:57 -08:00
Vu Cong Tuan
c747b7f38d
Fix many typos in both code and comments
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 14:41:02 +07:00
Kubernetes Prow Robot
218642e84e
Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
...
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Mayank Gaikwad
5c96bb6be7
Refactor table based tests into individual tests
2019-02-27 12:45:04 +05:30
pontiyaraja
12943ce1ac
removed flaky watch from pods test cases
2019-02-27 11:24:20 +05:30
Zhen Wang
6df207bdaa
allows configuring NPD image version in node e2e test and fix the test
2019-02-26 21:29:50 -08:00
Zhen Wang
efa96f7eb8
allows configuring NPD release and flags on GCI and add cluster e2e test
2019-02-26 21:21:54 -08:00
Kubernetes Prow Robot
4505f12215
Merge pull request #72738 from alexbrand/fix-serve-hostname
...
DaemonSet e2e: Update image and rolling upgrade test timeout
2019-02-26 20:55:01 -08:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
...
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Kubernetes Prow Robot
9059021d9a
Merge pull request #67350 from tnozicka/retry-watcher
...
#50102 Task 3: Until, backed by retry watcher
2019-02-26 19:40:01 -08:00
s-ito-ts
5752bc35fb
Adding e2e test for update and delete of resourcequota
2019-02-27 02:13:18 +00:00
liucimin
a9d368fc73
Typo fix in e2e test description message: kubadm->kubeadm
2019-02-27 10:01:19 +08:00
Xiangyang Chu
53c1fcf2c6
Fix shellchecks follow the ${var:?}
pattern
2019-02-27 09:27:13 +08:00
Haowei Cai
1a25ced1c7
generated
2019-02-26 15:00:35 -08:00
Haowei Cai
ad0d523d6e
tests
2019-02-26 14:44:31 -08:00
Haowei Cai
e6626b70cc
build and push e2e test image
2019-02-26 14:44:03 -08:00
Jingfang Liu
127c2f1e74
address comments
2019-02-26 14:12:58 -08:00
Kubernetes Prow Robot
493b261057
Merge pull request #74586 from danielqsj/patch3
...
fix golint failures for test/e2e/cloud|kubectl|servicecatalog
2019-02-26 14:08:16 -08:00
Kubernetes Prow Robot
26f90e850d
Merge pull request #74540 from oomichi/golint-e2e-framework-ingress
...
Fix golint under test/e2e/framework/ingress
2019-02-26 14:08:06 -08:00
Kubernetes Prow Robot
0ecba229aa
Merge pull request #74512 from danielqsj/ui
...
fix golint failures for test/e2e/ui
2019-02-26 14:07:54 -08:00
Claudiu Belu
de1e1ad045
tests: Adds configurable registry for etcd image
...
The image ``quay.io/coreos/etcd:v3.3.10`` does not have Windows
support and Windows Containers cannot be spawned using it.
Makes the etcd image's registry configurable, so the tests can be
configured to use a registry which has Windows support.
2019-02-26 13:54:55 -08:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
...
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Vy Ta
f150874ed2
Requested changes and refactor
2019-02-26 12:10:43 -08:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Hemant Kumar
2516cbd453
Add e2e for CSI volume limit stuff
...
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Tomas Nozicka
09af8485f2
Add Until based on RetryWatcher
2019-02-26 16:21:38 +01:00
Kubernetes Prow Robot
a99d6cef86
Merge pull request #72729 from bclau/tests/split-dns-host-entries
...
tests: Separates DNS hosts entries test
2019-02-26 06:38:10 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
danielqsj
8911a2ddbb
fix golint failures for test/e2e/kubectl
2019-02-26 18:27:01 +08:00
danielqsj
9ea1b3d86d
fix golint failures for test/e2e/servicecatalog
2019-02-26 18:25:23 +08:00
danielqsj
84aeafee7b
fix golint failures for test/e2e/cloud
2019-02-26 18:25:23 +08:00
Kubernetes Prow Robot
0d98463f9c
Merge pull request #73508 from k-toyoda-pi/add_test_conmponentstatuses
...
Add e2e test for getting componentstatuses by kubectl
2019-02-26 01:55:20 -08:00
danielqsj
1ce7b0b2fa
fix golint failures for test/e2e/ui
2019-02-26 14:03:34 +08:00
xichengliudui
4b38978329
fix shellcheck in test/e2e_node/jenkins/...
...
update pull request
2019-02-26 01:01:48 -05:00
Kubernetes Prow Robot
d48eb30c59
Merge pull request #74547 from spiffxp/fix-test-cmd-kubectl-run-flake
...
Fix test-cmd kubectl_run flake
2019-02-25 21:49:03 -08:00
Kubernetes Prow Robot
33a0afafe7
Merge pull request #74508 from danielqsj/uapps
...
Fix golint failures for e2e/upgrades/...
2019-02-25 21:48:42 -08:00
toyoda
bdd17d4ca6
add test for getting componentstatuses
2019-02-26 11:25:14 +09:00
Kubernetes Prow Robot
1595089ec5
Merge pull request #74453 from xichengliudui/fixgolintfailures1902
...
fixgo lint failures test/integration/...
2019-02-25 17:25:34 -08:00
Kubernetes Prow Robot
0ff7e463ee
Merge pull request #73746 from mrbobbytables/kubemark-shellcheck
...
Fix shellcheck lint errors in Kubemark scripts
2019-02-25 17:25:13 -08:00
Kubernetes Prow Robot
d532d50e29
Merge pull request #63947 from jennybuckley/aggr-conf-test
...
Promote aggregator e2e test to conformance
2019-02-25 17:25:02 -08:00
Jingfang Liu
beacc87ebf
add cmdline tests for -k
2019-02-25 16:31:03 -08:00
Vy Ta
2869c67076
Windows-linux connectivity
2019-02-25 14:42:02 -08:00
Wei Huang
76174b3d0f
e2e: ensure static system-node-critical pod not to be evicted
2019-02-25 14:26:24 -08:00
Kubernetes Prow Robot
fb92681882
Merge pull request #74370 from oomichi/issue/74326
...
Register openstack provider for e2e test
2019-02-25 13:54:21 -08:00
Kubernetes Prow Robot
86a3caee35
Merge pull request #74085 from vyta/e2e-tests/win-volumes
...
Add readonly volume tests for windows
2019-02-25 13:54:00 -08:00
Aaron Crickenberger
e563402701
Fix test-cmd kubectl_run flake
...
It is unrealistic to expect a cascading delete to immediately take
effect. Somehow this test got away with it for a while, but we
have finally reached a point where apiserver performance has changed
just enough to expsoe this flaky expectation.
2019-02-25 13:51:48 -08:00
Kenichi Omichi
215dee7dd2
Fix golint under test/e2e/framework/ingress
2019-02-25 20:55:03 +00:00
Bob Killen
e137f4702a
Fix shellcheck lint errors in test/kubemark/stop-kubemark.sh
2019-02-25 15:21:32 -05:00
Bob Killen
b8aae458a1
Fix shellcheck lint errors in test/kubemark/start-kubemark.sh
2019-02-25 15:21:31 -05:00
Bob Killen
46333a01b4
Fix shellcheck lint errors in test/kubemark/run-e2e-tests.sh
2019-02-25 15:21:31 -05:00
Bob Killen
adf4bf1741
Fix shellcheck lint errors in test/kubemark/resources/start-kubemark-master.sh
2019-02-25 15:21:31 -05:00
Bob Killen
f72ac1f5b7
Fix shellcheck lint errors in test/kubemark/master-log-dump.sh
2019-02-25 15:21:31 -05:00
Bob Killen
cb59cb33ff
Fix shellcheck lint errors in test/kubemark/iks/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
e3e2a96521
Fix shellcheck lint errors in test/kubemark/iks/startup.sh
2019-02-25 15:21:30 -05:00
Bob Killen
6310305d3b
Fix shellcheck lint errors in test/kubemark/iks/shutdown.sh
2019-02-25 15:21:30 -05:00
Bob Killen
186b83fe5b
Fix shellcheck lint errors in test/kubemark/gce/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
5f4b919887
Fix shellcheck lint errors in test/kubemark/common/util.sh
2019-02-25 15:21:29 -05:00
Zihong Zheng
08e406b3f1
[e2e] Add acceptableFailureRatio to service latencies test
2019-02-25 11:58:20 -08:00
Bob Killen
b538f18c0e
Add color-coding to kubemark scripts.
2019-02-25 14:53:40 -05:00
Kubernetes Prow Robot
a826e80ca7
Merge pull request #74096 from oomichi/cleanup-e2e-framework-ingress
...
Remove unused GetDefaultBackendNodePort()
2019-02-25 11:33:32 -08:00
Kubernetes Prow Robot
d0f79fcf73
Merge pull request #72440 from ajatprabha/issue_34059
...
annotate errors in apps/job e2e tests
2019-02-25 11:33:00 -08:00
Vy Ta
59987e7410
update bazel
2019-02-25 10:22:03 -08:00
Vy Ta
585426f85f
External connectivity test
2019-02-25 09:49:40 -08:00
danielqsj
6322025d5c
fix golint failures for test/e2e/upgrades
2019-02-25 16:36:26 +08:00
danielqsj
7c8498ab03
fix golint failures for test/e2e/upgrades/storage
2019-02-25 15:41:31 +08:00
danielqsj
8916ccabaf
fix golint failures for test/e2e/upgrades/apps
2019-02-25 13:32:15 +08:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
...
Test cmd what
2019-02-23 02:54:36 -08:00
Kubernetes Prow Robot
8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
...
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Kubernetes Prow Robot
686c4912e9
Merge pull request #73930 from ixdy/bazel-cgo-crossbuild
...
bazel: initial support for cross-compilation
2019-02-23 01:43:27 -08:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Kubernetes Prow Robot
1847c071cf
Merge pull request #74445 from msau42/fix-localssd-e2e
...
Fix localssd test panic
2019-02-22 23:27:53 -08:00
Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Thomas Runyon
d4df8879f3
call kube:test:clear_all during cleanup
2019-02-22 21:23:53 -05:00
Jeff Grafton
7a938eb541
Create work-around wrappers for pure attribute on go_binary and go_test
...
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -08:00
Kubernetes Prow Robot
ee95a1a349
Merge pull request #74293 from lubinsz/pr_ds
...
Fix conformance daemon_set test failing in local cluster
2019-02-22 17:58:33 -08:00
Michelle Au
6266c47972
Fix localssd test panic
2019-02-22 17:06:11 -08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
...
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Alexander Brand
d971597b59
DaemonSet e2e: Update image and rolling upgrade test timeout
...
Use Nginx as the DaemonSet image instead of the ServeHostname image.
This was changed because the ServeHostname has a sleep after terminating
which makes it incompatible with the DaemonSet Rolling Upgrade e2e test.
In addition, make the DaemonSet Rolling Upgrade e2e test timeout a
function of the number of nodes that make up the cluster. This is
required because the more nodes there are, the longer the time it will
take to complete a rolling upgrade.
Signed-off-by: Alexander Brand <alexbrand09@gmail.com>
2019-02-22 15:47:54 -05:00
Kubernetes Prow Robot
51554f0818
Merge pull request #74290 from johscheuer/fix-e2e-netpol-tests
...
Fix e2e network policy tests
2019-02-22 12:07:43 -08:00
Bobby (Babak) Salamat
59da8af4b4
update e2e tests to use scheduling V1 API
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
1dac6d03e3
generated files
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
453498fe2c
Graduate PriorityClass to GA
2019-02-22 10:51:13 -08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
Patrick Barker
9e4f8d6fae
Audit test utils fix ( #74276 )
...
* changes audit e2e event version scheme; adds internal audit to common audit scheme; removes unneeded comments
* add more detail to audit missing events in e2e/integration tests
* adds version priority to audit scheme; updates comment
2019-02-22 00:19:51 -08:00
qingsenLi
790601bb0a
remove some unused const in test/e2e_node
2019-02-22 12:02:31 +08:00
Bin Lu
ab165fc6e5
Fix conformance daemon_set test failing in local cluster
...
Fixing up conformance test related to:
1, ci-k8s-conformance-arm64-aws-cluster
https://storage.googleapis.com/k8s-conformance-arm/logs/ci-k8s-conformance-arm64-aws-cluster/84/build-log.txt
2, conformance test results for ppc64le
https://storage.googleapis.com/ppc64le-kubernetes/logs/ci-conformance-kubernetes/2809/build-log.txt
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-02-22 11:10:33 +08:00
Kubernetes Prow Robot
a07c73d098
Merge pull request #74371 from rajansandeep/testhealthcheck
...
Add health plugin for CoreDNS in the DNS tests
2019-02-21 16:27:43 -08:00
Vy Ta
5e06b93e0b
Add readonly volume tests for windows
2019-02-21 15:54:07 -08:00
Sandeep Rajan
0172019d7d
add health plugin in the DNS tests
2019-02-21 16:24:34 -05:00
Kenichi Omichi
5c3b0c1eef
Register openstack provider for e2e test
...
Since the commit f3d79e152e
openstack provider has been denied on e2e test runner.
However there are storage e2e tests which are related to
openstack. So this adds the registration of openstack
provider for e2e test.
2019-02-21 21:15:36 +00:00
Kubernetes Prow Robot
105c9c35f7
Merge pull request #74358 from Katharine/fix-bad-junit-xml
...
Turn off command echoing in test to avoid illegal bytes in XML
2019-02-21 12:27:17 -08:00
Kubernetes Prow Robot
4763720dc1
Merge pull request #74338 from BenTheElder/testcmdshellcheck
...
make test/cmd/delete.sh pass shellcheck
2019-02-21 12:26:57 -08:00
Kubernetes Prow Robot
aec0bfe611
Merge pull request #73922 from bclau/tests/adds-linuxonly-tag
...
tests: Adds [LinuxOnly] tag to conformance test
2019-02-21 10:42:56 -08:00
Katharine Berry
dd4f1c1990
Turn off command echoing to avoid illegal bytes in XML.
2019-02-21 09:30:41 -08:00
Kubernetes Prow Robot
ec1d83b82d
Merge pull request #74335 from cofyc/fix74229
...
Use same fsGroup for both pods
2019-02-21 09:22:01 -08:00
Thomas Runyon
f97170ea38
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-21 11:35:23 -05:00
Thomas Runyon
30c78c7e1c
Feedback from review
2019-02-21 06:15:13 -05:00
Kubernetes Prow Robot
7d75b73e1d
Merge pull request #74057 from liggitt/ingress-network-v1beta1
...
Ingress extensions/v1beta1 -> networking.k8s.io/v1beta1
2019-02-21 01:07:48 -08:00
Benjamin Elder
da859ae734
make test/cmd/delete.sh pass shellcheck
2019-02-21 00:45:37 -08:00
xichengliudui
a499d81fc6
fix shellcheck in test/image/...
...
update pull request
2019-02-21 03:11:55 -05:00
Kubernetes Prow Robot
54240ce5ba
Merge pull request #74330 from xichengliudui/fixshellcheck190221
...
Fixed a minor bug
2019-02-20 23:57:28 -08:00
Kubernetes Prow Robot
e24e944ce1
Merge pull request #74312 from oomichi/golint-e2e-framework-aws
...
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 23:56:36 -08:00
Yecheng Fu
5c67d55002
Use same fsGroup for both pods until we have a reliable way to detect
...
volumes are unmounted or not
2019-02-21 15:56:35 +08:00
xichengliudui
d251d089f2
Fixed a minor bug
2019-02-20 22:39:23 -05:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Jordan Liggitt
8c28d3f63c
Add networking.k8s.io/v1beta1 Ingress
2019-02-20 16:41:14 -05:00
Jordan Liggitt
47cb9559be
Move internal Ingress type from extensions to networking
2019-02-20 16:41:12 -05:00
Johannes M. Scheuermann
30098fd73f
Make use of nc for Linux and Windows compatibility
2019-02-20 22:23:13 +01:00
Hemant Kumar
abf8df7543
clean up duplication
2019-02-20 15:43:12 -05:00
Kubernetes Prow Robot
d60b7d6a64
Merge pull request #73866 from apelisse/add-ssa-tests
...
Add basic server-side apply test to test-cmd
2019-02-20 11:33:02 -08:00
Kenichi Omichi
36b80a4c61
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 19:11:53 +00:00
Kubernetes Prow Robot
21e3c15dfe
Merge pull request #72732 from sandeeppsunny/vsphere_volume_zone
...
Added e2e tests for multi-zone volume provisioning through VCP
2019-02-20 09:01:27 -08:00
Johannes M. Scheuermann
b515aa1d31
Use wget instead of curl for e2e network policy tests
2019-02-20 17:07:32 +01:00
Kubernetes Prow Robot
07cf5fa08e
Merge pull request #72434 from pohly/storage-volume-testsuites-config
...
e2e/storage: delay CreateDriver, simplify APIs and test definition
2019-02-20 05:37:45 -08:00
Kubernetes Prow Robot
b473d5c111
Merge pull request #73201 from YoubingLi/bugfix
...
Fixes #73077 - Allow to convert type across all version
2019-02-20 02:23:21 -08:00
Kubernetes Prow Robot
52353ed0c3
Merge pull request #74275 from ixdy/e2e-image-util-docker-manifest-expperimental
...
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 21:41:48 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
9e55995a31
Merge pull request #73989 from oomichi/golint-e2e-framework-metrics
...
Fix golint failures under test/e2e/framework/metrics
2019-02-19 16:23:48 -08:00
Jeff Grafton
ff1543e8d5
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 14:41:27 -08:00
Kubernetes Prow Robot
b67126e350
Merge pull request #74113 from oomichi/use-ExpectNoError-on-e2e-framework
...
Use framework.ExpectNoError() instead Expect()
2019-02-19 13:42:06 -08:00
Kubernetes Prow Robot
ee50d4784d
Merge pull request #74193 from xichengliudui/fixshellcheck19021802
...
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-19 09:56:07 -08:00
Kubernetes Prow Robot
e67562dc4c
Merge pull request #74143 from oomichi/issue/73771
...
Call getRandomClusterZone() only if necessary
2019-02-19 09:55:55 -08:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
...
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
Kubernetes Prow Robot
9ac5e49111
Merge pull request #73682 from selfmanagingresource/fixtest
...
Remove race condition with run-test
2019-02-19 07:21:38 -08:00
Sandeep Sunny
5b59c6e08c
Added e2e tests for multi-zone volume provisioning
2019-02-19 18:44:20 +05:30
xichengliudui
0b184d35a1
fixgo lint failures test/integration/...
...
update pull request
update pull request
add files
update pull request
2019-02-19 04:41:50 -05:00
Kubernetes Prow Robot
f35b7a365e
Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https
...
Fix websocket e2e tests for https endpoints
2019-02-18 22:45:33 -08:00
Kubernetes Prow Robot
aaf479f94a
Merge pull request #74013 from s-ito-ts/statefulsets_scale
...
Add e2e test for scale sub-resource of statefulsets
2019-02-18 20:16:36 -08:00
Kubernetes Prow Robot
0b01b9ce51
Merge pull request #72470 from danielqsj/kl
...
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
Kubernetes Prow Robot
f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
...
Windows networking tests
2019-02-18 06:24:24 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
Mikkel Oscar Lyderik Larsen
9f34d8bc79
Remove 'tlsConfig != nil' check
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Mikkel Oscar Lyderik Larsen
93abdb1205
Fix websocket e2e tests for https endpoints
...
When running e2e conformance tests against a public https protected
APIserver the websocket tests would fail because it fell back to using
`ws://` instead of `wss://` for the websocket connection.
This happened because the code detect if HTTPS is used only looks for
HTTPS related configuration in the kubeconfig, like a custom CA or
certificates.
The fix is to always use HTTPS when the apiserver URL has the scheme `https://`.
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
xichengliudui
641f883b82
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-18 01:16:39 -05:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
Davanum Srinivas
985a4201e9
Stop testing containerized kubelet in e2e-node
...
Change-Id: I2d948f9ff29a2c84358c39ac07627e7c1a8ee44d
2019-02-17 14:20:56 -05:00
Mehdy Bohlool
c14e7e2004
Add e2e test for multi-version CRD admission webhook patch bug
2019-02-16 00:46:57 -08:00
Kubernetes Prow Robot
07a5488b2a
Merge pull request #74141 from zetaab/fixtest
...
disable xfs localvolume test
2019-02-16 00:29:57 -08:00
Kubernetes Prow Robot
528cf14aa2
Merge pull request #74121 from truongnh1992/edit-owner-contact
...
Correct typecheck contact info
2019-02-15 22:59:48 -08:00
Kubernetes Prow Robot
95c3cbaf9f
Merge pull request #74094 from gnufied/fix-multizone-test-resizing
...
Use delayed binding for multizone tests
2019-02-15 20:35:51 -08:00
Nguyen Hai Truong
4c18fbcbb5
Correct owner's contact
...
@rmmh was no longer involved in the project anymore.
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-16 09:19:34 +07:00
Kubernetes Prow Robot
149d6f1115
Merge pull request #74117 from carlory/patch-1
...
fix typo
2019-02-15 18:02:58 -08:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
...
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
d5b890ea46
Merge pull request #72777 from bclau/tests/hardcoded-docker-image
...
Adds test which pulls dockerhub Windows image
2019-02-15 16:45:42 -08:00
Hemant Kumar
abb2fc656d
Use delayed binding for multizone tests
2019-02-15 15:57:21 -05:00
Kenichi Omichi
a01381a7d2
Call getRandomClusterZone() only if necessary
...
e2e test "[It] should provision storage with different parameters"
depends on cloud providers as gce/gke, aws, openstack, vsphere and
azure. If the other cloud providers like local, the test is skipped.
However getRandomClusterZone() was called before the above cloud
provider check, and if the zone label is not found the test was failed.
This makes the test call getRandomClusterZone() only if necessary
to avoid such unnecessary failures.
Fixes : #73771
2019-02-15 20:07:11 +00:00
Jesse Haka
c75b0bf8ca
disable xfs localvolume test
2019-02-15 21:31:25 +02:00
jennybuckley
8101b86ac4
Promote aggregator e2e test to conformance
2019-02-15 11:04:38 -08:00
Kenichi Omichi
2635b6d95c
Use framework.ExpectNoError() instead Expect()
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-02-15 16:52:57 +00:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
763042e938
Merge pull request #73939 from jiayingz/cuda10-test
...
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-15 05:28:00 -08:00
Patrick Ohly
ec3655a1d4
e2e/storage: re-initialize all local variables
...
There is a risk that the init function does not reset one of the local
variables that was set by a previous test. To avoid this, all
variables set by init are now in a struct which gets cleaned
completely first.
2019-02-15 11:03:28 +01:00
Patrick Ohly
e79cd9efe1
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2019-02-15 11:01:09 +01:00
Patrick Ohly
4643624084
e2e/storage: remove test pattern filtering
...
The recommended approach for not running unsuitable tests is to skip
them at runtime with an explanation. Filtering out unsuitable test
patters and thus not even defining unsuitable tests was done earlier
because it was faster than skipping tests at runtime.
But now these tests can be skipped efficiently, so this special case
can be removed.
2019-02-15 11:01:08 +01:00
Patrick Ohly
05cc31697f
e2e/storage: speed up skipping, simplify APIs and test definition
...
CreateDriver (now called SetupTest) is a potentially expensive
operation, depending on the driver. Creating and tearing down a
framework instance also takes time (measured at 6 seconds on a fast
machine) and produces quite a bit of log output.
Both can be avoided for tests that skip based on static
information (like for instance the current OS, vendor, driver and test
pattern) by making the test suite responsible for creating framework
and driver.
The lifecycle of the TestConfig instance was confusing because it was
stored inside the DriverInfo, a struct which conceptually is static,
while the TestConfig is dynamic. It is cleaner to separate the two,
even if that means that an additional pointer must be passed into some
functions. Now CreateDriver is responsible for initializing the
PerTestConfig that is to be used by the test.
To make this approach simpler to implement (= less functions which
need the pointer) and the tests easier to read, the entire setup and
test definition is now contained in a single function. This is how it
is normally done in Ginkgo. This is easier to read because one can see
at a glance where variables are set, instead of having to trace values
though two additional structs (TestResource and TestInput).
Because we are changing the API already, also other changes are made:
- some function prototypes get simplified
- the naming of functions is changed to match their purpose
(tests aren't executed by the test suite, they only get defined
for later execution)
- unused methods get removed (TestSuite.skipUnsupportedTest is redundant)
2019-02-15 11:01:05 +01:00
Youbing Li
0756781994
Fixes #73077 - Allow to convert type across all version
2019-02-15 04:03:35 -05:00
yeya24
a6527d2eb1
remove the redundant "the"
...
Here there are two "the" in the doc. Remove the redundant one.
2019-02-15 16:05:54 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Patrick Ohly
1cb121d2a9
e2e/storage: introduce TestVolume interface
...
This increases type safety and makes the code easier to read because
it becomes obvious that the "test resource" passed to some functions
must be the result of a previous CreateVolume.
This makes it possible to remove:
- functions that never did anything (the DeleteVolume methods in
drivers that never create a volume)
- type casts (in the DeleteVolume implementation)
- the unused DeleteVolume parameters
- the stand-alone DeleteVolume function (which would be just a non-nil
check)
GetPersistentVolumeSource and GetVolumeSource could also become
methods on more specific interfaces - they don't actually use anything
from TestDriver instance which provides them.
The main motivation however is to reduce the number of methods which
might need an explicit test config parameter.
2019-02-15 08:38:54 +01:00
帝俊
09519fde26
fix typo
2019-02-15 15:28:43 +08:00
Kubernetes Prow Robot
0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
...
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kenichi Omichi
680e83a811
Remove unused GetDefaultBackendNodePort()
...
Since the commit f5bb5234c1
the method has never been used. This just removes it for cleanup.
2019-02-14 22:44:54 +00:00
Kubernetes Prow Robot
1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
...
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Jose A. Rivera
a33acd2ba6
CSIDriverRegistry e2e: Use framework.Poll when waiting for PVC delete
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera
86c71472df
CSIDriverRegistry e2e: Wait for CSIDriver creation
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera
81bc0e5ec8
CRIDriverRegistry e2e: Clarify variable name
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:59:43 -06:00
Jose A. Rivera
1ac3b37848
CSIDriverRegistry e2e: Always clean up driver
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:56:17 -06:00
Kubernetes Prow Robot
d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
...
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Kubernetes Prow Robot
b13438ab24
Merge pull request #73928 from wongma7/protection-waitforfirstconsumer
...
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 21:50:17 -08:00
Kubernetes Prow Robot
2e287a0ac1
Merge pull request #73677 from jarrpa/csi-cluster-registrar
...
e2e: Use cluster-driver-registrar for CSIDriverRegistry tests
2019-02-13 17:31:33 -08:00
Kubernetes Prow Robot
888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
...
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
Kubernetes Prow Robot
508a4f7544
Merge pull request #74000 from caesarxuchao/json-patch-operations
...
Limit the number of operations in a single json patch to be 10,000
2019-02-13 16:12:12 -08:00
Kubernetes Prow Robot
f9af7e94a9
Merge pull request #73962 from wongma7/glusterfs-sc
...
Fix glusterfs e2e not using correct storageclass
2019-02-13 14:32:16 -08:00
Kubernetes Prow Robot
a5653dc01b
Merge pull request #73903 from smarterclayton/cluster_upgrade
...
Upgrade tests don't tolerate nodes with taints correctly
2019-02-13 14:32:05 -08:00
Jose A. Rivera
62f3211d76
Run hack/update-bazel.sh
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Jose A. Rivera
6115fc49a6
Use cluster-driver-registrar for CSIDriverRegistry tests
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Kubernetes Prow Robot
812016fa23
Merge pull request #73818 from gnufied/add-e2e-for-no-expand
...
add e2e test when expansion is disabled
2019-02-13 12:16:09 -08:00
Robert Krawitz
2597a1d97e
Implement SupportNodePidsLimit, hand-tested
2019-02-13 14:56:17 -05:00
Chao Xu
5e6fc5dce8
Limit the number of operations in a single json patch to be 10,000
2019-02-13 10:53:32 -08:00
Kenichi Omichi
89f6f1d0cc
Fix golint failures under e2e/framework/metrics
2019-02-13 18:07:16 +00:00
Kubernetes Prow Robot
1250237316
Merge pull request #73995 from humblec/fix-e2e
...
Use correct server url in dynamic provisioning tests
2019-02-13 09:45:15 -08:00
Matthew Wong
2f981fa4c1
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 12:41:45 -05:00
Hemant Kumar
7d823e5df0
also remove slow tag from resizing tests
2019-02-13 10:48:49 -05:00
Hemant Kumar
e3faa003a1
add e2e test when expansion is disabled
...
Also refactor some of the code that creates resizable SC
2019-02-13 10:48:49 -05:00
Humble Chirammal
a078ebf246
Set correct server uri on e2e dynamic provisioner
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-02-13 13:52:38 +05:30
s-ito-ts
b46cbc31cd
Add e2e test for scale sub-resource of statefulsets
2019-02-13 08:04:37 +00:00
Kubernetes Prow Robot
5442980dd9
Merge pull request #73900 from cofyc/fix-local-test
...
Wait for first pod to termiante in PV test
2019-02-12 20:01:57 -08:00
Kubernetes Prow Robot
461dccf246
Merge pull request #73898 from xiezongzhe/patch-5
...
fix typo
2019-02-12 20:01:47 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Kenichi Omichi
dbe669aeb1
Move PrintSample() to place which uses it
...
PrintSample() was used at metrics_util.go only, so this moves
the method to metrics_util.go and makes it local.
2019-02-13 01:32:53 +00:00
Kubernetes Prow Robot
5c780c8cb1
Merge pull request #73978 from oomichi/golint-e2e-framework-timer
...
Fix golint failures of test/e2e/framework/timer
2019-02-12 17:29:43 -08:00
Kubernetes Prow Robot
29403174fb
Merge pull request #73805 from caesarxuchao/resource-size-limit
...
Adding a limit on the size of request body the apiserver will decode for write operations
2019-02-12 15:10:57 -08:00
Kubernetes Prow Robot
72eb785f60
Merge pull request #73440 from yliaog/master
...
Fix resource quota e2e test
2019-02-12 15:10:47 -08:00
Chao Xu
1f2e2e61cf
generated
2019-02-12 15:04:57 -08:00
Kenichi Omichi
60ded1d54a
Fix golint failures of test/e2e/framework/timer
2019-02-12 21:01:39 +00:00
Kubernetes Prow Robot
ff504cd869
Merge pull request #73681 from kwiesmueller/feature-serverside-apply
...
strip selected fields from managedFields
2019-02-12 12:39:20 -08:00
Chao Xu
3f21ca029a
changing imports
2019-02-12 10:06:04 -08:00
Kubernetes Prow Robot
f968499812
Merge pull request #72002 from pohly/storage-volume-testsuites-concurrency
...
E2E storage: more tests for different pod/node combinations
2019-02-12 10:04:50 -08:00
Matthew Wong
6d73de1154
Fix glusterfs e2e not using correct storageclass
2019-02-12 11:31:29 -05:00
Patrick Ohly
ecc0c4e4b4
e2e/storage: enable concurrent writes for gcepd
...
The driver should support multiple pods using the same volume on the
same node.
2019-02-12 09:21:50 +01:00
Patrick Ohly
03d352f7aa
e2e/storage: test usage of volume in multiple pods at once
...
This is a special case that both kubelet and the volume driver should
support, because users might expect it. One Kubernetes mechanism to
deploy pods like this is via pod affinity.
However, strictly speaking the CSI spec does not allow this usage
mode (see https://github.com/container-storage-interface/spec/pull/150 ) and
there is an on-going debate to enable it (see
https://github.com/container-storage-interface/spec/issues/178 ). Therefore
this test gets skipped unless explicitly enabled for a driver.
CSI drivers which create a block device for a remote volume in
NodePublishVolume fail this test. They have to make the volume
available in NodeStageVolume and then in NodePublishVolume merely do a
bind mount (as for example in
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-pd-csi-driver/node.go#L150 ).
2019-02-12 09:21:50 +01:00
Patrick Ohly
ca42cf4993
e2e/storage: test provisioned volume on multiple nodes
...
Whether the read test after writing was done on the same node was
random for drivers that weren't locked onto a single node. Now it is
deterministic: it always happens on the same node.
The case with reading on another node is covered separately for test
configurations that support it (not locked onto a single node, more
than one node in the test cluster).
As before, the TestConfig.ClientNodeSelector is ignored by the
provisioning testsuite.
2019-02-12 09:21:50 +01:00
pontiyaraja
6d7a707320
Test case for shared volumes between the containers in pod
2019-02-12 12:26:43 +05:30
Kubernetes Prow Robot
34e523f188
Merge pull request #73860 from msau42/owners
...
add msau42 to approvers for volume e2es
2019-02-11 19:58:29 -08:00
Yecheng Fu
00a7fc3208
Wait for first pod to termiante in local pv test
...
local plugin will skip setting fsGroup if volume is mounted by other pods
2019-02-12 09:55:49 +08:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
...
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Jiaying Zhang
d66cd67377
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-11 15:45:53 -08:00
Kevin Wiesmüller
9082cac482
strip selected fields from managedFields
...
refactor fieldstrip and update tests
add checks and remove empty fields
shorten test and check for nil manager
fix gofmt
panic on nil manager
2019-02-11 23:10:57 +01:00
Jennifer Buckley
1a5e48e29d
Honor forceAllowCreate in service registry
2019-02-11 11:05:30 -08:00
Claudiu Belu
434090349d
tests: Adds [LinuxOnly] tag to conformance test
...
The test "should write entries to /etc/hosts" should have the [LinuxOnly] tag as
it cannot pass on Windows; individual files cannot be mounted in Windows Containers.
This test was missed in the original PR (https://github.com/kubernetes/kubernetes/pull/73204 )
2019-02-11 02:44:09 -08:00
zhoulin xie
f71bc19ca8
Fix fmt.Sprintf error message
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-11 16:43:20 +08:00
Clayton Coleman
a7dfbb99c4
updates: DaemonSet test should tolerate all taints
...
The test specifically includes all nodes, but doesn't actually ensure
the daemonset covers all nodes despite taints.
2019-02-10 23:53:57 -05:00
Clayton Coleman
3e0dd7f365
upgrade: ClusterUpgrade and MasterUpgrade are equivalent
...
Some tests were only checking for MasterUpgrade, but that is also
implied by ClusterUpgrade.
2019-02-10 23:51:27 -05:00
xiezongzhe
3cec62b3f5
fix typo
...
Is ->It in line 6
2019-02-11 11:38:25 +08:00
Kubernetes Prow Robot
b862590bfc
Merge pull request #73847 from wojtek-t/watch_metric
...
Add metric exposing amount of processed init events in watchcache
2019-02-10 03:47:35 -08:00
qingsenLi
012076d324
delete some unused const
2019-02-10 17:23:15 +08:00
Patrick Ohly
54d8f1648f
e2e/storage: improve PV checking
...
TestDynamicProvisioning had multiple ways of choosing additional
checks:
- the PvCheck callback
- the builtin write/read check controlled by a boolean
- the snapshot testing
Complicating matters further, that builtin write/read test had been
more customizable with new fields `NodeSelector` and
`ExpectUnschedulable` which were only set by one particular test (see
https://github.com/kubernetes/kubernetes/pull/70941 ).
That is confusing and will only get more confusing when adding more
checks in the future. Therefore the write/read check is now a separate
function that must be enabled explicitly by tests that want to run it.
The snapshot checking is also defined only for the snapshot test.
The test that expects unschedulable pods now also checks for that
particular situation itself. Instead of testing it with two pods (the
behavior from the write/read check) that both fail to start, only a
single unschedulable pod is created.
Because node name, node selector and the `ExpectUnschedulable` were
only used for checking, it is possible to simplify `StorageClassTest`
by removing all of these fields.
Expect(err).NotTo(HaveOccurred()) is an anti-pattern in Ginkgo testing
because a test failure doesn't explain what failed (see
https://github.com/kubernetes/kubernetes/issues/34059 ). We avoid it
now by making the check function itself responsible for checking
errors and including more information in those checks.
2019-02-09 14:20:17 +01:00
Patrick Ohly
5b8826b610
e2e/storage: use different names for test pods
...
When the provisioning test gets stuck, the log fills up with messages
about waiting for a certain pod to run. Now the pod names are
pvc-[volume-tester|snapshot]-[writer|reader] plus the random
number appended by Kubernetes. This makes it easier to see where the
test is stuck.
2019-02-09 14:20:17 +01:00
Patrick Ohly
e92bdd14cc
e2e/storage: remove unnecessary empty string checks
...
There is no need to check for empty strings, we can also directly
initialize structs with the value. The end result is the same when the
value is empty (empty string in the struct).
2019-02-09 14:20:17 +01:00
Patrick Ohly
315266b25e
e2e: refine snapshot test
...
This addresses the two remaining change requests from
https://github.com/kubernetes/kubernetes/pull/69036 :
- replace "csi-hostpath-v0" name check with capability
check (cleaner that way)
- add feature tag to "should create snapshot with defaults" because
that is an alpha feature
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2019-02-09 14:20:17 +01:00
Patrick Ohly
f8536e8e42
e2e: fix snapshot skip test
...
Even if snapshots are supported by the driver interface, the driver or
suite might still want to skip a particular test, so those checks
still need to be executed.
2019-02-09 14:19:37 +01:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Antoine Pelisse
308c981633
Add basic server-side apply test to test-cmd
2019-02-08 16:51:29 -08:00
Chao Xu
e90409d735
add integration test
2019-02-08 16:15:43 -08:00
Claudiu Belu
609b5c3010
tests: Adds docker hub Windows image test case
...
Adds the test "should be able to pull image from docker hub [WindowsOnly]",
which will pull a Windows busybox image from dockerhub. Since it is busybox,
the same command will also work for this image.
The busybox image is currently used in other E2E tests, so the image should
already be prepulled on the nodes. Additionally, the image has a manifest list
for Windows Server 1803 and Windows Server 2019, and future versions will be
added to it.
2019-02-08 15:25:56 -08:00
Kubernetes Prow Robot
8f7ccf8d4c
Merge pull request #69036 from wackxu/snapshottest
...
add e2e test for snapshot
2019-02-08 13:14:04 -08:00
Kubernetes Prow Robot
834c9a5e3d
Merge pull request #72491 from liggitt/delegated-auth-permissions
...
Ensure controller manager and scheduler can perform delegated auth checks
2019-02-08 11:53:52 -08:00
Yu Liao
fa6699dc4d
there could be existing resource quotas, count them first and check the
...
expected is the existing + 1
2019-02-08 11:35:56 -08:00
Michelle Au
ddc1a9c8c8
add msau42 to approvers for volume e2es
2019-02-08 11:34:02 -08:00
Kubernetes Prow Robot
54a578d3a1
Merge pull request #72012 from yeya24/patch-1
...
fix typos lable -> label
2019-02-08 10:36:05 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Jordan Liggitt
4212a9a05a
Ensure controller manager and scheduler can perform delegated auth checks
2019-02-08 11:15:52 -05:00
wojtekt
0a0835e92d
Add metric exposing amount of processed init events in watchcache
2019-02-08 13:03:33 +01:00
Kubernetes Prow Robot
a7966022d7
Merge pull request #73714 from tallclair/debian-base
...
Bump debian-* base image versions to latest
2019-02-07 19:44:44 -08:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Jiaying Zhang
8408188cdf
Update CudaVectorAdd test image to be built with Cuda10 docker image.
...
The previous version of CudaVectorAdd test image can still be used
in our testing. A later change will extend the existing gpu e2e tests
to run pods with two containers. One with CudaVectorAdd version1 and
the other with CudaVectorAdd version2 so that we can test both
Cuda versions.
2019-02-07 13:29:48 -08:00
Kubernetes Prow Robot
713eaf450f
Merge pull request #73511 from vikaschoudhary16/image-only
...
Add image for sample-device-plugin
2019-02-07 04:59:11 -08:00
vikaschoudhary16
0ec6bdd2b5
Add image for sample-device-plugin
2019-02-07 11:28:28 +05:30
Claudiu Belu
00e2582c67
Adds Windows-related Networking tests
...
Creating pods with HostNetwork is not currently supported on
Windows Kubelet, and thus, ones without HostNetwork are created instead.
2019-02-06 15:58:18 -08:00
Claudiu Belu
cb9c594f98
tests: Separates DNS hosts entries test
...
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for the cluster" test to fail.
This test separates the hosts entries checks from the mentioned test to a new test.
2019-02-06 15:41:57 -08:00
Kubernetes Prow Robot
3dedf4b7f6
Merge pull request #73525 from cofyc/fix71237-intree
...
Implement localDriver with various local volume types
2019-02-06 10:44:37 -08:00
Kubernetes Prow Robot
ae45068688
Merge pull request #72323 from danielqsj/dockershim
...
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Thomas Runyon
6770fa7ba5
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-06 12:28:52 -05:00
Kubernetes Prow Robot
fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
...
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
Yecheng Fu
aa87e4b57c
Implement localDriver
2019-02-06 12:28:28 +08:00
Thomas Runyon
4fc5be8d5a
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-05 19:23:21 -05:00
Kubernetes Prow Robot
9384e93dc1
Merge pull request #73749 from wongma7/subpath-init-write-multiple
...
Fix multiple subpaths e2e: read/write in same container
2019-02-05 13:57:02 -08:00
Kubernetes Prow Robot
3f933ec7c4
Merge pull request #72407 from aespejel/fix_resource_consumer_metrics_endpoint
...
Fixed /metrics endpoint for resource consumer
2019-02-05 12:08:49 -08:00
Kubernetes Prow Robot
fdfc3b86d8
Merge pull request #73258 from Betula-L/master
...
fix test config pod spec affinity mishandling
2019-02-05 10:48:59 -08:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
David Eads
66b1f5ba67
add --all-namespaces to
2019-02-05 13:37:14 -05:00
Matthew Wong
613d8bb8ea
Fix multiple subpaths e2e: read/write in same container
2019-02-05 10:55:27 -05:00
Kubernetes Prow Robot
ffec91179d
Merge pull request #70156 from nagiesek/fix_pqdn_tests
...
Removes PQDNs from conformance tests and places them in their own tests
2019-02-05 06:47:28 -08:00
Kubernetes Prow Robot
e91e032de2
Merge pull request #73522 from tnozicka/e2e-add-exec-debug
...
Enhance debuggability of e2e tests using exec command
2019-02-05 03:18:31 -08:00
Alfredo Espejel
688e1d1053
Fixed resource consumer to expose /metrics instead of /Metrics
2019-02-05 10:15:42 +01:00
Kubernetes Prow Robot
641b2adcd3
Merge pull request #73318 from wongma7/subpath-init-write
...
Do writes in init container before trying reads
2019-02-04 18:28:14 -08:00
Kubernetes Prow Robot
2a5a41a08b
Merge pull request #72947 from apelisse/wip-feature-serverside-apply-merge
...
Merge feature-serverside-apply back in master
2019-02-04 18:28:03 -08:00
Kubernetes Prow Robot
6a149864fb
Merge pull request #73285 from tallclair/typed-runtimeclass
...
Migrate RuntimeClass support to the generated typed client
2019-02-04 16:13:30 -08:00
jennybuckley
6b2e4682fe
Minor fixes
2019-02-04 13:51:49 -08:00
Antoine Pelisse
b55417f429
Plugin FieldManager in CRD handler, change to API
2019-02-04 13:51:49 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
732cb10019
Merge pull request #73402 from pohly/e2e-vendor-parameter
...
e2e: reject unknown providers
2019-02-04 12:59:06 -08:00
Tim Allclair
1b9d0c1094
Bump debian-* base image versions to latest
2019-02-04 11:58:51 -08:00
Chris Sosa
06fe60af5b
Remove race condition with run-test
...
This change modifies kubectl run e2e test to remove a race condition
where kubectl run might complete before we can scrape the logs off via
attach.
Tested via running the e2e tests a few times on gce via kubetest.
2019-02-04 11:47:20 -08:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
...
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
Kubernetes Prow Robot
1a0a841abe
Merge pull request #73204 from bclau/tests/adds-linuxonly-tag
...
Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
2019-02-04 09:36:09 -08:00
Kubernetes Prow Robot
6ed54138ee
Merge pull request #73175 from soltysh/fix_jobttl
...
Report proper namespace in TTLAfterFinished test
2019-02-04 09:35:58 -08:00
Kubernetes Prow Robot
d61aab2063
Merge pull request #72594 from pbarker/audit-proxy
...
audit-proxy image for dynamic audit e2e test
2019-02-04 09:35:46 -08:00
Kubernetes Prow Robot
b4a02c359b
Merge pull request #71746 from rctl/rctl-wait-all
...
Add support for waiting by label selector or on all resources
2019-02-04 06:21:00 -08:00
Kubernetes Prow Robot
d5a1ebbd33
Merge pull request #73634 from JoeWrightss/patch-2
...
Fix some typos in comment
2019-02-04 05:09:47 -08:00
Kubernetes Prow Robot
c5da2c559f
Merge pull request #73270 from mm4tt/dump_systemd_journal
...
Allow dumping full systemd journal in log-dump.sh.
2019-02-04 00:30:13 -08:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot
0bd35d1b68
Merge pull request #73448 from AdamDang/patch-21
...
Fix some error in returned message
2019-02-03 18:20:51 -08:00
Matt Matejczyk
35543f8989
Allow dumping full systemd journal in log-dump.sh.
...
The feature is gated behind a newly introduced 'dump-systemd-journal' flag.
We want to dump the full systemd journal in our scalability performance tests.
2019-02-03 21:28:37 +01:00
Thomas Runyon
b52aff72c8
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-02 20:42:26 -05:00
Rasmus Jönsson
4c31e9855d
Add support for waiting by label selector or on all resources
...
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Kubernetes Prow Robot
9f872d0b85
Merge pull request #73486 from dashpole/fix_ubuntu_eviction
...
Fix node e2e localstorage eviction tests
2019-02-01 17:14:26 -08:00
Kubernetes Prow Robot
4331660fcd
Merge pull request #73445 from danielqsj/fix-exec
...
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-02-01 17:14:15 -08:00
Kubernetes Prow Robot
aee11a844c
Merge pull request #73596 from liggitt/deprecated-tests
...
Stop using beta apps versions
2019-02-01 16:02:08 -08:00
Kubernetes Prow Robot
153bc23365
Merge pull request #73403 from hello2mao/reduce-hard-code
...
Reduce hard code to avoid more mistakes
2019-02-01 14:32:14 -08:00
Nathan Gieseker
689db1b4cb
removes incorrect dns name to resolve in dns test
2019-02-01 13:35:33 -08:00
Claudiu Belu
5daa08878f
Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
...
Some of the tests cannot pass using Windows nodes due to various reasons:
- seLinuxOptions are not supported on Windows.
- Running as an UID / GID is not supported on Windows.
- file permissions work differently on Windows, and they cannot be set in
the same manner as on Linux.
- individual files cannot be mounted in Windows Containers.
- Cannot create container using Linux image (e.g.: alpine) on Windows.
Because of this, it has been decided to use the "[LinuxOnly]" tag for the
tests which cannot run on Windows because of the mentioned reasons. This way,
when running tests using Windows nodes, those tests can simply be skipped by
adding the "[LinuxOnly]" tag to the ginkgo.skip argument.
2019-02-01 11:42:42 -08:00
Thomas Runyon
8772e26315
Fixed variable check for new WHAT command
2019-02-01 13:53:23 -05:00
Thomas Runyon
31aac97a85
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-01 11:40:18 -05:00
Kubernetes Prow Robot
2e01637f86
Merge pull request #69504 from krmayankk/refactor-sched1
...
Move informer event handlers to scheduler
2019-02-01 06:31:39 -08:00
zhoulin xie
777174080b
Fix some typos in comment
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-01 21:11:55 +08:00
xushiwei
7280fcef5c
address reviewer comments
2019-02-01 16:34:16 +08:00
Jordan Liggitt
f100a762bc
Stop using apps/v1beta1 in tests
2019-01-31 10:12:38 -05:00
Patrick Ohly
7b5e65977c
e2e: "skeleton" as fallback, empty string as default
...
Not accepting --provider= (i.e. setting an empty provider name) broke
some test jobs. As suggested in
https://github.com/kubernetes/kubernetes/pull/73402#issuecomment-459368230 ,
now --provider= and not passing --provider at all both trigger a
message and then continue as if --provider=skeleton had been used.
2019-01-31 15:54:48 +01:00
Daniel (Shijun) Qian
e72b32558c
Merge branch 'master' into keymutex
2019-01-31 20:50:57 +08:00
Kubernetes Prow Robot
fb96afb194
Merge pull request #73482 from liggitt/cross-group-watch
...
Always select the in-memory group/version as a target when decoding from storage
2019-01-30 17:50:06 -08:00
Chao Xu
bed7696876
generated BUILD files
2019-01-30 13:28:48 -08:00
Chao Xu
98a1003f57
Remove unnecessary group storage version defaults. The storage version
...
is either decided by the schema's version priority, or by the per
resource override.
This fixes a bug where the "batch" group is encoded in v1beta1, which
was hidden when --storage-versions is a valid flag.
2019-01-30 13:28:48 -08:00
Kubernetes Prow Robot
9f673c8129
Merge pull request #72728 from phoenixking25/e2e/annotate_errors
...
annotate errors in e2e tests
2019-01-30 11:53:48 -08:00
Kubernetes Prow Robot
f66805ef5e
Merge pull request #63600 from bclau/remove-hardcoded-yaml-images
...
tests: Removed hardcoded images from yaml files
2019-01-30 11:53:37 -08:00
Jordan Liggitt
131dad6ee1
Always select the in-memory group/version as a target when decoding from storage
2019-01-30 13:58:37 -05:00
xushiwei
3410d435ed
add snapshot e2e
2019-01-30 19:04:45 +08:00
Tomas Nozicka
cfcac1737b
Enhance debuggability of e2e tests using exec command
2019-01-30 11:46:30 +01:00
Krzysztof Siedlecki
aa93e2bb94
reverting test to apiserver_request_latencies_summary metric
2019-01-30 10:36:32 +01:00
Kubernetes Prow Robot
233f3e7b94
Merge pull request #73500 from shyamjvs/tls-config-fix-scale-tests
...
Fix TLS config in load test clients
2019-01-29 19:38:51 -08:00
Kubernetes Prow Robot
be33917744
Merge pull request #73194 from danielqsj/zkimage
...
Add missing dependency to zookeeper-install
2019-01-29 19:38:19 -08:00
danielqsj
6535689680
clean pkg/util/strings
2019-01-30 10:24:00 +08:00
danielqsj
df7e4f3d49
clean pkg/util/keymutex
2019-01-30 10:23:59 +08:00
Mayank Kumar
e0a7d96632
Move informer event handlers to Scheduler
2019-01-29 17:53:20 -08:00
hello2mao
7371c40abe
update the BUILD file
2019-01-30 09:45:06 +08:00
Shyam Jeedigunta
6cd03ab8ae
Fix TLS config in load test clients
2019-01-29 16:24:53 -08:00
Patrick Barker
451261f8c2
returns 500 on error; updates header dates for audit proxy
2019-01-29 13:34:42 -07:00
David Ashpole
6d07624ae3
fix node e2e localstorage eviction tests
2019-01-29 11:02:48 -08:00
Patrick Ohly
dde3445a45
e2e: change default for --provider
...
The empty string was the default and then triggered a special
warning. There's no good reason for that behavior, so now the special
handling for "unset provider" is gone and "skeleton" is the non-empty
default for the value.
2019-01-29 19:50:40 +01:00
Kubernetes Prow Robot
819dcaaa17
Merge pull request #73446 from cofyc/fix73419
...
Fix local pv stress tests
2019-01-29 10:12:17 -08:00
Kubernetes Prow Robot
d66db4a585
Merge pull request #72918 from bclau/tests/windows-cmd-fix
...
tests: Makes UDP testing command more Windows friendly
2019-01-29 05:15:37 -08:00
globervinodhn
a2078bd4af
Promote empty-key ConfigMap e2e to Conformance
2019-01-29 15:41:27 +05:30
Kubernetes Prow Robot
5262dba064
Merge pull request #73198 from mourya007/library
...
Re-Organize the pkutil library
2019-01-29 01:20:42 -08:00
Kubernetes Prow Robot
44d1859205
Merge pull request #72730 from liggitt/eviction-graceful-deletion
...
Make pod eviction trigger graceful deletion to match deletion via API
2019-01-28 21:51:53 -08:00
Kubernetes Prow Robot
efbaad5e58
Merge pull request #72561 from vllry/e2e-test-no-endpoints
...
Add e2e test for services with no endpoints
2019-01-28 21:51:42 -08:00
Kubernetes Prow Robot
b6701153b5
Merge pull request #70823 from mkimuram/issue/70822
...
Fix volumes e2e test to check fsType
2019-01-28 21:51:31 -08:00
Kubernetes Prow Robot
c0e80056d1
Merge pull request #73196 from mkumatag/fix_node
...
increase the memory limits to max
2019-01-28 20:11:57 -08:00
Kubernetes Prow Robot
22080f9f47
Merge pull request #72967 from wgliang/bugfix/scheduler_perf-fail
...
fix scheduler_perf integration test fails
2019-01-28 20:11:42 -08:00
AdamDang
f870382587
Fix some error in returned message
...
Fix some error in returned message:
a interval -> an interval
to small -> too small
2019-01-29 12:09:37 +08:00
Yecheng Fu
1660a0d260
Fix bug
2019-01-29 11:42:18 +08:00
danielqsj
c7a012f033
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-01-29 10:55:10 +08:00
Thomas Runyon
b308c53d6d
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-01-28 20:49:31 -05:00
Matthew Wong
9f5a799213
Do writes in init container before trying reads
2019-01-28 15:42:14 -05:00
Patrick Ohly
f3d79e152e
e2e: reject unknown providers
...
This finishes the work started for 1.13: instead of merely warning
about an unknown value given to --profile, the test/e2e/e2e.test
binary will now print an error and refuse to run.
Fixes : #70200
2019-01-28 19:55:45 +01:00
hello2mao
38b86fd97e
reduce hard code to avoid more mistakes
2019-01-28 21:55:09 +08:00
danielqsj
44eb1fb864
bump zookeeper-installer image version in e2e
2019-01-28 09:56:17 +08:00
Eric Paris
384da53441
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
2019-01-26 17:12:50 -05:00
Vallery Lancey
21cccbb863
Variable & timeout cleanup in no-endpoints e2e test
2019-01-26 10:15:13 -08:00
Kubernetes Prow Robot
8bce3620b0
Merge pull request #72690 from Katharine/no-conformance-skips
...
Never skip multi-node conformance tests (instead just fail).
2019-01-26 07:30:13 -08:00
Thomas Runyon
eecd88b450
fixed merge
2019-01-26 09:06:40 -05:00
Thomas Runyon
1a821ff5cf
Merge remote-tracking branch 'upstream/master' into test-cmd-what
...
Conflicts:
test/cmd/legacy-script.sh
2019-01-26 07:40:33 -05:00
Kubernetes Prow Robot
b5f2147a5a
Merge pull request #73193 from shyamjvs/avoid-master-ssh
...
Avoid master ssh in eks
2019-01-26 02:51:49 -08:00
mourya007
7c37e91a6d
Re-Organize the pkutil library
2019-01-26 14:56:36 +05:30
Kubernetes Prow Robot
c6d0cdf309
Merge pull request #72694 from liggitt/integration-api-versions
...
Use apps/v1 APIs in integration, explicitly enable all resources for print/etcd/scale tests
2019-01-26 00:35:43 -08:00
Kubernetes Prow Robot
e1605310a5
Merge pull request #72902 from andrewsykim/72649
...
E2E test for node deleted in cloud provider
2019-01-25 22:31:16 -08:00
Jordan Liggitt
cdfb5d3170
Make pod eviction trigger graceful deletion to match deletion via API
2019-01-25 23:35:49 -05:00
Kubernetes Prow Robot
54015767a5
Merge pull request #73326 from ixdy/k8s-master-go1.11.5
...
Update to go1.11.5
2019-01-25 19:44:10 -08:00
andrewsykim
596c6fbf03
e2e test for node deleted in cloud provider
2019-01-25 17:45:18 -05:00
Jeff Grafton
e273db831c
Update to go1.11.5
2019-01-25 11:38:58 -08:00
Jordan Liggitt
89b0b0b84b
Clean up initializer-related comments, test data
2019-01-25 12:37:45 -05:00