Commit Graph

12476 Commits (18458392ca24c85c688e655aace1afd04f864cbd)

Author SHA1 Message Date
Tim Allclair 954f43a10d Migrate RuntimeClass E2E to typed client 2019-01-24 11:08:30 -08:00
Tim Allclair 291d0cbd2f Fix deleted RuntimeClass CRD recovery test flake 2019-01-24 11:08:30 -08:00
Bobby (Babak) Salamat c2a4d2cbdf Add a default admission controller to taint new nodes on creation. 2019-01-24 10:31:23 -08:00
Patrick Barker ef50829773 adds newlines to audit proxy dockerfile and version file 2019-01-24 10:54:36 -07:00
luhualin 2bf84f1cc0 fix pod spec affinity mishandling 2019-01-24 16:33:43 +08:00
Kubernetes Prow Robot 7376001870
Merge pull request #72617 from cofyc/clean_local_volume_provisioner_e2e
Clean up local volum provisioner e2e tests
2019-01-23 23:32:31 -08:00
Kubernetes Prow Robot 31311a6343
Merge pull request #73148 from liggitt/remove-deprecated-swagger-paths
remove deprecated openapi paths in favor of /openapi/v2
2019-01-23 22:06:21 -08:00
Kubernetes Prow Robot c5497dc8cc
Merge pull request #73195 from shyamjvs/leave-slack-for-system-pods
Leave slack for addon pods in node's capacity
2019-01-23 19:56:44 -08:00
Kubernetes Prow Robot 9022cd6fce
Merge pull request #73156 from mortent/DaemonsetFix
Fix missing selector on daemonset in upgrade test
2019-01-23 19:56:29 -08:00
Jordan Liggitt 1a15d80967 generated 2019-01-23 16:34:44 -05:00
Jordan Liggitt 17aa60686e Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options 2019-01-23 16:34:43 -05:00
Jordan Liggitt dc1fa870bf Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-23 11:37:39 -05:00
anuj d05b399261 annotate errors in e2e tests
fixed error message

fixed uppercases

fixed typo
2019-01-23 13:10:04 +05:30
Yecheng Fu 513ae63bf6 Add a new stress test to replace old provisioner stress test 2019-01-23 13:49:41 +08:00
danielqsj 454841d100 Add missing dependency to zk install 2019-01-23 13:46:20 +08:00
Masaki Kimura b152d435ae Update fsType parameter for csi v1.0 provisioner 2019-01-23 05:26:55 +00:00
Manjunath A Kumatagi 833a28b640 increase the memory limits to max 2019-01-22 23:23:50 -06:00
Masaki Kimura 30ad1028eb Move xfs test skip logic from driver to testsuites 2019-01-23 05:17:06 +00:00
Masaki Kimura 398bf3929f Skip XFS test for csi gce-pd driver on COS 2019-01-23 05:15:24 +00:00
Masaki Kimura 3c3f85295c Improve output of fsType check for failure case in volumes test 2019-01-23 05:12:38 +00:00
Masaki Kimura b767dbdeb5 Fix volumes e2e test to check fsType 2019-01-23 05:12:37 +00:00
Shyam Jeedigunta d477bd904c Leave slack for addon pods in node's capacity 2019-01-22 20:26:02 -08:00
Shyam Jeedigunta bb23e0aec7 Avoid master ssh in eks 2019-01-22 20:21:03 -08:00
Yecheng Fu b7a33511e5 Clean up local volum provisioner e2e tests 2019-01-23 11:02:12 +08:00
Kubernetes Prow Robot e4ef6079bc
Merge pull request #73174 from jsafrane/privileged-inject
Run injector as privileged pod
2019-01-22 12:29:11 -08:00
Kubernetes Prow Robot e1e85f947e
Merge pull request #73009 from qingsenLi/k8s190117
remove unused const dockerDaemonConfigName in docker_util.go
2019-01-22 12:28:49 -08:00
Maciej Szulik 7306ee1577 Report proper namespace in TTLAfterFinished test 2019-01-22 15:42:41 +01:00
Jan Safranek 4c4401c175 Run injector as privileged pod
Privileged pod can write bypass any SELinux checks. NFS, CephFS and Gluster
test now work without setting special SELinux boolean for them.
2019-01-22 14:49:04 +01:00
Yecheng Fu e3bca51a57 Do not check events in e2e tests
events can be throttled and should not be used to validate failure
conditions in e2e tests
2019-01-22 18:24:29 +08:00
Morten Torkildsen 62c238b297 Fix for failing daemonset e2e test 2019-01-21 21:46:46 -08:00
Jordan Liggitt 52519ecb1c remove deprecated openapi paths in favor of /openapi/v2 2019-01-21 16:33:41 -05:00
Kubernetes Prow Robot f788854e98
Merge pull request #73080 from tnozicka/make-until-with-sync-wait-for-informers
Make UntilWithSync wait for integrated informers to stop
2019-01-21 13:11:20 -08:00
Kubernetes Prow Robot c336229b58
Merge pull request #72286 from smarterclayton/ssh
Support e2e testing via a bastion host for SSH commands
2019-01-21 11:54:05 -08:00
Tomas Nozicka b762d2c0d7 Make UntilWithSync wait for integrated informers to stop 2019-01-21 18:30:00 +01:00
Jan Safranek 9ed73a948c Pass the test if event is not delivered 2019-01-21 17:03:10 +01:00
Kubernetes Prow Robot e31ecf8251
Merge pull request #73091 from silveryfu/imagelocality-fix-test
Deflake ImageLocalityPriority integration test
2019-01-19 00:30:28 -08:00
Kubernetes Prow Robot fed3d755d3
Merge pull request #73016 from mkumatag/ppc64le_node_test
Bump the pod memory to higher levels to work on power
2019-01-18 19:14:15 -08:00
Kubernetes Prow Robot ef2a5b948b
Merge pull request #72138 from dims/switch-location-for-goautoneg
Switch location for goautoneg vendored code
2019-01-18 14:42:46 -08:00
Silvery Fu 537c5ed9bc Fix error-prone integration test for ImageLocalityPriority 2019-01-18 12:59:43 -08:00
qingsenLi 8098ade4dc remove unused const dockerDaemonConfigName in docker_util.go-2 2019-01-18 16:47:42 +08:00
Kubernetes Prow Robot 24643fd116
Merge pull request #72336 from danielqsj/apimetrics
Change apiserver metrics to conform metrics guidelines
2019-01-17 21:40:03 -08:00
Kubernetes Prow Robot d1c713f3bc
Merge pull request #73040 from wojtek-t/enable_node_lease_tests
Enable NodeLease tests by default
2019-01-17 17:12:10 -08:00
Kubernetes Prow Robot 865d6a71f6
Merge pull request #69902 from pbarker/audit-int
integration test for dynamic audit
2019-01-17 17:11:28 -08:00
Kubernetes Prow Robot 4531ce692a
Merge pull request #72965 from mrIncompetent/use-correct-hostname-in-conformance-tests
Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race"
2019-01-17 13:51:56 -08:00
wojtekt 291d02486f Enable NodeLease tests by default 2019-01-17 20:35:51 +01:00
Marek Counts 1739e343a8 autogen files
all the autogen files that got updated due to the changes to move logs.
2019-01-17 09:16:36 -05:00
Marek Counts ba81a5409a move logs into component-base
all the code changes to move move /apiserver/pkg/util/logs into /component-base/logs
2019-01-17 09:16:21 -05:00
pontiyaraja 72b91dbd56 graceful pod termination with preStop container lifecycle hook 2019-01-17 14:51:37 +05:30
Manjunath A Kumatagi f14138c9f0 Bump the pod memory to higher levels to work on power 2019-01-17 02:37:51 -06:00
Kubernetes Prow Robot 37f8ce087b
Merge pull request #70361 from qingsenLi/git181027
fix typo "amd"
2019-01-16 19:44:37 -08:00
Kubernetes Prow Robot 3be5e73eff
Merge pull request #72989 from mbrannock/kubemark-apiserver-args
Append kubemark apiserver args after defaults
2019-01-16 18:29:36 -08:00
Kubernetes Prow Robot dced58dca9
Merge pull request #71892 from fatsheep9146/log_path_test
add test for CRI log path
2019-01-16 18:29:23 -08:00
Guoliang Wang 18434c3465 fix scheduler_perf integration test fails 2019-01-17 10:05:02 +08:00
Kubernetes Prow Robot 79c8ab456c
Merge pull request #62936 from hanxiaoshuai/bugfix0421
catch error when failed to get podList in function failureTrap
2019-01-16 17:15:04 -08:00
Patrick Barker 34d57f295f adds dynamic audit integration test generated 2019-01-16 16:27:51 -08:00
Patrick Barker d995047366 adds dynamic audit integration test 2019-01-16 16:24:02 -08:00
Kubernetes Prow Robot 5d19fda5e8
Merge pull request #72844 from dashpole/fork_bomb_test
Fix PidPressure, and add fork-bomb e2e-node test
2019-01-16 15:59:01 -08:00
Matt Brannock d8f10dcac5 Append kubemark apiserver args after defaults
This allows for overriding defaults (e.g. max requests inflight) in
prow job configs by using KUBEMARK_APISERVER_TEST_ARGS. These are
passed to the start-kubemark-master.sh script as APISERVER_TEST_ARGS.
2019-01-16 13:42:51 -08:00
Kubernetes Prow Robot 5818be6205
Merge pull request #68619 from ailusazh/CleanContainersInReconcileStateOfCpuManager
clean containers in reconcileState of cpuManager
2019-01-16 11:34:04 -08:00
Jordan Liggitt df97217f7f Update addon-manager changelog/image 2019-01-16 13:26:39 -05:00
mrIncompetent cf7a8935af Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race" 2019-01-16 14:39:00 +01:00
Kubernetes Prow Robot 06e1af74ef
Merge pull request #72898 from davidz627/fix/removeImpersonation
Remove client impersonantion from ClusterRole creation
2019-01-15 23:26:30 -08:00
Kubernetes Prow Robot 9e3b0a0ebc
Merge pull request #72930 from verult/e2e-csi-topology
CSI topology e2e - fix space in Feature tag
2019-01-15 22:13:04 -08:00
Claudiu Belu fd4f55375b tests: Removed hardcoded images from yaml files
Some tests use .yaml files to deploy pods, which have hardcoded
images. Those images cannot be used for Windows containers.

The image names can be injected by the tests themselves, based on
the configured registries.
2019-01-15 20:22:19 -08:00
Kubernetes Prow Robot 7a8ac58756
Merge pull request #72924 from liggitt/remove-swagger
Remove swagger 1.2, swagger-ui
2019-01-15 20:19:20 -08:00
Davanum Srinivas 16fd72d6c9
Switch location for goautoneg vendored code
Move to github.com/munnerz/goautoneg as bitbucket is flaky!

Change-Id: Iaa6e964ef0d6f308eea59bcc6f365ecd7dbf0784
2019-01-15 21:22:03 -05:00
Kubernetes Prow Robot 9c48ca4899
Merge pull request #72823 from dims/bump-version-of-docker-to-18.09
Bump Docker supported version to 18.09
2019-01-15 11:45:06 -08:00
Cheng Xing 9864628c76 CSI topology e2e - fix space in Feature tag 2019-01-15 10:47:14 -08:00
Kubernetes Prow Robot 708c1ae161
Merge pull request #72793 from haiyanmeng/goroutine_inside_for_loop
Fix the broken for loop including goroutine
2019-01-15 10:35:21 -08:00
Jordan Liggitt 9229399bd6 Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
ailusazh 10995f661d clean containers in reconcileState of cpuManager 2019-01-15 16:09:28 +08:00
Kubernetes Prow Robot d3540b90cb
Merge pull request #72735 from war-turtle/cronJobTests
makes some error messages helpful in cronjob tests
2019-01-14 22:06:03 -08:00
Kubernetes Prow Robot d2bd29fcee
Merge pull request #70923 from m1kola/fix_e2e_err_message
Fixes error message in e2e tests for kubectl port-forward
2019-01-14 14:24:01 -08:00
David Zhu 11fabf110e Remove client impersonantion from ClusterRole creation 2019-01-14 14:21:49 -08:00
Kubernetes Prow Robot 4eddb777ed
Merge pull request #72830 from palash25/annotate-errs
Annotate errors in test/e2e/network/service.go
2019-01-14 11:35:22 -08:00
Palash Nigam 5c4b05eced
Annotate errors in test/e2e/network/service.go
Related to: #34059

Removes all occurences of the "Expect(err).NotTo(HaveOccurred())"
antipattern from the aforementioned test file.
2019-01-14 23:55:16 +05:30
David Ashpole 8b440c6424 Fix PidPressure, make it evict by priority, and add fork-bomb node e2e test 2019-01-14 09:41:36 -08:00
war-turtle 6a2cdabed0 making some error messages helpful in cronjob tests 2019-01-14 21:33:05 +05:30
Kubernetes Prow Robot 35bd2a5e88
Merge pull request #72769 from zhuangqh/fix-ttlafterfinished-e2e-tag
Add alphaFeature tag to TTLAfterFinished e2e test
2019-01-14 02:39:38 -08:00
Davanum Srinivas 62fc6df5c2
Bump Docker supported version to 18.09
For 1.14, let's switch to latest Docker 18.09

Change-Id: Ib8d4d9dd3cb51cf4780623389a4bcb101d3c8fa7
2019-01-13 21:41:33 -05:00
Kubernetes Prow Robot 5fa52d6d70
Merge pull request #70619 from taragu/surface-error-replication-controller
Add error log for 'no rollbacker has been implemented for ReplicationController'
2019-01-11 23:14:49 -08:00
Cheng Xing 12ece9dacb CSI topology e2e tests 2019-01-11 18:36:06 -08:00
Justin SB dd19b923b7
Remove executable file permission from OWNERS files 2019-01-11 16:42:59 -08:00
haiyanmeng 408b5dbf59 Fix the broken for loop including goroutine
Currently, all the funcs in the for loop are bound to the same
testCase.

Also remove extra newline from one expected message
2019-01-11 14:46:24 -08:00
danielqsj 8b418631c0 Move etcd latency metrics to histogram and update test case 2019-01-11 20:38:24 +08:00
Claudiu Belu 72be895238 tests: Makes UDP testing command more Windows friendly
By default, cmd is used to execute commands in Windows containers, but it
has some issues executing the command (no output):

echo 'hostName' | nc -w 1 -u <targetIP> <targetPort>

But it has no issues running (output is correct):

echo hostName | nc -w 1 -u <targetIP> <targetPort>

This causes the test "should function for node-pod communication: udp" to
fail when using Windows Containers.
2019-01-11 03:53:28 -08:00
Kubernetes Prow Robot e44330dfab
Merge pull request #72455 from rojkov/test-e2e-node-gke
e2e-node-tests: fix path to system specs
2019-01-11 03:30:37 -08:00
zhuangqh 8b07d925a0 Add alphaFeature tag to TTLAfterFinished e2e test
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2019-01-11 12:07:33 +08:00
Kubernetes Prow Robot 6a8ad537a7
Merge pull request #72688 from liggitt/token-test
Update service account token mount test
2019-01-10 14:42:51 -08:00
Kubernetes Prow Robot 0f50fdc58d
Merge pull request #71667 from pohly/testfiles-absolute
e2e/framework: absolute test file paths
2019-01-10 14:42:19 -08:00
Clayton Coleman 88cac12ce8
Support e2e testing via a bastion host for SSH commands
Until we port the remaining e2e tests to use exec host pods instead
of SSH, it should be possible to use bastion host when
clusters don't expose public IPs for nodes. Testers can use the
KUBE_SSH_BASTION environment variable set to a `host:port` to
specify the host that the tests will use as a jump host.

If KUBE_SSH_BASTION is specified, the test will first connect to
the bastion using SSH and the provider private key, then establish
a tunnel from the bastion to the target node by its IP. If the
node has an external IP, the external IP must be routable from the
bastion.
2019-01-10 17:10:09 -05:00
Clayton Coleman d09a655c4c
Allow a single SSH key to be used in all providers
Support KUBE_SSH_KEY_PATH as a single environment variable that if
specified ignores the provider specific settinsg and loads the
SSH private key from the provided path. Makes it much easier to
specify a consistent signer across providers.
2019-01-10 17:10:09 -05:00
Clayton Coleman c6ae7ae3b2
Move ssh related utilities into their own file
Code movement only.
2019-01-10 17:10:04 -05:00
Kubernetes Prow Robot ee9331e585
Merge pull request #72725 from dims/fix-reference-to-non-existing-variable-in-run_test
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
2019-01-10 11:16:13 -08:00
Kubernetes Prow Robot 8955857998
Merge pull request #71199 from k-toyoda-pi/fix_node_authn_e2e_test
e2e/auth: fix NodeAuthenticator tests not working
2019-01-10 02:31:28 -08:00
Kubernetes Prow Robot 0dbc99719a
Merge pull request #72076 from derekwaynecarr/pid-limiting
SupportPodPidsLimit feature beta with tests
2019-01-10 01:18:30 -08:00
Dmitry Rozhkov 43fce8d6e4 e2e-node-tests: fix path to system specs
e2e-node tests may use custom system specs for validating nodes to
conform the specs. The functionality is switched on when the tests
are run with this command:

    make SYSTEM_SPEC_NAME=gke test-e2e-node

Currently the command fails with the error:

    F1228 16:12:41.568836   34514 e2e_node_suite_test.go:106] Failed to load system spec: open /home/rojkov/go/src/k8s.io/kubernetes/k8s.io/kubernetes/cmd/kubeadm/app/util/system/specs/gke.yaml: no such file or directory

Move the spec file under `test/e2e_node/system/specs` and introduce a single
public constant referring the file to use instead of multiple private constants.
2019-01-10 10:37:55 +02:00
Kubernetes Prow Robot c9e1ffb0e7
Merge pull request #71952 from vyta/sig-windows-tests
Sig windows tests
2019-01-09 17:19:28 -08:00
Kubernetes Prow Robot 2c8b571d57
Merge pull request #71875 from wgliang/cleanup/remove-newfrom-functions
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 13:55:51 -08:00
Patrick Lang 9468ca420d Updating README.md with fixed repo-list and --node-os-distro 2019-01-09 08:51:47 -08:00
Derek Carr bce9d5f204 SupportPodPidsLimit feature beta with tests 2019-01-09 10:50:59 -05:00
Davanum Srinivas 53d0b8ce7e
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
Change-Id: I16b9061c07f4a43aff9fe236892128af8697a0b4
2019-01-09 08:53:48 -05:00
Kubernetes Prow Robot cb7ba72f2a
Merge pull request #71739 from vikaschoudhary16/fix-dp-e2e
Device plugins: fix e2e test
2019-01-08 16:43:25 -08:00
Vy Ta ec8151d7bb Ran ./hack/update-gofmt.sh 2019-01-08 22:40:38 +00:00
Guoliang Wang 3c24c99b08 Move users of `factory.NewConfigFactory` to `scheduler.New` 2019-01-09 06:40:30 +08:00
Vy Ta 6ac7838a19 ran ./hack/update-bazel.sh 2019-01-08 22:39:40 +00:00
Vy Ta 5fe8825530 Adding newlines 2019-01-08 13:21:19 -08:00
Vy Ta 4bf6b670a2 fix bazel test 2019-01-08 10:45:53 -08:00
Vy Ta 765057765c golint failure updates, and added skip check for non-windows 2019-01-08 10:11:35 -08:00
Katharine Berry 8e9f8e264f Never skip multi-node conformance tests (instead just fail). 2019-01-08 09:24:43 -08:00
Patrick Lang 8f858afe69 Ran hack/update-bazel.sh 2019-01-08 08:49:54 -08:00
Jordan Liggitt 421d8649bf Update service account token mount test 2019-01-08 11:27:51 -05:00
Kubernetes Prow Robot 8327e43359
Merge pull request #72645 from liggitt/service-account-test
Wait for propagation of secret deletion
2019-01-07 15:25:31 -08:00
Kubernetes Prow Robot cd507fea85
Merge pull request #72230 from krmayankk/verify-gid
verify gid in runasuser tests
2019-01-07 15:25:00 -08:00
Kubernetes Prow Robot 998167767f
Merge pull request #71764 from linxiulei/fix_cri_pullimage
Pass PodSandboxConfig to PullImage method in CRI
2019-01-07 15:24:48 -08:00
Patrick Lang 084a763926 Maybe fix bazel build 2019-01-07 15:00:57 -08:00
Patrick Lang 210bf624ea Adding OWNERS 2019-01-07 14:47:40 -08:00
Kubernetes Prow Robot 168b4563e0
Merge pull request #68792 from johnSchnake/68747-fallbackToInternalIP
e2e: Fallback to internal IPs when using SSH in tests
2019-01-07 14:11:41 -08:00
Tara Gu 492c042d9f Surface error for run_recursive_resources_tests 2019-01-07 15:59:11 -05:00
Kubernetes Prow Robot 349ebc78bd
Merge pull request #72200 from sttts/sttts-test-graceful-shutdown
kube-apiserver: test graceful shutdown
2019-01-07 12:09:14 -08:00
Kubernetes Prow Robot 5acac9b3e2
Merge pull request #70439 from jsafrane/worlload-test
CSI: Add test for passing Pod information in NodePublish call
2019-01-07 12:08:51 -08:00
Patrick Barker c1b4ec298f removes unneeded event var from audit-proxy image 2019-01-07 10:32:14 -07:00
Patrick Barker 5971f7dd92 adds audit-proxy image for dynamic audit e2e test 2019-01-07 16:28:12 +00:00
Jordan Liggitt 1afce6db13 Wait for propagation of secret deletion 2019-01-07 08:53:06 -05:00
Vallery Lancey 5a3b8a11fc Add an e2e test for services with no endpoints (#72561) 2019-01-05 00:26:55 -08:00
Kubernetes Prow Robot 34ca1301da
Merge pull request #72537 from mortent/FixEvictionsFlake
Fix flaking evictions test
2019-01-04 20:11:32 -08:00
Kubernetes Prow Robot 48c2a5ceda
Merge pull request #72585 from dims/add-debug-logs-for-etcd-server
Add debug logs for etcd server in integration tests
2019-01-04 18:56:35 -08:00
Davanum Srinivas 8c8c01f913
Add debug logs for etcd server in integration tests
Change-Id: Ic1dd8a7c7e0adef27b969007e24c2eb089d6bb12
2019-01-04 15:22:29 -05:00
Kubernetes Prow Robot 3724e2e5a0
Merge pull request #71489 from tallclair/audit-test
Split audit test cases into separate tests
2019-01-04 09:02:24 -08:00
Jan Safranek e1556c1549 Fix hostpath driver name 2019-01-04 17:26:24 +01:00
Kubernetes Prow Robot a103bddc2a
Merge pull request #72354 from globervinodhn/conformance-slow
Remove SLOW tag from Probing container and EmptyDir Wrapper Volume
2019-01-03 20:21:53 -08:00
Michelle Au 6279515914 Add e2e test for removing the subpath directory 2019-01-03 16:35:54 -08:00
Kubernetes Prow Robot 18778ea4a1
Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Kubernetes Prow Robot 47f2f7a53a
Merge pull request #72410 from pohly/storage-gcepd-config-fix
e2e/storage: reset driver config in the test suite
2019-01-03 15:51:44 -08:00
Kubernetes Prow Robot 1061f31644
Merge pull request #71188 from taragu/readonly-test-validate-readonly-io
Add test case for validate container cannot write to readonly volumes
2019-01-03 15:51:23 -08:00
Tara Gu fb324249c2 Add test case for validate container cannot write to readonly volumes 2019-01-03 15:24:31 -05:00
Morten Torkildsen 4b3078fe9a Fix flaking evictions test 2019-01-03 11:45:29 -08:00
Davanum Srinivas e6f8e51c50
Ensure we capture http and trace related logs
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.

Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski 00a717b572 apiserver: start only one compactor per unique storage transport config 2019-01-03 12:01:47 +01:00
Jan Safranek d617dcb1e0 CSI: Add test for passing Pod information in NodePublish call 2019-01-02 16:11:41 +01:00
Dr. Stefan Schimanski a2e19f1228 kube-apiserver: add e2e graceful shutdown integration test 2019-01-02 15:26:04 +01:00
Dr. Stefan Schimanski 7b242533a2 apiserver: separate transport setting from storagebackend.Config 2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot 6e182ed5ea
Merge pull request #71816 from liggitt/service-account-lookup
Look up service accounts from informer before trying live lookup
2018-12-31 21:18:55 -08:00
Kubernetes Prow Robot 65fdea80e7
Merge pull request #71922 from vikramk7/master
Make error messages more helpful in some e2e tests
2018-12-31 20:07:35 -08:00
globervinodhn b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Kubernetes Prow Robot 65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat b75672c4ba autogenerated files 2018-12-29 22:54:15 -08:00
Kubernetes Prow Robot 74f779fbb5
Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -08:00
John Schnake 23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Patrick Ohly 98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot a6ba2ebf85
Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Vy Ta ecee40158c Adding Feature tag 2018-12-27 15:55:10 -07:00
Vy Ta 8d3ea6590d Adding diff summary 2018-12-27 15:51:44 -07:00
Vy Ta 906aceb89a Making requested changes 2018-12-27 15:46:26 -07:00
Jordan Liggitt 73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Jordan Liggitt 78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang 5492e2f8c3
move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
Bobby (Babak) Salamat 5581497846 Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2018-12-27 02:15:59 -08:00
Jordan Liggitt e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
fatsheep9146 77eadd376b add test for CRI log path 2018-12-26 16:09:15 +08:00
danielqsj 94d1050303 Change docker metrics to conform guideline 2018-12-26 15:58:04 +08:00
Vikram Krishnamurthy da0896c101 Make error messages more helpful in some e2e tests 2018-12-25 11:13:03 -08:00
Shyam Jeedigunta ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Kubernetes Prow Robot eb79f8f279
Merge pull request #69615 from k82cn/update_node_ns
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
Kubernetes Prow Robot 37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot e3bf5dbc5b
Merge pull request #70862 from pohly/e2e-storage-tests
e2e storage tests: usable out-of-tree
2018-12-21 16:03:41 -08:00
wangqingcan b82a1d4600 Move predicate types from algorithm to predicates 2018-12-21 22:26:47 +08:00
Patrick Ohly ac8ac8ee6c e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-12-21 10:30:10 +01:00
Patrick Ohly 3253e9ab6b e2e/storage: refactor test config
Exposing framework.VolumeTestConfig as part of the testsuite package
API was confusing because it was unclear which of the values in it
really have an effect. How it was set also was a bit awkward: a test
driver had a copy that had to be overwritten at test runtime and then
might have been updated and/or overwritten again by the driver.

Now testsuites has its own test config structure. It contains the
values that might have to be set dynamically at runtime. Instead of
overwriting a copy of that struct inside the test driver, the test
driver takes some common defaults (specifically, the framework pointer
and the prefix) when it gets initialized and then manages its own
copy. For example, the hostpath driver has to lock the pods to a
single node.

framework.VolumeTestConfig is still used internally and test drivers
can decide to run tests with a fully populated instance if needed (for
example, after setting up an NFS server).
2018-12-21 10:30:06 +01:00
Mayank Kumar d141221a8e verify gid in runasuser tests 2018-12-20 10:49:32 -08:00
wojtekt 73d14dede6 Promote Lease API to v1 2018-12-20 15:39:57 +01:00
Patrick Ohly dfcf2ca345 e2e/storage: separate generic testsuites from specific drivers
This makes it possible to use the testsuites package out-of-tree
without pulling in unnecessary dependencies and code (in
test/e2e/storage/vsphere) that defines tests that are not wanted in a
custom test suite.
2018-12-20 13:41:48 +01:00
Patrick Ohly 41ab9449ed e2e/storage: drivers determine the claim size
Different drivers support different volume sizes. Some have certain
minimum sizes, some maximum sizes. Instead of hard-coding some kind of
default into the testsuites, now each driver that supports dynamic
provisioning has to provide the size.
2018-12-20 13:41:48 +01:00
Patrick Ohly 5349ce75fa e2e/storage: remove code duplication
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).

Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.

While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot cdeb8c108f
Merge pull request #72205 from losipiuk/lo/env-gke-api-endpoint
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-20 03:11:44 -08:00
Kubernetes Prow Robot 7ce7a80cda
Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00
Kubernetes Prow Robot 00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot 6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Kubernetes Prow Robot 1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot ac6fa2235b
Merge pull request #71742 from pohly/csi-sidecar-test
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Łukasz Osipiuk b1408dbe45 Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint 2018-12-19 17:55:33 +01:00
Jordan Liggitt 0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt b409ffa658 Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
Jordan Liggitt fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin 842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Maciej Szulik 885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Kubernetes Prow Robot 33404d973a
Merge pull request #72174 from msau42/owners
Update sig-storage owners
2018-12-18 21:28:10 -08:00
Kubernetes Prow Robot 6858c95636
Merge pull request #72084 from ixdy/k8s-master-go1.11.4
Update to go1.11.4
2018-12-18 19:10:10 -08:00
Tim Allclair 10f45aacd5 Split audit test cases into separate tests 2018-12-18 16:58:19 -08:00
Kubernetes Prow Robot a17a392d4b
Merge pull request #70939 from smarterclayton/skip_delta
e2e: Show the caller's stack for Skipf() instead of the local one
2018-12-18 15:44:04 -08:00
Michelle Au b6e64936fe Add owners file for storage e2e manifests 2018-12-18 15:15:47 -08:00
Kubernetes Prow Robot 9f40607ea7
Merge pull request #71209 from dczombera/add_impersonation_test
Add an impersonation test case to the audit E2E test
2018-12-18 12:30:11 -08:00
Bowei Du 6ef9105978 Update Bazel 2018-12-18 10:28:02 -08:00
Bowei Du dfac4f7a2c Update other references 2018-12-18 10:26:46 -08:00
Kubernetes Prow Robot b97092ca8f
Merge pull request #71399 from resouer/eclass-task-1
Eclass task 1: clean up old code
2018-12-18 08:47:13 -08:00
Dennis Czombera f9df691c72 Add an impersonation test case to the audit E2E test 2018-12-18 11:13:39 +01:00
Vikas Choudhary 1e0216f616 Device plugins: fix e2e test 2018-12-18 10:15:04 +05:30
Kubernetes Prow Robot 12be140dcd
Merge pull request #71094 from dekkagaijin/update-concealment
bump metadata-proxy to v0.1.11, update tests & test image
2018-12-17 17:48:40 -08:00
Harry Zhang 797601d99d Fixed outdated bazel 2018-12-17 17:05:49 -08:00
wangqingcan 1081e919e3 Eclass Task 1: clean up old equiv class code
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Kubernetes Prow Robot e2be7c91d9
Merge pull request #70344 from andrewsykim/consolidate-node-delete
consolidate node deletion logic between kube-controller-manager and cloud-controller-manager
2018-12-17 15:49:16 -08:00
Jeff Grafton 7397a6278b Update to go1.11.4 2018-12-15 12:25:05 -08:00
Kubernetes Prow Robot 680ee44f05
Merge pull request #72007 from anfernee/session-affinity-2
Logs [pod,node] pairs for sessionAffinity test
2018-12-14 19:02:42 -08:00
Kubernetes Prow Robot 151387738f
Merge pull request #72035 from seemethere/bump_1_11_3
Bump golang to 1.11.3 (CVE-2018-16875)
2018-12-14 17:28:34 -08:00
Yongkun Gui ac1e99235a Logs [pod,node] pairs for sessionAffinity test
Logs information for fixing flakiness for #71423
2018-12-14 12:12:31 -08:00
Eli Uriegas d443402f35 bump golang to 1.11.3 (CVE-2018-16875)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2018-12-14 18:27:21 +00:00
Kubernetes Prow Robot 8547036981
Merge pull request #72054 from mborsz/createnamespace
In CreateTestingNS generate name upfront to avoid namespace leakage.
2018-12-14 08:07:43 -08:00
Kubernetes Prow Robot 57ea592c06
Merge pull request #72052 from mborsz/taints
Add node notready/unreachable tolerations to load/density pods.
2018-12-14 06:56:42 -08:00
Maciej Borsz 3223d9bc94 In CreateTestingNS generate name upfront to avoid namespace leakage. 2018-12-14 13:39:14 +01:00
Maciej Borsz 25c2440996 Add node notready/unreachable tolerations to load/density pods. 2018-12-14 12:16:51 +01:00
wojtekt fc346b2086 Allow for configuring etcd servers addresses in kubemark 2018-12-13 11:50:49 +01:00
yeya24 16acbc84ce fix typos lable -> label 2018-12-13 17:52:13 +08:00
Kubernetes Prow Robot 05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
Kubernetes Prow Robot b8fbb182a7
Merge pull request #71953 from monotek/patch-1
added monotek to instrumentation/logging/OWNERS file
2018-12-12 06:55:21 -08:00
Patrick Ohly 6ca66d7047 e2e: use quay.io/k8scsi images, bump versions
Commit 503f654d7a, "Update CSI tests to
point to 1.0.0 external bits", changed to images published on gcr.io,
perhaps because the images on quay.io weren't ready yet. We now have
up-to-date images on quay.io and should be using those.
2018-12-12 14:49:23 +01:00
Kubernetes Prow Robot c49896f924
Merge pull request #71974 from apelisse/fix-diff-overriding-names
diff: Make filename cross-platform compatible
2018-12-11 17:07:48 -08:00
Antoine Pelisse 95eec905c7 diff: Make filename cross-platform compatible 2018-12-11 15:36:26 -08:00
Kubernetes Prow Robot 425b1ff47d
Merge pull request #71923 from apelisse/fix-diff-overriding-names
diff: Fix overlapping filenames
2018-12-11 12:13:39 -08:00
André Bauer f0cf660c66
added monotek to OWNERS file 2018-12-11 19:49:24 +01:00
Antoine Pelisse b6135f63aa diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 09:19:52 -08:00
yuexiao-wang 7b6f60f085 modify BUILD
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang f3353c358d [scheduler cleanup phase 2]: Rename to
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Vy Ta 0a09b1d2a7 Adding README.md 2018-12-10 16:09:10 -08:00
Vy Ta 28ed7875e7 Adding density test 2018-12-10 23:48:39 +00:00
Kubernetes Prow Robot d4548645ce
Merge pull request #71849 from krzysied/scheduler_benchmark_5k
Adding 5000 nodes test to scheduler benchmark
2018-12-10 12:36:09 -08:00
Kubernetes Prow Robot e712ff6709
Merge pull request #71857 from liggitt/bearer-token-file-ci
plumb bearer token and token file for e2e
2018-12-10 11:00:31 -08:00
Krzysztof Siedlecki 04c4bef206 adding 5000 nodes test to scheduler benchmark 2018-12-10 13:54:53 +01:00
Kubernetes Prow Robot fe5d7c7c4e
Merge pull request #71543 from MrHohn/e2e-fw-test-timeout
[e2e] Bump firewall test timeout to something more reasonable
2018-12-07 20:02:10 -08:00
Jordan Liggitt 40e6f52299 plumb bearer token and token file for e2e 2018-12-07 17:01:47 -05:00
Kubernetes Prow Robot 71cf45f35c
Merge pull request #70092 from bclau/remove-test-selinux-options
Removes unnecessary SELinuxOptions from test case
2018-12-06 22:49:59 -08:00
Kubernetes Prow Robot a5887009fc
Merge pull request #68275 from tanshanshan/fixtypo-0905-2
nits in e2e test
2018-12-06 19:02:57 -08:00
Eric Lin 5e2ed11cf7 Pass PodSandboxConfig to PullImage method in CRI
Fix #71745
2018-12-07 10:10:22 +08:00
Kubernetes Prow Robot 776bb1338a
Merge pull request #71801 from soltysh/issue71772
Set delete propagation policy to background when removing jobs and its dependents
2018-12-06 16:25:36 -08:00
Jordan Liggitt a9dc919f82 Look up service accounts from informer before trying live lookup 2018-12-06 16:48:39 -05:00
Kubernetes Prow Robot b5615259e5
Merge pull request #67511 from oomichi/add-debug-info
Add debugging info in pv/pvc protection e2e tests
2018-12-06 08:42:24 -08:00
Maciej Szulik 65e074fd1a Set delete propagation policy to background when removing jobs and its dependents 2018-12-06 17:20:23 +01:00
Kubernetes Prow Robot bdb7c24cab
Merge pull request #71243 from gnufied/fix-dummy-attachable-flex-driver
We do not pass device path to unmount device
2018-12-06 00:02:44 -08:00
Kubernetes Prow Robot 7cc8a8914f
Merge pull request #71762 from oomichi/add-oomichi
Add oomichi to test/OWNERS
2018-12-05 20:32:18 -08:00
Kubernetes Prow Robot 895f483fdf
Merge pull request #59525 from dashpole/fix_start_time
Use start times kubelet startup
2018-12-05 16:52:55 -08:00
David Ashpole 54e581930c fix node and kubelet start times 2018-12-05 15:07:52 -08:00
Kenichi Omichi 1de5e4780e Add oomichi to test/OWNERS
oomichi continues reviewing PRs which are related to e2e tests,
then this adds him to a reviewer to get him involved more.
2018-12-05 11:40:16 +00:00
Kubernetes Prow Robot 82cefcd99b
Merge pull request #68753 from johnSchnake/68687-consistentSSHKeyHandling
Make SSH path handling consistent across providers during e2e
2018-12-05 00:05:38 -08:00
Joseph-Irving 95165c5d4e fix WaitForAllNodesSchedulable so it logs when cluster size is small 2018-12-04 14:28:17 +00:00
Kubernetes Prow Robot a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -08:00
Kubernetes Prow Robot 6ba75e4b37
Merge pull request #71672 from prameshj/norecurse-test
Drop the norecurse flag in  dns tests
2018-12-03 23:28:15 -08:00
Kubernetes Prow Robot f5e98aa6d2
Merge pull request #70608 from spiffxp/add-conformance-reviewers
Add new reviewers for conformance
2018-12-03 20:09:42 -08:00
Hemant Kumar 1570f39d9e We do not pass device path to unmount device
Also rename attachable-with-long-format file
2018-12-03 17:31:01 -05:00
Pavithra Ramesh 19e1fcc242 Remove 'norecurse' flag in dns tests.
dnsmasq 2.79 introduced a change to respond to all norecurse queries with ServFail.
This is to prevent cache snooping where an adversary can figure out if a particular hostname has been looked up or not.
These tests do not need the norecurse flag, hence removing it.
2018-12-03 14:27:39 -08:00
Joe Betz 862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
andrewsykim 5329f09663 consolidate node deletion logic between node lifecycle and cloud node controller 2018-12-03 13:33:53 -05:00