Commit Graph

14364 Commits

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