Commit Graph

12097 Commits (88c4b644005c5f674e9d03abae7e1cccda4fd23e)

Author SHA1 Message Date
k8s-ci-robot 39c8219999
Merge pull request #71158 from liggitt/revert-openapi-publish
Revert openapi publish
2018-11-16 18:22:43 -08:00
Renaud Gaubert 1a3fbf1f13 Update e2e tests to include CSI 2018-11-17 01:52:57 +01:00
k8s-ci-robot b6bbb01f04
Merge pull request #71058 from verult/nodeinfomanager-retry
Augmenting API call retry in nodeinfomanager; Revert #70891
2018-11-16 16:31:40 -08:00
k8s-ci-robot 1e22f080ec
Merge pull request #67383 from stlaz/enc_config_promotion
Introduce apiserver.config.k8s.io/v1 and use standard method for parsing encryption config file
2018-11-16 16:31:30 -08:00
Mike Danese effad15ecc patch webhook authenticator to support token review with arbitrary audiences 2018-11-16 19:30:42 -05:00
k8s-ci-robot 859ab7450d
Merge pull request #71146 from davidz627/fix/csiPath
Simplify GCE PD CSI Socket path
2018-11-16 15:17:12 -08:00
Jordan Liggitt 8799eb4e2e Revert "Merge pull request #67205 from roycaihw/crd-openapi-spec"
This reverts commit 54ee58b2d6, reversing
changes made to 9e2820e4c9.
2018-11-16 16:36:24 -05:00
Cheng Xing b275ebb5a8 Revert "Make csi alpha failing test skip"
This reverts commit f98b87cac1.
2018-11-16 13:00:58 -08:00
David Zhu 5c0948c9f1 Simplify GCE PD CSI Socket path 2018-11-16 12:00:27 -08:00
Matthew Wong bee759b925 Add volume mode downgrade test: should not mount/map in <1.13 2018-11-16 13:38:59 -05:00
Matthew Wong 0c671b1211 Remove [Feature:BlockVolume] everywhere 2018-11-16 13:38:59 -05:00
David Eads 9b31985b08 fix client-side specification of timeout now that it is honored 2018-11-16 11:43:37 -05:00
k8s-ci-robot c9a31e490f
Merge pull request #71048 from m1kola/e2e_portforward_log_polling
Fixes flaky tests for kubectl port-forward
2018-11-16 05:13:00 -08:00
k8s-ci-robot 54ee58b2d6
Merge pull request #67205 from roycaihw/crd-openapi-spec
Serve OpenAPI spec for registered CRDs
2018-11-16 05:12:41 -08:00
k8s-ci-robot 1a54fd4319
Merge pull request #71021 from liggitt/node-self-deletion
Remove self-deletion permissions from kubelets
2018-11-16 01:53:31 -08:00
k8s-ci-robot 6fc60428a7
Merge pull request #71020 from saad-ali/updateCSI10
Bump CSI Spec to 1.0.0 and gRPC to 1.13.0
2018-11-16 01:53:21 -08:00
Daniel Kłobuszewski 7a10f4eda7 Add option to k8s apiserver to reject incoming requests upon audit failure 2018-11-16 10:32:49 +01:00
saad-ali 503f654d7a Update CSI tests to point to 1.0.0 external bits. 2018-11-15 20:01:50 -08:00
Haowei Cai 4625bf7dad add basic e2e test and integration for CRD openapi 2018-11-15 16:39:49 -08:00
saad-ali 9d4810f25a Bump grpc from 1.7.5 to 1.13.0 2018-11-15 16:39:42 -08:00
k8s-ci-robot 90245bec24
Merge pull request #70987 from pohly/storage-volume-testsuites-names
e2e/storage: distinct test names for provisioning
2018-11-15 15:00:21 -08:00
k8s-ci-robot e4ee887121
Merge pull request #69303 from appian/host_aliases_on_same_line
Write HostAliases aliases on same line per host IP
2018-11-15 14:59:52 -08:00
Mikalai Radchuk 9cc47e3ba3 Fixes flaky tests for kubectl port-forward 2018-11-15 20:07:00 +00:00
David Ashpole 630cb53f82 add kubelet grpc server for pod-resources service 2018-11-15 09:43:20 -08:00
k8s-ci-robot 076adbf4a2
Merge pull request #71075 from jsafrane/csi-skip-attach-tag
Rename tag for CSI skip attach tests
2018-11-15 08:37:08 -08:00
Jan Safranek 6fee3688a0 Rename tag for CSI skip attach tests
So it has the same name as alpha feature
2018-11-15 15:42:00 +01:00
k8s-ci-robot db680631df
Merge pull request #71030 from wojtek-t/fix_density_test
Fix density test
2018-11-15 03:54:45 -08:00
k8s-ci-robot b1a52a38e9
Merge pull request #67257 from pbarker/audit
dynamic audit configuration
2018-11-15 02:42:59 -08:00
k8s-ci-robot 5b76030760
Merge pull request #71039 from mkimuram/issue/70760hostpath
Fix CreateSecPodWithNodeName to properly set node to be deployed
2018-11-14 23:19:57 -08:00
k8s-ci-robot 726c07eb26
Merge pull request #69929 from jsafrane/csi-ga
Promote CSIPersistentVolume feature to GA
2018-11-14 20:34:58 -08:00
Patrick Barker eb89d3dddd adds dynamic audit configuration 2018-11-14 17:54:06 -07:00
k8s-ci-robot 33576d4154
Merge pull request #70299 from pontiyaraja/69911
added non-optional and empty key test cases for secret and configMap
2018-11-14 15:39:36 -08:00
k8s-ci-robot 9c304cf0cb
Merge pull request #70157 from mikedanese/trev1
retrofit svcacct token authenticator to support audience validation
2018-11-14 13:16:44 -08:00
Patrick Ohly 7efad66ae8 e2e/storage: distinct test names for provisioning
A test name should not be the subset of another, because then it is
impossible to focus on it.

In this case, -ginkgo.focus=should.provision.storage ran both "should
provision storage" and "should provision storage with mount options"
without the ability to select just the former.
2018-11-14 19:37:58 +01:00
John Schnake 266080e18d Make SSH path handling consistent across providers during e2e
There were providers which would:
 - allow overrides of the file base name but not the path
 - allow oeverrides of the file path
 - not allow any overrides at all

This change makes it such that each of the supported providers
can override the SSH key location using an env var. The env
var itself may vary based on the provider though.

If given an absolute path to the key, it is used. If given
a relative path it will be made relative to ~/.ssh

Fixes: #68747
2018-11-14 11:52:58 -06:00
Masaki Kimura 6a94656d0e Fix CreateSecPodWithNodeName to properly set node to be deployed 2018-11-14 16:10:14 +00:00
k8s-ci-robot cbcd6bf444
Merge pull request #70989 from pohly/storage-volume-testsuites-fmt
e2e/storage: avoid fmt.Sprintf for single string
2018-11-14 08:08:03 -08:00
Jan Safranek e95b188656 Generated files 2018-11-14 14:01:16 +01:00
k8s-ci-robot 5ac8be2792
Merge pull request #71015 from msau42/remove-serial
Remove serial from gcepd-external tests
2018-11-14 03:39:34 -08:00
k8s-ci-robot 47e0a6a900
Merge pull request #70474 from k-toyoda-pi/myfeature
fix typos in test/e2e/kubectl/kubectl.go
2018-11-14 03:39:24 -08:00
wojtekt 68bae382b1 Fix density test 2018-11-14 10:17:40 +01:00
k8s-ci-robot 3e6d414b55
Merge pull request #70967 from mikedanese/fixtropts
Fix broken defaulting and validation in TokenRequest enablement
2018-11-13 22:03:42 -08:00
Jordan Liggitt 8d7cc39031 Remove self-deletion permissions from kubelets 2018-11-14 00:42:06 -05:00
Mike Danese 67bbf753cb retrofit svcacct token authenticator to support audience validation 2018-11-13 20:38:41 -08:00
k8s-ci-robot 4c4a76557d
Merge pull request #70956 from apelisse/add-diff-test
Add test for CRD server-dry-run and fix bug
2018-11-13 19:45:53 -08:00
k8s-ci-robot 54243e1921
Merge pull request #69344 from zegl/improve-kubectl-apply-prune-output
Fix dry-run output in kubectl apply --prune
2018-11-13 19:45:34 -08:00
toyoda b5fe04dae5 fix typos in test/e2e/kubectl/kubectl.go 2018-11-14 10:39:02 +09:00
Mike Danese 06935e1c90 split TokenRequest initialization out of run and into complete and validate 2018-11-13 17:27:13 -08:00
Michelle Au 63068be7ef Remove serial from gcepd-external tests 2018-11-13 16:42:57 -08:00
k8s-ci-robot d00cb23c8d
Merge pull request #71006 from liggitt/kubectl-run-apps-v1
update kubectl run to generate apps/v1 deployments
2018-11-13 16:14:23 -08:00
k8s-ci-robot 89698c5866
Merge pull request #71003 from bsalamat/int-tests
Disable equivalence cache by default in the scheduler integration tests
2018-11-13 16:14:14 -08:00
k8s-ci-robot 7050a84753
Merge pull request #70789 from seunghunee/roundtrip-bugfix
Fix e2e conformance test error
2018-11-13 13:45:22 -08:00
Jordan Liggitt 03f26e4612 update kubectl run to generate apps/v1 deployments 2018-11-13 14:39:25 -05:00
Bobby (Babak) Salamat 1b8e1d9ed8 Disable equivalence cache by default in the scheduler integration tests 2018-11-13 11:23:19 -08:00
Stanislav Laznicka 628d1fef37
autogen files 2018-11-13 18:06:12 +01:00
Slava Semushin c21cb548e6
Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file.
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-13 14:05:21 +01:00
Patrick Ohly 89193ac0fd e2e/storage: avoid fmt.Sprintf for single string
The fmt.Sprintf call is either redundant (if the format string
contains no format characters) or broken (if it does, because there
are no parameters).
2018-11-13 10:43:19 +01:00
pontiyaraja 6b9db24ed0 added non-optional and empty key test cases for secret and configMap 2018-11-13 13:08:02 +05:30
Eric Walker d8390c4845 Remove test/images/* from hack/.golint_failures 2018-11-12 20:51:41 -07:00
Antoine Pelisse d3d4d268ac Add test for CRD server-dry-run and fix bug
Add a new test to make sure we can server-dry-run CRDs and also fix a
typo now that we have a test, we could notice that it doesn't work.
2018-11-12 11:06:27 -08:00
k8s-ci-robot 0ca67bde54
Merge pull request #70362 from ddebroy/ddebroy-multi-pvc
Add multi PVC versions of e2e tests for WaitForFirstConsumer
2018-11-12 03:14:39 -08:00
Clayton Coleman 68090bf078
e2e: Show the caller's stack for Skipf() instead of the local one
Ginkgo expects the caller to pass the appropriate skip, which we do
not do. Slightly improve call site messages by eliding the util.go
stack frame. Also drop the timestamp from skip messages since skip
is almost always called to check for global conditions, not temporal
ones.
2018-11-12 00:26:51 -05:00
Bill Warshaw ab507dfc1f Write HostAliases aliases on same line per host IP
* change HostAliases to put all aliases for an IP
  on the same line in /etc/hosts rather than writing
  one line per IP-alias pair
* having multiple entries in /etc/hosts for the same IP
  causes issues with DNS resolution for some software
* https://unix.stackexchange.com/questions/102660/hosts-file-is-it-incorrect-to-have-the-same-ip-address-on-multiple-lines
2018-11-11 20:54:52 -05:00
Gustav Westling 37c253aba1 Fix the TestRunApplyPrintsValidObjectList test
The fake webclient should return one ConfigMap per request, not the whole ConfigMapList

Also added additional tests to the output
2018-11-11 15:19:29 +01:00
Davanum Srinivas e558e291d1
s/glog/klog/ - keep up with master
Change-Id: I27ff0545bc456ed8c0900cfeb90555f9ab7ae235
2018-11-10 07:57:01 -05:00
Davanum Srinivas 954996e231
Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot 97baad34a7
Merge pull request #67006 from mbohlool/crd_webhook_conversion
CRD webhook conversion
2018-11-10 02:33:51 -08:00
k8s-ci-robot 344b42f0a4
Merge pull request #70891 from mkimuram/issue/70760
Make csi alpha failing test skip
2018-11-10 00:14:31 -08:00
k8s-ci-robot be71fbe511
Merge pull request #70034 from wangzhen127/cleanup-node-lease
Delete node lease if the corresponding node is deleted
2018-11-09 23:01:05 -08:00
k8s-ci-robot 0320fd4d9f
Merge pull request #70869 from aniket-s-kulkarni/flexvolume-resize-implementation
fix for test failure #70774
2018-11-09 16:23:04 -08:00
k8s-ci-robot 94bc005fb1
Merge pull request #70830 from mtaufen/dkcfg-fix
Don't compare interface values in dynamic config controller
2018-11-09 16:22:46 -08:00
Mehdy Bohlool d51d0164c5 Update generated files 2018-11-09 15:57:35 -08:00
Mehdy Bohlool e2ca575d0f CRD Conversion 2018-11-09 15:57:35 -08:00
Mehdy Bohlool ea54a0c504 E2E Test 2018-11-09 12:50:22 -08:00
Mehdy Bohlool 8235e389fb Example webhook implementation (used in E2E test) 2018-11-09 12:50:21 -08:00
Masaki Kimura f98b87cac1 Make csi alpha failing test skip
Fixes: #70760
2018-11-09 20:42:55 +00:00
Deep Debroy 923df464fb Add multi PVC versions of tests for delayed binding
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-11-09 12:17:31 -08:00
Michael Taufen 1089cb629f Don't compare interface values in dynamic config controller
This previously caused a panic when moving lastKnownGood between two
non-nil values, because we were comparing the interface wrapper instead
of comparing the NodeConfigSources. The case of moving from one non-nil
lastKnownGood config to another doesn't appear to be tested by the e2e
node tests. I added a unit test and an e2e node test to help catch bugs
with this case in the future.
2018-11-09 10:45:12 -08:00
k8s-ci-robot 06e737367d
Merge pull request #69589 from oomichi/issue/69588
Add the existence check of /proc/net/nf_conntrack
2018-11-09 10:20:01 -08:00
Aniket Kulkarni 62770789d3 fix for test failure #70774 2018-11-09 12:15:16 -05:00
k8s-ci-robot e133ab274d
Merge pull request #70515 from davidz627/feature/csiNodeInfo
Add explicit "Installed" field to CSINodeInfo and change update semantics
2018-11-09 06:42:09 -08:00
David Zhu 4621887037 Updated test files with new fields 2018-11-08 19:45:01 -08:00
k8s-ci-robot be800e623a
Merge pull request #69663 from sttts/sttts-scheduler-secure-serving
scheduler: enable secure port and authn/z
2018-11-08 17:36:14 -08:00
seunghunee c0cacd2525 Fix conformance test error with log level 8
Fix: #70788
e2e conformance test completely passed with log level 5,
but failed only with log level 8.
2018-11-09 00:30:52 +00:00
k8s-ci-robot f212b9db23
Merge pull request #70598 from dims/switch-from-sigs.k8s.io/yaml-to-ghodss/yaml
Switch to sigs.k8s.io/yaml from ghodss/yaml
2018-11-08 10:57:36 -08:00
k8s-ci-robot 3f5db92840
Merge pull request #68812 from WanLinghao/token_projection_ca_secret_create
Create Ca-certificate configmap  used by token projected volume
2018-11-08 10:57:25 -08:00
Dr. Stefan Schimanski 1588af4031 kube-scheduler: add secure serving and authn/z integration tests 2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski 98d8e87120 integration: rename test/integration/{controllermanager -> serving} 2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski d91feb6d18 kube-scheduler: move stopCh creation out of scheduler factory code
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01:00
tanshanshan cb95edafe8 kube-scheduler: enable secure ports 10259 2018-11-08 16:43:59 +01:00
k8s-ci-robot 3c10143967
Merge pull request #60195 from humblec/glusterfs-pvspec-3
Refactor GlusterFS PV spec.
2018-11-08 00:24:39 -08:00
Zhen Wang b8b12796fc Delete node lease if the corresponding node is deleted 2018-11-07 20:31:47 -08:00
k8s-ci-robot 16d0992534
Merge pull request #69753 from wangzhen127/diff-node-status
Update kubelet node status report logic with node lease feature
2018-11-07 20:26:45 -08:00
WanLinghao efac533f92 To inject ca.crt into container when projected volume was specified, configmap should be created in each namespace.
This patch add a controller called "root-ca-cert-publisher" to complete above job as well as some bootstrap rbac policies.
2018-11-08 11:33:47 +08:00
k8s-ci-robot ac217310bf
Merge pull request #70769 from mkimuram/issue/70760
Fix test driver's unique name consistent
2018-11-07 19:10:55 -08:00
k8s-ci-robot 3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -08:00
k8s-ci-robot e83804d364
Merge pull request #70720 from roycaihw/sig-node-tests
Mark configmap and downward_api e2e tests under [sig-node]
2018-11-07 14:26:24 -08:00
k8s-ci-robot 98cd708619
Merge pull request #70648 from maht/master
Fix end-to-end test logic to get image name
2018-11-07 14:26:14 -08:00
Masaki Kimura d33211dc44 Fix test driver's unique name consistent
Fixes: #70760
2018-11-07 22:24:48 +00:00
k8s-ci-robot 6f305d925f
Merge pull request #68025 from mkimuram/issue/68024
Make csi drivers and in-tree drivers share e2e tests
2018-11-07 12:52:47 -08:00
Zhen Wang 98fc4a107a Update kubelet node status report logic with node lease feature
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.
2018-11-07 11:59:42 -08:00
k8s-ci-robot 46413e7958
Merge pull request #70694 from mborsz/rcconfig
Don't fail RCConfig.start on node restart.
2018-11-07 11:36:59 -08:00
k8s-ci-robot a99e004818
Merge pull request #70681 from justinsb/block_master_all_ips
e2e: block all master addresses
2018-11-07 11:36:50 -08:00
k8s-ci-robot ebcc2c7d26
Merge pull request #70667 from aniket-s-kulkarni/flexvolume-resize-implementation
adding test case for flex volume resize on pod restart
2018-11-07 11:36:32 -08:00
Davanum Srinivas 43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
Masaki Kimura b89b367247 Make csi drivers and in-tree drivers share e2e tests 2018-11-07 15:42:58 +00:00
k8s-ci-robot 465d578d93
Merge pull request #70695 from mborsz/DeleteResourceAndWaitForGC
Few improvements to DeleteResourceAndWaitForGC
2018-11-07 02:47:37 -08:00
Maciej Borsz 0748cbe2b2 Don't fail RCConfig.start on node restart. 2018-11-07 11:03:51 +01:00
k8s-ci-robot 7fe59165b6
Merge pull request #70193 from saad-ali/csiCRDAddon
Register CSI CRDs as addon
2018-11-06 23:55:56 -08:00
k8s-ci-robot e05659cf8e
Merge pull request #70710 from msau42/remove-subpath-ro-test
Remove subpath ro test
2018-11-06 20:21:44 -08:00
Haowei Cai 598d459bc6 Mark configmap and downwardapi tests with sig-node 2018-11-06 17:58:26 -08:00
Justin SB c136a99bf2
e2e: Better error reporting in firewall test
Clearly report the particular ip/port that failed.
2018-11-06 18:00:49 -05:00
k8s-ci-robot 95014b2666
Merge pull request #70689 from mborsz/waitForPodsInactive
Modify waitForPodsInactive to return meaningful error message.
2018-11-06 14:02:15 -08:00
Minhan Xia 0fb2da902b add ability to close connection for serve-host 2018-11-06 13:57:11 -08:00
Kenichi Omichi f3e59a5c15 Add the existence check of /proc/net/nf_conntrack
The existence of /proc/net/nf_conntrack depends on the Linux kernel
config CONFIG_NF_CONNTRACK_PROCFS, and Ubuntu 16.04's one is disabled.
So the e2e test "should set TCP CLOSE_WAIT timeout" fails on that.
This adds the existence check of /proc/net/nf_conntrack for skipping
the test if not existing.
In addition, this makes IssueSSHCommandWithResult return Stderr in
the error message if err is nil to check "No such file or directory"
as nonexistence of /proc/net/nf_conntrack.
2018-11-06 21:32:19 +00:00
saad-ali a679486a5e Register CSI CRDs as addon 2018-11-06 10:58:09 -08:00
Michelle Au 75459fc3de remove subpath readonly test for new directories 2018-11-06 10:39:36 -08:00
Michelle Au c13eb07cdf Fix csi rbac in e2e manifests 2018-11-06 10:35:46 -08:00
k8s-ci-robot 8dcdec0a67
Merge pull request #70669 from pohly/e2e-create-secrets
e2e: create and patch items of type Secret, code cleanup
2018-11-06 10:23:41 -08:00
k8s-ci-robot a13599be7e
Merge pull request #70649 from jbartosik/e2e-logging
Add more logging to e2e HPA tests
2018-11-06 06:06:35 -08:00
Maciej Borsz fa31f65db1 A few improvements for DeleteResourceAndWaitForGC:
* Better error messages
* Increase a timeout for removing pod to 20 minutes to handle
kubelet restarts gracefully.
2018-11-06 14:15:02 +01:00
k8s-ci-robot c2aa35866c
Merge pull request #70665 from cblecker/go-1.11.2
Update to use go1.11.2
2018-11-06 04:54:17 -08:00
Humble Chirammal bdb051c72d Refactor GlusterFS PV spec.
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-06 15:51:01 +05:30
Patrick Ohly 8c1d08c750 e2e: create and patch items of type Secret, code cleanup
Creating secrets is useful for CSI drivers like ceph-csi which have to
be configured via secrets.

While at it, the UniqueName method gets replaced with
MetaNamespaceKeyFunc which does the same thing (at least as long as
non-namespaced items don't have a redundant namespace set) and the
factory types aren't exported anymore (not necessary).
2018-11-06 10:48:22 +01:00
Maciej Borsz 760f7dd24a Modify waitForPodsInactive to return meaningful error message. 2018-11-06 09:48:14 +01:00
k8s-ci-robot cfd53d6dae
Merge pull request #70263 from oomichi/remove-test
Remove subPath tests from host_path.go
2018-11-05 22:11:55 -08:00
Justin SB 0400871df9
e2e: block all master addresses
This way we can be sure that the kubelet can't communicate with the
master, even if falls-back to the internal/external IP (which seems to
be the case with DNS)

Issue #56787
2018-11-05 22:35:19 -05:00
k8s-ci-robot c8604653f0
Merge pull request #70449 from mikedanese/simplcache
remove webhook cache implementation and replace with token cache
2018-11-05 16:32:34 -08:00
Aniket Kulkarni 624f2f5136 adding test case for flex volume resize on pod restart 2018-11-05 18:15:05 -05:00
Kenichi Omichi 01d0dc3697 Remove subPath tests from host_path.go
As discussing on #68905
some tests of test/e2e/common/host_path.go are covered with
test/e2e/storage/testsuites/subpath.go
So we don't need to keep them in test/e2e/common/host_path.go
anymore for the maintenance.
2018-11-05 21:35:17 +00:00
Mike Danese 0ec4d6d396 remove webhook cache implementation and replace with the token cache
The striped cache used by the token cache is slightly more sophisticated
however the simple cache provides about the same exact behavior. I used
the striped cache rather than the simple cache because:

* It has been used without issue as the primary token cache.
* It preforms better under load.
* It is already exposed in the public API of the token cache package.
2018-11-05 13:08:45 -08:00
Joachim Bartosik 100e61a7d6 Add more logging to e2e HPA tests
To debug flakes if there will be any more. Log status of HPA when
waching for recommendations stability (place where most flakes seem to
happen).
2018-11-05 11:32:41 +01:00
Miguel Herranz d0aa30205d Fix end-to-end test logic to get image name
The command executed in ValidateController function uses the
image name of the running container. This is a problem in multiarch
images, since the image name is the name of the image specific to
the architecture, but the image passed as parameter is the multiarch
one (as the test are architecture agnostic), making the test to fail.

This patch fixes it by making the logic use a command that get the
multiarch name given in the container spec.

Signed-off-by: Miguel Herranz <miguel@midokura.com>
2018-11-05 11:05:02 +01:00
Monis Khan f39158a310
Add CRDs to etcd storage path test
This change updates the etcd storage path test to exercise custom
resource storage by creating custom resource definitions before
running the test.

Duplicated custom resource definition test logic was consolidated.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-11-04 16:54:35 -05:00
k8s-ci-robot 5fdad5c19f
Merge pull request #68771 from liyongxin/master
typo fix from utilites to utilities
2018-11-03 16:50:28 -07:00
Christoph Blecker b71e74626e
Bump golang version to 1.11.2 2018-11-03 14:10:45 -07:00
Aaron Crickenberger ec2ba35662 Add new reviewers for conformance
Put into OWNERS files what has effectively been happening
for the past few months, we review and shepherd PR's
through other SIG reviewers before bringing to sig-arch
for a final /approve.

The goal is to eventually grow approvers when it's been
demonstrated that we have sufficient context.
2018-11-02 21:47:32 -07:00
k8s-ci-robot 33555943dc
Merge pull request #57099 from mfojtik/increase_downwardapi_volume_timeout
increase the podLogTimeout for downward volume test
2018-11-02 21:28:20 -07:00
k8s-ci-robot 6b2a01709c
Merge pull request #69796 from Huang-Wei/e2e-TaintBasedEvictions
add e2e tests for TaintBasedEvictions
2018-11-02 20:11:28 -07:00
k8s-ci-robot 247b8fffb7
Merge pull request #70597 from msau42/update-pd-csi
Update pd csi e2e yamls with latest driver
2018-11-02 18:02:17 -07:00
k8s-ci-robot b36d08b810
Merge pull request #70592 from ravisantoshgudimetla/remove-resource-limits-priority
Remove resource limits priority
2018-11-02 18:02:07 -07:00
k8s-ci-robot 408973d88e
Merge pull request #70582 from pohly/csi-driver-registrar-rbac
e2e: remove "nodes" permission from driver-registrar RBAC
2018-11-02 18:01:58 -07:00
k8s-ci-robot 03cbb2c321
Merge pull request #70571 from lichuqiang/provision-test-fix
remove meaningless case in volume binding test
2018-11-02 18:01:48 -07:00
Michelle Au 45ee18a1f1 Update pd csi e2e yamls with latest driver 2018-11-02 13:35:39 -07:00
ravisantoshgudimetla 2a7e92e11d Build file generated 2018-11-02 14:13:16 -04:00
ravisantoshgudimetla 0308d24df7 Remove resource priority limit e2e function 2018-11-02 14:12:18 -04:00
k8s-ci-robot 6813ebb568
Merge pull request #67851 from aniket-s-kulkarni/flexvolume-resize-implementation
Flexvolume resize implementation
2018-11-02 10:47:01 -07:00
k8s-ci-robot 879312205f
Merge pull request #70579 from jbartosik/e2e-deflake
Deflake e2e HPA tests
2018-11-02 08:39:16 -07:00
k8s-ci-robot 3cfc89a48a
Merge pull request #70483 from MaciekPytel/maciekpytel_e2e_owner
Add MaciekPytel to test OWNERS.
2018-11-02 08:38:57 -07:00
k8s-ci-robot 77fd16e0e7
Merge pull request #69266 from SataQiu/fix-20180930
Remove the redundant space
2018-11-02 08:38:37 -07:00
k8s-ci-robot 9fb1153bd8
Merge pull request #70550 from liggitt/cleanup-scale-clients
Drop generated clients for Scale types
2018-11-02 05:29:15 -07:00
Patrick Ohly 7ba52472b7 e2e: remove "nodes" permission from driver-registrar RBAC
In the review of
https://github.com/kubernetes-csi/driver-registrar/pull/69 it was
pointed out that the "nodes" permissions are not longer needed.
2018-11-02 12:29:16 +01:00
Joachim Bartosik b0265bed42 Deflake e2e HPA tests
Tests for scaling down based on external metric are flaky. I think this
is because they:
 - Start with 2 replicas,
 - Export metric value == 1/2 target,
 - Expect scale down to 1.

Since the expected recommendation is exactly 1 it might flake (and with
scale down stabilization any recommendations higher than 1 will
persist).

Change expected value of the metric so recommended size will be lower
than 1. This should make those tests less flaky.
2018-11-02 11:32:22 +01:00
k8s-ci-robot 808557e468
Merge pull request #69583 from audreylim/annotate-apimachinery-e2e-test-errors
Annotate errors in apimachinery e2e tests
2018-11-02 02:32:32 -07:00
SataQiu c9bc625428 Remove the redundant space 2018-11-02 15:45:11 +08:00
lichuqiang f7dbcce272 remove meaningless case 2018-11-02 15:17:20 +08:00
k8s-ci-robot 5581f52c0f
Merge pull request #69111 from rajansandeep/clustername
Adapt e2e tests for cluster-domain other than cluster.local
2018-11-01 23:45:22 -07:00
k8s-ci-robot 7e102de723
Merge pull request #70475 from pohly/csi-driver-deployment-logging
e2e: less verbose item creation
2018-11-01 13:44:27 -07:00
k8s-ci-robot 4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Jordan Liggitt ff9dc86b3c Drop generated clients for Scale types 2018-11-01 14:49:51 -04:00
k8s-ci-robot a525a2b4ee
Merge pull request #70401 from ravisantoshgudimetla/fix-e2e-node-capacity
Fix capacities as well
2018-11-01 09:53:04 -07:00
Sandeep Rajan 4c8a65ac01 configure cluster domain via flags 2018-11-01 12:27:54 -04:00
k8s-ci-robot 215234d3a3
Merge pull request #67778 from gyuho/typo
staing/apimachinery: fix typo "perfer" to "prefer"
2018-11-01 03:21:02 -07:00
k8s-ci-robot 3b0c20bedc
Merge pull request #69675 from pontiyaraja/rc_cnf_test
Promote Replication Controller and Replica Set e2e tests to Conformance
2018-10-31 23:04:46 -07:00
k8s-ci-robot b8731a76f0
Merge pull request #70395 from seans3/expose-bug-fix
kubectl: fixes expose bug for workload without selectors
2018-10-31 14:48:16 -07:00
k8s-ci-robot 50dffba0f3
Merge pull request #70140 from agau4779/beef-up-negs
test switching between standalone/Ingress NEG
2018-10-31 13:07:38 -07:00
k8s-ci-robot ebe5e635c0
Merge pull request #70422 from zqm19941101/patch-1
fix typo
2018-10-31 11:50:41 -07:00
pontiyaraja b81936320b Promote Replication Controller and Replica Set e2e tests to Conformance 2018-11-01 00:20:04 +05:30
Ashley Gau 4840bfd913 test switching between standalone/Ingress NEG 2018-10-31 09:49:18 -07:00
Maciej Pytel 8f897d1dbd Add MaciekPytel to test OWNERS. 2018-10-31 14:56:11 +01:00
k8s-ci-robot dc1307b826
Merge pull request #70441 from jbartosik/e2e-deflake
Deflake HPA tests
2018-10-31 06:36:05 -07:00
Patrick Ohly 84db64fbcc e2e: less verbose item creation
The detailed dumps of original and patched item content was useful
while developing the feature, but is less relevant now and too
verbose. It might be relevant again, so it's left in the code as
comments.

What gets logged now is just a single-line "creating" resp. "deleting"
message with the type of the item and its unique name.

This also enhances up some other aspects of the original logging:
- the namespace is included for item types that are namespaced
- the "deleting" message no longer gets replicated in each factory
  method

Fixes: #70448
2018-10-31 10:23:12 +01:00
xichengliudui 8477389e7c Fix some types
Fix some typos
2018-10-31 04:05:25 -04:00
Sean Sullivan d5865240c5 kubectl: fixes expose bug for workload without selectors 2018-10-30 19:27:10 -07:00
k8s-ci-robot 0d37650107
Merge pull request #69986 from pohly/podlogs
e2e: live streaming of pod events and stdout for CSI volume tests
2018-10-30 16:16:06 -07:00
k8s-ci-robot f9c744acb8
Merge pull request #70242 from bclau/fixes-dns-false-positives
tests: Fixes DNS tests false positives
2018-10-30 12:22:58 -07:00
Joachim Bartosik cb6a8a2564 Deflake HPA tests
- Scale down based on custom metric was flaking. Increase target value
of the metric.
- Scale down based on CPU was flaking during stabilization. Increase
tolerance of stabilization (caused by resource consumer using more CPU
than requested).
2018-10-30 19:27:42 +01:00
Wei Huang ca10e616bf
add e2e tests for TaintBasedEvictions 2018-10-30 10:40:05 -07:00
ravisantoshgudimetla dd06ca7631 Fix capacities as well 2018-10-30 13:26:41 -04:00
k8s-ci-robot 76234a31b0
Merge pull request #69680 from jonfriesen/fix_golint_test/utils/images
Fixes golint in test/utils/image
2018-10-30 08:01:55 -07:00
zqm19941101 05013135b4
fix typo 2018-10-30 19:27:36 +08:00
Patrick Ohly 1449353067 e2e: live streaming of pod events and stdout for CSI volume tests
Debugging the CSI driver tests depends a lot on the output of the CSI
sidecar containers and the CSI driver, but that information was not
captured automatically and thus unavailable after a test run. This is
particularly bad when running in a remote CI system, but also manually
watching the cluster during a test was cumbersome.

Now pod events and log messages get copied to the test's output at the
time that they happen (when running without report directory) or get
written to individual log files (when running with report directory in
the CI).
2018-10-30 09:18:48 +01:00
k8s-ci-robot 070a35f9c3
Merge pull request #69544 from justinsb/tempdir_cleanup
Introduce test harness into unit tests
2018-10-29 20:07:27 -07:00
k8s-ci-robot 9d0a6d0fc6
Merge pull request #70390 from spiffxp/add-spiffxp-as-reviewer-to-test-conformance
Add myself as reviewer to test/conformance/OWNERS
2018-10-29 18:53:31 -07:00
k8s-ci-robot 975e6c0a73
Merge pull request #70039 from liggitt/deployment-rollback
Switch kubectl rollout to directly rolling back deployments
2018-10-29 18:52:51 -07:00
k8s-ci-robot dab98f9546
Merge pull request #70329 from ravisantoshgudimetla/fix-e2e-limits
Fix e2e limits
2018-10-29 17:11:38 -07:00
k8s-ci-robot 361f8c31bd
Merge pull request #70314 from samdamana/auth-revert
Revert "limit forbidden error to details of what was forbidden"
2018-10-29 17:11:27 -07:00
k8s-ci-robot 2ecc71da47
Merge pull request #69868 from pohly/e2e-manifests
e2e manifests
2018-10-29 17:11:08 -07:00
Jon Friesen 0415ebe439 Fixes golint in test/utils/image
This change fixes the test/utils/image package golint errors.
2018-10-29 17:07:01 -07:00
k8s-ci-robot 861e866b51
Merge pull request #69947 from tallclair/runtimeclass-e2e
Implement a basic RuntimeClass E2E
2018-10-29 15:53:59 -07:00
Aaron Crickenberger a188653334 Add myself as reviewer to test/conformance/OWNERS
I'd like to start fielding more reviews of this code since I'm actively
involved in efforts that are consumers of it
2018-10-29 15:48:00 -07:00
Tim Allclair fe7fe3cc64 Implement a basic RuntimeClass E2E 2018-10-29 12:44:56 -07:00
k8s-ci-robot 0768fa5604
Merge pull request #70188 from rajansandeep/ipv6tests
Extend DNS ConfigMap tests to support IPv6
2018-10-29 12:08:03 -07:00
walter 735ad9ed63 Fixed lint errors for pkg/cloudprovider/providers/gce.
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
Sandeep Rajan 9e8bd5ccca extend tests to support ipv6 functionality
ipv6 tests for configmap
2018-10-29 12:34:00 -04:00
k8s-ci-robot fb6716e83c
Merge pull request #67495 from islinwb/policy_psp
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-29 08:31:15 -07:00
Gyuho Lee 1adb8100ba staing/apimachinery: fix typo "perfer" to "prefer"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-27 20:29:54 -07:00
ravisantoshgudimetla fedfddcb21 Build files 2018-10-27 19:06:24 -04:00
ravisantoshgudimetla e47d587bee Fix e2e node status updates 2018-10-27 19:04:52 -04:00
k8s-ci-robot 8616687c90
Merge pull request #70282 from justinsb/better_unsupported_provider_messages
Disambiguate "unsupported provider" messages
2018-10-27 13:49:05 -07:00