Commit Graph

14364 Commits

Author SHA1 Message Date
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
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