Commit Graph

12125 Commits (816dfab180e1a0739a7928c0eff45067801aaa12)

Author SHA1 Message Date
Masaki Kimura 790de995f3 Fix testPodFailSubpathError to make only WaitTimeoutForPodEvent wait 2018-11-26 17:29:25 +00:00
Masaki Kimura f81abad51c Fix eventOccurred to check message from all the events 2018-11-26 17:21:20 +00:00
Jan Safranek 51fc7930d6 CSI: enhance driver tests to update the drivers.
We want to check that kubelet correctly handles driver update
on a node.
2018-11-26 12:45:01 +01:00
k8s-ci-robot 610f48f424
Merge pull request #71362 from aleksandra-malinowska/autoscaling-test-fix-26
Extend timeout before breaking node in autoscaling test
2018-11-24 11:04:33 -08:00
Aleksandra Malinowska 2f278a316f Extend timeout before breaking node in autoscaling test 2018-11-23 13:47:05 +01:00
k8s-ci-robot 205eaee0e5
Merge pull request #71145 from gnufied/test-mounted-detach
Fix volume detach while mount in progress
2018-11-22 23:27:48 -08:00
Yecheng Fu 37b20f0116 refactor volume binding stress tests to test scheduling one pod repeatedly
this helps to detect races between Find/Assume and Bind volumes
2018-11-22 18:02:57 +08:00
Claudiu Belu 0df9c0adf6 tests: Checks for Windows permissions as well
Some mounttest related tests are checking the file permissions set on the
container files, but the default file permissions on Windows is 775 instead of
644, causing some tests to fail.

Keep in mind that file permissions work differently on Windows, and setting file
permissions via Kubernetes is not currently supported on Windows.
2018-11-21 23:02:48 -08:00
k8s-ci-robot 20e1ab6744
Merge pull request #71314 from saad-ali/csi03Compat
Reintroduce CSI 0.3.x support in CSI Volume Plugin
2018-11-21 19:58:33 -08:00
saad-ali aa8244beb5 Modify CSI to handle both 0.3 and 1.0
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
k8s-ci-robot 2b0212de9c
Merge pull request #71206 from stlaz/enc_config_opt
Rename '--experimental-encryption-provider-config' to '--encryption-provider-config'
2018-11-21 11:30:12 -08:00
Jordan Liggitt 4dca07ef7e Fixup incorrect use of DefaultFeatureGate.Set in tests 2018-11-21 11:51:33 -05:00
Jordan Liggitt d440ecdd3b Update non-test code to use DefaultMutableFeatureGate 2018-11-21 11:51:33 -05:00
Wei Huang 4ce10eda64
cleanup PriorityClass after each test 2018-11-20 11:00:27 -08:00
Hemant Kumar d2b6e30143 Fix bug with volume getting marked as not in-use with pending op
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Wei Huang c1e7ab07bd
add an e2e test to verify preemption running path 2018-11-20 08:52:17 -08:00
Claudiu Belu 626cbe9001 tests: Fixes wrong Pod Container Image usage in test/e2e/apps
Some tests are not using the configured registry image names, causing
some tests to fail on Windows, since those images are Linux only.
2018-11-20 11:21:55 +02:00
Michelle Au 11627ae134 Fix io test to use unique file names and cleanup all files 2018-11-19 15:09:27 -08:00
Jake Sanders 2a6dd3b854 bump metadata-proxy to v0.1.11, update tests & test image 2018-11-19 13:59:17 -08:00
Sergei Orlov 21c1bb8830
kubeapiserver: rename '--experimental-encryption-provider-config' to '--encryption-provider-config'.
This change renames the '--experimental-encryption-provider-config'
flag to '--encryption-provider-config'. The old flag is accepted but
generates a warning.

In 1.14, we will drop support for '--experimental-encryption-provider-config'
entirely.

Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-19 16:34:09 +01:00
Patrick Ohly a4fc58cc98 e2e/framework: capture logs only from pods that actually started
Attempting to retrieve logs for a container that hasn't started yet
may have been the reason for the "the server does not allow this
method on the requested resource" error that showed up on the GCE CI
test cluster (issue #70888).

If we wait with retrieving logs until the pod is running or has
terminated, then we might be able to avoid that error. It's the right
thing to do either way and not complicated to implement.
2018-11-19 14:55:10 +01:00
k8s-ci-robot f7b9b669e5
Merge pull request #71208 from losipiuk/lo/fix-flaky-scalup-test
Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test
2018-11-19 05:51:43 -08:00
Łukasz Osipiuk 4d154179c4 Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test 2018-11-19 13:37:50 +01:00
k8s-ci-robot 46ebebcc4f
Merge pull request #65763 from x13n/audit-logging
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-17 04:39:56 -08:00
k8s-ci-robot e3420cc46f
Merge pull request #70494 from RenaudWasTaken/pluginwatcher
Ignore non socket files in the kubelet plugin watcher
2018-11-16 22:46:42 -08:00
k8s-ci-robot ec2e767e59
Merge pull request #71167 from msau42/block-beta
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
k8s-ci-robot f38cc95505
Merge pull request #62692 from mikedanese/trev2
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -08:00
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