Lubomir I. Ivanov
f87223fbf8
kubeadm: update OWNERS for 1.16
...
- comment out Liz and Chuck until further notice.
Feel free to come back to kubeadm!!
- Add SataQiu as reviewer. Welcome.
- Add ereslibre as approver. Congrats!
2019-06-27 00:01:05 +03:00
Claudiu Belu
c752ea8134
tests: Replaces images used with agnhost (part 3)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -07:00
Claudiu Belu
6b7a641c96
tests: Fixes agnhost logs-generator usage
...
Cobra flags have 2 dashes, not 1.
2019-06-26 11:38:38 -07:00
draveness
40090e8563
refactor: add reset method to all test plugins
2019-06-26 23:06:34 +08:00
Jan Safranek
f6430c0159
Add benchmark for scheduling of pods with PVs
2019-06-26 14:07:17 +02:00
Aaron Crickenberger
ffe70f1a6e
Conformance walker should handle nested/adjacent Describes
...
This also revealed that the regex for Context was too generous and would
catch things like SecurityContext or ContextWithFoo(...) calls
This ensures that test suites with a ineligible tag in their top-level
Describe will be rejected from promotion to conformance
2019-06-25 21:41:38 -07:00
Kubernetes Prow Robot
20e97a6b4b
Merge pull request #79388 from aojea/e2e_ipv6_guestbook
...
Add ipv6 support to the e2e guestbook test
2019-06-25 19:25:13 -07:00
Kubernetes Prow Robot
ab618571b1
Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
...
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Kubernetes Prow Robot
5305532fcf
Merge pull request #75243 from aojea/e2e_ipv6_dns
...
Add ipv6 support to the DNS e2e tests
2019-06-25 18:15:14 -07:00
Kubernetes Prow Robot
22fb6fd174
Merge pull request #77595 from bertinatto/volume_limits
...
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Antonio Ojea
207c00aa8c
Add ipv6 support to the DNS e2e tests
...
Current DNS e2e test are only looking for A records, thus all IPv6
tests fail because we should look for AAAA records.
We can ask for both records in the same query, that allows us to
have the same tests for both scenarios.
` dig <name> A <name> AAAA`
In addition, the logic to find the hostname address has to be changed
because the command `hostname -i` fails in an IPv6 environemnt.
However, using `getent hosts $(hostname | ...)` give us the IPv6 adddress
of the current host.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-06-25 23:44:17 +02:00
Antonio Ojea
2017d9e03f
Add ipv6 support to the e2e guestbook test
2019-06-25 22:40:08 +02:00
Maysa Macedo
5fdddd31d2
Increase Network Policy tests coverage
2019-06-25 16:25:52 -04:00
Kubernetes Prow Robot
68aaf8b91f
Merge pull request #79352 from aojea/e2eIpv6Prestop
...
add IPv6 support to the e2e PreStop test
2019-06-25 11:44:49 -07:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
Fabio Bertinatto
33c8bacd41
Update nodeinfomanager to store volume limits in CSINode
2019-06-25 16:30:54 +02:00
Kubernetes Prow Robot
1db31d474f
Merge pull request #79057 from rphillips/fixes/e2e_kubelet_stats_fix
...
kubelet_stats: fix potential e2e crash dereferencing ContainerStats.CPU
2019-06-25 03:48:39 -07:00
Antonio Ojea
028206e13b
add IPv6 support to the e2e PreStop test
2019-06-25 11:52:07 +02:00
Kubernetes Prow Robot
38e95b1a78
Merge pull request #79317 from BenTheElder/yikeshell
...
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-25 01:15:29 -07:00
Kubernetes Prow Robot
bbc17310fc
Merge pull request #78922 from oomichi/add-ExpectEqual
...
Add ExpectEqual() to e2e framework
2019-06-25 01:14:50 -07:00
goodluckbot
032dde8754
Refactor statefulset e2e tests
2019-06-25 11:33:58 +08:00
s-ito-ts
ea06a1c936
change from milli bytes to bytes in ephemeral-storage resource limits
2019-06-24 02:29:53 +00:00
Benjamin Elder
21d1d273c8
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-23 17:01:54 -07:00
Antonio Ojea
410df752cd
Add ipv6 support to [sig-apps] StatefulSet e2e test
...
Use httpd docker images instead of nginx because they listen
by default both in IPv4 and IPv6
2019-06-23 17:23:28 +02:00
Kubernetes Prow Robot
8ce45b642e
Merge pull request #79262 from draveness/feature/graduate-pod-priority-to-ga
...
feat: cleanup PodPriority features gate
2019-06-23 02:45:54 -07:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
1dff339905
Merge pull request #67928 from vikaschoudhary16/e2e-dp
...
Add stub device plugin for e2e tests
2019-06-22 13:46:12 -07:00
Justin SB
0c57ad0004
kubectl attach test: wait for input before proceeding
...
This way we know stdin is attached and we are in a known state.
2019-06-22 15:45:58 -04:00
Kubernetes Prow Robot
eb145bef43
Merge pull request #79293 from SataQiu/cleanup-test-20190622
...
e2e: remove framework.Failf
2019-06-22 12:32:12 -07:00
draveness
b8950dab50
Revert "Add Bind extension point of the scheduling framework"
2019-06-22 22:52:57 +08:00
SataQiu
492c8c6f24
e2e: remove framework.Failf
2019-06-22 21:33:16 +08:00
Kubernetes Prow Robot
6efc5a8c9a
Merge pull request #78513 from chenchun/binder
...
Add Bind extension point of the scheduling framework
2019-06-21 18:52:25 -07:00
Kubernetes Prow Robot
dc8b928136
Merge pull request #79162 from SataQiu/fix-test-20190619
...
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Kubernetes Prow Robot
0c2830c560
Merge pull request #79084 from k-toyoda-pi/common_sysctlgo_remove_duplicate_comment
...
remove duplicate comment in e2e/common/sysctl.go
2019-06-21 12:16:39 -07:00
Kubernetes Prow Robot
80e844defa
Merge pull request #79150 from alejandrox1/framework-refactor-runtime-obj
...
Refactored runtime.Object helper functions into subpkg
2019-06-21 07:52:37 -07:00
Kubernetes Prow Robot
737d74d12d
Merge pull request #79092 from lubinsz/pr_bzl_rundir2
...
rundir attribute was missing for some new integration test cases
2019-06-20 22:50:34 -07:00
vikaschoudhary16
53c0641686
Add stub device plugin for e2e tests
2019-06-21 11:07:12 +05:30
Kubernetes Prow Robot
0f2b01ab33
Merge pull request #78022 from xychu/fix-shellchecks-g
...
Fix shellcheck failures in test/cmd/g.*sh
2019-06-20 20:46:35 -07:00
Jorge Alarcon Ochoa
4147d727a6
Refactored runtime.Object helper functions into subpkg
...
Organized functions that abstract the access of
k8s.io/apimachinery/pkg/runtime.Objects into a framework subpackge.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-06-20 21:42:59 -04:00
Kubernetes Prow Robot
ee0c2e31e8
Merge pull request #78780 from spiffxp/name-test-e2e-api-imports
...
rename test/e2e{,_node} api imports to groupversion
2019-06-20 17:14:35 -07:00
Kubernetes Prow Robot
c898ab2043
Merge pull request #78378 from k-toyoda-pi/golint_test_e2e_common_s-v
...
Fix golint failure in e2e/common/util.go
2019-06-20 12:58:35 -07:00
Aaron Crickenberger
cb88d87dab
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/resourcemetrics/v1alpha1
2019-06-20 11:41:23 -07:00
Aaron Crickenberger
4ca8821154
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1
2019-06-20 11:41:21 -07:00
Aaron Crickenberger
4d5d5b71d2
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1beta1
2019-06-20 11:41:12 -07:00
Aaron Crickenberger
efe97e4b0a
add import-alias for k8s.io/api/storage/v1beta1
2019-06-20 11:41:02 -07:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
35cef7369e
add import-alias for k8s.io/api/settings/v1alpha1
2019-06-20 11:40:54 -07:00
Aaron Crickenberger
9d5aac1845
add import-alias for k8s.io/api/scheduling/v1
2019-06-20 11:40:47 -07:00
Aaron Crickenberger
32f8aef97b
add import-alias for k8s.io/api/rbac/v1
2019-06-20 11:40:39 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
2a8bee4b37
add import-alias for k8s.io/api/extensions/v1beta1
2019-06-20 11:40:21 -07:00
Aaron Crickenberger
b8d0ce4019
add import-alias for k8s.io/api/core/v1
2019-06-20 11:40:15 -07:00
Aaron Crickenberger
f3fd3cff8e
add import-alias for k8s.io/api/coordination/v1beta1
2019-06-20 11:40:12 -07:00
Aaron Crickenberger
291658725b
add import-alias for k8s.io/api/certificates/v1beta1
2019-06-20 11:40:06 -07:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Aaron Crickenberger
426ffe0913
add import-alias for k8s.io/api/auditregistration/v1alpha1
2019-06-20 11:39:47 -07:00
Aaron Crickenberger
f38e47dd9d
add import-alias for k8s.io/api/apps/v1beta2
2019-06-20 11:39:45 -07:00
Aaron Crickenberger
0aae740ede
add import-alias for k8s.io/api/apps/v1
2019-06-20 11:39:40 -07:00
Aaron Crickenberger
ba36cc9ebb
add import-alias for k8s.io/api/admissionregistration/v1beta1
2019-06-20 11:39:35 -07:00
Kubernetes Prow Robot
ab3b24ac0a
Merge pull request #77798 from xychu/fix-shellchecks-b
...
Fix shellchecks in test/cmd/{b,c}.*.sh
2019-06-20 10:00:52 -07:00
Chun Chen
b339c0a8bf
Add Bind extension point of the scheduling framework
2019-06-20 15:56:01 +08:00
Kubernetes Prow Robot
00e13dbc12
Merge pull request #78187 from dims/update-vendored-dependencies-to-released-versions-2
...
Update vendored dependencies to released version
2019-06-19 23:46:48 -07:00
Kubernetes Prow Robot
465e96535d
Merge pull request #78836 from dims/verify-import-aliases-during-typecheck
...
Verify import aliases
2019-06-19 21:11:01 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
...
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
Xiangyang Chu
38a785b1ee
Fix review comments to use ${}
2019-06-20 10:46:41 +08:00
Kubernetes Prow Robot
96a2f12b4e
Merge pull request #79088 from s-ito-ts/golint_e2e_storage_testsuites
...
Fix golint failures of test/e2e/storage/testsuites
2019-06-19 18:37:25 -07:00
Kubernetes Prow Robot
bd35a48815
Merge pull request #78958 from tao12345666333/go-1.12.6
...
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Kubernetes Prow Robot
c47ab33e67
Merge pull request #79170 from soltysh/test_approver
...
Move soltysh back to approvers
2019-06-19 14:57:39 -07:00
Kubernetes Prow Robot
06656ce1ae
Merge pull request #79160 from vikaschoudhary16/e2e-upgrade-flake
...
e2e Flake: Pass updated deployment for comparison of replica count
2019-06-19 14:57:26 -07:00
Kubernetes Prow Robot
50181f3e90
Merge pull request #79151 from bclau/test-images/agnhost-baseimage-prefix
...
test images: Removes linux/ prefix from agnhost BASEIMAGE
2019-06-19 14:57:14 -07:00
Kubernetes Prow Robot
c2ff62c28c
Merge pull request #78779 from odinuge/test-cleanup
...
Enforce test style on e2e_node and e2e_kubeadm tests
2019-06-19 14:56:49 -07:00
Joe Betz
aa9999c8f1
Fix mutating webhook test image 'addlabel' to update existing labels instead of clobbering
2019-06-19 14:30:17 -07:00
Maciej Szulik
8a56562d8b
Move soltysh back to approvers
2019-06-19 16:31:38 +02:00
Tomas Nozicka
d4261ba741
Update Sig-Apps OWNERS in places that were missed in #76669
2019-06-19 15:36:16 +02:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
Vikas Choudhary
cc8facda70
Pass updated deployment for comparison of replica count
2019-06-19 14:21:42 +05:30
Kubernetes Prow Robot
9162d932cf
Merge pull request #78703 from MrHohn/svc-e2e-name-cleanup
...
[e2e] Make meaningful service name in test
2019-06-19 00:56:31 -07:00
Kubernetes Prow Robot
0a3557bc29
Merge pull request #75544 from pontiyaraja/pos
...
re-named conformance test name for pod creating with CPU and memory resources
2019-06-18 20:38:32 -07:00
Richard Chen
794ec63bbd
Output the nvidia gpu information in the E2E test.
...
Including the gpu information simplifies driver version verification.
nvidia-smi is used in order to display gpu information, which contains the driver version.
2019-06-18 17:11:19 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
...
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Kenichi Omichi
d5bc1ae8aa
Make the check strict to use ExpectNoError()
...
As https://github.com/kubernetes/kubernetes/pull/78478 we can use
ExpectNoError() instead of Expect(err).ToNot(HaveOccurred()) also.
This makes the test code check strict to cover the above case and
replaces the remaining in test/e2e/common/expansion.go
2019-06-18 16:55:16 +00:00
Kubernetes Prow Robot
0e499be526
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
...
e2e: fix return value of WaitForPodsWithLabelRunningReady
2019-06-18 08:04:22 -07:00
Kubernetes Prow Robot
1545b28b58
Merge pull request #79097 from xychu/fix-shellchecks-n
...
Fix shellcheck failures in test/cmd
2019-06-18 01:08:15 -07:00
Patrick Ohly
baef3e44cd
e2e: fix return value of WaitForPodsWithLabelRunningReady
...
Because of a := assignment, the anonymous function assigned the pod
list to a local variable instead of the
WaitForPodsWithLabelRunningReady return value which therefore always
was nil.
The correct code is an assignment with = as in WaitForPodsWithLabelScheduled.
2019-06-18 09:07:31 +02:00
s-ito-ts
85ba101947
Fix golint failures of test/e2e/storage/testsuites
2019-06-18 03:02:46 +00:00
Jiatong Wang
b1c346c295
Move node related methods to framework/node package
...
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Han Kang
54dcf5c9c4
add readyz endpoint for kube-apiserver readiness checks
...
add startup sequence duration and readyz endpoint
add rbac bootstrapping policy for readyz
add integration test around grace period and readyz
rename startup sequence duration flag
copy health checks to fields
rename health-check installed boolean, refactor clock injection logic
cleanup clock injection code
remove todo about poststarthook url registration from healthz
2019-06-17 11:16:13 -07:00
Ryan Phillips
997e1f6442
kubelet_stats: fix potential e2e crash dereferencing CPU
2019-06-17 09:57:21 -05:00
Kubernetes Prow Robot
8f927d8815
Merge pull request #78277 from k-toyoda-pi/change_betrue_equal_for_cronjob_test
...
Change BeTrue to Equal/BeNumerically in cronjob e2e test
2019-06-17 07:14:11 -07:00
Claudiu Belu
9e81f3b50b
tests: Replaces images used with agnhost (part 2)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
pontiyaraja
40146c85f4
re-named conformance test name for pod creating with CPU and memory resources
2019-06-17 14:54:08 +05:30
Claudiu Belu
d274107620
tests: Fixes Windows image pulling tests
...
A previous commit removed all hardcoded image names from the tests
and centralized them into kubernetes/test/utils/image/manifest.go,
but it contained a few errors, which causes the image pulling tests
to fail on Windows:
1. No entry was written for AuthenticatedWindowsNanoServer, causing
one of the tests to try to spawn a pod with the image name /.
2. The registry set for WindowsNanoServer was e2eRegistry, which is
set to a dockerhub registry (e2eteam) in all sig-windows jobs,
which is not the purpose of the test itself (the test tries to
spawn a pod using an image from gcr.io).
The reason why e2eRegistry is set to e2eteam is because that
registry contains the Windows images needed for all the Kubernetes
E2E tests.
This commit addresses this issue.
2019-06-17 01:42:30 -07:00
Bin Lu
53e639ab9d
rundir attribute was missing for some new integration test cases
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-17 01:00:05 -07:00
Xiangyang Chu
99b2184993
Fix shellcheck faulures in test/cmd
...
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00
Claudiu Belu
4ccdcd7ab1
test images: Removes linux/ prefix from agnhost BASEIMAGE
...
A previous commit added the BASEIMAGE file for agnhost, but with
the linux/ prefix, which is supposed to be added in the Windows
support PR [1].
This is needed in order to be able to build the image.
[1]: https://github.com/kubernetes/kubernetes/pull/76838
2019-06-16 21:57:12 -07:00
toyoda
c4a96d3215
fix golint failure in e2e/common/util.go
2019-06-17 10:10:36 +09:00
toyoda
12cc719e62
remove duplicate comment in e2e/common/sysctl.go
2019-06-17 09:20:51 +09:00
Davanum Srinivas
a6f8d575ba
Add kubeletstatsv1alpha1 as the preferred alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
...
Change-Id: I05a8390a667dba307c09d95f836e08e0759c12ee
2019-06-15 22:31:51 -04:00
Kubernetes Prow Robot
c5087f25c0
Merge pull request #78916 from mkimuram/rem-dot-import
...
Remove . import from e2e test
2019-06-15 16:34:08 -07:00
Kubernetes Prow Robot
081f477560
Merge pull request #78992 from smarterclayton/increase_timeout
...
Increase load balancer timeout in test cases
2019-06-15 05:54:09 -07:00
Kubernetes Prow Robot
cb862e3323
Merge pull request #78912 from kwiesmueller/add-managedFields-wiping-tests
...
add more tests on clearing managedFields
2019-06-14 23:07:00 -07:00
Kubernetes Prow Robot
a5b80f5112
Merge pull request #78805 from spiffxp/slow-tagging
...
tag some release-blocking tests taking over 5min as [Slow]
2019-06-14 20:46:23 -07:00
Kubernetes Prow Robot
411d6789e1
Merge pull request #78394 from bclau/tests/reduce-to-agnhost-part-1
...
tests: Replaces images used with agnhost (part 1)
2019-06-14 16:50:22 -07:00
Kubernetes Prow Robot
231e869693
Merge pull request #77518 from bclau/tests/image-pulling
...
tests: Combine Linux / Windows image pulling tests
2019-06-14 16:50:09 -07:00
Kubernetes Prow Robot
34b66e5225
Merge pull request #78771 from ravisantoshgudimetla/tbe-allow-localaddress
...
Allow master nodes to be accessed from private ips
2019-06-14 15:26:34 -07:00
Kubernetes Prow Robot
1feb3b4016
Merge pull request #78716 from liggitt/log-gc-test
...
Add integration test for propagationPolicy=Orphan GC
2019-06-14 15:25:44 -07:00
Kenichi Omichi
66a3817d62
Add ExpectEqual() to e2e framework
...
Many e2e tests expect two values are the same, such check is one of
common things in tests. Now gomega.Expect(foo).To(gomega.Equal(bar))
is doing that, this adds ExpectEqual() for replacing the above call
for readable code.
In addition, this replaces under apimachinery/generated_clientset.go
as a sample.
2019-06-14 20:57:20 +00:00
Davanum Srinivas
011911022d
Fix for build failure - viper now uses ConfigFileNotFoundError
...
Change-Id: I51c4fe26239c4a7bf750e0a6a66b452d9138832f
2019-06-14 16:47:53 -04:00
Masaki Kimura
701395c392
Remove dot import from e2e test and replace with framework.ExpectNoError
2019-06-14 20:46:11 +00:00
Odin Ugedal
35cb87f9cf
Fix file permissions for non executable files
...
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-14 21:04:50 +02:00
Kubernetes Prow Robot
ba4e931dd6
Merge pull request #78389 from bclau/test-images/centralize-images-to-agnhost-part-1
...
Centralizes images into agnhost (part 1)
2019-06-14 11:52:22 -07:00
Odin Ugedal
6bb8bb0227
Cleanup e2e_node test style
...
Remove the use of Except(err).NotTo(HaveOccured()), and switch to using
framework ramework.ExpectNoError(err)
2019-06-14 17:51:48 +02:00
Clayton Coleman
e7d26b3111
Increase load balancer timeout in test cases
...
In a heavily contested AWS account (that was close to rate limits)
it took more than 2m for the load balancer to begin accepting
requests. This increases the timeout to 3m to give upgrade tests
more of a chance to pass in a contentious environment.
2019-06-14 11:45:46 -04:00
Kubernetes Prow Robot
7abf2832bf
Merge pull request #78614 from liggitt/remove-beta-e2e-use
...
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
518f16636f
Merge pull request #78593 from RobertKrawitz/ephemeral-storage-quota-cleanup
...
Ephemeral storage quota cleanup
2019-06-14 05:33:18 -07:00
Kubernetes Prow Robot
4108333bcf
Merge pull request #78476 from mysunshine92/fix-typo-anti
...
fix typo in /test/integration
2019-06-14 04:08:48 -07:00
Kubernetes Prow Robot
928a642ffd
Merge pull request #78459 from davidz627/fix/skipXFS
...
Skip GCE PD in-tree plugin tests if fstype is xfs and node distro is not ubuntu or custom
2019-06-14 04:08:35 -07:00
Kubernetes Prow Robot
aa125b4dd5
Merge pull request #78390 from bclau/test-images/centralize-images-to-agnhost-part-2
...
Centralizes images into agnhost (part 2)
2019-06-14 02:51:04 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
...
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
bab3634adf
Merge pull request #78144 from lubinsz/pr_bazel_etcdmaster
...
Bug fix: remove etcd related issues in bazel-test-integration
2019-06-14 02:50:38 -07:00
Kubernetes Prow Robot
d8695d06b7
Merge pull request #78005 from ahg-g/ahg-perfilter
...
prefilter extension point implementation for the scheduler
2019-06-14 00:29:13 -07:00
Kubernetes Prow Robot
e2c5243d77
Merge pull request #77840 from mgdevstack/master-registry-utils
...
Add references of registry and image from imageutils
2019-06-14 00:28:47 -07:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
...
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
Kubernetes Prow Robot
0f5650d68b
Merge pull request #75859 from k-toyoda-pi/fix_shellcheck_failure_make-rules
...
fix shellcheck failures in /hack/make-rules/test.sh
2019-06-13 20:36:47 -07:00
Kubernetes Prow Robot
69d2e4304a
Merge pull request #75128 from bclau/tests/hostpath-privileged-false
...
tests: creates HostPath pods as unprivileged
2019-06-13 20:36:21 -07:00
Kubernetes Prow Robot
16bc6c1d02
Merge pull request #74982 from mgdevstack/promote-dns-hostname
...
Promote DNS e2e verifying DNS resolution for hostname and subdomain
2019-06-13 19:13:11 -07:00
Kubernetes Prow Robot
8305729d7a
Merge pull request #74635 from xychu/fix-with-assert
...
Fix shellchecks follow the `${var:?}` pattern
2019-06-13 19:12:45 -07:00
Kubernetes Prow Robot
c6bc1639c3
Merge pull request #72178 from dims/remove-ovirt-photon-cloudstack-cloud-providers
...
Remove ovirt/cloudstack/photon cloud providers
2019-06-13 19:12:19 -07:00
Kubernetes Prow Robot
62eae8d058
Merge pull request #70639 from mgdevstack/promote-security-context
...
Promote security context NodeConformance tests to Conformance suite
2019-06-13 17:48:20 -07:00
Claudiu Belu
e3774b85b2
tests: Combine Linux / Windows image pulling tests
...
Because Linux images cannot run on Windows and vice-versa, separate
tests were added for both OSes, only separated by a [LinuxOnly] tag
in their names.
Based on the given --node-os-distro, we can select which image to
use when spawning the pod.
2019-06-13 15:57:59 -07:00
Claudiu Belu
bd8cb8fae0
tests: Replaces images used with agnhost (part 1)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
Claudiu Belu
b633031ec5
tests: Sets MaximumNArgs for agnhost subcommands to 0
...
The subcommands rely on flags, not args. Because of this, the
cobra.MaximumNArgs should be set 0.
2019-06-13 14:58:34 -07:00
Claudiu Belu
bad9e15509
Updates agnhost README and Dockerfile files
...
logs-generator used to be configured through env variables, but with
the image centralization, that changed to flags.
This commit updates the agnhost README to reflect that.
2019-06-13 14:58:33 -07:00
Claudiu Belu
64c69094d3
Updates agnhost image version in documentation
...
The version was bumped to 2.1, not 1.1.
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2019-06-13 14:58:22 -07:00
Claudiu Belu
76550ea8b8
test images: Centralizes images into agnhost (part 1)
...
Centralizes the following images into agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 14:51:39 -07:00
Claudiu Belu
99e2646067
test images: Refactors agnhost image
...
Refactors the functions used in agnhost into different modules,
based on their functionality, leaving only the main in the base
folder.
Future commits will add several functionalities to agnhost, so
this change will be necessary to keep it clean.
2019-06-13 14:24:15 -07:00
Claudiu Belu
8fc07ea929
Centralizes images into agnhost (part 2)
...
Centralizes the following images into agnhost:
- net
- netexec
- nettest
- webhook
Adds logging persistent flags, which are used by some tests.
2019-06-12 21:31:37 -07:00
Jintao Zhang
37f091eadf
update to go 1.12.6
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
SataQiu
f90e228e79
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-12 19:00:15 +08:00
Kubernetes Prow Robot
0a9373b89a
Merge pull request #78885 from liggitt/procmount-1.15
...
1.15: Fix incorrect procMount defaulting
2019-06-11 13:46:18 -07:00
Kevin Wiesmüller
49abd3b3ab
add more tests on clearing managedFields
2019-06-11 20:30:53 +02:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Abdullah Gharaibeh
a61a437ef2
prefilter extension point implementation.
2019-06-10 17:01:50 -04:00
Kubernetes Prow Robot
32ec6c212e
Merge pull request #78691 from rajansandeep/revertto131
...
Revert CoreDNS to 1.3.1 in kube-up
2019-06-10 10:55:10 -07:00
Haosdent Huang
7ce6e71891
Fix typos.
2019-06-11 01:52:14 +08:00
Davanum Srinivas
e0821ca3dd
Remove ovirt/cloudstack/photon cloud providers
...
Change-Id: Iddb80bdc2a9d75d444b8a3cfe0b142acb78e9097
2019-06-10 12:50:53 -04:00
Aaron Crickenberger
248756e066
tag some release-blocking tests taking over 5min as [Slow]
...
I looked at all runs over all jobs run against master or release-1.15,
ignored [Feature:.*] or [Serial] tests, and added [Slow] to any tests
whose 50th percentile duration was over 5 minutes
Misc comments:
- the apimachinery chunking test is the worst offender, at about 15min
- all test cases for all drivers that ran the [Testpattern:.*(xfs)] were
taking longer than 5 minutes, so I got lucky and this was an easy
call; not sure how to support some drivers taking too long for some
test patterns
2019-06-07 17:42:35 -07:00
Kubernetes Prow Robot
c7972d9a5e
Merge pull request #78553 from caesarxuchao/alpha-gate-remainingItemCount
...
Protecting remainingItemCount behind a feature flag. Also updating the API doc
2019-06-07 12:21:58 -07:00
Kubernetes Prow Robot
28f13f720c
Merge pull request #78770 from liggitt/kubectl-apply-extra-properties
...
Fix kubectl apply skew test with extra properties
2019-06-06 14:43:59 -07:00
Jordan Liggitt
044e92b5cf
Fix kubectl apply skew test with extra properties
2019-06-06 14:55:52 -04:00
ravisantoshgudimetla
64bb6337d0
Allow master nodes to be accessed from private ips
2019-06-06 14:38:05 -04:00
Jordan Liggitt
2b911dda65
Fix conflicting duplicate webhook test
2019-06-06 11:35:13 -04:00
globervinodhn
faf5cda046
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-06-06 11:39:27 +05:30
globervinodhn
86f13ecb5a
New E2E to verify pods are deleted after Job deletion
2019-06-06 10:42:48 +05:30
Kubernetes Prow Robot
49a485b7d8
Merge pull request #78710 from spiffxp/conformance-exclude-tags
...
Error on tests ineligible for promotion to conformance
2019-06-05 14:02:14 -07:00
Aaron Crickenberger
67be4f5d06
Error on tests ineligible for promotion to conformance
...
If there are tags in the test name that describe qualities of the
test that make it ineligible for conformance, raise an error. This
is basically the "skip list" that heptio's e2e image used to use.
Thankfully all of our existing Conformance tests lack these tags. I
considered added [Slow] to the list, but let's save that for another
day.
2019-06-05 10:36:59 -07:00
Maciej Borsz
31f18c0a6d
Modify firewall rules names to make them shorter.
2019-06-05 13:18:53 +02:00
Jordan Liggitt
07670b67d2
Add integration test for propagationPolicy=Orphan GC
2019-06-05 01:45:22 -04:00
Bin Lu
34f95a8985
Bug fix: remove etcd related issues in bazel-test-integration
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-04 22:09:48 -07:00
Kubernetes Prow Robot
714fcd910f
Merge pull request #78537 from liggitt/log-gc-test
...
Fix GC integration test
2019-06-04 20:35:53 -07:00
Kubernetes Prow Robot
0d1007f84b
Merge pull request #78708 from jpbetz/reinvocation-flake-fix
...
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 18:45:52 -07:00
Kubernetes Prow Robot
b3b1c7c1e1
Merge pull request #78704 from dashpole/fix_windows_podresources
...
Disable kubelet local endpoints on windows
2019-06-04 16:47:52 -07:00
Joe Betz
e51320f69d
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 15:52:55 -07:00
Jordan Liggitt
6a7e7fc156
Fix TestStressingCascadingDeletion flake
2019-06-04 17:26:36 -04:00
David Ashpole
80ed28b15b
disable kubelet local endpoints on windows
2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot
85f2730d85
Merge pull request #78658 from jingxu97/June/window-test-fix
...
Fix volume mount tests issue for windows
2019-06-04 13:15:53 -07:00
Zihong Zheng
a4de66027f
[e2e] Make meaningful service name in test
2019-06-04 13:14:55 -07:00
Sandeep Rajan
bfb809f3c6
revert coredns to 1.3.1
2019-06-04 08:53:02 -04:00
Kubernetes Prow Robot
a04017a468
Merge pull request #78530 from liggitt/deflake-core-integration
...
Wait for pods to be garbage collected in integration test
2019-06-04 05:03:08 -07:00
Xiangyang Chu
cfc7b0d9c3
Change quoting format
2019-06-04 14:42:01 +08:00
Xiangyang Chu
81eb22900b
Fix shellchecks in test/cmd/{b,c}.*.sh
2019-06-04 14:42:01 +08:00
Jordan Liggitt
8229af31d2
Move test/e2e use to v1 APIs
2019-06-03 14:46:08 -04:00
Chao Xu
a64b3890e7
generated
2019-06-03 10:34:44 -07:00
Chao Xu
1ad5cb5bb1
Protect remainingItemCount behind a feature flag. Also updating the API doc
2019-06-03 10:34:44 -07:00
Jing Xu
8aacb8003f
Fix volume mount tests issue for windows
...
For windows node, security context is disabled. This PR fixes a bug so
that fsGroup will not be applied to pods that run on windows node.
Change-Id: Id9870416d2ad8ef791b3b4896d6747a2adbada2f
2019-06-03 10:12:27 -07:00
Hemant Kumar
0f62e3fbe8
Make language of error msgs and func names consistent: ExpandVolumeInUse
...
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot
ed4c1ddd23
Merge pull request #78548 from dashpole/flaky_performance
...
Move e2e node perf test to flaky suite
2019-06-01 12:12:29 -07:00
Kubernetes Prow Robot
9186366577
Merge pull request #78410 from MrHohn/svc-finalizer-e2e
...
[e2e] Add tests for service load balancer finalizer
2019-06-01 12:12:16 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
...
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Kubernetes Prow Robot
08b19d58ce
Merge pull request #78486 from yastij/event-integration-test
...
add integration test for core/v1beta1 event compatibility
2019-06-01 02:54:55 -07:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
...
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
Kubernetes Prow Robot
d817a7e9a0
Merge pull request #78325 from caesarxuchao/storageVersionHash-beta
...
Graduate storageVersionHash field in the discovery doc to beta
2019-05-31 23:22:33 -07:00
Kubernetes Prow Robot
753a422b13
Merge pull request #78305 from rajansandeep/addreadyplugintotests
...
Add ready plugin in CoreDNS corefile for DNS tests
2019-05-31 23:22:20 -07:00
Kubernetes Prow Robot
227f34b33a
Merge pull request #77817 from smarterclayton/apicrd
...
CRDs should support watch of protobuf PartialObjectMetadata
2019-05-31 20:44:35 -07:00
Robert Krawitz
10d37bb748
Rename pkg/volume/util/quota -> pkg/volume/util/fsquota
2019-05-31 13:57:44 -04:00
Kubernetes Prow Robot
e87679cfaa
Merge pull request #74733 from wk8/wk8/misc_fixes
...
Not asking for sudo passwords for password-less sudo users any more
2019-05-31 07:12:43 -07:00
Mayank Gaikwad
3377737af2
Add references of registry and image from imageutils
2019-05-31 14:27:07 +05:30
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
...
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
Kubernetes Prow Robot
cf76868b34
Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
...
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Chao Xu
6cf499db6c
object matcher
2019-05-30 17:23:35 -07:00
Clayton Coleman
26a6cdda86
Set integration tests to use distinct namespaces
...
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.
Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.
From a failed integration run:
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
Joe Betz
95fa928ecb
Add mutating admission webhook reinvocation
2019-05-30 14:31:09 -07:00
Joe Betz
55ecc45455
split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook
2019-05-30 14:31:09 -07:00
David Ashpole
3a33f5378c
move e2e node perf test to flaky suite
2019-05-30 13:50:28 -07:00
David Zhu
00eb0d23c3
Skip tests is fstype is xfs and node distro is gci, cos, or windows
2019-05-30 13:08:29 -07:00
Jordan Liggitt
d93ef9396b
Wait for pods to be garbage collected
2019-05-30 11:46:09 -04:00
Yassine TIJANI
bfa12a0992
add integration test for core/v1beta1 event compatibility
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 15:01:15 +00:00
Clayton Coleman
89e752add0
CRDs should support watch of protobuf PartialObjectMetadata
...
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.
As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).
2019-05-30 10:47:35 -04:00
Jorge Alarcon Ochoa
4969a05327
Refactored pod-related functions from framework/util.go
...
This a refactoring of framework/utils.go into framework/pod.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
Kubernetes Prow Robot
13ec0e2bb9
Merge pull request #78478 from draveness/feature/use-framework-expect-no-error
...
fix: use framework.ExpectNoError instead of gomega
2019-05-30 04:55:01 -07:00
Kubernetes Prow Robot
38afd9815e
Merge pull request #78445 from soltysh/remove_job_scale
...
Remove kubectl scale job
2019-05-30 02:24:33 -07:00
Kubernetes Prow Robot
b18846cf4c
Merge pull request #78426 from sttts/sttts-crd-conversion-beta
...
apiextensions: promote CRD conversion to beta
2019-05-30 02:24:18 -07:00
Kubernetes Prow Robot
6dfec4a2ec
Merge pull request #78386 from SataQiu/fix-test-golint-20190527
...
Fix golint failures of test/e2e/chaosmonkey
2019-05-29 22:54:45 -07:00
Chao Xu
2f4c273398
Graduate storageVersionHash field in the discovery doc to beta
2019-05-29 17:38:28 -07:00
Kubernetes Prow Robot
eb2b5d37ff
Merge pull request #78283 from s-ito-ts/77706_e2e_common
...
Use framework.ExpectError() for e2e/common
2019-05-29 17:24:58 -07:00
Kubernetes Prow Robot
60248990a8
Merge pull request #78051 from davidz627/fix/skipMetrics
...
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-29 17:24:33 -07:00
Kubernetes Prow Robot
bb475c4a64
Merge pull request #77567 from wgliang/features/scheduling-framework-post-bind
...
Add Post-bind extension point to the scheduling framework
2019-05-29 17:24:20 -07:00
Jean Rouge
1bd3d8b929
Not asking for sudo passwords for password-less sudo users any more
...
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh
with a password-less sudo user on a dev box right now requires to first
create a password for that user, and then type it every time one wants
to run these tests. This patch is fixing this by not asking for sudo
credentials if it seems the user can run any command without a
password.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-29 14:04:13 -07:00
Dr. Stefan Schimanski
c692875277
apiextensions: fix conversion tests to enable pruning
2019-05-29 21:57:45 +02:00
yameiwang
8d07b2641e
fix typo in /test/integration
2019-05-30 03:47:43 +08:00
Dr. Stefan Schimanski
1e5591297b
apiextensions: remove CustomResourceWebhookConversion test guards
2019-05-29 21:19:51 +02:00
Robert Krawitz
46b3c75113
Add e2e test for quota-based eviction.
...
Positive test is skipped if quotas not available.
2019-05-29 15:12:28 -04:00
Kubernetes Prow Robot
472b9011d5
Merge pull request #77937 from MaysaMacedo/increase-e2e-np-tests
...
Increase coverage for e2e Network Policy tests
2019-05-29 11:26:39 -07:00
Kubernetes Prow Robot
c7611727a6
Merge pull request #77861 from bclau/images/dnsutils-coredns
...
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
2019-05-29 11:26:26 -07:00
Kubernetes Prow Robot
cc11d977b4
Merge pull request #76826 from bclau/tests/nettest-recheck
...
tests: Adds retry to netexec connectivity check
2019-05-29 11:26:00 -07:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
...
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kenichi Omichi
63e0507fd9
Check e2e test code to use ExpectError()
...
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kubernetes Prow Robot
3978d13d45
Merge pull request #78086 from lubinsz/pr_bzl_api
...
data attribute was missing for apiextensions-apiserver test cases
2019-05-29 09:44:38 -07:00
draveness
d6c600dac0
fix: use framework.ExpectNoError instead of gomega
2019-05-29 23:46:35 +08:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
...
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
350c309da4
Merge pull request #78284 from SataQiu/test-e2e-refactor-20190524
...
[e2e] Refactor: cleanup Logf from framework/util
2019-05-29 05:33:15 -07:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
...
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
Kubernetes Prow Robot
223809de3b
Merge pull request #78279 from k-toyoda-pi/replace_expecterror_e2e_a
...
Use framework.ExpectError() for e2e/a*
2019-05-29 03:11:16 -07:00
Kubernetes Prow Robot
51336deb4a
Merge pull request #78264 from tallclair/runasnonroot
...
Add RunAsNonRoot test
2019-05-29 03:10:50 -07:00
Kubernetes Prow Robot
cd9f430941
Merge pull request #78135 from liggitt/webhook-conversion
...
Convert to admission webhook-recognized versions
2019-05-29 00:52:36 -07:00
s-ito-ts
3492c81e12
Use framework.ExpectError() for e2e/common
2019-05-29 05:46:16 +00:00
Kubernetes Prow Robot
afba9c0355
Merge pull request #77877 from liggitt/deflake-integration
...
Wait for integration precondition
2019-05-28 22:21:12 -07:00
Kubernetes Prow Robot
65188f8690
Merge pull request #77852 from k-toyoda-pi/golint_test_e2e_common_p-r
...
Fix golint failures of test/e2e/common/[p-r]*
2019-05-28 22:21:00 -07:00
Nils Domrose
cc93ec05e8
Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils
2019-05-28 22:18:42 +02:00
Zihong Zheng
a9ed5702be
[e2e] Add tests for service load balancer finalizer
2019-05-28 11:32:24 -07:00
Jordan Liggitt
8c194ea615
Add webhook admission conversion test
2019-05-28 14:30:20 -04:00
yameiwang
098c29b5f4
fix typos in if statememnt in /test/e2e_node
2019-05-28 23:04:33 +08:00
Jordan Liggitt
145e8c46cf
Make GetRemainingItemCount/SetRemainingItemCount use pointers
2019-05-28 10:37:06 -04:00
Maciej Szulik
85d8b0ce3f
Remove kubectl scale job
2019-05-28 15:24:38 +02:00
Kubernetes Prow Robot
b49d429f64
Merge pull request #78381 from qingsenLi/k8s-190527
...
fix a little spelling error
2019-05-28 01:02:57 -07:00
Kubernetes Prow Robot
cc5a87dba9
Merge pull request #78326 from roycaihw/crd-kubectl-e2e
...
fix test flake when kubectl e2e and crd-openapi e2e run in parallel
2019-05-28 01:02:43 -07:00
Kubernetes Prow Robot
470916d32d
Merge pull request #77922 from sttts/sttts-structural-crd-pruning-conversion-test
...
apiextensions: integration tests for pruning after conversion webhook
2019-05-28 01:02:00 -07:00
Haowei Cai
9808fa3d6c
mitigate test flake when kubectl e2e and crd-openapi e2e run in parallel
2019-05-27 12:59:11 -07:00
qingsenLi
f98bbdec32
fix a little spelling error
2019-05-28 01:38:44 +08:00
SataQiu
a6e0614dd9
fix golint failures of test/e2e/chaosmonkey
2019-05-27 18:30:12 +08:00
Maysa Macedo
b6f73bc82a
Increase coverage for e2e Network Policy tests
2019-05-27 02:59:56 -04:00
toyoda
028cd65db9
fix golint failure in e2e/common/[p-r]*
2019-05-27 08:57:02 +09:00
Kubernetes Prow Robot
16d33c4985
Merge pull request #78042 from oomichi/use-ExpectNoError-common2
...
Use framework.ExpectNoError() on e2e/common
2019-05-25 13:03:50 -07:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
...
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
Dr. Stefan Schimanski
cd0b46874a
apiextensions: add storage race TODO in CRD conversion e2e test
2019-05-25 17:57:04 +02:00
Chao Xu
e28a1072d9
Make ListMeta.RemainingItemCount a pointer (*int64) to make sure it's omitted
...
when serialized to proto.
The SetRemainingItemCount() and GetRemainingItemCount() still takes and
returns an int64 to make developers life easier.
2019-05-24 18:12:55 -07:00
Tim Allclair
19a588eeda
Add a special-cased runtime handler for dockershim
2019-05-24 15:30:34 -07:00
Tim Allclair
c851c480d3
Move to debian-base non-root image
2019-05-24 11:57:43 -07:00
Sandeep Rajan
08e3fb5588
Add ready plugin to dns tests
2019-05-24 11:08:58 -04:00
SataQiu
d3a902ff5b
e2e refactor: cleanup Logf form framework/util
2019-05-24 16:39:46 +08:00
toyoda
7acb1540a9
Use framework.ExpectError() for e2e/a*
2019-05-24 15:16:02 +09:00
Kubernetes Prow Robot
a07b027261
Merge pull request #77825 from roycaihw/crd-openapi-beta
...
Promote Publish CRD OpenAPI to beta
2019-05-23 22:24:31 -07:00
Morten Torkildsen
f1883c9e8c
Support scale subresource for PDBs ( #76294 )
...
* Support scale subresource for PDBs
* Check group in finder functions
* Small fixes and more tests
2019-05-23 22:24:17 -07:00
toyoda
749e76351f
change BeTrue to Equal or BeNumerically in cronjob e2e test
2019-05-24 13:22:07 +09:00
Mikhail Mazurskiy
4ce1fb7d40
Cleanup math/rand package usage
2019-05-24 09:25:04 +10:00
Kubernetes Prow Robot
8c94f4daed
Merge pull request #78058 from verult/skip-leaking-pd
...
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredM…
2019-05-23 14:48:20 -07:00
Tim Allclair
6e78c5bdde
Add RunAsNonRoot test
2019-05-23 12:23:04 -07:00
Kubernetes Prow Robot
d83805c479
Merge pull request #78194 from roycaihw/crd-openapi-e2e
...
Fix alpha CRD openapi e2e
2019-05-22 21:34:25 -07:00
Kubernetes Prow Robot
d1d6f64cda
Merge pull request #78198 from Random-Liu/node-e2e-service-account
...
Use default service account when creating test instance.
2019-05-22 20:06:23 -07:00
Kubernetes Prow Robot
367f135372
Merge pull request #78192 from Random-Liu/support-image-family-in-node-e2e
...
Support image family in node e2e image config file.
2019-05-22 13:52:38 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
...
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Haowei Cai
629bdf5e84
restore test behavior for CRD without validation cases
...
the test doesn't set empty validation but expects CRD controller to treat
nil schema specially and publish an empty schema
2019-05-22 12:16:08 -07:00
Haowei Cai
1cfed1cca6
fix crd openapi alpha e2e
...
make schema used in e2e structural so it can be published;
GET before UPDATE to tolerate object change
2019-05-22 12:14:55 -07:00
Jordan Liggitt
46b5573f78
Fix CRD e2e tests
2019-05-22 10:31:34 -04:00
Kenichi Omichi
496a18febc
Add hack/verify-test-code.sh
...
This script checks coding style for test code.
It is useful to enforce developers to use framework methods for
keeping readable test code for example.
2019-05-22 14:15:25 +00:00
Kubernetes Prow Robot
6ab483b6fb
Merge pull request #78155 from qingsenLi/k8s-190521
...
remove unused const in test/integration
2019-05-22 04:01:05 -07:00
Kubernetes Prow Robot
3371378506
Merge pull request #78096 from SataQiu/fix-golint-test-20190520
...
Fix golint failures of test/e2e/storage/drivers
2019-05-22 04:00:52 -07:00
Kubernetes Prow Robot
ec0f8b843f
Merge pull request #77913 from s-ito-ts/golint_test_e2e_autoscaling
...
Fix golint failures of test/e2e/autoscaling
2019-05-22 04:00:25 -07:00
Kubernetes Prow Robot
c2633d8969
Merge pull request #77890 from oomichi/use-ExpectNoError-scalability
...
Use ExpectNoError() for scalability and scheduling
2019-05-22 02:40:25 -07:00
Lantao Liu
6bcad9cf71
Support image family in node e2e image config file.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-21 21:32:48 -07:00
Lantao Liu
cd33337ad9
Use default service account when creating test instance.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-21 21:09:04 -07:00
Kubernetes Prow Robot
2fd1556eb3
Merge pull request #77720 from jiatongw/e2e/framework/service_util
...
Move service_util endpoints related functions to framework/endpoints/ports.go
2019-05-21 11:40:21 -07:00
Kubernetes Prow Robot
ae2a1628f6
Merge pull request #75459 from wk8/wk8/gmsa_beta
...
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
qingsenLi
7da5f2d3e6
remove unused const in test/integration
2019-05-22 00:51:52 +08:00
Nils Domrose
d14c2cca8a
fix golint errors in test/e2e/storage/utils
2019-05-21 11:11:21 +02:00
Kubernetes Prow Robot
fe0d89fc57
Merge pull request #78131 from sttts/sttts-e2e-CreateMultiVersionTestCRD-fix
...
e2e: fix CreateMultiVersionTestCRD version logic
2019-05-20 18:39:05 -07:00
Kubernetes Prow Robot
938041694c
Merge pull request #77554 from sttts/sttts-structural-publishing
...
apiextensions: publish (only) structural OpenAPI schemas
2019-05-20 18:38:39 -07:00
Kubernetes Prow Robot
b049dfaa59
Merge pull request #77343 from johnSchnake/removeGKE-SAR-404-path
...
GKE also requires SAR endpoints
2019-05-20 13:21:13 -07:00
Dr. Stefan Schimanski
9e04e778dd
e2e: fix CreateMultiVersionTestCRD version logic
2019-05-20 22:07:02 +02:00
Jiatong Wang
76f76450ca
Move service_util endpoints related to framework/endpoints
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-20 11:47:38 -07:00
SataQiu
b828e570b1
fix golint failures of test/e2e/storage/drivers
2019-05-20 13:12:38 +08:00
s-ito-ts
c101f40e18
Fix golint failures of test/e2e/autoscaling
2019-05-20 02:20:39 +00:00
Bin Lu
b121545b70
data attribute was missing for apiserver integration test cases
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-19 20:04:35 +08:00
Guoliang Wang
20f9c9940e
Add Post-bind extension point to the scheduling framework
2019-05-19 18:12:16 +08:00
Kubernetes Prow Robot
0f31cc93b6
Merge pull request #74440 from yliaog/dynamic
...
Switched to use dynamic shared informer for Garbage Collector.
2019-05-18 12:23:12 -07:00
Kubernetes Prow Robot
df4f033a4f
Merge pull request #77501 from JieJhih/scheduling/plugin
...
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
Dr. Stefan Schimanski
bc86aeba05
apiextensions: switch OpenAPI pubilshing to structural schema
2019-05-18 11:12:48 +02:00
Kubernetes Prow Robot
a7f13bcaf0
Merge pull request #77901 from k-toyoda-pi/use_expect_no_error_e2e_network_1
...
use framework.ExpectNoError() for e2e/network
2019-05-17 21:51:07 -07:00
Kubernetes Prow Robot
21448ea606
Merge pull request #77220 from jingxu97/March/windows_test
...
Update subpath e2e test for windows
2019-05-17 20:26:46 -07:00
Kubernetes Prow Robot
df8e241fb9
Merge pull request #76346 from caesarxuchao/delete-admission-objects
...
Sending existing object to the webhook for the DELETE verb
2019-05-17 20:26:22 -07:00
Cheng Xing
eead54985d
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredMaster() is true
2019-05-17 16:52:06 -07:00
Yu Liao
05ebe91277
Switched to use dynamic shared informer for Garbage Collector.
2019-05-17 15:41:36 -07:00
JieJhih Jhang
2cd5fc54a1
add scheduling framework configuration
...
update bazel build
fix get plugin config method
initialize only needed plugins
fix unit test
fix import duplicate package
update bazel
add docstrings
add weight field to plugin
add plugin to v1alpha1
add plugins at appropriate extension points
remove todo statement
fix import package file path
set plugin json schema
add plugin unit test to option
initial plugin in test integration
initialize only needed plugins
update bazel
rename func
change plugins needed logic
remove v1 alias
change the comment
fix alias shorter
remove blank line
change docstrings
fix map bool to struct
add some docstrings
add unreserve plugin
fix docstrings
move variable inside the for loop
make if else statement cleaner
remove plugin config from reserve plugin unit test
add plugin config and reduce unnecessary options for unit test
update bazel
fix race condition
fix permit plugin integration
change plugins to be pointer
change weight to int32
fix package alias
initial queue sort plugin
rename unreserve plugin
redesign plugin struct
update docstrings
check queue sort plugin amount
fix error message
fix condition
change plugin struct
add disabled plugin for unit test
fix docstrings
handle nil plugin set
2019-05-18 06:30:28 +08:00
David Zhu
9854ecbeef
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-17 13:23:31 -07:00
Kubernetes Prow Robot
63e6cf3a0a
Merge pull request #78021 from s-ito-ts/77103_e2e_storage
...
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 13:04:25 -07:00
Kubernetes Prow Robot
a4fc418c84
Merge pull request #76401 from chardch/gpu-job-with-recreate
...
E2E test for GPU job interrupted by node recreate
2019-05-17 13:04:12 -07:00
Kenichi Omichi
b17384acbe
Use framework.ExpectNoError() on e2e/common
2019-05-17 17:30:38 +00:00
Jing Xu
e570d27b40
Update subpath e2e test for windows
...
Modify the current subpath e2e file to allow it run in windows clusters.
Change-Id: I921dfbbae9480c718853a97a76cc0a95b1af9790
2019-05-17 10:13:41 -07:00
Jordan Liggitt
0b88095a17
Switch admission webhook test to work with shared etcd
2019-05-17 09:54:14 -07:00
Chao Xu
7bb4a3bace
Run deleteValidation at the storage layer so that it will be retried on
...
conflict.
Adding unit test verify that deleteValidation is retried.
adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.
update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
Kubernetes Prow Robot
46a80259f6
Merge pull request #77980 from SataQiu/fix-golint-test-20190516
...
Fix golint failures of test/e2e
2019-05-17 07:01:04 -07:00
Kubernetes Prow Robot
583fcb91ca
Merge pull request #77976 from soltysh/validate_true
...
Don't rely on defaults enforce flags we rely on in tests
2019-05-17 07:00:51 -07:00
Kubernetes Prow Robot
76c112ed06
Merge pull request #77965 from lubinsz/pr_bazel_dir
...
Bug fix: failed to run integration test by using bazel
2019-05-17 07:00:37 -07:00
Kubernetes Prow Robot
3193e78a2f
Merge pull request #77333 from sttts/sttts-structural-crd-pruning
...
apiextensions: implement structural schema CRD pruning
2019-05-17 05:38:05 -07:00
s-ito-ts
9357cecf54
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 09:50:19 +00:00
Kubernetes Prow Robot
b10e16e8ec
Merge pull request #77955 from oomichi/use-ExpectNoError-upgrades
...
Use ExpectNoError() for e2e/upgrades
2019-05-17 02:04:58 -07:00
Kubernetes Prow Robot
27410955e2
Merge pull request #77952 from liggitt/delete-on-update
...
Handle updates removing remaining finalizers on deleted objects
2019-05-17 02:04:32 -07:00
Kubernetes Prow Robot
01f0be4901
Merge pull request #76639 from lubinsz/pr_bzl_arm64
...
Add an environment variable for bazel-test-integration on Arm
2019-05-17 02:04:06 -07:00
Xiangyang Chu
eee32a6a88
Fix shellcheck failures in test/cmd/g.*sh
2019-05-17 15:40:14 +08:00
Dr. Stefan Schimanski
d10f8c1ad3
Update generated files
2019-05-17 09:35:10 +02:00
Dr. Stefan Schimanski
c6712455bd
apiextensions: add pruning e2e & integration tests for admission webhooks
2019-05-17 09:35:10 +02:00
Dr. Stefan Schimanski
77bfddacfd
apiextensions: add pruning integration tests
2019-05-17 09:35:10 +02:00
Kubernetes Prow Robot
dc462bd473
Merge pull request #77927 from sttts/sttts-e2e-util-crd-cleanup
...
e2e: cleanup test/util/crd to decouple tests
2019-05-16 20:40:04 -07:00
Kubernetes Prow Robot
abd35ad758
Merge pull request #77902 from s-ito-ts/77103_e2e_node
...
Use framework.ExpectNoError() for e2e/node
2019-05-16 20:39:39 -07:00
Bin Lu
5504d845ff
Bug fix: failed to run integration test by using bazel
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-17 11:19:55 +08:00
Jean Rouge
b39d8f4777
Kubelet & implementation changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Updated tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 22:07:03 -04:00
Kohei Toyoda
62d5eb524b
Merge branch 'master' into fix_shellcheck_failure_make-rules
2019-05-17 08:43:08 +09:00
Kubernetes Prow Robot
dddb133c26
Merge pull request #77909 from k-toyoda-pi/use_expect_no_error_e2e_network_2
...
use framework.ExpectNoError() for e2e/network/ingress.go service.go
2019-05-16 16:27:19 -07:00
Kubernetes Prow Robot
6dfc996156
Merge pull request #77423 from apelisse/rollout-restart-other-workloads
...
Implement rollout restart for statefulset and daemonset
2019-05-16 16:27:06 -07:00
Kubernetes Prow Robot
109d61f844
Merge pull request #75758 from mgdevstack/pqdn-service-linuxonly
...
Add [LinuxOnly] tag to few e2e verifying dns resolution
2019-05-16 16:26:40 -07:00
Richard Chen
2a70a0b424
Add an e2e test for running a gpu job interrupted by node recreation.
2019-05-16 11:41:01 -07:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Antoine Pelisse
145935d815
Implement rollout restart for statefulset and daemonset
2019-05-16 08:50:42 -07:00
Kubernetes Prow Robot
dfcc60d4e5
Merge pull request #77908 from SataQiu/fix-golint-test-20190515
...
Fix golint failures of test/e2e_node/services
2019-05-16 08:48:26 -07:00
SataQiu
be8a072655
fix golint failures of test/e2e
2019-05-16 23:31:47 +08:00
Mayank Gaikwad
64f2c68948
Add [LinuxOnly] to e2e verifying PQDN resolution
2019-05-16 20:07:37 +05:30
Maciej Szulik
e808bf9717
Don't rely on defaults enforce flags we rely on in tests
2019-05-16 15:23:55 +02:00
Kubernetes Prow Robot
1284c99ec9
Merge pull request #77894 from draveness/feature/refactor-test-e2e-apps
...
feat: use framework.ExpectNoError in e2e apps disruption
2019-05-16 06:07:42 -07:00
Kubernetes Prow Robot
6fff760175
Merge pull request #70658 from spiffxp/tcp-probe
...
cleanup container probe tests and add tcp probe case
2019-05-16 06:05:43 -07:00
Bin Lu
51ee2b1f0b
Add an environment variable for bazel-test-integration on Arm
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-16 16:53:18 +08:00
Kubernetes Prow Robot
b7bc5dc9db
Merge pull request #77692 from oomichi/use-ExpectNoError-common
...
Use framework.ExpectNoError() for e2e/common
2019-05-16 01:10:34 -07:00
Kubernetes Prow Robot
34aa283c65
Merge pull request #77643 from atoato88/fix-golint-e2e-framework-asterisk
...
Fix golint failures of e2e/framework/*.go
2019-05-16 01:10:21 -07:00
Kubernetes Prow Robot
aba8040669
Merge pull request #77189 from xiaojingchen/fix-golint-failures
...
Fix golint failures in cmd/kube-controller-manager
2019-05-15 22:56:34 -07:00
Haowei Cai
eb35525d4a
stop enabling gate in tests
2019-05-15 17:15:06 -07:00
Aaron Crickenberger
0541be1787
Add a tcp probe e2e test
2019-05-15 15:23:35 -07:00
Aaron Crickenberger
944976d11f
Extract pod specs and handlers into fixtures
2019-05-15 15:22:58 -07:00
Kenichi Omichi
333f3d8b9a
Use ExpectNoError() for e2e/upgrades
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 21:48:40 +00:00
Jordan Liggitt
fba885a0d2
Handle updates removing remaining finalizers on deleted objects
2019-05-15 17:17:39 -04:00
Dr. Stefan Schimanski
a90cab07f9
e2e: cleanup test/util/crd to decouple tests
2019-05-15 22:24:21 +02:00
Kenichi Omichi
48f1f74a51
Use ExpectNoError() for scalability and scheduling
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 20:19:25 +00:00
Kubernetes Prow Robot
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
...
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
SataQiu
7fa953fcb5
fix golint failures of test/e2e_node/services
2019-05-15 15:37:21 +08:00
Kubernetes Prow Robot
47cef03dab
Merge pull request #77748 from yuwenma/etcd-release
...
Update etcd* version to use latest released images.
2019-05-15 00:04:35 -07:00
Kubernetes Prow Robot
358536ed5a
Merge pull request #77693 from oomichi/use-ExpectNoError-root
...
Use framework.ExpectNoError() for e2e/
2019-05-15 00:04:22 -07:00
s-ito-ts
f2a7650ede
Use framework.ExpectNoError() for e2e/node
2019-05-15 05:32:03 +00:00
toyoda
a8e8d4a668
use framework.ExpectNoError() for e2e/network/ingress.go service.go
2019-05-15 13:57:41 +09:00
toyoda
ba4119a07b
use framework.ExpectNoError() for e2e/network
2019-05-15 13:33:13 +09:00
Kubernetes Prow Robot
0a3884e164
Merge pull request #77714 from danielqsj/t1
...
cleanup dot imports and make test error checking more readable in test/e2e/scheduling
2019-05-14 20:36:41 -07:00
Kubernetes Prow Robot
5c4b6528c2
Merge pull request #77613 from mikedanese/fixinclusterconfig
...
BoundServiceAccountTokenVolume: fix InClusterConfig
2019-05-14 20:36:16 -07:00
draveness
95a6376899
feat: use framework.ExpectNoError in e2e apps disruption
2019-05-15 10:10:23 +08:00
Kenichi Omichi
b9fffd1571
Use framework.ExpectNoError() for e2e/common
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 01:58:01 +00:00
Kubernetes Prow Robot
de6ce5ee16
Merge pull request #69867 from HotelsDotCom/allow-updates-to-pdbs
...
Allow updates/patches to pod disruption budgets
2019-05-14 18:24:17 -07:00
Kubernetes Prow Robot
08afeb855f
Merge pull request #77821 from kwiesmueller/clear-managed-fields
...
add test to make sure managedFields can be reset
2019-05-14 15:34:32 -07:00
Kubernetes Prow Robot
0b6ad8bc3f
Merge pull request #77563 from jpbetz/admission-webhook-options
...
Pass {Operation}Options to Webhooks
2019-05-14 15:34:19 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Mayank Gaikwad
fc2af0e5a4
Promote e2e verifying DNS resolution for o pod's fqdn, hostname and subdomain
2019-05-14 23:53:00 +05:30
Jordan Liggitt
e3b4937440
Wait for integration precondition
2019-05-14 14:11:35 -04:00
Joe Betz
900d652a9a
Update tests for: Pass {Operation}Option to Webhooks
2019-05-14 10:49:43 -07:00
Mike Danese
96ed93d889
BoundServiceAccountTokenVolume: add e2e test
2019-05-14 09:43:45 -07:00
David McCormick
5b9e4f1e88
Rebase allow updates to pdbs to latest upstream master
2019-05-14 12:25:22 +01:00
Claudiu Belu
fb3e51baa7
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
...
The dnsutils and jessie-dnsutils images are installing dnsmasq,
which is required for a few tests checking custom DNS servers and
configurations.
dnsmasq is a Linux specific binary. In order for the tests to also
pass on Windows, this commit adds CoreDNS to the images, so a later
commit will update the tests to use CoreDNS instead of dnsmasq.
2019-05-14 09:59:06 +00:00
Kubernetes Prow Robot
a1eaacd59b
Merge pull request #77804 from sttts/sttts-apimachinery-integration-test-unify
...
integration: don't use low-level etcd master setup for dry-run+admission-webhook tests
2019-05-14 02:29:10 -07:00
Dr. Stefan Schimanski
76b5bee48c
integration: Start{RealMasterOrDie->TestServer} in dryrun tests
2019-05-14 10:10:55 +02:00
Dr. Stefan Schimanski
28f88c91ee
integration: Start{RealMasterOrDie->TestServer} in admissionwebhook tests
2019-05-14 10:10:55 +02:00
Kubernetes Prow Robot
cf8e8e4f0c
Merge pull request #77627 from draveness/feature/refactor-expect-no-error
...
refactor: use framework.ExpectNoError instead
2019-05-13 23:19:20 -07:00
Kubernetes Prow Robot
2926505fff
Merge pull request #77503 from mgdevstack/master-subdomain-e2e
...
Add subdomain entry to verify dns resolution
2019-05-13 23:19:07 -07:00
danielqsj
ccecc67a5b
fix golint error in test/e2e/scheduling
2019-05-14 14:18:52 +08:00
danielqsj
4cb4864487
replace test error checking with more readable way
2019-05-14 14:17:20 +08:00
danielqsj
15a4342fe8
remove dot imports in e2e/scheduling
2019-05-14 14:17:20 +08:00
Kubernetes Prow Robot
1cb9c20303
Merge pull request #77579 from k-toyoda-pi/use_expect_no_error_e2e_apps_2
...
use framework.ExpectNoError() for daemon_set.go and deployment.go
2019-05-13 21:49:09 -07:00
Kubernetes Prow Robot
a60d2126ad
Merge pull request #77715 from danielqsj/t2
...
fix golint error make test error checking more readable in test/e2e/node
2019-05-13 19:47:09 -07:00
Yuwen Ma
1f0f050fde
Update etcd* version to use latest released images.
2019-05-13 17:28:40 -07:00
Kubernetes Prow Robot
8f23ad2c24
Merge pull request #77754 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle-bootstrap
...
Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
2019-05-13 16:59:21 -07:00
Kubernetes Prow Robot
c54b664b1c
Merge pull request #77559 from ahg-g/permit-extension-point
...
Implement the permit extension point in scheduler.
2019-05-13 16:59:08 -07:00
toyoda
4841e5b98c
use framework.ExpectNoError() for daemon_set.go and deployment.go in e2e/apps
2019-05-14 08:44:54 +09:00
Akihito INOH
dddc6a53d4
Fix golint failures of e2e/framework/*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/networking_utils.go
- test/e2e/framework/service_util.go
- test/e2e/framework/util.go
All golint failures in test/e2e/framework are fixed at this commit.
Remove 'test/e2e/framework' from 'hack/.golint_failures'
2019-05-14 07:04:57 +09:00
Kubernetes Prow Robot
389252feae
Merge pull request #77709 from danielqsj/test
...
replace test error checking with more readable way
2019-05-13 13:15:23 -07:00
Kubernetes Prow Robot
3d12466c02
Merge pull request #77736 from lledru/e2elog-cloud
...
e2e-test/cloud: logf instead framework.logf
2019-05-13 10:26:27 -07:00
Kevin Wiesmüller
fe3c9c8b6f
add test to make sure managedFields can be reset
2019-05-13 18:34:11 +02:00
SataQiu
a4825d1cb8
fix golint failures of test/e2e/auth
2019-05-12 22:57:24 +08:00
draveness
950f6e868c
refactor: use framework.ExpectNoError instead
2019-05-12 10:44:03 +08:00
danielqsj
124efde4f8
fix golint error in e2e/node
2019-05-12 07:35:13 +08:00
danielqsj
73c2daeeea
replace test error checking with more readable way
2019-05-12 07:32:26 +08:00
danielqsj
087bc1369e
remove dot imports in e2e/node
2019-05-12 07:32:26 +08:00
Kubernetes Prow Robot
d01c015346
Merge pull request #77777 from SataQiu/fix-golint-test-20190511
...
Fix golint failures of test/e2e/storage
2019-05-11 15:22:10 -07:00
Kubernetes Prow Robot
73c83a82fc
Merge pull request #77668 from SataQiu/fix-golint-test-20190509
...
Fix golint failures of test/e2e/network
2019-05-11 13:30:11 -07:00
SataQiu
01d38fec16
fix golint failures of test/e2e/storage
2019-05-11 23:30:17 +08:00
SataQiu
515f8342d3
fix golint failures of test/e2e/network
2019-05-11 22:29:40 +08:00
Kubernetes Prow Robot
6897c68de5
Merge pull request #77708 from draveness/feature/refactor-more-expectnoerror-in-e2e
...
feat: use framework.ExpectNoError instead in e2e test
2019-05-11 02:04:11 -07:00
Kubernetes Prow Robot
80fec73015
Merge pull request #77649 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle
...
Use framework.ExpectNoError() for e2e/lifecycle
2019-05-10 21:30:49 -07:00
Kubernetes Prow Robot
274876ef9a
Merge pull request #77448 from smarterclayton/api_serve
...
Support meta.k8s.io/v1 Table and PartialObjectMetadata requests to the API
2019-05-10 21:30:37 -07:00
Kubernetes Prow Robot
fdf6050045
Merge pull request #77701 from spiffxp/promote-oomichi-test-approver
...
Promote oomichi to approver for test/
2019-05-10 19:28:36 -07:00
Kubernetes Prow Robot
a245408f38
Merge pull request #76734 from oomichi/conformance-req-01
...
Check conformance test should not call any Skip
2019-05-10 19:28:11 -07:00
Kubernetes Prow Robot
f712c3ee0e
Merge pull request #77620 from johnbelamaric/add-to-conformance-reviewers
...
Add johnbelamaric as conformance test reviewer
2019-05-10 17:56:24 -07:00
Kubernetes Prow Robot
33f44a29b8
Merge pull request #77617 from cmluciano/cml/extensiontonetworking
...
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Kubernetes Prow Robot
9ecc57ef88
Merge pull request #77718 from danielqsj/t3
...
cleanup dot imports and make test error checking more readable in test/e2e/storage
2019-05-10 16:33:02 -07:00
Akihito INOH
d35851724e
Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle/bootstrap.
2019-05-11 05:04:05 +09:00
Kubernetes Prow Robot
e1f0526934
Merge pull request #77742 from deads2k/test-debug
...
improve e2e namespace dumping on failure
2019-05-10 13:00:45 -07:00
Kubernetes Prow Robot
bac667ebf4
Merge pull request #77716 from wking/job-running-test-error-reporting
...
test/e2e/upgrades/apps/job: List Pods in failure message
2019-05-10 13:00:14 -07:00
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Kubernetes Prow Robot
07e3b7cdca
Merge pull request #74639 from xychu/fix-shellchecks-a
...
Make test/cmd/a*.sh pass shellcheck
2019-05-10 10:38:12 -07:00
Christopher M. Luciano
d9e4933da3
ingress: migrate extensions.Ingress to networking.Ingress
...
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04:00
Abdullah Gharaibeh
98de316436
Implement the permit extension point in scheduler.
2019-05-10 12:42:04 -04:00
David Eads
d503cba375
improve e2e namespace dumping on failure
2019-05-10 10:11:24 -04:00
W. Trevor King
96b04bfeac
test/e2e/upgrades/apps/job: List Pods in failure message
...
Currently, this test can fail with the not-very-helpful [1,2]:
fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
<bool>: false
to be true
Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271 ), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.
Thanks to Maciej Szulik for the fixups [3] :).
[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
loic le dru
61731dd1d1
e2e-test logf instead framework.logf
2019-05-10 14:18:55 +02:00
Kubernetes Prow Robot
b9ccdd2824
Merge pull request #77598 from danielqsj/unreserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-09 23:37:57 -07:00
danielqsj
629ec7e113
replace test error checking with more readable way
2019-05-10 13:58:09 +08:00
danielqsj
1058877fbf
remove dot imports in e2e/storage
2019-05-10 13:56:26 +08:00
danielqsj
8a6fede9e6
remove dot imports in e2e/storage/vsphere
2019-05-10 13:56:16 +08:00
danielqsj
997648a923
Add Un-reserve extension point for the scheduling framework
2019-05-10 13:19:22 +08:00
danielqsj
f3ea5e5c94
replace test error checking with more readable way
2019-05-10 10:15:45 +08:00
draveness
c045046e5b
feat: use framework.ExpectNoError instead in e2e test
2019-05-10 09:53:10 +08:00
Akihito INOH
be4af8f83f
Use framework.ExpectNoError() for e2e/lifecycle
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle.
2019-05-10 10:45:32 +09:00
Joe Betz
b0aab03209
Fix admission webhook integration tests to filter out controller requests
2019-05-09 17:34:33 -07:00
Aaron Crickenberger
69eab5f04b
Prune test/OWNERS
...
Move approvers who haven't reviewed any PRs touching test/ in
over six months to emeritus_approvers (and remove from reviewers
as well to avoid assigning to inactive people)
2019-05-09 16:30:58 -07:00
Kubernetes Prow Robot
69b52633cc
Merge pull request #77605 from pohly/multivolume-storage-class-fix
...
Multivolume storage class fix
2019-05-09 15:48:22 -07:00
Kubernetes Prow Robot
b27fe7f4b9
Merge pull request #74314 from oomichi/add-ExpectError
...
Add ExpectError() to e2e test framework
2019-05-09 15:47:57 -07:00
Aaron Crickenberger
f0ec8c8644
Promote oomichi to approver in test/
2019-05-09 14:22:06 -07:00
Kenichi Omichi
2a7202b71f
Use framework.ExpectNoError() for e2e/
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-09 19:26:16 +00:00
Kubernetes Prow Robot
851afa0bea
Merge pull request #77528 from cblecker/go-1.12.5
...
Update to go 1.12.5
2019-05-09 09:32:51 -07:00
Kubernetes Prow Robot
524169fe1c
Merge pull request #77005 from k-toyoda-pi/e2e_add_check_pod_in_job
...
[e2e] add pod status check after job completes in job test
2019-05-09 06:20:48 -07:00
xiaojingchen
2b19a4db9e
fix cmd/kube-controller-manager's golint failures
2019-05-09 17:56:08 +08:00
toyoda
34a120fc42
fix shellcheck failures in /hack/make-rules/test.sh
2019-05-09 17:47:12 +09:00
Patrick Ohly
093027c891
e2e/storage: ensure that also external storage classes are unique
...
One previously undocumented expectation is that
GetDynamicProvisionStorageClass can be called more than once per test
and then each time returns a new, unique storage class. The in-memory
implementation in driveroperations.go:GetStorageClass ensured that,
but loading from a .yaml file didn't. This caused the multivolume tests
to fail when applied to an already installed GCE driver with the
-storage.testdriver parameter.
2019-05-09 08:53:25 +02:00
Kubernetes Prow Robot
ee0038adaa
Merge pull request #77425 from figo/e2e
...
Modify apimachinery,apps,instrumentation tests to import framework/log
2019-05-08 21:48:47 -07:00
Kubernetes Prow Robot
548bf0afe5
Merge pull request #77580 from liggitt/fix-list-interface
...
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 20:13:26 -07:00
Kubernetes Prow Robot
7f86cb140f
Merge pull request #72167 from brahmaroutu/conformance_context
...
Comment association to ConformanceIt block should be validated properly.
2019-05-08 20:12:48 -07:00
Kubernetes Prow Robot
b6887e3915
Merge pull request #77530 from seans3/unexport-print-table
...
Unexport PrintTable function
2019-05-08 17:15:26 -07:00
hui luo
4d4e4f4056
Modify apimachinery,apps,instrumentation tests to import framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages
2019-05-08 16:46:39 -07:00
John Belamaric
4f3653f026
Add johnbelamaric as conformance test reviewer
2019-05-08 16:37:25 -07:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5
2019-05-08 15:43:01 -07:00
Kubernetes Prow Robot
71bbabc36b
Merge pull request #77486 from jiatongw/logf/kubectl
...
Modify e2e/kubectl tests to import e2elog.Logf
2019-05-08 14:32:45 -07:00
Kubernetes Prow Robot
b3875556b0
Merge pull request #77336 from johnSchnake/refactorFrameworkSSH
...
Move ssh code to new package
2019-05-08 13:06:47 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Kenichi Omichi
436544488b
Add ExpectError() to e2e test framework
...
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot
f7d92fb963
Merge pull request #77427 from draveness/feature/use-logf-in-log-pkg
...
refactor: use e2elog.Logf instead of framework.Logf
2019-05-08 10:12:34 -07:00
John Schnake
338bc3ce42
Move framework ssh code to new package
...
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.
Extracting these methods to their own package for reuse.
Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00
Patrick Ohly
62c5c6345e
Revert "Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)"
...
This reverts commit c50e7fd301
because
it included API changes that shouldn't have been in that PR and
fixing the storage class conflict inside the framework is probably the
wrong place.
2019-05-08 17:28:13 +02:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
086a86b9e2
Merge pull request #77525 from davidz627/fix/externalMulti
...
Make external driver name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-08 04:54:48 -07:00
Kubernetes Prow Robot
bace505467
Merge pull request #77577 from logicalhan/revert-unreserve
...
Revert "Add Un-reserve extension point for the scheduling framework"
2019-05-08 03:04:32 -07:00
Jordan Liggitt
e5778f05b9
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 02:00:18 -04:00
Kubernetes Prow Robot
7faeee22b1
Merge pull request #77556 from spiffxp/add-spiffxp-to-conformance-code-approvers
...
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 22:15:10 -07:00
Kubernetes Prow Robot
873e7a3259
Merge pull request #77533 from jiatongw/logf/lifecycle
...
Modify e2e/lifecycle tests to import e2elog.Logf
2019-05-07 22:14:58 -07:00
Kubernetes Prow Robot
11a46d2515
Merge pull request #77479 from danielqsj/id
...
fix increment-decrement lint error
2019-05-07 22:14:45 -07:00
Han Kang
51992d61a0
Revert "Add Un-reserve extension point for the scheduling framework"
...
This reverts commit 8b5182581a
.
2019-05-07 21:17:29 -07:00
Kubernetes Prow Robot
1ce103a41f
Merge pull request #77457 from danielqsj/un-reserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-07 17:52:45 -07:00
Kubernetes Prow Robot
7aa57df279
Merge pull request #77374 from cheftako/gce-staging
...
Staging the GCE Cloud Provider
2019-05-07 17:52:32 -07:00
Kubernetes Prow Robot
b4262e9a22
Merge pull request #77408 from johnSchnake/frameworkLogRefactoringCommonScaleUpgrades
...
Move scalability, upgrade, and common packages to framework/log
2019-05-07 15:54:46 -07:00
Srini Brahmaroutu
e9bab1c896
Allow version field in the title to be changeable
2019-05-07 15:05:04 -07:00
David Zhu
c50e7fd301
Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-07 14:37:06 -07:00
Kubernetes Prow Robot
eacae8540a
Merge pull request #76508 from bclau/tests/agnhost-custom-dns-test
...
tests: Adds configurable pod DNS nameservers and search list test
2019-05-07 14:30:49 -07:00
Walter Fender
796097ae40
Staging the GCE Cloud Provider
...
**What type of PR is this?**
/kind cleanup
**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md ). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.
**Which issue(s) this PR fixes**:
Fixes #
**Special notes for your reviewer**:
**Does this PR introduce a user-facing change?**:
```
NONE
```
Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Aaron Crickenberger
8ee8b77eed
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 12:11:36 -07:00
Srini Brahmaroutu
1cb5872cd3
Comment association to ConformanceIt block should be validated properly.
2019-05-07 09:16:44 -07:00
Srini Brahmaroutu
37e700050b
Add Release information to each of the conformance tests.
2019-05-07 09:14:08 -07:00
Kubernetes Prow Robot
19ed7fa731
Merge pull request #77113 from s-ito-ts/77103_autoscaling
...
Use framework.ExpectNoError() for e2e/autoscaling
2019-05-07 08:16:09 -07:00
Kubernetes Prow Robot
8fa775e546
Merge pull request #75187 from subramanian-neelakantan/host_to_create_volume
...
Use any host that mounts the datastore to create Volume
2019-05-07 08:15:54 -07:00
Kubernetes Prow Robot
db44f31bff
Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code
...
Remove unused code from CSI e2e tests
2019-05-07 00:23:41 -07:00
Jiatong Wang
b26b6f0d5c
Modify e2e/lifecycle tests to import e2elog.Logf
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-07 00:23:13 -07:00
danielqsj
8b5182581a
Add Un-reserve extension point for the scheduling framework
2019-05-07 14:51:58 +08:00
Kubernetes Prow Robot
1fb8ed12a2
Merge pull request #75993 from caesarxuchao/add-count
...
Adding RemainingItemCount to ListMeta
2019-05-06 22:53:40 -07:00
Sean Sullivan
41b84b7f6e
Unexport PrintTable function
2019-05-06 22:16:45 -07:00
Kubernetes Prow Robot
ce9ea5ea41
Merge pull request #77335 from loqutus/remove-test-cauldron
...
remove soak test cauldron
2019-05-06 21:32:18 -07:00
toyoda
8afecb8c30
add pod status check after job completes in job e2e test
2019-05-07 11:47:56 +09:00
Kubernetes Prow Robot
d2b8f3e145
Merge pull request #77034 from atoato88/fix-golint-e2e-framework-providers-gce
...
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
2019-05-06 19:17:40 -07:00
draveness
da7507500f
refactor: use e2elog.Logf instead of framework.Logf
2019-05-07 08:15:31 +08:00
Kubernetes Prow Robot
a9fc9754bb
Merge pull request #77413 from johnSchnake/frameworkLogRefactoringnodeWindowsAutoscale
...
Move node, windows, and autoscaling tests to framework/log
2019-05-06 17:07:53 -07:00
Kubernetes Prow Robot
c9dda348e3
Merge pull request #77016 from jiatongw/e2e/framework/upgrade
...
[e2e] Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
2019-05-06 17:07:41 -07:00
Kubernetes Prow Robot
56ceba5e30
Merge pull request #77352 from mcrute/move-aws-provider
...
Staging legacy AWS cloud provider
2019-05-06 15:30:19 -07:00
Kubernetes Prow Robot
922f3603ea
Merge pull request #76221 from RobertKrawitz/node-pid-limit-beta
...
Graduate SupportNodePidsLimit to beta
2019-05-06 15:29:53 -07:00
Kubernetes Prow Robot
3d800dff75
Merge pull request #75115 from bclau/resource-consumer-controller
...
Uses the resource-consumer/controller image instead of resource-consumer-controller
2019-05-06 15:29:40 -07:00
Kubernetes Prow Robot
6027a38e78
Merge pull request #77282 from MrHohn/addon-manager-9.0.1
...
Bump addon-manager to v9.0.1
2019-05-06 14:01:52 -07:00
Johannes M. Scheuermann
d59c67871c
Remove unused code from CSI e2e tests
2019-05-06 21:59:09 +02:00
Chao Xu
58c18309a8
Add RemainingItemCount to ListMeta
2019-05-06 12:58:51 -07:00
Mike Crute
6f5cf1a6e0
Staging legacy AWS cloud provider
2019-05-06 09:34:13 -07:00
Kubernetes Prow Robot
ad57e7408d
Merge pull request #77481 from danielqsj/fu
...
remove redundant else block
2019-05-06 06:53:53 -07:00
Mayank Gaikwad
831939b65e
Add subdomain to verify dns resolution by subdomain
2019-05-06 16:47:02 +05:30
Jiatong Wang
3b5bedd7cf
Modify e2e/kubectl tests to import e2elog.Log
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-06 00:23:59 -07:00
danielqsj
6fc04b696c
remove redundant else block
2019-05-06 13:43:33 +08:00
danielqsj
142fe19f2d
fix increment-decrement lint error
2019-05-06 13:14:51 +08:00
Kubernetes Prow Robot
43ce2f17cf
Merge pull request #77401 from johnSchnake/frameworkLogRefactoringStorageVsphereTestSuites
...
Move storage tests to use the framework/log package
2019-05-05 07:19:37 -07:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
...
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Kubernetes Prow Robot
80bbb0cde1
Merge pull request #77093 from oomichi/use-ExpectError-e2e-auth
...
Use framework.ExpectNoError() for e2e/auth
2019-05-04 13:47:37 -07:00
John Schnake
a6f5ebf831
Move storage tests to use the framework/log package
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:50:38 -05:00
John Schnake
afc66a5487
Move scalability, upgrade, and common packages to framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:45:15 -05:00
Kubernetes Prow Robot
22cf3ca0a5
Merge pull request #75952 from bclau/tests/max-backoff-tests-flakiness
...
tests: Solve backoff tests flakiness
2019-05-03 22:18:04 -07:00
Kubernetes Prow Robot
5f8d290346
Merge pull request #75675 from mwwolters/addon-manager-kubeconfig
...
Added function to create kubeconfig for addon-manager
2019-05-03 22:17:51 -07:00
Kubernetes Prow Robot
f4ce6b6560
Merge pull request #77373 from alejandrox1/framework-deployment-refactor
...
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
Kubernetes Prow Robot
7287ae6b2e
Merge pull request #77054 from k-toyoda-pi/golint_test_e2e_common_pods
...
Fix golint failures of test/e2e/common/pods.go
2019-05-03 18:26:03 -07:00
Kubernetes Prow Robot
fd5560e90a
Merge pull request #75246 from aojea/e2e_ipv6_prestop
...
Add IPv6 support to the nettest image
2019-05-03 18:25:38 -07:00
Kubernetes Prow Robot
a26709ecee
Merge pull request #76061 from towolf/dynamic-cluster.local
...
test/e2e/network: Honor --dns-domain in more places
2019-05-03 17:01:38 -07:00
Kubernetes Prow Robot
59cedcf541
Merge pull request #77411 from liggitt/fix-rc-flake
...
Expect the correct object type to be removed
2019-05-03 15:12:29 -07:00
Mark Wolters
1456979e93
Added function to create kubeconfig for addon-manager
2019-05-03 15:12:16 -07:00
Jorge Alarcon Ochoa
dc619067d9
Refeactored framework deployment utils
...
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Kubernetes Prow Robot
217e08d735
Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
...
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07:00
Jiatong Wang
30322ba93d
Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-03 12:14:31 -07:00
Kenichi Omichi
52885a8ec3
Check conformance test should not call any Skip
...
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
John Schnake
2ede81c2a6
Move node, windows, and autoscaling tests to framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 13:23:57 -05:00
Jordan Liggitt
37c9e6b444
Expect the correct object type to be removed
2019-05-03 14:10:02 -04:00
Claudiu Belu
33bc5bf6a8
tests: Adds retry to netexec connectivity check
...
The container might start before all the networking plumbing has
been sucessfully completed, causing the Kubernetes reachability
check to fail.
This commit adds a few retries to the connectivity check.
2019-05-03 09:51:18 -07:00
Kubernetes Prow Robot
6f1fd17b7a
Merge pull request #77366 from johnSchnake/frameworkLogRefactoring
...
Move auth and network tests to use framework/log
2019-05-03 08:53:19 -07:00
Tobias Wolf
e3299d5f6a
test/e2e/network: Honor --dns-domain in more places
...
Try to finish what commit 4c8a65ac01
started; that is, do not assume
cluster.local is a constant base domain, when it is configurable.
This makes DNS e2e tests pass with --dns-domain, which was only being honored
for some tests, not all
Signed-off-by: Tobias Wolf <towolf@gmail.com>
2019-05-03 17:02:16 +02:00
John Schnake
0c62f751b6
Move auth and network tests to use framework/log
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 08:41:21 -05:00
Subramanian Neelakantan
18922a3c44
Use any host that mounts the datastore to create Volume
...
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-05-03 16:42:41 +05:30
Kubernetes Prow Robot
83f769c2a3
Merge pull request #77139 from cmluciano/cml/ingressnetv1beta1default
...
ingress: use networking api group for default storage of ingress
2019-05-02 16:22:18 -07:00
Akihito INOH
2562d4d0fd
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
...
This fixes golint failures of the following file:
test/e2e/framework/providers/gce/recreate_node.go
And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
Kubernetes Prow Robot
75546a0166
Merge pull request #75591 from bclau/tests/split-hosts-entries
...
tests: Splits hostname from DNS test
2019-05-02 14:18:20 -07:00
Kubernetes Prow Robot
c3e8a434eb
Merge pull request #77330 from liggitt/collapse-integration-storage-config
...
Collapse integration test storage setup onto actual storage config
2019-05-02 08:26:19 -07:00
John Schnake
3853a0ecd9
GKE also requires SAR endpoints
...
There was a specific error flow that was commented as only applying
to GKE. This was never tested specifically for GKE (only commented
as such) but that seems to be out of date and can be removed. If
the SAR endpoint does not exist it should be considered an error.
2019-05-02 10:20:49 -05:00
Ruslan Gustomiasov
0069a6cf08
remove soak test cauldron
2019-05-02 13:30:47 +02:00
Kubernetes Prow Robot
1626aa56d0
Merge pull request #77053 from SataQiu/fix-golint-test-20190425
...
Fix golint failures of test/e2e/lifecycle
2019-05-02 02:00:17 -07:00
Claudiu Belu
a7598c791f
tests: Adds configurable pod DNS nameservers and search list test
...
This test creates a pod with custom DNS configurations and expects
them to be set in the containers.
The test pod is using the agnhost image, which can output the container's
DNS configurations that the test checks.
2019-05-01 20:52:20 -07:00
Kubernetes Prow Robot
9e52832c52
Merge pull request #77317 from gnufied/fix-block-volume-resizing
...
Fix block volume expansion
2019-05-01 20:42:56 -07:00
Jordan Liggitt
cbc9a11ffd
Collapse integration test storage setup onto actual storage config
2019-05-01 21:52:55 -04:00
Hemant Kumar
0eb68c5a22
Fix blockvolume expansion
2019-05-01 18:25:54 -04:00
Kubernetes Prow Robot
5189f24a75
Merge pull request #77315 from msau42/external-e2e
...
add multivolume suite to external storage test suite
2019-05-01 14:33:08 -07:00
Kubernetes Prow Robot
2b561456ce
Merge pull request #77101 from davidz627/feature/migrationTest
...
Add testing infra for checking whether an in-tree plugin is using backend that is shimmed to CSI
2019-05-01 14:32:30 -07:00
Kubernetes Prow Robot
2c6597a5d0
Merge pull request #76750 from qingsenLi/k8s190416
...
remove some unused const in test/e2e
2019-05-01 13:14:33 -07:00
Christopher M. Luciano
4bac85c162
ingress: use networking api group for default storage of ingress
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
The change to registrytest was found by liggitt to mitigate a NPE error.
This is necessary since ingress is a cohabitating resource that is not
stored in the default version for the networking resource.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-01 15:14:11 -04:00
Michelle Au
bb8c1b144c
add multivolume suite to external storage test suite
...
Change-Id: I59e529956e8cd40a948b2d21395b4b3c33b212bf
2019-05-01 11:35:46 -07:00
David Zhu
1271237d23
Add migration metrics checking to all test suites
2019-05-01 11:24:03 -07:00
Baasbank
d97b7f20f8
fixes golint errors in pkg/printers/storage
...
fixes golint errors in pkg/printers
fixes golint errors for pkg/printers/internalversion
implements recommended changes
2019-05-01 17:02:55 +01:00
Kubernetes Prow Robot
8f5a62af48
Merge pull request #77159 from draveness/feature/refactor-expect-no-errors
...
refactor: use framework.ExpectNoError instead in e2e tests
2019-05-01 08:22:57 -07:00
Kubernetes Prow Robot
1e015237c7
Merge pull request #77267 from liggitt/kubectl-set-local-namespace
...
Preserve existing namespace when using kubectl set --local
2019-04-30 16:11:21 -07:00
Zihong Zheng
037d4b3a07
Bump addon-manager to v9.0.1
...
- Rebase image on debian-base:v1.0.0.
2019-04-30 15:19:08 -07:00
Kubernetes Prow Robot
aedebb23aa
Merge pull request #77233 from msau42/remove-pd-external
...
remove pd-external from e2e config
2019-04-30 14:11:37 -07:00
Kubernetes Prow Robot
afde45abfa
Merge pull request #76507 from bclau/tests/agnhost-updates
...
tests: agnhost image updates
2019-04-30 14:10:58 -07:00
Kubernetes Prow Robot
fb704d3410
Merge pull request #77184 from draveness/feature/refactor-logger
...
feat: add logger package in test e2e framework
2019-04-30 09:21:53 -07:00
Jordan Liggitt
2fae80c27c
Preserve existing namespace when using kubectl set --local
2019-04-30 10:39:29 -04:00
Kubernetes Prow Robot
cf22c56c7f
Merge pull request #75848 from bsalamat/framework_update
...
Implement/update interfaces and skeleton for the scheduling framework
2019-04-30 00:03:36 -07:00
draveness
f3d444d44e
feat: add logger package in test e2e framework
2019-04-30 11:47:47 +08:00
Bobby (Babak) Salamat
83828bcb2d
autogenerated files
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
77824f5135
Change scheduler constructors to receive a plugin registry.
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
404dc1ed79
Update scheduler framework plugins to align with the latest changes to the framework design
2019-04-29 16:40:56 -07:00
Michelle Au
80471bf487
remove pd-external from e2e config
...
Change-Id: I1d734fcc8e8145e586b5df9acd0736c7ba0658d1
2019-04-29 15:25:14 -07:00
Kubernetes Prow Robot
4ebe11a6cb
Merge pull request #76110 from DirectXMan12/infra/prune-owners
...
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
Kubernetes Prow Robot
306740f81c
Merge pull request #77156 from draveness/feature/refactor-util-endpoints
...
refactor: move wait for endpoints to new pkg
2019-04-29 10:44:20 -07:00
Kubernetes Prow Robot
9b437f9520
Merge pull request #76909 from Huang-Wei/fix-iks-kubemark
...
kubemark: fix and enhance kubemark scripts for IKS
2019-04-29 06:30:23 -07:00
Kubernetes Prow Robot
e5dd4521a8
Merge pull request #73664 from prksu/kubectl-exec-resource-name
...
Kubectl exec support resource/name format
2019-04-27 09:06:21 -07:00
draveness
774c15f2be
refactor: move wait for endpoints to new pkg
2019-04-27 22:05:39 +08:00
draveness
04bb797ff6
refactor: use framework.ExpectNoError instead in e2e tests
2019-04-27 15:49:15 +08:00
Kubernetes Prow Robot
7a9e1fb7a9
Merge pull request #76218 from anfernee/regression-issue-74839
...
Add e2e for connection reset issue
2019-04-26 18:30:35 -07:00
Kubernetes Prow Robot
63ee026980
Merge pull request #77143 from guineveresaenger/lintflake
...
Addresses linter complaint in broken_webhook test file
2019-04-26 17:14:45 -07:00
Kubernetes Prow Robot
ce9a2c800e
Merge pull request #76468 from julianvmodesto/ssa-cross-gv-test
...
Adds an integration test for cross group-version server-side apply
2019-04-26 17:14:33 -07:00
guineveresaenger
9ecf58c42e
Fixes flaky linter complaint in broken_webhook test file
2019-04-26 13:57:55 -07:00
Kubernetes Prow Robot
62219e1f66
Merge pull request #76978 from alejandrox1/framework-deployment-refactor
...
Refeactored framework deployment utils
2019-04-26 10:38:38 -07:00
Wei Huang
fbec01dc71
kubemark: fix and enhance kubemark scripts for IKS
...
- fix shell script issues
- `bx` is deprecated; rename to `ibmcloud`
- remove unnecessay variable replacement in hollow-node_template.yaml
- add replacement logic for HOLLOW_KUBELET_TEST_ARGS and HOLLOW_PROXY_TEST_ARGS
- don't hardcode KUBEMARK_IMAGE_REGISTRY to brandondr96
- make cluster number and spec configurable
- make number and spec of workers configurable
- separate NUM_NODES and KUBEMARK_NUM_NODES
2019-04-26 10:15:29 -07:00
toyoda
2c098b37e3
use framework.ExpectNoError() for e2e/apps
2019-04-26 19:23:12 +09:00
s-ito-ts
ad5e57b0fe
Use framework.ExpectNoError() for e2e/autoscaling
2019-04-26 08:33:51 +00:00
Xiangyang Chu
7a385bf2ea
Fix wrong pipe in grep -q
2019-04-26 14:23:53 +08:00
Kubernetes Prow Robot
1c5eed4233
Merge pull request #77038 from justaugustus/legacy-cp-azure
...
Staging the legacy Azure Cloud Provider
2019-04-25 22:54:27 -07:00
Xiangyang Chu
906058bf7b
Update grep -q usage to avoid closed pipe
2019-04-26 11:39:11 +08:00
Xiangyang Chu
2260cc29b9
Make test/cmd/a*.sh pass shellcheck
2019-04-26 11:39:11 +08:00
Kubernetes Prow Robot
7289c1e97a
Merge pull request #77094 from xing-yang/update_rbac
...
Update rbac rule for external-snapshotter e2e test
2019-04-25 20:04:36 -07:00
Julian V. Modesto
5303f431cb
Add tests for cross group-version SSA.
...
- Use apps/v1 APIs in integration tests.
As in https://github.com/kubernetes/kubernetes/pull/75302
- Add test for cross group-version server side apply.
https://github.com/kubernetes/kubernetes/pull/75157
- Add test for version conversion in the field manager.
https://github.com/kubernetes/kubernetes/pull/75151
Follow up to https://github.com/kubernetes/kubernetes/pull/75302 .
Addresses https://github.com/kubernetes/kubernetes/issues/73723 .
2019-04-25 22:01:28 -04:00
Stephen Augustus
2f74c90480
Staging the legacy Azure Cloud Provider
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-04-25 20:03:45 -04:00
David Zhu
213cc99ead
Operation generator migration metric fixes and test metrics retrieval code
2019-04-25 16:27:45 -07:00
Kubernetes Prow Robot
a7a6bf4386
Merge pull request #77091 from apelisse/apelisse-approver-test
...
Add apelisse as approvers for apiserver integration tests
2019-04-25 16:11:12 -07:00
Kubernetes Prow Robot
ed2ab71710
Merge pull request #75237 from aojea/ipv6_downward
...
Add IPv6 support to the Downward e2e API test
2019-04-25 13:36:42 -07:00
Kenichi Omichi
a6039c46e5
Use framework.ExpectNoError() for e2e/auth
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/auth.
2019-04-25 20:23:28 +00:00
Xing Yang
61b35caf38
Update rbac rule for external-snapshotter e2e test
...
In the DeleteVolumeFinalizer feature in external-snapshotter,
the external-snapshotter needs to update the PVC object to
add a Finalizer if a snapshot is being created from the PVC
and delete the Finalizer after the snapshot is created.
For that reason, we need to add "update" rbac rule for the
PVC object in external-snapshot e2e test manifest file.
DeleteVolumeFinalizer PR is here. It couldn't pass e2e test
until we fix the rbac rule in e2e.
https://github.com/kubernetes-csi/external-snapshotter/pull/47
2019-04-25 12:48:25 -07:00
Antoine Pelisse
83c734363e
Add apelisse as approvers for apiserver integration tests
2019-04-25 11:02:58 -07:00
SataQiu
1d8615a0a2
fix golint failures of test/e2e/lifecycle
2019-04-25 23:40:22 +08:00
Claudiu Belu
53df13ac22
Uses the resource-consumer/controller image instead of resource-consumer-controller
...
Dockerhub does not support slashes in the image names, so when the tests are
configured to use a dockerhub registry instead of the current
gcr.io/kubernetes-e2e-test-images registry, the tests using the mentioned image
will fail, as the image cannot exist and cannot be pulled.
2019-04-25 05:17:25 -07:00
Ahmad Nurus S
0c39d7d380
Kubectl exec support resource/name format
2019-04-25 17:44:01 +07:00
toyoda
bee9676d50
fix golint failure test/e2e/common/pods.go
2019-04-25 16:39:21 +09:00
Kubernetes Prow Robot
e4a57b77ec
Merge pull request #76719 from bertinatto/fix_vsphere_size
...
Fix Vsphere rouding up of volume size
2019-04-24 16:50:46 -07:00
Jorge Alarcon Ochoa
8200ae6279
Refeactored framework deployment utils
...
xref: #76206
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-04-24 19:28:03 -04:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Antonio Ojea
d528944a03
Add more strict IPv6 regex
...
Previous IPv6 regex was too loose, this patchs adds a better and
more strict regex for IPv6 addresses and makes the IPv4 and IPv6
regex availables as constants inside the framework pkg
2019-04-24 23:37:24 +02:00
Kubernetes Prow Robot
6cd85298c5
Merge pull request #75566 from jiayingz/gpu-test-update
...
Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add.
2019-04-24 14:20:47 -07:00
Kubernetes Prow Robot
dc05e1e412
Merge pull request #76824 from wojtek-t/cleanup_protobuf_contenttype
...
Cleanup content-type protobuf constants
2019-04-24 12:25:02 -07:00
wojtekt
b48cc43eff
Cleanup content-type protobuf constants
2019-04-24 17:11:24 +02:00
Joachim Bartosik
74bd4d643a
Detect zone of MIG in e2e VPA tests
...
I was running e2e VPA tests and some were failing because the tests
assume thata they're running on:
- zonal single-zone cluster, or
- regional multi-zone cluster.
And I was running them on regional, single-zoned cluster.
Change-Id: I110a70d2249f981b60cf76d1ad674ccfcedd8fb3
2019-04-24 16:11:53 +02:00
Fabio Bertinatto
d98db30d15
Change Vsphere e2e test to verify rounded PV size instead
2019-04-24 13:42:16 +02:00
Kubernetes Prow Robot
d1e7bb297c
Merge pull request #60771 from jennybuckley/kube-up-broken-webhook
...
Use semantic equality in client ca post start hook
2019-04-24 01:24:01 -07:00
Kubernetes Prow Robot
c7cd03cc38
Merge pull request #76900 from SataQiu/fix-shellcheck-test-20190422
...
Fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-23 23:50:39 -07:00
Kubernetes Prow Robot
279d4e1ca3
Merge pull request #76959 from sbezverk/non_persistent_objects
...
webhook integration tests for non persistent resources
2019-04-23 20:28:23 -07:00
Kubernetes Prow Robot
c1703864e7
Merge pull request #76934 from wongma7/ginkgo-e2etest
...
Use e2e.test binary instead of test/e2e in example invocations
2019-04-23 19:08:34 -07:00
Kubernetes Prow Robot
1b8d0abe29
Merge pull request #76911 from sbezverk/no_admission
...
test for exempted from admission validation/mutation objects
2019-04-23 19:08:11 -07:00
Kubernetes Prow Robot
85b7323dbc
Merge pull request #76705 from atoato88/fix-golint-e2e-framework-util-go-part3
...
Fix golint failures of e2e/framework/util.go - part3
2019-04-23 19:08:00 -07:00
Serguei Bezverkhi
6fe28ee957
Adding non persistent review test
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 18:02:40 -04:00
Kubernetes Prow Robot
4098347433
Merge pull request #76488 from atoato88/fix-golint-e2e-framework-util-go-part2
...
Fix golint failures of e2e/framework/util.go - part2
2019-04-23 14:02:12 -07:00
Kubernetes Prow Robot
56d7912939
Merge pull request #76348 from atoato88/fix-golint-e2e-framework-util-go
...
Fix golint failures of e2e/framework/util.go - part1
2019-04-23 14:02:01 -07:00
Serguei Bezverkhi
cc7700ae31
no admission logic
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 16:27:55 -04:00
Matthew Wong
51db6cb093
Use e2e.test instead of test/e2e in example invocations
2019-04-23 15:59:54 -04:00
jennybuckley
d10ee7c874
Add integration test for restarting kube-apiserver with a broken webhook
2019-04-23 12:49:28 -07:00
Kubernetes Prow Robot
90fbbee129
Merge pull request #76910 from liggitt/pod-admission
...
webhook admission tests: connect, proxy, binding, eviction
2019-04-23 12:12:00 -07:00
Akihito INOH
31046bbf52
Fix golint failures of e2e/framework/util.go - part3
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 2354 to line 3685 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-24 02:16:06 +09:00
Jordan Liggitt
a4576ec5a6
Fix binding and eviction admission
2019-04-23 10:31:34 -04:00
Jordan Liggitt
4cfa5c7192
Test webhook admission - proxy subresources
2019-04-23 10:31:34 -04:00
Jordan Liggitt
cc72248203
Test webhook admission - pod connect subresources
2019-04-23 10:31:34 -04:00
Kubernetes Prow Robot
888b81b638
Merge pull request #76238 from Dieken/30s-ttl-for-coredns
...
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-23 06:20:09 -07:00
Kubernetes Prow Robot
dc08b6b275
Merge pull request #76625 from gnufied/skip-if-no-default-sc
...
Skip storage tests that depend on default SC - if no default SC is found
2019-04-22 14:37:45 -07:00
Hemant Kumar
6fee8a7727
Skip pvc protection tests if no default SC is found
...
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.
But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
SataQiu
c892beca8b
fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-22 22:08:26 +08:00
Jordan Liggitt
69042da958
Add integration tests covering admission webhooks
2019-04-20 03:33:36 -04:00
Jordan Liggitt
3bbd9b2c55
tag test/integration/apimachinery as integration test
2019-04-20 02:20:31 -04:00
Jordan Liggitt
aee1997a19
quiet integration test logs
2019-04-20 02:20:31 -04:00
Kubernetes Prow Robot
b384712024
Merge pull request #76576 from cblecker/go-1.12.4
...
Update to go 1.12.4
2019-04-19 21:53:42 -07:00
Kubernetes Prow Robot
f3ca66ad23
Merge pull request #76745 from atoato88/fix-golint-e2e-framework-util-go-part4
...
Fix golint failures of e2e/framework/util.go - part4
2019-04-19 20:29:58 -07:00
Akihito INOH
97fe60e807
Fix golint failures of e2e/framework/util.go - part4
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 3686 to end of file at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-20 08:47:37 +09:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
9e6ed2713e
Merge pull request #76751 from jiatongw/e2e/framework/service_util
...
[e2e] Remove unused function and clean up redundant code
2019-04-19 02:27:54 -07:00
Kubernetes Prow Robot
f3ec8f0d99
Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
...
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
Kubernetes Prow Robot
5f1a3a98d4
Merge pull request #75245 from aojea/e2e_ipv6_lifecyclehook
...
Add IPv6 support to the Container Lifecycle tests
2019-04-18 21:59:54 -07:00
Jiatong Wang
9f2fa7d269
Remove unused function and clean up redundant code
2019-04-18 21:08:34 -07:00
Kubernetes Prow Robot
888d26d119
Merge pull request #76773 from mm4tt/kubemark_firewall
...
Create the "internal" firewall rule for kubemark master.
2019-04-18 13:02:14 -07:00
Matt Matejczyk
02f282187b
Create the "internal" firewall rule for kubemark master.
...
This is equivalent to the "internal" firewall rule that is created for
the regular masters.
The main reason for doing it is to allow prometheus scraping metrics
from various kubemark master components, e.g. kubelet.
Ref. https://github.com/kubernetes/perf-tests/issues/503
2019-04-18 17:25:27 +02:00
qingsenLi
23b91b8043
remove some unused const in test/e2e
2019-04-18 22:20:35 +08:00
John Schnake
028df0451d
Refactor of e2e/framework/authorizer_util.go
...
- moves these helper functions into e2e/framework/auth
- removes logging from helper functions
- in some cases explicitly returns errors that were implicitly
ignored/logged. In the situations where they should be ignored,
we explicitly check that the condition is met before ignoring it.
- fixes references of these methods to use the right package and
return values
2019-04-17 16:39:37 -05:00
Kubernetes Prow Robot
129a586cf3
Merge pull request #76083 from rramkumar1/patch-15
...
Remove Ingress-GCE test that verifies backend health check is not reconciled
2019-04-17 13:40:19 -07:00
Kubernetes Prow Robot
462d909f6d
Merge pull request #75244 from aojea/e2e_ipv6_health
...
Add ipv6 support to the e2e healthz test
2019-04-17 13:40:04 -07:00
Kubernetes Prow Robot
23e6f80304
Merge pull request #76132 from SataQiu/fix-e2e-apps-golint-20190404
...
Fix golint failures of test/e2e/apps
2019-04-17 12:16:04 -07:00
Kubernetes Prow Robot
6c55e2d206
Merge pull request #76523 from msau42/csi-beta-e2e
...
update to csi e2es to use official images
2019-04-17 10:44:23 -07:00
Lili Cosic
c9cbabc8f9
pkg,test: Fix DaemonSet typos
2019-04-17 18:47:00 +02:00
SataQiu
03180ec2b2
fix golint failures of test/e2e/apps
2019-04-17 19:04:51 +08:00
Akihito INOH
85f21c16ac
Fix golint failures of e2e/framework/util.go - part2
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 1395 to line 2353 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
This changes following files because of change function name
in above file.
- test/e2e/apps/rc.go
- test/e2e/apps/replica_set.go
2019-04-17 19:00:12 +09:00
Kubernetes Prow Robot
c3bec0bae4
Merge pull request #74601 from mrbobbytables/fix-test-image-shellcheck
...
Fix shellcheck lint errors in test/images/* scripts
2019-04-17 02:22:03 -07:00
Antonio Ojea
0522265817
Bump nettest image version
2019-04-17 11:13:12 +02:00
Antonio Ojea
f574a839a6
Rebase nettest image from scratch to distroless
2019-04-17 11:13:04 +02:00
Akihito INOH
9d0bc4b8df
Fix golint failures of e2e/framework/util.go - part1
...
This is a part of a series for fixing golint failures for util.go.
- fixes `should not use dot imports` about `ginkgo` and `gomega`
- fixes golint failures from top of file to line 1394 at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
This changes following files because of change function name
in above file.
- test/e2e/e2e.go
- test/e2e/network/network_tiers.go
- test/e2e/network/service.go
2019-04-17 18:07:01 +09:00
Kevin Taylor
bb5b4ad0b2
Beta upgrade for feature date VolumeSubpathEnvExpansion
2019-04-17 07:41:00 +01:00
Kubernetes Prow Robot
92e087c402
Merge pull request #75989 from neolit123/remove-aggregator-from-e2e-fw
...
[e2e] decouple the aggregated clientset from the e2e testing framework
2019-04-16 16:20:09 -07:00
Kubernetes Prow Robot
a81a8b6529
Merge pull request #75066 from aojea/e2e_ipv6_conn
...
Use IP addresses to test external connectivity
2019-04-16 16:19:53 -07:00
Yongkun Gui
5168e6277f
Add e2e for connection reset issue
...
Regression test for #74839
2019-04-16 13:34:42 -07:00
Kubernetes Prow Robot
2347da833c
Merge pull request #76378 from cwdsuzhou/clean_up_codes_in_scheduler
...
clean up unused code in scheduler
2019-04-16 12:29:07 -07:00
Kubernetes Prow Robot
0dc281df04
Merge pull request #76631 from andrewsykim/refactor-framework-util
...
remove unused functions & types in test/e2e/framework/util.go
2019-04-16 10:27:44 -07:00
Lubomir I. Ivanov
760a825f7c
e2e-test-framework: decouple the aggregated clientset from the framework
...
Remove usage of the aggregated clientset in the e2e testing framework
itself. We have one test that consumes the clientset in the suite
and it's in test/e2e/apimachinery/aggregator.go, which was recently
promoted to conformance in 8101b86
.
This test now obtains a local copy of the aggregated clientset.
The suite still has to compile the internal client in.
One possible solution here is to move this test in a separate suite,
yet it's unclear of how to tackle the problem now that the test
has to run as part of the conformance suite.
2019-04-16 18:05:09 +03:00
Kubernetes Prow Robot
99e61466ab
Merge pull request #76637 from mm4tt/test_network
...
Add missing node.address != "" condition in tests
2019-04-16 02:12:17 -07:00
Kubernetes Prow Robot
03c5079ac1
Merge pull request #75134 from mgdevstack/promote-runtime-3
...
Promote container runtime e2e verifying termination message
2019-04-16 02:11:44 -07:00
Kubernetes Prow Robot
53b7bc30b3
Merge pull request #76612 from mkumatag/patch-1
...
Add mkumatag to the approvers list
2019-04-16 00:51:23 -07:00
Kubernetes Prow Robot
35669df1ab
Merge pull request #76066 from SataQiu/golint-test-20190403
...
Fix golint failures of e2e/apimachinery
2019-04-15 23:31:22 -07:00
SataQiu
91bd1ac1ea
fix golint failures of test/e2e/apimachinery
2019-04-16 19:03:26 +08:00
Kubernetes Prow Robot
4c4c378d99
Merge pull request #76014 from WanLinghao/auth_can-i_improve
...
Improve `kubectl auth can-i` command by warning users when they try access resource out of scope
2019-04-15 23:31:06 -07:00
Matt Matejczyk
618d6771f8
Add missing node.address != "" condition in tests
...
It turns out to be a frequent bug that is revealed when nodes don't have
external IP addresses. In the test we assume that in such case there
won't be any addresses of type 'NodeExternalIp', which is invalid. In
such case there will be an address of type 'NodeExternalIP', but with
the empty 'Address' field.
Ref. https://github.com/kubernetes/kubernetes/issues/76374
2019-04-16 08:13:43 +02:00
Kubernetes Prow Robot
7609d1d49e
Merge pull request #76577 from jiatongw/upgrade
...
[e2e] Clean up e2e/framework/upgrade_util.go
2019-04-15 21:01:05 -07:00
Kubernetes Prow Robot
34cfa7b5fa
Merge pull request #76607 from mattjmcnaughton/mattjmcnaughton/fix-typo-in-kube-proxy-migration-e2e-test
...
Fix typo in kube-proxy-migration-e2e test
2019-04-15 18:05:51 -07:00
Kubernetes Prow Robot
9217cb5b6e
Merge pull request #76350 from jpbetz/watch-consistency-conformance
...
Promote 'watch-consistency' e2e test to be a conformance test
2019-04-15 18:05:20 -07:00
Bob Killen
5518defffc
Fix shellcheck lint errors in test/images/volume/nfs/run_nfs.sh
2019-04-15 20:02:03 -04:00
Bob Killen
f795e22932
Fix shellcheck lint errors in test/images/volume/iscsi/create_block.sh
2019-04-15 20:01:25 -04:00
Bob Killen
346bcdaa27
Fix shellcheck lint errors in test/images/volume/gluster/run_gluster.sh
2019-04-15 20:01:25 -04:00
Andrew Sy Kim
71e5980ad4
remove unused functions & types in test/e2e/framework/util.go
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-15 19:21:39 -04:00
Jiatong Wang
6d7869ee96
Clean up e2e/framework/upgrade_util.go
2019-04-15 15:46:25 -07:00
Kubernetes Prow Robot
8045a99a70
Merge pull request #76565 from xichengliudui/ends-With-Newline
...
Use fmt.printf() to end with a newline
2019-04-15 14:25:22 -07:00
Kubernetes Prow Robot
cd158cc6bb
Merge pull request #76602 from jsafrane/revert-hack
...
Revert accidentally pushed e2e images
2019-04-15 13:11:37 -07:00
Kubernetes Prow Robot
bf70f69b15
Merge pull request #76552 from mattjmcnaughton/mattjmcnaughton/improve-readability-in-e2e-network-service-tests
...
Improve readability in e2e/network/service tests
2019-04-15 11:46:55 -07:00
Kubernetes Prow Robot
94a1458638
Merge pull request #76368 from SataQiu/cleanup-test-20190410
...
Cleanup command prompt for readme.md
2019-04-15 10:26:06 -07:00
Manjunath A Kumatagi
3319452ddf
Add mkumatag as a owner
2019-04-15 20:41:08 +05:30
mattjmcnaughton
a52b9fb4ff
Fix typo in kube-proxy-migration-e2e test
...
s/uprgade/upgrade
2019-04-15 10:00:42 -04:00
Jan Safranek
5a3796b115
Revert "hack"
...
This reverts commit 5f9756c3ce
.
2019-04-15 14:26:55 +02:00
SataQiu
270e27d4b7
fix golint failures of test/e2e_kubeadm/util.go
2019-04-16 00:49:15 +08:00
Mayank Gaikwad
82822f10e1
Promote container runtime e2e verifying termination message
2019-04-15 16:37:18 +05:30
Christoph Blecker
759121309f
Update to go 1.12.4
2019-04-14 21:01:00 -07:00
Kubernetes Prow Robot
56817f2543
Merge pull request #76115 from SataQiu/fix-shell-20190404
...
Fix shellcheck failures of zookeeper-installer/install.sh, etc
2019-04-13 21:20:01 -07:00
Claudiu Belu
60e9fe79af
tests: agnhost image updates
...
Adds the following subcommands to the agnhost binary:
- dns-server-list: outputs the host's DNS server list with which it was
configured with. This can be found in /etc/resolv.conf on Linux and
through some powershell commands on Windows.
- etc-hosts: outputs the host's hosts file. This can be found in /etc/hosts
for Linux, and C:/Windows/System32/drivers/etc/hosts for Windows.
- pause: pauses the binary's execution. This can be used to keep the Pod in
a Running state for various reasons, including executing additional agnhost
commands.
Refactors bits of the code to avoid duplication.
Adds a README for the agnhost image.
2019-04-13 21:12:58 -07:00
Kubernetes Prow Robot
0e157cbc36
Merge pull request #75713 from SataQiu/fix-e2e_node-builder-20190326
...
Fix golint failures in test/e2e_node/builder
2019-04-13 19:18:00 -07:00
SataQiu
d735aaadd6
fix shellcheck failures of zookeeper-installer/install.sh zookeeper-installer/on-start.sh
2019-04-14 07:07:50 +08:00
mattjmcnaughton
a00019ca9c
Improve readability in e2e/network/service tests
...
Improve readability in e2e network service tests by using differently
named methods for a test with a transition and without a transition.
This replaces a boolean argument, which didn't give any indication w.r.t
its purpose (unless one read the method).
2019-04-13 13:48:05 -04:00
SataQiu
9f8ee74a52
cleanup command prompt for readme.md
2019-04-13 19:10:36 +08:00
Kubernetes Prow Robot
1b9206a17c
Merge pull request #76414 from SataQiu/refactor-e2e-volume-20190411
...
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 00:42:03 -07:00
SataQiu
a34f6277d9
add OWNERS for test/e2e/framework/volume
2019-04-13 16:59:04 +08:00
SataQiu
252cabf155
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 16:58:37 +08:00
Kubernetes Prow Robot
df6ca6ab9f
Merge pull request #76156 from chardch/recreate-master-retry
...
Recreate nodes e2e test
2019-04-12 23:26:02 -07:00
Kubernetes Prow Robot
9aac5ced1f
Merge pull request #74702 from globervinodhn/secret_empty_promote
...
Promote empty secret key e2e test to conformance test
2019-04-12 21:38:02 -07:00
Jiaying Zhang
8175579a0c
add recreate node e2e test
...
Move recreate_node test to gce provider tests.
2019-04-12 16:00:19 -07:00
Kubernetes Prow Robot
969c1106f1
Merge pull request #76084 from SataQiu/fix-shell-20190403
...
Fix shellcheck failures of test/images/pets/redis-installer/on-start.sh
2019-04-12 15:56:32 -07:00
Kubernetes Prow Robot
2a6efd3fe7
Merge pull request #75473 from pontiyaraja/podCNF
...
promote pod should be submitted and removed e2e test case to conformance
2019-04-12 15:56:18 -07:00
Kubernetes Prow Robot
2d5f5a9da5
Merge pull request #75471 from pontiyaraja/sharedVolCNF
...
promote shared volumes between the container in a pod e2e to conformance
2019-04-12 15:56:04 -07:00
Michelle Au
cb21282136
update to csi e2es to use official images
2019-04-12 15:48:55 -07:00
Kubernetes Prow Robot
cf76367f05
Merge pull request #75101 from mgdevstack/promote-runtime-2
...
Promote container runtime e2e having non default TerminationMessagePath set
2019-04-12 14:30:36 -07:00
Kubernetes Prow Robot
42b3d9d9f3
Merge pull request #74983 from mgdevstack/master-conformance-pqdn-externamesrv
...
Promote DNS e2e verifying DNS resolution for externalName services
2019-04-12 14:30:22 -07:00
Kubernetes Prow Robot
9c61764a07
Merge pull request #74892 from globervinodhn/rc_exceed_quota_promote
...
Promote exceed quota e2e test for Replication Controller to conformance test
2019-04-12 14:30:08 -07:00
Kubernetes Prow Robot
c3ac9fb1ab
Merge pull request #74791 from globervinodhn/job_delete_promote
...
Promote graceful job deletion e2e test to conformance test
2019-04-12 14:29:53 -07:00
Kubernetes Prow Robot
c48a16a6a9
Merge pull request #76457 from caesarxuchao/fix-image-build
...
Follow up of #76126
2019-04-12 12:57:16 -07:00
Kubernetes Prow Robot
cc368faa1b
Merge pull request #73739 from jsafrane/parallelize-iscsi
...
Parallelize iSCSI tests
2019-04-12 12:56:47 -07:00
Kubernetes Prow Robot
73e4b133f1
Merge pull request #76300 from jingxu97/April/window_provisioning_fix
...
Fix test failures in volume provisioning
2019-04-12 11:35:00 -07:00
Kubernetes Prow Robot
81b64f4972
Merge pull request #76228 from draveness/feature/refactor-framework-job-util
...
refactor: cleanup e2e framework job utils
2019-04-12 11:34:46 -07:00
draveness
f32352ac7e
refactor: clean up e2e framework job utils
...
1. Move job_util to e2e/framework/job package
2. Remove unused UpdateJobWithFunc
2019-04-12 21:26:33 +08:00
Kubernetes Prow Robot
bb845a715a
Merge pull request #76498 from mm4tt/kubemark_fix
...
Fail start-kubemark.sh on master or hollow nodes set-up errors
2019-04-12 06:15:27 -07:00
Kubernetes Prow Robot
d999f456ea
Merge pull request #76434 from SataQiu/join-test-20190411
...
add @SataQiu as a reviewer of test (re-open)
2019-04-12 03:23:46 -07:00
Mateusz Matejczyk
17daab3a7d
Fail on master or hollow nodes set-up error.
...
Ref. https://github.com/kubernetes/kubernetes/issues/76490
2019-04-12 12:17:20 +02:00
Kubernetes Prow Robot
ed2bdd53dc
Merge pull request #76409 from draveness/feature/refactor-framework-rs-util
...
refactor: cleanup e2e replicaset utils
2019-04-12 00:41:43 -07:00
Kubernetes Prow Robot
daf75a0ad5
Merge pull request #76400 from jiatongw/gpu
...
[e2e] Move gpu_util.go to e2e/framework/gpu
2019-04-12 00:41:28 -07:00
Mayank Gaikwad
f7d8771dfe
Promote security context NodeConformance tests to Conformance suite
2019-04-12 10:22:24 +05:30
Kubernetes Prow Robot
3ef622d5b8
Merge pull request #76391 from SataQiu/update-readme-20190410
...
Update README.md by cleaning up command prompts
2019-04-11 13:10:56 -07:00
Kubernetes Prow Robot
305f718716
Merge pull request #76361 from SataQiu/cleanup-e2e-20190410
...
Small cleanup of e2e/framework/ingress
2019-04-11 13:10:43 -07:00
Joe Betz
a6126dc55a
Promote 'watch-consistency' e2e test to be a conformance test
2019-04-11 12:54:16 -07:00
Chao Xu
1b41803421
fixing image-util.sh
2019-04-11 11:20:26 -07:00
SataQiu
2ca28e8d80
add @SataQiu as a reviewer of test
2019-04-12 02:13:33 +08:00
draveness
dee97a4e5c
refactor: cleanup e2e replicaset utils
2019-04-12 01:48:10 +08:00
Kubernetes Prow Robot
ca55432599
Merge pull request #76371 from SataQiu/try-more-involved-20190410
...
add @SataQiu as a test/e2e/framework reviewer
2019-04-11 09:04:16 -07:00
Claudiu Belu
4d22a51414
tests: creates HostPath pods as unprivileged
...
The containers are mounted the /tmp folder as a HostPath volume
and they are supposed to create a new file in it.
The /tmp folder has 777 file permissions, so there shouldn't be any
problems creating a file, even if the container is unprivileged.
2019-04-11 04:31:05 -07:00
Kubernetes Prow Robot
ce0be7fa20
Merge pull request #76255 from SataQiu/fix-golint-service_util-20190408
...
Fix some golint failures of test/e2e/framework/service_util.go
2019-04-11 02:40:10 -07:00
Jiatong Wang
7814865b40
Move gpu_util.go to e2e/framework/gpu
2019-04-10 14:30:24 -07:00
Kubernetes Prow Robot
c2254cf19a
Merge pull request #76388 from sttts/sttts-crd-openapi-publishing-e2e-ha-support
...
crd-openapi-publishing: in e2e query apiserver instances for HA
2019-04-10 10:08:42 -07:00
SataQiu
2fc698ede2
update README.md by cleaning up command prompts
2019-04-10 22:35:39 +08:00
Kubernetes Prow Robot
3ec638d3cd
Merge pull request #75905 from ravisantoshgudimetla/fix-priorities
...
Fix usage priority fraction in priorities e2e test
2019-04-10 07:08:17 -07:00
Dr. Stefan Schimanski
b88a99da0c
crd-openapi-publishing: in e2e query apiserver instances for HA
2019-04-10 15:43:24 +02:00
Jan Safranek
5f9756c3ce
hack
...
in VM:
make all WHAT=volume/iscsi
(+ break after amd64)
2019-04-10 14:54:06 +02:00
Jan Safranek
b18dba3794
Parallelize iSCSI tests
...
iSCSI target (=the server) is implemented in Linux kernel. The "iSCSI
server" pod is not a real server, it just configures the kernel on the
host. In order to run iSCSI tests in parallel, we need to be able to
run multiple such pods on a single node, serving different LUNs to
different tests.
The "server pod" must run with HostNetwork=true to achieve that.
Each pod then creates its own IQN with namespace name, so it can't
collide with other server pods running in another namespaces on the same
node.
2019-04-10 14:43:06 +02:00
aaa
433f86c6a7
Use fmt.printf() to end with a newline
...
update pull request
update pull request
update pull request
2019-04-10 07:43:54 -04:00
caiweidong
4c12c76a90
clean up unused code
2019-04-10 19:12:40 +08:00
SataQiu
5667a4446f
add @SataQiu as a test/e2e/framework reviewer
2019-04-10 16:54:38 +08:00
WanLinghao
7fbd71835e
'kubectl auth can-i` command would not hint user when they try to access
...
some resource out of scope. For example, try get namespace inside defaut namespace.
It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
would give a `yes`. After this patch, a warning info would be given.
For more detail, please refer issue #75950
2019-04-10 13:12:45 +08:00
SataQiu
05612d76b6
small cleanup of e2e/framework/ingress
2019-04-10 12:17:50 +08:00
Kubernetes Prow Robot
e2091b769a
Merge pull request #71136 from yue9944882/chore/prune-all-kk-internal-clientset
...
Prune literally all kube-apiserver internal client
2019-04-09 13:58:45 -07:00
Kubernetes Prow Robot
085620575c
Merge pull request #76324 from SataQiu/refactor-e2e-framework-20190409
...
Refactor and clean up e2e/framework/exec_util.go
2019-04-09 12:37:04 -07:00
SataQiu
55b322e04a
refactor and clean up e2e/framework/exec_util.go
2019-04-09 23:14:38 +08:00
Rohit Ramkumar
4d72932a9d
Remove Ingress-GCE test that verifies backend health check is not reconciled.
2019-04-09 10:33:47 -04:00
Kubernetes Prow Robot
99a52350a4
Merge pull request #76309 from jiatongw/e2e_gpu
...
Clean up and remove blank lines
2019-04-09 07:29:20 -07:00
Kubernetes Prow Robot
466abb0168
Merge pull request #76233 from draveness/feature/refactor-framework-rc-util
...
refactor: remove unused function and add comments in rc util
2019-04-09 07:29:07 -07:00
yue9944882
8f601d3413
prune internal client references from test/*
2019-04-09 21:43:55 +08:00
Jiatong Wang
df2072dd19
Clean up and remove blank lines
2019-04-08 20:02:51 -07:00
Kubernetes Prow Robot
2d0e5c1818
Merge pull request #76282 from fabriziopandini/kubeadm-e2e-JUnitReporter
...
Add JUnitReporter to kubeadm e2e test
2019-04-08 17:27:40 -07:00
Kubernetes Prow Robot
097ba59cd2
Merge pull request #76126 from SataQiu/fix-part-shell-20190404
...
Fix some shellcheck failures of test/images/image-util.sh
2019-04-08 17:27:03 -07:00
Jing Xu
208fbfe975
Fix test failures in volume provisioning
...
For windows, the command such as "mount" and "grep" do not work for
windows node, this PR is fix the test issue by removing those commands
and change it windows ones if the node OS is windows.
Change-Id: I2428128ee407b611067b8e7c000dfff539d17309
2019-04-08 16:10:36 -07:00
Kubernetes Prow Robot
2a05e1b76f
Merge pull request #76260 from SataQiu/golint-network-20190408
...
Fix some golint failures of e2e/network/[d-k]*.go
2019-04-08 14:41:22 -07:00
Kubernetes Prow Robot
30bd57293f
Merge pull request #76251 from SataQiu/fix-golint-framework-20190408
...
Fix golint failures of test/e2e/framework/framework.go
2019-04-08 14:41:10 -07:00
Kubernetes Prow Robot
3409a5362a
Merge pull request #76062 from apelisse/rollout-restart
...
Create `kubectl rollout restart deployment/$deployment` to do a rolling restart
2019-04-08 14:40:44 -07:00
ravisantoshgudimetla
074bbb0434
Build file
2019-04-08 15:53:54 -04:00
fabriziopandini
0c4031f3a6
kubeadm-e2e-JUnitReporter
2019-04-08 14:53:37 +02:00
SataQiu
36bc97cbb8
fix some golint failures of e2e/network/[d-k]*.go
2019-04-08 18:27:08 +08:00
SataQiu
fd3fdbd335
fix some golint failures of test/e2e/framework/service_util.go
2019-04-08 15:57:52 +08:00
Mehdy Bohlool
864cf3e33a
Generated files
2019-04-08 00:29:04 -07:00
Mehdy Bohlool
1afc25d575
Change e2e test to use custom ports
2019-04-08 00:19:57 -07:00
SataQiu
1405819049
fix golint failures of test/e2e/framework/framework.go
2019-04-08 15:11:37 +08:00
Kubernetes Prow Robot
f873d2a056
Merge pull request #75862 from xichengliudui/fixshellcheckfailures
...
Fix shellcheck failures in bootstrap.sh and create_block.sh
2019-04-07 21:52:24 -07:00
draveness
7e63c16b10
refactor: remove unused function and add comments in rc util
2019-04-07 21:36:05 +08:00
Yubao Liu
f7f51fab2a
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-07 20:41:25 +08:00
Antoine Pelisse
1bf99e2e4e
Create kubectl rollout restart deployment/$deployment
to do a rolling restart
2019-04-06 21:14:40 -07:00
Kubernetes Prow Robot
9c2df998af
Merge pull request #75820 from YoubingLi/bugfix
...
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
...
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot
2c013fa1a8
Merge pull request #75129 from xing-yang/informer
...
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Robert Krawitz
1c0d021de8
Graduate SupportNodePidsLimit to beta
2019-04-05 18:29:52 -04:00
Bobby (Babak) Salamat
16a7cbd320
generated files
2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4
Use Scheduling V1 API instead of Scheduling v1beta1
2019-04-05 14:21:45 -07:00
Kubernetes Prow Robot
92a2076149
Merge pull request #76203 from andrewsykim/test-reviewer
...
add @andrewsykim, @neoli123, @stevesloka and @johnSchnake as test/ reviewers
2019-04-05 13:14:10 -07:00
Kubernetes Prow Robot
d7db904ef8
Merge pull request #76192 from wongma7/hostpath-provisioner
...
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 13:13:58 -07:00
Kubernetes Prow Robot
5c205da741
Merge pull request #76052 from neolit123/remove-cmd-kubeadm-from-e2e-fw
...
test: partially decouple from cmd/kubeadm
2019-04-05 13:13:46 -07:00
Kubernetes Prow Robot
762a9e5b2d
Merge pull request #76017 from wojtek-t/tls_in_kubemark
...
Add TLS support to kubemark
2019-04-05 13:13:34 -07:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
20cece67b5
Merge pull request #76006 from atoato88/fix-golint-e2e-framework-s
...
Fix golint failures of e2e/framework/statefulset_utils.go
2019-04-05 11:52:10 -07:00
Kubernetes Prow Robot
4d6e2fcef0
Merge pull request #75936 from qingsenLi/k8s190401
...
fix a mistake
2019-04-05 11:51:45 -07:00
Kubernetes Prow Robot
23d7e489dd
Merge pull request #75797 from atoato88/fix-golint-e2e-framework-v
...
Fix golint failures of e2e/framework/v*.go
2019-04-05 11:51:33 -07:00
Kubernetes Prow Robot
79000d4ac5
Merge pull request #75783 from oomichi/golint-e2e-framework-m
...
Fix golint failures of e2e/framework/metrics_util.go
2019-04-05 11:51:21 -07:00
Kubernetes Prow Robot
4d73d99fd7
Merge pull request #75705 from oomichi/golint-e2e-framework-f
...
Fix golint failures of e2e/framework/f*.go
2019-04-05 10:21:20 -07:00
Andrew Sy Kim
046f322cd0
add @andrewsykim, @neolit123, @stevesloka and @johnSchnake as test/ reviewer
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-05 12:33:38 -04:00
Kubernetes Prow Robot
e18667405d
Merge pull request #76193 from wongma7/multivolume-node-affinity
...
Use metadata.name instead of hostname label when setting affinity
2019-04-05 09:01:32 -07:00
Matthew Wong
c802f81045
Update to latest csi/external-provisioner rbac
2019-04-05 11:09:25 -04:00
Matthew Wong
900034e5ed
Use metadata.name instead of hostname label when setting affinity
2019-04-05 07:53:35 -04:00
Matthew Wong
5d9330aa75
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 07:38:43 -04:00
Jan Safranek
fc8b8669d1
Don't run topology tests with GCE CSI driver on non-GCE cloud
2019-04-05 13:26:11 +02:00
Kubernetes Prow Robot
ca1e47065b
Merge pull request #76163 from msau42/csi-beta-e2e
...
Use official images in pd driver e2es
2019-04-05 01:17:20 -07:00
Kubernetes Prow Robot
c644851d31
Merge pull request #76136 from mkumatag/update_etcd_repo
...
Use multi-arch etcd image
2019-04-04 22:31:54 -07:00
Kubernetes Prow Robot
ca7b6129d5
Merge pull request #76057 from atoato88/fix-golint-e2e-framework-r
...
Fix golint failures of e2e/framework/r*.go
2019-04-04 21:07:29 -07:00
Kubernetes Prow Robot
73c1e35491
Merge pull request #76174 from msau42/slow-e2es
...
Mark slow storage e2es
2019-04-04 19:37:19 -07:00
Michelle Au
ce7ac63916
Mark slow storage e2es
2019-04-04 18:01:22 -07:00
Kubernetes Prow Robot
8660288acd
Merge pull request #76034 from mkimuram/issue/75775
...
Restore volume tests using statefulset
2019-04-04 17:48:07 -07:00
Kubernetes Prow Robot
df646dfed8
Merge pull request #76032 from bclau/tests/agnhost-image
...
tests: Adds agnhost image
2019-04-04 17:47:55 -07:00
Kubernetes Prow Robot
f25fa0e9e1
Merge pull request #75750 from msau42/metrics
...
Improve volume operation metrics
2019-04-04 17:47:43 -07:00
Akihito INOH
fad1ebc45f
Fix golint failures of e2e/framework/v*.go
...
This fixes golint failures of the following file:
- test/e2e/framework/volume_util.go
This changes following file because of change function name
in above file.
- test/e2e/storage/testsuites/volumes.go
2019-04-05 06:16:13 +09:00
Michelle Au
2379c9896a
Enable topology in pd driver e2es
2019-04-04 11:54:54 -07:00
Masaki Kimura
b474b28f7b
Use framework.ExpectNoError() for rest of under test/e2e/storage
2019-04-04 18:51:51 +00:00
Masaki Kimura
f2e39e42b8
Use framework.ExpectNoError() for test/e2e/storage/persistent_volumes.go
2019-04-04 18:42:36 +00:00
Masaki Kimura
15188268b4
Restore volume tests using statefulset
2019-04-04 18:42:36 +00:00
Manjunath A Kumatagi
175dcdb3d6
Use multi-arch etcd image
2019-04-04 08:35:57 -07:00
Lubomir I. Ivanov
76906dd738
test: partially decouple from cmd/kubeadm
...
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.
To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.
2) Using PKI helper function in apimachinery and auth tests.
To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.
There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system
But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
Kubernetes Prow Robot
4d380ee279
Merge pull request #76117 from SataQiu/fix-golint-test-20190404
...
Fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
2019-04-04 05:30:52 -07:00
SataQiu
a2954adf33
fix some shellcheck failures of test/images/image-util.sh
2019-04-04 14:35:16 +08:00
Akihito INOH
c8f933c591
Fix golint failures of e2e/framework/r*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/resource_usage_gatherer.go
- test/e2e/framework/rs_util.go
2019-04-04 13:15:44 +09:00
Kubernetes Prow Robot
c2877f862a
Merge pull request #76091 from andrewsykim/external-resizer-rbac
...
external-resizer in e2e tests should have access to leases
2019-04-03 21:07:36 -07:00
Kubernetes Prow Robot
4e728efbd6
Merge pull request #76087 from sttts/sttts-fail-feature-gate-errors
...
Handle feature gate errors
2019-04-03 21:07:24 -07:00
Kubernetes Prow Robot
9e97aafe5a
Merge pull request #76045 from anfernee/issue-74839
...
Image for Regression test for #74839
2019-04-03 21:07:01 -07:00
SataQiu
e6b9197f7c
fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
2019-04-04 11:13:27 +08:00
Mayank Gaikwad
295f43b1fa
Promote container runtime e2e verifying non-default termination message path
2019-04-04 07:09:17 +05:30
Solly Ross
837976cb59
Prune directxman12 from metrics/autoscaling OWNERS
...
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Yongkun Gui
ccf36c235b
Add test image for issue-74839
2019-04-03 15:44:32 -07:00
Kubernetes Prow Robot
445a373458
Merge pull request #76043 from seans3/integration-fix
...
test-cmd: Fixes erroneous integration test that usually passes accidentally
2019-04-03 14:55:37 -07:00
Kubernetes Prow Robot
7849396966
Merge pull request #76028 from SataQiu/fix-e2e-framework-20190403
...
Fix golint failures of e2e/framework/rc_util.go
2019-04-03 14:55:25 -07:00
Kubernetes Prow Robot
f0ea0fccdf
Merge pull request #75909 from ravisantoshgudimetla/fix-hostname
...
Fix nodeSelector hostname
2019-04-03 14:55:01 -07:00
Michelle Au
db472c87a7
Add e2e tests
2019-04-03 12:03:26 -07:00
Kubernetes Prow Robot
c79fbabf23
Merge pull request #75389 from jpbetz/pagination-v1
...
Paginate watch cache->etcd List calls & reflector init/resync List calls not served by watch cache
2019-04-03 11:14:25 -07:00
Andrew Sy Kim
11042e015e
external-resizer in e2e tests should have access to leases
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-03 12:16:42 -04:00
Kubernetes Prow Robot
25ffbe6338
Merge pull request #74274 from oomichi/use-ExpectNoError-for-e2e-storage
...
Use framework.ExpectNoError() for e2e/storage
2019-04-03 08:33:47 -07:00
Dr. Stefan Schimanski
37046e3028
Handle feature gate errors
2019-04-03 16:52:05 +02:00
SataQiu
b732a53c6b
fix shellcheck failures of test/images/pets/redis-installer/on-start.sh
2019-04-03 21:55:05 +08:00
wojtekt
2c36a2ec1a
Add TLS support to kubemark
2019-04-03 08:29:42 +02:00
Kubernetes Prow Robot
51db0fe21a
Merge pull request #76030 from andrewsykim/e2e-legacyscheme
...
test/e2e: replace legacy scheme with client-go scheme
2019-04-02 22:47:53 -07:00
SataQiu
9452461c43
fix golint failures of e2e/framework/rc_util.go
2019-04-03 12:04:12 +08:00
Sean Sullivan
402d61c189
test-cmd: Fixes erroneous integration test that usually passes accidentally
2019-04-02 20:21:14 -07:00
Joe Betz
e5a4f09ab3
Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache
2019-04-02 13:06:15 -07:00
Michelle Au
d2aa8178f2
Remove alpha CRD install
2019-04-02 10:59:11 -07:00
Kenichi Omichi
7af6ddd353
Fix golint failures of framework/metrics_util.go
...
This fixes golint failures of framework/metrics_util.go.
Cleanup:
- SaturationTime was only used in test/e2e/scalability/density.go.
So this moves it into the e2e test.
- interestingClusterAutoscalerMetrics was not used in filterMetrics()
so this removes the related code.
2019-04-02 16:25:16 +00:00
Kenichi Omichi
542b07cd6a
Use framework.ExpectNoError() for e2e/storage
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/storage.
2019-04-02 16:20:35 +00:00
Andrew Sy Kim
4ac9feb7f9
test/e2e: replace legacy scheme with client-go scheme
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-02 10:08:55 -04:00
Lubomir I. Ivanov
405f9eb703
test/e2e/apps: fix panic in DaemonSet tests due to legacy scheme
2019-04-02 15:20:00 +03:00
qingsenLi
2c4860746b
fix a mistake-2
2019-04-02 18:19:17 +08:00
Kubernetes Prow Robot
de2bfc78cb
Merge pull request #74119 from yeya24/patch-1
...
remove the redundant "the"
2019-04-02 03:04:34 -07:00
Kubernetes Prow Robot
54ee638d9d
Merge pull request #75979 from verult/repd-e2e-nilpointer
...
Fixed storage class nilpointer in RePD failover test
2019-04-02 01:37:22 -07:00
Kubernetes Prow Robot
fd23c84022
Merge pull request #75953 from wojtek-t/add_etcd_metrics
...
Expose etcd client latency metrics
2019-04-02 01:37:11 -07:00
Kubernetes Prow Robot
fe9d7d59d2
Merge pull request #74406 from danielqsj/clean_unused_metrics
...
clean nonexistent metrics in e2e test
2019-04-02 01:36:46 -07:00
Akihito INOH
b0a4d7cdcb
Fix golint failures of e2e/framework/statefulset_utils.go
...
This fixes golint failures of the following file:
- test/e2e/framework/statefulset_utils.go
This changes following file because of change function name
in above file.
- test/e2e/apps/statefulset.go
2019-04-02 15:34:30 +09:00
Kubernetes Prow Robot
a38fdcfed5
Merge pull request #75975 from oomichi/golint-e2e-framework-pv_util
...
Fix golint failures of e2e/framework/pv_util.go
2019-04-01 22:45:08 -07:00
Youbing Li
c438d7b495
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-02 00:49:40 -04:00
Kubernetes Prow Robot
4eee255ef3
Merge pull request #75888 from rramkumar1/patch-13
...
Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs
2019-04-01 15:49:09 -07:00
Kubernetes Prow Robot
e192be8b1a
Merge pull request #75873 from listx/master
...
add listx to OWNERS for test/images and test/utils/image
2019-04-01 15:48:58 -07:00
Kubernetes Prow Robot
5d77a5217a
Merge pull request #75616 from andrewsykim/e2e-remove-internal-clientset
...
remove usages of internal clientset in e2e framework
2019-04-01 15:48:36 -07:00
Cheng Xing
60c2885194
Regional PD failover e2e test: set pvc name explicitly instead of relying on GenerateName
2019-04-01 14:41:30 -07:00
Kenichi Omichi
85631679ad
Fix golint failures of e2e/framework/pv_util.go
2019-04-01 20:39:25 +00:00
Kubernetes Prow Robot
c8d6d7c0d0
Merge pull request #74757 from tallclair/runtimehandler-e2e
...
Add custom runtime handler e2e test
2019-04-01 13:18:47 -07:00
wojtekt
d5c9ad8049
Expose etcd client latency metrics
2019-04-01 20:46:18 +02:00
Cheng Xing
d20845f635
Fixed storage class nilpointer in RePD failover test
2019-04-01 11:35:02 -07:00
Kubernetes Prow Robot
46ae77421c
Merge pull request #73041 from giuseppe/fix-logs
...
kubelet: fix some race conditions with logs -f
2019-04-01 10:02:34 -07:00
Rohit Ramkumar
b2a3f72a1c
Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs
2019-04-01 11:42:45 -04:00
SataQiu
e8a72dea37
fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go
2019-04-01 16:04:29 +08:00
Kubernetes Prow Robot
2792f1a24e
Merge pull request #75857 from danielqsj/sc1
...
support both JSON and YAML for scheduler configuration
2019-03-31 12:36:31 -07:00
Giuseppe Scrivano
31397083b2
test, e2e: add tests for logs -f
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-31 12:15:36 +02:00
SataQiu
610a1d1b96
fix golint failures of e2e/framework/ssh.go, e2e/framework/size.go
2019-03-31 16:32:22 +08:00
Kubernetes Prow Robot
b0aee7fa3c
Merge pull request #75897 from oomichi/golint-e2e-framework-p
...
Fix golint failures of e2e/framework/p*.go
2019-03-30 15:57:20 -07:00
Claudiu Belu
625a9d98a8
tests: Adds agnhost image
...
The new image is meant to be used for testing purposes, whenever there
are significant differences between Linux and Windows in the way
something is obtained or tested. For example, the DNS suffix list can
be found in ``/etc/resolv.conf`` on Linux, but on Windows, such file
does not exist, and one way to obtain the mentioned list would be
through some powershell commands.
The image contains an extendable CLI as the entrypoint, the tests
only having to add the necessary arguments. For the previous example,
passing the ``dns-suffix`` argument will print out the comma separated
DNS suffix list, on both Linux and Windows.
The image name means that it should behave the same way on any host,
no matter the host OS.
2019-03-30 06:04:56 -07:00
Kubernetes Prow Robot
ef42d82705
Merge pull request #75796 from msau42/fix-e2e-multizone
...
Switch PD tests to use delayed binding
2019-03-30 02:57:08 -07:00
Kubernetes Prow Robot
aad83d1e49
Merge pull request #75892 from rramkumar1/patch-14
...
Remove static IP test from Ingress-GCE e2e tests
2019-03-29 23:53:45 -07:00
Kubernetes Prow Robot
b179862d96
Merge pull request #75613 from tallclair/owners
...
Copy node test owners to e2e/common
2019-03-29 23:53:08 -07:00
Kubernetes Prow Robot
a9db137737
Merge pull request #75621 from oomichi/golint-e2e-framework-g-j
...
Fix golint failures of e2e/framework/[g-j]*.go
2019-03-29 21:11:08 -07:00
Kubernetes Prow Robot
789818794f
Merge pull request #75860 from oomichi/golint-e2e-framework-n
...
Fix golint failures of e2e/framework/n*.go
2019-03-29 17:33:32 -07:00
ravisantoshgudimetla
3a4a69280b
Fix nodeSelector hostname
2019-03-29 20:01:45 -04:00
Kenichi Omichi
1fa57d0a85
Fix golint failures of e2e/framework/[g-j]*.go
2019-03-29 23:46:26 +00:00
ravisantoshgudimetla
346f97c048
Ignore BE pods while evaluating
2019-03-29 18:35:31 -04:00
Michelle Au
634be030a8
Fix provisioning tests to allow delayed binding
2019-03-29 15:00:26 -07:00
ravisantoshgudimetla
a6055b5c26
Fix usage priority fraction
2019-03-29 17:56:42 -04:00
Kenichi Omichi
a81dd53e53
Fix golint failures of e2e/framework/p*.go
...
This fixes golint failures of
- test/e2e/framework/perf_util.go
- test/e2e/framework/pods.go
- test/e2e/framework/profile_gatherer.go
- test/e2e/framework/provider.go
- test/e2e/framework/psp_util.go
2019-03-29 18:50:01 +00:00
Michelle Au
ac69f83905
enable multipod e2es for intree volumes
2019-03-29 11:37:35 -07:00
Rohit Ramkumar
f25c80224e
Remove static IP test from Ingress-GCE e2e tests
2019-03-29 13:50:13 -04:00
Linus Arver
918c8ecad2
add listx to OWNERS for test/images and test/utils/image
...
I'd like to use /lgtm and /approve commands directly on issues/PRs that
are forwarded to me by ixdy@, such as for
https://github.com/kubernetes/kubernetes/issues/73507 and
https://github.com/kubernetes/kubernetes/pull/73739 .
Change-Id: I07cd236a67530165432b66ed9557adddd48e076a
2019-03-28 23:55:11 -07:00
SataQiu
a232c3266d
fix golint failures of e2e/framework/test_context.go
2019-03-29 14:41:24 +08:00
danielqsj
49c4c6f76f
add yaml test cases for scheduler creation
2019-03-29 11:29:09 +08:00
Kenichi Omichi
78a93f8ced
Fix golint failures of e2e/framework/n*.go
2019-03-29 02:17:43 +00:00
Andrew Sy Kim
1470df7a05
remove usages of internal clientset in e2e framework
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-03-28 21:13:40 -04:00
Kubernetes Prow Robot
da018a6bfa
Merge pull request #75362 from serathius/gcp-security-patches
...
Update gcp images with security patches
2019-03-28 14:25:58 -07:00
Kubernetes Prow Robot
5716127cff
Merge pull request #75641 from fabriziopandini/e2e-kubeadm-new-test
...
E2e kubeadm new test
2019-03-28 03:48:43 -07:00
Claudiu Belu
e44961e47d
tests: Solve backoff tests flakiness
...
The container status is not constant, and can change over time in the
following order:
- Running: When kubelet reports the Pod as running. This state is missable if
the container finishes its command faster than kubelet getting to report this
state.
- Terminated: After the Container finished its command, it will enter the Terminated
state, in which will remain for a short period of time, before kubelet will try
to restart it.
- Waiting: When kubelet has to wait for the backoff period to expire before actually
restarting the container.
Treating and handling each of these states when calculating the backoff period between
container restarts will make the tests more reliable.
2019-03-28 02:08:40 -07:00
Michelle Au
bbf6683e22
Switch PD tests to use delayed binding
2019-03-27 18:30:13 -07:00
Kubernetes Prow Robot
b9dbb458fb
Merge pull request #72384 from zhouhaibing089/quota-crd
...
resourcequota: use dynamic informer
2019-03-27 16:00:49 -07:00
Rohit Ramkumar
2020868fdf
Remove tests exercising the backend protocol feature of Ingress-GCE
2019-03-27 15:51:02 -04:00
zhouhaibing089
f58c2ae62d
resourcequota: use dynamic informer
...
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Mayank Gaikwad
8f5c3a2980
Promote DNS e2e verifying DNS resolution for externalName services
2019-03-27 10:45:59 +05:30
Kubernetes Prow Robot
743fddd174
Merge pull request #75605 from smarterclayton/check_crd_proto
...
Check CRD protobuf negotiation in integration tests
2019-03-26 21:58:47 -07:00
Kubernetes Prow Robot
e05be44808
Merge pull request #74693 from mkimuram/issue/74545
...
Add e2e tests for multiAttach
2019-03-26 20:44:48 -07:00
Kubernetes Prow Robot
d24fe8a801
Merge pull request #75735 from andrewsykim/update-install-etcd-link
...
fix link to etcd install docs for integration tests
2019-03-26 18:11:29 -07:00
Kubernetes Prow Robot
feb9bb151c
Merge pull request #75730 from wojtek-t/minor_perf_improvements
...
Avoid allocations in ByIndex() function
2019-03-26 18:11:16 -07:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
...
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
Kubernetes Prow Robot
094938895a
Merge pull request #75746 from verult/repd-min-size
...
Updated regional PD minimum size for zonal failover test
2019-03-26 16:59:00 -07:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
...
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Cheng Xing
6a02ebb30c
Updated regional PD minimum size; changed regional PD failover test to use StorageClassTest to generate PVC template
2019-03-26 14:23:08 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
...
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
...
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Andrew Sy Kim
e26157df07
fix link to etcd install docs
2019-03-26 13:40:18 -04:00
wojtekt
7d46e27db1
Avoid allocations in ByIndex() function
2019-03-26 14:14:42 +01:00
fabriziopandini
5b675d6f00
e2e-kubeadm-new-test
2019-03-26 12:16:57 +01:00
Kubernetes Prow Robot
bff4ecbe1b
Merge pull request #75685 from freehan/flaky-test
...
make NEG tests more resilient to API failures and add more failure lo…
2019-03-25 23:13:17 -07:00
SataQiu
b1cb58fdf2
fix golint failures in test/e2e_node/builder
2019-03-26 14:12:45 +08:00
Kubernetes Prow Robot
0162b98a4f
Merge pull request #75650 from xichengliudui/add-xichengliudui-to-onwers
...
Add @xichengliudui to test/OWNERS
2019-03-25 21:17:17 -07:00
Kubernetes Prow Robot
2cda7d29e8
Merge pull request #75690 from oomichi/golint-e2e-framework-d-e
...
Fix golint failures of e2e/framework/[d-e]*.go
2019-03-25 19:47:28 -07:00
Kubernetes Prow Robot
1e36b6f47a
Merge pull request #75640 from fabriziopandini/e2e-kubeadm-refactor
...
e2e kubeadm refactor
2019-03-25 19:47:15 -07:00
Minhan Xia
600e8b0eba
make NEG tests more resilient to API failures and add more failure logging
2019-03-25 16:53:33 -07:00
Kenichi Omichi
e28fb1a1f4
Fix golint failures of e2e/framework/f*.go
...
This fixes golint failures of the following files:
- test/e2e/framework/flake_reporting_util.go
- test/e2e/framework/framework.go
2019-03-25 23:21:33 +00:00
Kenichi Omichi
65e6e46515
Fix golint failures of e2e/framework/[d-e]*.go
...
This fixes golint failures on the following files:
- test/e2e/framework/deployment_util.go
- test/e2e/framework/exec_util.go
Cleanup:
- ScaleDeployment() was not used at all, so let's remove it.
- ExecCommandInPod() and ExecCommandInPodWithFullOutput() were called
in the framework only, so let's make them local.
2019-03-25 20:42:11 +00:00
Kenichi Omichi
20074882db
Fix golint failures of e2e/framework/[k-l]*.go
...
In addition, this replaces the combination of GetCPUSummary() and
FormatCPUSummary() with LogCPUSummary() in e2e/node/kubelet_perf.go
because that is completely same.
2019-03-25 19:46:51 +00:00
fabriziopandini
cb306ae0b3
e2e-kubeadm-refactor
2019-03-25 15:28:30 +01:00
WanLinghao
244b244f9d
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-25 14:54:22 +08:00
globervinodhn
a5f3e24ab7
promote empty secret key test to conformance: Version updated to v1.15
2019-03-23 16:07:50 +05:30
Kubernetes Prow Robot
3dfe9072ad
Merge pull request #75615 from oomichi/golint-e2e-framework
...
Fix golint failures of e2e/framework/[a-c].go
2019-03-22 17:02:35 -07:00
Kubernetes Prow Robot
18ac575d9b
Merge pull request #75611 from neolit123/e2e-fw-owners
...
test/e2e/framework: add OWNERS file
2019-03-22 15:46:46 -07:00
Kubernetes Prow Robot
a3bc56fffb
Merge pull request #74746 from oomichi/golint-e2e-framework-gce
...
Fix golint failures under test/e2e/[..]/gce
2019-03-22 15:46:08 -07:00
Kenichi Omichi
63f44a0bbf
Fix golint failures of e2e/framework/[a-c].go
...
This fixes golint failures on the following files:
- test/e2e/framework/authorizer_util.go
- test/e2e/framework/cleanup.go
- test/e2e/framework/create.go
2019-03-22 21:16:45 +00:00
Kubernetes Prow Robot
290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
...
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Tim Allclair
59bfb1cb9a
Copy node test owners to e2e/common
2019-03-22 12:02:05 -07:00
Lubomir I. Ivanov
e0f0d4c9f8
test/e2e/framework: add OWNERS file
2019-03-22 21:00:07 +02:00
Clayton Coleman
6825daa91a
Check CRD protobuf negotiation in integration tests
...
Add a few more tests to verify CRDs don't regress as client changes
are made.
2019-03-22 13:14:46 -04:00
Kenichi Omichi
da7c9f70c3
Fix golint failures under test/e2e/[..]/gce
...
This fixes golint failures under test/e2e/framework/providers/gce/.
Cleanup:
* FirewallTimeoutDefault is not used at all, so remove it.
* FirewallTestTcpTimeout, FirewallTestHttpPort and FirewallTestUdpPort
are used at test/e2e/network/firewall.go only. So move them.
2019-03-22 15:59:17 +00:00
Kubernetes Prow Robot
dfe2e0e705
Merge pull request #75349 from brahmaroutu/cifailure_daemonset
...
Daemon Set Conformance test fails in CI process using ci-kubernetes-c…
2019-03-22 00:04:30 -07:00
Kubernetes Prow Robot
c48ed1c5ac
Merge pull request #74356 from oomichi/golint-e2e-framework-kubemark
...
Fix golint failures for e2e/[..]/kubemark
2019-03-21 19:26:32 -07:00
Kubernetes Prow Robot
775d298cb0
Merge pull request #75347 from kanwar-saad/secret_negative_test_fix
...
test/e2e: Fix double error in secret negative testcase
2019-03-21 17:32:30 -07:00
Kubernetes Prow Robot
e5d99f893b
Merge pull request #75280 from pontiyaraja/volumes
...
removed time flaky and added default pod delete timeout
2019-03-21 17:32:17 -07:00
Jiaying Zhang
54c2c2690c
Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add.
2019-03-21 16:29:47 -07:00
Claudiu Belu
06f115641c
tests: Splits hostname from DNS test
...
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for pods for Hostname and Subdomain" test to fail.
The mentioned test has /etc/hosts file entry checks. This commits separates the
DNS check and the /etc/hosts checks into two tests.
2019-03-21 06:14:53 -07:00
Claudiu Belu
e372f56b25
tests: Fixes Python3 compatibility
...
The Python code used in the example_cluster_dns test is not compatible with Python3.
Keeping in mind that Python2 will no longer be supported from 2020 onwards, it is a good idea to address this issue.
2019-03-21 14:32:25 +02:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
7c2b93ce86
Merge pull request #75525 from fabriziopandini/kubeadm-test-owners
...
Add test/e2e_kubeadm/ OWNERS file
2019-03-20 17:55:49 -07:00
Kubernetes Prow Robot
bce6434a3a
Merge pull request #75517 from jingxu97/march/gkeglustertest
...
Skip GlusterDynamicProvisioner test in GKE
2019-03-20 17:55:36 -07:00
aaa
46799b6dd4
Fix shellcheck failures in bootstrap.sh and create_block.sh
2019-03-20 17:37:50 -04:00
fabriziopandini
437bd8dff4
kubeadm-test-owners
2019-03-20 22:19:17 +01:00
Srini Brahmaroutu
b64066b41b
Daemon Set Conformance test fails in CI process using ci-kubernetes-conformance-image as the num nodes is calculates incorrectly by the test context.
...
Fixes #75348
2019-03-20 14:01:19 -07:00
Kubernetes Prow Robot
8142ab5904
Merge pull request #75466 from denkensk/import-defaultprovider
...
import DefaultProvider in BenchmarkScheduling util
2019-03-20 13:31:38 -07:00
Jing Xu
221c673f31
Skip GlusterDynamicProvisioner test in GKE
...
The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
2019-03-20 12:07:50 -07:00
Kubernetes Prow Robot
02387f1a88
Merge pull request #75344 from jeffdyoung/multi-arch-tests
...
enable s390x to test containers
2019-03-20 11:08:41 -07:00
Kubernetes Prow Robot
e34879925a
Merge pull request #75335 from sjenning/fix-sched-preempt-test
...
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-20 11:08:14 -07:00
Kubernetes Prow Robot
6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
...
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Kubernetes Prow Robot
6f93f87ac4
Merge pull request #75002 from rramkumar1/remove-ingress-upgrade-tests
...
Remove Ingress-GCE upgrade + downgrade tests from k/k
2019-03-19 21:27:01 -07:00
Kubernetes Prow Robot
66674f5496
Merge pull request #74408 from lubinsz/pr_tf
...
node-perf/tf-wide-deep: add support for Arm64
2019-03-19 19:01:17 -07:00
Peter McAlpine
ac88e13821
Fix lint warnings in pkg/controller/cronjob.
2019-03-19 14:36:26 -04:00
pontiyaraja
d46c56f384
promote should be submitted and removed e2e test case to conformance
2019-03-19 15:14:54 +05:30
pontiyaraja
584e00aa20
promote shared volumes between the container in a pod e2e to conformance
2019-03-19 14:39:40 +05:30
wangqingcan
e2af183d3e
import DefaultProvider
2019-03-19 16:21:34 +08:00
Kubernetes Prow Robot
5cc445dc8b
Merge pull request #75447 from liggitt/flaky-audit
...
Mark audit e2e tests as flaky
2019-03-18 21:56:19 -07:00
danielqsj
088773e030
add kubelet_docker_operations_errors_total into InterestingKubeletMetrics
2019-03-19 10:30:31 +08:00
Dan Williams
bfd8ad3268
build/gci: bump CNI version to 0.7.5
2019-03-18 17:16:42 -05:00
jeffdyoung
468d0a2daa
add s390x to test containers
2019-03-18 17:13:49 -04:00
aaa
7ea664dfe8
Add xichengliudui to test/OWNERS
2019-03-18 16:21:49 -04:00
Kubernetes Prow Robot
cd9f18bd7d
Merge pull request #75340 from pohly/framework-crd-utils
...
framework k8s.io/apiextensions-apiserver dependency
2019-03-18 12:26:22 -07:00
Jordan Liggitt
cacafc1947
Mark audit e2e tests as flaky
2019-03-18 14:59:37 -04:00
Rohit Ramkumar
31d5e3c1a6
Remove Ingress-GCE upgrade tests from k/k
2019-03-18 10:18:08 -07:00
danielqsj
b6ce45961b
clean nonexistent metrics in e2e test
2019-03-18 17:57:40 +08:00
Kubernetes Prow Robot
1a24040447
Merge pull request #74781 from liggitt/http2-watch
...
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot
3512757882
Merge pull request #75416 from tallclair/local-redirects
...
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot
d156c09010
Merge pull request #75411 from freehan/disable-test
...
disable HTTP2 ingress test
2019-03-16 02:24:57 -07:00
Kubernetes Prow Robot
f3fdac12a0
Merge pull request #75413 from BenTheElder/cross-1.12.1
...
upgrade to go1.12.1
2019-03-15 21:26:56 -07:00
Kubernetes Prow Robot
f53987511d
Merge pull request #75393 from neolit123/revert-75305-workaround_once_mutex_issue
...
Revert "Speculative workaround for #74890 "
2019-03-15 18:18:57 -07:00
Kubernetes Prow Robot
df2094b3d7
Merge pull request #74646 from mkumatag/refactor_workload_tests
...
Refactor the node perf tests to run on non-amd64 cluster
2019-03-15 12:40:57 -07:00
Tim Allclair
691a301368
e2e test for http probe redirects
2019-03-15 11:52:25 -07:00
Benjamin Elder
650ffe2085
update test/images to go 1.12.1
2019-03-15 10:58:54 -07:00
Minhan Xia
3aa2f1b05c
disable HTTP2 ingress test
2019-03-15 10:18:45 -07:00
Marek Siarkowicz
9e9b906047
Update gcp images with security patches
...
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
2019-03-15 09:24:32 +01:00
Lubomir I. Ivanov
4eabc1cc16
Revert "Speculative workaround for #74890 "
2019-03-15 03:59:44 +02:00
Jordan Liggitt
8f9ed58d20
Deflake node lease test
2019-03-14 09:38:40 -07:00
Kubernetes Prow Robot
897d62ace7
Merge pull request #75164 from krmayankk/runasgroup
...
add missing psp e2e tests for runasgroup
2019-03-13 18:02:25 -07:00
Seth Jennings
6db621589c
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-13 17:20:34 -05:00
Jordan Liggitt
f2a0c0342c
Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
...
This reverts commit cd1c9f9018
.
2019-03-13 15:12:26 -07:00
Jordan Liggitt
9cd57a5a18
Add kubelet watch manager integration test
2019-03-13 15:12:26 -07:00
Patrick Ohly
25c615c157
test: fix golint warnings in crd_util.go
...
Because the code was moved, golint is now active. Because users of the
code must adapt to the new location of the code, it makes sense to
also change the API at the same time to address the style comments
from golint ("struct field ApiGroup should be APIGroup", same for
ApiExtensionClient).
2019-03-13 23:00:49 +01:00
kanwar saad bin liaqat
2f852a27cb
Fix double error of secret negative testcase
...
E2E Test "Secret should fail to create secret in volume
due to empty secret key" tries to create a secret
with empty key and check whether it fails or not.
But the secret creation in this test fails with
double error due to invalid secret name. This will
make this test to pass even if the fuctionality
which needs to be tested is broken.
This commit fix the secret name error(name should not
have capital letters) so that the secret creation fails
only due to desired reason.
Signed-off-by: kanwar saad bin liaqat <kanwar.sbl@gmail.com>
2019-03-13 22:23:02 +02:00
Patrick Ohly
cf805f5af4
update Bazel files
2019-03-13 19:06:56 +01:00
Patrick Ohly
e8a7cee43e
test: remove k8s.io/apiextensions-apiserver from framework
...
There are two reason why this is useful:
1. less code to vendor into external users of the framework
The following dependencies become obsolete due to this change (from `dep`):
(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg
2. works around https://github.com/kubernetes/kubernetes/issues/75338
which currently breaks vendoring
Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9
(as demonstrated by
586ae281ac
).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot
118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
...
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Kubernetes Prow Robot
2748ac6210
Merge pull request #75305 from justinsb/workaround_once_mutex_issue
...
Speculative workaround for #74890
2019-03-13 05:49:33 -07:00
Kubernetes Prow Robot
60d0ec579b
Merge pull request #75301 from dashpole/plugin_watcher_fix
...
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 23:53:42 -07:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
...
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Mayank Kumar
c4e0ede58b
add missing psp e2e tests for runasgroup
2019-03-12 22:07:07 -07:00
Kubernetes Prow Robot
93402fc8e8
Merge pull request #75277 from jennybuckley/fix-ints
...
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Justin SB
803de74685
Speculative workaround for #74890
...
We try using an atomic with a CAS, as a potential workaround for
issue #74890 .
Kudos to @neolit123 for the investigation & idea.
This is a speculative workaround - we are really seeing if this is
better; if not we should revert.
If it is better we should file a bug against go 1.12, and then revert!
Issue #74890
2019-03-12 18:09:01 -04:00
Tim Allclair
d15718cb1c
Add custom runtime handler e2e test
2019-03-12 14:47:56 -07:00
Kubernetes Prow Robot
c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
...
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot
11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
...
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot
02b6557e49
Merge pull request #75081 from freehan/flaky-test
...
beef up NEG tests
2019-03-12 13:18:53 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
...
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
Jordan Liggitt
0aaf1ca4ff
Use apps/v1 APIs in integration tests
2019-03-12 13:17:18 -07:00
David Ashpole
e64c08f869
remove DevicePlugin test for feature gate that can no longer be set
2019-03-12 12:58:23 -07:00
globervinodhn
c52a27f409
promote job deletion in the namespace e2e to conformance - version updated to v1.15
2019-03-12 12:44:59 +05:30
globervinodhn
6b8226327d
Promote e2e failre test for rc check for exceeding pod quota to conformance - Version updated to v1.15
2019-03-12 12:41:39 +05:30
pontiyaraja
48440bdb73
removed time flaky and added default pod delete timeout
2019-03-12 12:35:32 +05:30
jennybuckley
10259c959e
Fix int/float apply bug
2019-03-11 23:07:21 -07:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
...
Populate the storage version hash
2019-03-11 21:36:36 -07:00
Tim Hockin
de25d6cb95
Kube-proxy: REJECT LB IPs with no endpoints
...
We REJECT every other case. Close this FIXME.
To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07:00
Tim Hockin
382f5c83c0
Retool HTTP and UDP e2e utils
...
This is a prefactoring for followup changes that need to use very
similar but subtly different test. Now it is more generic, though it
pushes a little logic up the stack. That makes sense to me.
2019-03-11 20:33:35 -07:00
Kubernetes Prow Robot
c094f873a9
Merge pull request #75206 from liggitt/node-lease
...
deflake nodelease test
2019-03-11 20:24:36 -07:00
Jing Xu
3718f4e0ed
Add bracket to the sig-window tag
...
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Hemant Kumar
cc61632255
Add pod information when max volume condition is missing
2019-03-11 17:11:56 -04:00
Tim Hockin
19e333b5cc
Fix small race in e2e
...
Occasionally we get spurious errors about "no route to host" when we
race with kube-proxy. This should reduce that. It's mostly just log
noise.
2019-03-11 12:40:28 -07:00
Chao Xu
887cb93d8d
generated BUILD
...
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
4ea48886df
Merge pull request #75008 from nikopen/patch-4
...
rebase audit-proxy image to distroless/static
2019-03-11 09:39:40 -07:00
Bin Lu
cd0e86b4fc
node-perf/tf-wide-deep: add support for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-11 14:03:32 +08:00
Antonio Ojea
12ca2dd8a2
Add IPv6 support to the nettest image
...
The test [sig-node] PreStop should call prestop when killing a pod
[Conformance] use the nettest image for testing, but it turns out
that this image is configured to listen in the address 0.0.0.0.
Removing the address from the function http.ListenAndServe makes
it start listening on both IPv4 and IPv6 addresses.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-03-10 21:29:36 +01:00
Antonio Ojea
527d2aa2bd
Add IPv6 support to the Container Lifecycle tests
...
Current e2e tests for the Container Lifecycle Hooks weren't
using brackets for the IPv6 URL addresses per RFC2732, thus those
tests were failing.
This patches add brackets to the target URL if it's an IPv6 address.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 17:24:09 +01:00
Antonio Ojea
d5d57baa36
Add ipv6 support to the e2e healthz test
...
The test [k8s.io] Probing container [It] should not be restarted with a
/healthz http liveness probe [NodeConformance] [Conformance]
fails because it's using a nginx image that's spawns a server that's
only listening on IPv4 by default.
Switching to an image like TestWebserver that's listening in IPv4 and IPv6 by default
allows the test to run on IPv4 and IPv6 environments.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 16:53:06 +01:00
Manjunath A Kumatagi
3818f64780
Refactor the node perf tests to run on non-amd64 cluster
2019-03-10 19:23:24 +05:30
Kubernetes Prow Robot
01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
...
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Kubernetes Prow Robot
92b66c5c02
Merge pull request #75151 from jennybuckley/fix-conversion-bug
...
Fix apply conversion bug
2019-03-09 15:15:26 -08:00
Kubernetes Prow Robot
faaec7f997
Merge pull request #75177 from mm4tt/node-problem-detector
...
Disable NodeProblemDector test in large clusters.
2019-03-09 11:31:29 -08:00
aojeagarcia
ae4ccc91b2
Add IPv6 support to the Downward e2e API test
...
Current regex used in the Downward e2e API tests is matching only
IPv4 addresses, consequently those tests fails with IPv6 clusters.
This patch modifies the regex to match ipv4 and ipv6 addresses.
Ref: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-09 20:10:31 +01:00
jennybuckley
2fdc7e1f35
add test to verify fix
2019-03-08 22:35:33 -08:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
...
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
...
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Kubernetes Prow Robot
968d833617
Merge pull request #75073 from grayluck/esipp
...
Allow session affinity a period of time to setup for new services.
2019-03-08 19:17:30 -08:00
Kubernetes Prow Robot
41b544bcf7
Merge pull request #75003 from tallclair/runtimeclass-beta
...
Promote RuntimeClass to beta
2019-03-08 18:02:12 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Masaki Kimura
b4c88acec6
Add e2e tests for multiAttach
2019-03-09 00:26:00 +00:00
Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
5bfbb89f35
Merge pull request #75192 from andrewsykim/area-test
...
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 15:41:24 -08:00
Kubernetes Prow Robot
d778b9308a
Merge pull request #75063 from wangzhen127/npd-test-fix
...
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-08 14:19:09 -08:00
Jordan Liggitt
5b0099785e
deflake nodelease test
2019-03-08 16:31:05 -05:00
Tim Allclair
0604256d6c
Update tests for RuntimeClass beta
2019-03-08 13:21:52 -08:00
Tim Allclair
bc01f97055
Promote RuntimeClass to beta
2019-03-08 13:21:52 -08:00
Minhan Xia
1065a473da
beef up NEG tests
2019-03-08 11:33:38 -08:00
Clayton Coleman
3230a0b4fd
Support Table and PartialObjectMetadata on watch
...
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.
When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.
Add a volume attachment printer and tighten up table validation error cases.
Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
2019-03-08 13:03:59 -05:00
Kubernetes Prow Robot
583ff363fa
Merge pull request #75131 from gnufied/increase-pod-wait-time
...
Fix emptydir e2e flake
2019-03-08 09:17:28 -08:00
Andrew Kim
941966c31d
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 11:56:19 -05:00
Hemant Kumar
a8f318779b
Add CSI volume resizing tests
...
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Matt Matejczyk
2f7cb25bbb
Disable NodeProblemDector test in large clusters.
...
It's suspected of causing timeouts in scalability 5k node cluster
tests, see https://github.com/kubernetes/kubernetes/issues/75095#issuecomment-470912583
2019-03-08 13:35:12 +01:00
Kubernetes Prow Robot
eaa78b88ac
Merge pull request #75152 from pjh/gce-windows-dns-testfix
...
Don't test metadata server connectivity from GCE Windows pods.
2019-03-08 00:54:02 -08:00
Kubernetes Prow Robot
af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
...
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Kubernetes Prow Robot
5c2fe63591
Merge pull request #75116 from adelina-t/patch-1
...
Update gmsa test
2019-03-07 22:44:33 -08:00
Kubernetes Prow Robot
535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
...
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Bin Lu
973a3c7233
Add bazel-test-integration for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot
788f24583e
Merge pull request #74990 from jingxu97/pd_windows_test
...
Add GCE PD tests for windows cluster
2019-03-07 21:20:23 -08:00
Kubernetes Prow Robot
183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
...
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot
ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
...
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909 ]
2019-03-07 18:39:25 -08:00
Peter Hornyack
c88085dff2
Don't test metadata server connectivity from GCE Windows pods.
...
Windows containers do not include a route to the GCE metadata server by
default. This check is causing the "DNS should provide DNS for the
cluster" test to fail for clusters with Windows nodes
(https://testgrid.k8s.io/sig-windows#gce-windows-master&width=20 ).
Tested that this works by running "DNS should provide DNS for the
cluster" against an e2e cluster with Windows nodes brought up on GCE.
2019-03-07 17:51:17 -08:00
yankaiz
70c42380f7
Allow session affinity a period of time to setup for new services.
...
This is to deal with the flaky session affinity test.
2019-03-07 17:34:40 -08:00
Kubernetes Prow Robot
e8daa90ca7
Merge pull request #75124 from gnufied/fix-attach-limit-flake
...
Fix volume attach limit flake
2019-03-07 16:13:05 -08:00
Kubernetes Prow Robot
2b354f3857
Merge pull request #73383 from danielqsj/zkr
...
bump zookeeper-installer image version in e2e
2019-03-07 16:12:09 -08:00
David Ashpole
6051664c0f
add kubelet prometheus resource metrics endpoint
2019-03-07 15:39:37 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
aojeagarcia
ae77399686
Use IP addresses to test external connectivity
...
Current IPv6 e2e test for external connectivity is using a
domain address (google.com) as target.
However, the same IPv4 test uses the well known Google DNS address
8.8.8.8.
We should be coherent in the testing, this patch changes the target to use
the Google IPv6 DNS address 2001:4860:4860::8888.
2019-03-07 22:24:30 +01:00
Jordan Liggitt
8f47501418
Ensure namespaces exist on start
2019-03-07 15:09:46 -05:00
Tim Allclair
222988bdda
Migrate to internal node.k8s.io client
2019-03-07 11:57:12 -08:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Hemant Kumar
93c2a1af3f
Fix emptydir e2e flake
...
Wait forver and reduce grace period deletion
2019-03-07 14:35:39 -05:00
Hemant Kumar
9d78c96e56
Fix volume attach limit flake
...
It looks like node does become unschedulable for the pod
but condition does not get added to the pod in time.
Also ginkgo could retry the test and hence it helps to use
unique node label for scheduling.
2019-03-07 12:35:52 -05:00
Jing Xu
18be0a49e6
Add GCE PD tests for windows cluster
...
This PR is the first one to add a few GCE PD tests for windows cluster. Will
add more tests in later PRs
2019-03-07 09:13:56 -08:00
Patrick Ohly
e84271ed8a
e2e/storage: allow empty volume type
...
This can happen when the test pattern is about snapshotting.
2019-03-07 16:57:16 +01:00
Adelina Tuvenie
90b8c877ed
Update gmsa test
...
Wait for the container to be in Running state before running any command.
2019-03-07 17:04:25 +02:00
Patrick Ohly
915d6365f1
e2e/storage: fix snapshot support in external driver testing
...
When using an already installed driver, the snapshot name is the
original driver name. Renaming was incorrectly copied from the in-tree
CSI hostpath driver.
2019-03-07 15:45:40 +01:00
Kubernetes Prow Robot
dcbe588f76
Merge pull request #74938 from brusMX/win-e2e-nodeport
...
Creating NodePort test for Windows
2019-03-07 06:35:05 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
...
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Kubernetes Prow Robot
bf4e93da57
Merge pull request #75067 from msau42/csi-beta-e2e
...
make CSI PD tests serial
2019-03-07 02:23:12 -08:00
Kubernetes Prow Robot
6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
...
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot
9ce5966ff0
Merge pull request #74832 from roycaihw/kubectl-crd-test
...
kubectl e2e: test client-side validation behavior on CustomResources
2019-03-06 22:55:21 -08:00
Kubernetes Prow Robot
96ee0d0977
Merge pull request #74738 from wk8/wk8/gmsa_e2e
...
Adding an e2e test on Windows GMSA support
2019-03-06 22:55:09 -08:00
Zhen Wang
f4d9e7d992
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-06 22:42:47 -08:00
Haowei Cai
54b99413b2
generated
2019-03-06 20:36:40 -08:00
Haowei Cai
867cdce212
apiextensions: add openapi publishing unit+integration+e2e tests
...
Co-authored-by: Maciej Szulik <maszulik@redhat.com>
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 20:36:23 -08:00
Kubernetes Prow Robot
88a685feef
Merge pull request #74807 from runyontr/test-cmd-kubeadm-isolation
...
Kubeadm test Isolation: #74464
2019-03-06 17:59:52 -08:00
Kubernetes Prow Robot
8178fa1b13
Merge pull request #72836 from pohly/storage-test-plugin
...
e2e/storage: testing of external storage drivers
2019-03-06 17:59:11 -08:00
Kubernetes Prow Robot
ab7a48d796
Merge pull request #70036 from pbarker/audit-etoe
...
dynamic audit e2e test
2019-03-06 17:58:58 -08:00
Jean Rouge
b721f8e339
Adding an e2e test on Windows GMSA support
...
This patch is adding an e2e on the Windows GMSA support added in
https://github.com/kubernetes/kubernetes/pull/73726 and
https://github.com/kubernetes/kubernetes/pull/74737 .
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Jean Rouge
1d1a765e79
Updating Windows' e2e tests' README to the official repo list
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Michelle Au
8b97e2ab7c
make CSI PD tests serial
2019-03-06 15:11:50 -08:00
Patrick Ohly
6644db9914
e2e/storage: testing of external storage drivers
...
It is useful to apply the storage testsuite also to "external" (=
out-of-tree) storage drivers. One way of doing that is setting up a
custom E2E test suite, but that's still quite a bit of work.
An easier alternative is to parameterize the Kubernetes e2e.test
binary at runtime so that it instantiates the testsuite for one or
more drivers. Some parameters have to be provided before starting the
test because they define configuration and capabilities of the driver
and its storage backend that cannot be discovered at runtime. This is
done by populating the DriverDefinition with the content of the file
that the new -storage.testdriver parameters points to.
The universal .yaml and .json decoder from Kubernetes is used. It's
flexible, but has some downsides:
- currently ignores unknown fields (see https://github.com/kubernetes/kubernetes/pull/71589 )
- poor error messages when fields have the wrong type
Storage drivers have to be installed in the test cluster before
starting e2e.test. Only tests involving dynamically provisioned
volumes are currently supported.
2019-03-06 22:06:31 +01:00
Kubernetes Prow Robot
7fbfe70147
Merge pull request #74958 from dims/Promote-mkumatag-to-approver
...
Promote mkumatag to approver in test/images
2019-03-06 12:54:48 -08:00
Bruno Medina
7cbbfcc9ef
Creating NodePort test for Windows
...
Co-authored-by: Muzz Imam <muzzz.imam@gmail.com>
2019-03-06 12:29:38 -08:00
Ben Swartzlander
1493e684d3
Promote CSI raw blocks to beta
2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot
c4fd78e7c9
Merge pull request #74993 from msau42/csi-beta-e2e
...
e2e test updates for CSIDriver and CSINode beta
2019-03-06 08:24:38 -08:00
Kubernetes Prow Robot
d99979f8b5
Merge pull request #75015 from cofyc/fix73168-disable-temporarily
...
Disable "should set different fsGroup for second pod if first pod is deleted" temporarily
2019-03-06 04:46:10 -08:00
Niko Pen
58c7b5de9c
version bump
2019-03-06 12:33:38 +00:00
Kubernetes Prow Robot
87f9429087
Merge pull request #75011 from msau42/fix-readonly-e2e
...
don't check for container status ready in subpath test
2019-03-06 03:26:47 -08:00
Kubernetes Prow Robot
3213a6d61f
Merge pull request #74989 from liggitt/webhook-test-namespace
...
Scope slow/failing webhook to test namespace
2019-03-06 03:26:26 -08:00
Kubernetes Prow Robot
e1c5e8394e
Merge pull request #71950 from bclau/fix-max-backoff-test-flake
...
tests: getRestartDelay waits for the next Terminated state
2019-03-06 03:26:04 -08:00
Kubernetes Prow Robot
62065bd27d
Merge pull request #74964 from bclau/tests/externalname-retry
...
tests: Adds retry for dig for ExternalName test
2019-03-06 02:08:23 -08:00
Kubernetes Prow Robot
9c75270b2b
Merge pull request #74905 from stevesloka/numNodesLookup
...
If num-nodes is not set, then look up via API how many are scheduleable
2019-03-06 00:44:49 -08:00
Kubernetes Prow Robot
8060c94503
Merge pull request #74743 from lee0c/lecattar/win-mem-limits
...
Windows nodeAllocatable test
2019-03-06 00:44:17 -08:00
Kubernetes Prow Robot
7304c50ef5
Merge pull request #74655 from bclau/tests/windows-gcrio
...
tests: Adds gcr.io Windows image test case
2019-03-06 00:44:06 -08:00
Michelle Au
afbc8a5056
e2e test updates for beta
2019-03-05 20:24:59 -08:00
Yecheng Fu
05fe7094d5
Disable "should set different fsGroup for second pod if first pod is deleted" test temporarily
2019-03-06 10:46:17 +08:00
Michelle Au
b90ef213af
don't check for container status ready in subpath test
2019-03-05 18:31:59 -08:00
Niko Pen
f7752c645a
rebase image to distroless/static
2019-03-06 00:49:48 +00:00
Kubernetes Prow Robot
596a48dd64
Merge pull request #74945 from liucimin/fix_e2e_test_typo
...
Typo fix in e2e test description message: defaut->default
2019-03-05 14:54:45 -08:00
Kubernetes Prow Robot
5bc1e9b8ea
Merge pull request #74830 from msau42/lock-csi-ga
...
lock csi and plugin watcher GA feature gates
2019-03-05 14:54:10 -08:00
Patrick Barker
898700d104
removes cluster type restrictions from dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
718a747961
fix missing event report handling in dynamic audit e2e
2019-03-05 14:38:58 -07:00
Patrick Barker
62edfe8d97
adds owner of TODO comments in dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
db1207c646
adds better logging around retry loops in dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Patrick Barker
67a245ae61
remove unneeded println
2019-03-05 14:38:58 -07:00
Patrick Barker
45d715cdc6
adds dynamic audit e2e test
2019-03-05 14:38:58 -07:00
Kubernetes Prow Robot
98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
...
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Kenichi Omichi
1fcab19821
Fix golint failures for e2e/[..]/kubemark
2019-03-05 20:55:00 +00:00
Haowei Cai
591f00e9b3
test client-side validation behavior for CRD
...
support version-skew testing
2019-03-05 12:22:46 -08:00
Lee Cattarin
0251a2493a
Remove dot imports
2019-03-05 11:58:28 -08:00
Jordan Liggitt
ce31686686
Scope slow/failing webhook to test namespace
2019-03-05 14:55:45 -05:00
Kubernetes Prow Robot
5d2b0de95d
Merge pull request #74922 from wangzhen127/fix-npd-test-ubuntu
...
Fix NPD e2e test on clusters with Ubuntu nodes
2019-03-05 11:10:13 -08:00
Kubernetes Prow Robot
f8d8ef94dc
Merge pull request #74868 from qingsenLi/k8s190304
...
remove some unused const in test/e2e_node
2019-03-05 11:10:02 -08:00
Michelle Au
08330c37ca
lock csi and plugin watcher GA feature gates
2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot
1d257d657c
Merge pull request #74829 from pohly/e2e-ginkgo
...
test/e2e: fix `ginkgo ./test/e2e`
2019-03-05 08:16:17 -08:00
Steve Sloka
3dfaed9f7e
If num-nodes is set to '-1', then look up via API how many nodes are scheduleable
...
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-05 10:46:05 -05:00
Kubernetes Prow Robot
257205d656
Merge pull request #74811 from gnufied/fix-attachable-csi-mock-driver
...
When checking for pod info version, make volume attachable
2019-03-05 06:51:39 -08:00
Kubernetes Prow Robot
e24e26fac8
Merge pull request #74647 from danielqsj/e2ein
...
Fix golint failures for e2e/instrumentation/...
2019-03-05 06:51:10 -08:00
Kubernetes Prow Robot
ad36156f14
Merge pull request #74638 from liucimin/fix_e2e_test_kubadm-
...
Typo fix in e2e test description message: kubadm->kubeadm
2019-03-05 06:50:59 -08:00
Davanum Srinivas
ac83cca69b
Promote mkumatag to approver in test/images
...
Change-Id: I653d4c40901cf5ba0097c31a64ea55b3b10e418e
2019-03-05 08:50:48 -05:00
Kubernetes Prow Robot
6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
...
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
liucimin
2179ca23c8
Typo fix in e2e test description message: defaut->default
2019-03-05 15:56:05 +08:00
Kubernetes Prow Robot
f5574bf62a
Merge pull request #74603 from stevesloka/e2eImageList
...
Refactor to allow for a way to get list of e2e images
2019-03-04 19:27:47 -08:00
Kubernetes Prow Robot
35c9624fd6
Merge pull request #74500 from sandeeppsunny/fix-e2e-tests
...
Change to unblock e2e tests for vsphere provider
2019-03-04 19:27:25 -08:00
Kubernetes Prow Robot
e2f42845d1
Merge pull request #74487 from danielqsj/window
...
Fix golint failures for e2e/windows
2019-03-04 19:27:11 -08:00
Kubernetes Prow Robot
dba8300e52
Merge pull request #74391 from cofyc/fix71237-update-old
...
Update old local tests to use general host executor and local test resource manager
2019-03-04 19:27:00 -08:00
Xing Yang
d69e0ff3f0
Enable CSI test suite and fix test failures
2019-03-04 16:42:13 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Zhen Wang
87faa00a14
Fix NPD E2E test on clusters with Ubuntu nodes
2019-03-04 15:26:21 -08:00
danielqsj
ae7c1187bf
fix init pattern
2019-03-05 07:21:55 +08:00
danielqsj
5cf1950ef8
Fix golint in test/e2e/instrumentation/logging
2019-03-05 07:10:39 +08:00
danielqsj
873fbf9112
Fix golint in test/e2e/instrumentation/monitoring
2019-03-05 07:07:06 +08:00
Kubernetes Prow Robot
5756eea804
Merge pull request #74700 from SataQiu/fix-golint-20190228
...
Fix golint failures in test/e2e/instrumentation, test/e2e_node/environment
2019-03-04 13:25:26 -08:00
Hemant Kumar
2567d1b5dd
Always make CSI driver attachable when checking for pod info
...
Fixes https://github.com/kubernetes/kubernetes/issues/74724
2019-03-04 12:35:16 -05:00
Kubernetes Prow Robot
b1d4d40679
Merge pull request #74668 from sttts/sttts-kube-apiserver-endpoints-when-ready
...
kube-apiserver: don't create endpoints before being ready
2019-03-04 01:57:41 -08:00
Claudiu Belu
fd03127cac
tests: Adds retry for dig for ExternalName test
...
The network connection might not yet be established by the time the
container starts, causing the dig command to fail.
Retrying the dig command will solve this issue. This approach is similar
to the other DNS Conformance tests.
2019-03-03 21:28:47 -08:00
Claudiu Belu
d5f2ec4b6a
tests: Adds TODO for Windows only test
...
It has been suggested to replace the "e2eteam/busybox:1.29" image
used in the test "should be able to pull image from docker hub [NodeConformance]"
with a nanoserver image manifest list.
Adds a TODO for it.
2019-03-03 21:11:24 -08:00
Claudiu Belu
5edc073122
tests: getRestartDelay waits for the next Terminated state
...
Kubelet might miss reporting the new Running state when restarting
a pod after its backoff period expired, and thus, the pod will
continue to remain in CrashLoopBackOff state, causing the
"should cap back-off at MaxContainerBackOff" and
"should have their auto-restart back-off timer reset on image update"
tests to fail, since they're waiting the Pods to enter a Running state.
Waiting for the next Terminated state instead of the next Running state
is more reliable.
Note that this adds 5 seconds to the restart delay due to the fact that
the Container runs for 5 seconds (it's command is "sleep 5"), but it is
within the test's expectations.
2019-03-03 08:35:51 -08:00
Aaron Crickenberger
3b3c977fc7
Update test/cmd/legacy-script.sh
...
Co-Authored-By: runyontr <runyontr@gmail.com>
2019-03-02 20:41:42 -05:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Yecheng Fu
a81b351670
Update persistent_volumes-local.go to use utils.HostExec/utils.LocalTestResourceManager.
...
This simplifies the code and makes it more maintainable.
2019-03-02 20:38:20 +08:00
Kubernetes Prow Robot
6b2882738b
Merge pull request #74805 from HotelsDotCom/feature/remove-kubectl-binary
...
VolumeSubpathEnvExpansion alpha tests - change kubectl references to API calls
2019-03-02 03:41:15 -08:00
Kubernetes Prow Robot
f16035600a
Merge pull request #73807 from dekkagaijin/discovery-hardening
...
harden the default RBAC discovery clusterrolebindings
2019-03-01 21:49:30 -08:00
Kubernetes Prow Robot
65b7a430f3
Merge pull request #74287 from qingsenLi/k8s190220-delete-const
...
delete some unused const in test/e2e_node
2019-03-01 19:13:53 -08:00
Jake Sanders
9c7d31928d
harden the default RBAC discovery clusterrolebindings
2019-03-01 18:45:05 -08:00
Kubernetes Prow Robot
9b8c58644a
Merge pull request #74418 from danielqsj/duration
...
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Steve Sloka
6dc5494ec9
Refactor to allow for a way to get list of e2e images
...
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-01 17:15:19 -05:00
Kubernetes Prow Robot
7955a2865c
Merge pull request #74764 from msau42/fix-repd-e2e
...
bump repd min size in e2es
2019-03-01 14:09:19 -08:00
Kubernetes Prow Robot
646145f578
Merge pull request #74125 from tuanvcw/fixing_typo
...
Fix many typos in both code and comments
2019-03-01 14:08:45 -08:00
Kubernetes Prow Robot
222dd0af4c
Merge pull request #71022 from emwalker/68026-golint-fixes-5
...
Remove test/integration/* from hack/.golint_failures
2019-03-01 14:08:33 -08:00
Kubernetes Prow Robot
8acb522c03
Merge pull request #74488 from xichengliudui/fixshellcheck19022502
...
fix shellcheck in test/e2e_node/jenkins/...
2019-03-01 12:49:08 -08:00
Patrick Ohly
ef6f3e0a18
test/e2e: fix ginkgo ./test/e2e
...
When running ginkgo directly against the source code of the test suite
instead of using some pre-compiled e2e.test binary, ginkgo no longer
recognized that it runs a Ginkgo testsuite, which broke "-focus" and
"-p".
By re-inserting the magic strings that ginkgo looks for into a
comment, we can restore the desired behavior without affecting the
code.
Fixes : #74827
2019-03-01 21:44:30 +01:00
Vallery Lancey
579764eb37
Tiny whitespace tweak in ingress.go
2019-03-01 11:19:01 -08:00
Vallery Lancey
776ac93f04
Fix mispelled variable in ingress.go after rebase
2019-03-01 10:42:06 -08:00
Vallery Lancey
3de7307a8c
Merge branch 'master' into move-gce-test-manifests
2019-03-01 10:29:32 -08:00
Lee Cattarin
b9c0d10ce7
Run hack/update-bazel
2019-03-01 09:33:28 -08:00
Thomas Runyon
1e44e33517
pulled kubeadm tests out of runTests to run before tests in test/cmd
...
Added timeout for https://github.com/kubernetes/kubeadm/issues/1430
2019-03-01 12:17:25 -05:00
Sandeep Sunny
c4ef9ad765
Change to unblock vsphere e2e tests
2019-03-01 17:27:15 +05:30
Kubernetes Prow Robot
36e934d0a9
Merge pull request #74632 from cblecker/go-1.12
...
Update to use golang 1.12
2019-03-01 03:47:06 -08:00
Kubernetes Prow Robot
8c95a07b4b
Merge pull request #73007 from krmayankk/runasgroup
...
Promote RunAsGroup to Beta
2019-03-01 03:46:55 -08:00
Kevin Taylor
8828ccfa6b
Change kubectl references to API calls
2019-03-01 11:33:03 +00:00
Dr. Stefan Schimanski
2a9a9fa155
kube-apiserver: first remove endpoints, then add when ready
2019-03-01 10:46:18 +01:00
Kubernetes Prow Robot
983cf51c53
Merge pull request #74666 from bclau/tests/configurable-etcd-image
...
tests: Adds configurable registry for etcd image
2019-02-28 20:36:28 -08:00
Kubernetes Prow Robot
ac0a946d3e
Merge pull request #74538 from MrHohn/e2e-service-latencies-flake
...
[e2e] Add acceptableFailureRatio to service latency test
2019-02-28 20:36:17 -08:00
Kubernetes Prow Robot
d761fe8491
Merge pull request #72774 from globervinodhn/conformance-emptyconfigmapkey-addition
...
Promote emptyconfigmap key e2e test to conformance test
2019-02-28 20:36:07 -08:00
Kubernetes Prow Robot
caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
...
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Kubernetes Prow Robot
55a65763c0
Merge pull request #71479 from soggiest/podpreset-initcontainers
...
PodPreset: Add same functionality for init containers as standard containers
2019-02-28 20:35:45 -08:00
Eric Walker
75df4dc04c
Remove test/integration/* from hack/.golint_failures
2019-02-28 19:52:39 -07:00
Michelle Au
4a5a34b42c
bump repd min size in e2es
2019-02-28 18:35:34 -08:00
Kubernetes Prow Robot
1c71f6b078
Merge pull request #74744 from Huang-Wei/debug-gke-cos
...
print out verbose info for a scheduler e2e test
2019-02-28 17:52:15 -08:00
Mayank Kumar
1b1251277c
Promote RunAsGroup to Beta
2019-02-28 17:24:39 -08:00
Kubernetes Prow Robot
ba34591627
Merge pull request #74716 from cofyc/fix73559
...
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 16:07:09 -08:00
Lee Cattarin
e18a2ce2ea
Update copyright year
2019-02-28 15:13:44 -08:00
Wei Huang
f1e2884275
print out verbose info for a scheduler e2e test
2019-02-28 15:00:13 -08:00
Christoph Blecker
f1d2fee259
Upgrade to go1.12.0
2019-02-28 14:10:08 -08:00
Lee Cattarin
b1e5d7c342
Replace agent role selector with windows OS selector
2019-02-28 12:26:21 -08:00
Kubernetes Prow Robot
a3cace3aa3
Merge pull request #74648 from johscheuer/fix-redis-e2e-test-image
...
Add bash dependency to Redis e2e image
2019-02-28 11:51:46 -08:00
Kubernetes Prow Robot
2235a7e9a2
Merge pull request #74554 from mkimuram/issue/74380
...
Fix resource leaking PDs for volume mode test
2019-02-28 11:51:36 -08:00
Lee Cattarin
fe6057456e
Test to check that allocatable memory limit is respected on windows & small edit to density test
...
Co-authored-by: Bruno Medina <bmedinab@gmail.com>
2019-02-28 11:32:34 -08:00
Yecheng Fu
1bfd3838e2
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 17:22:23 +08:00
Kubernetes Prow Robot
711b310389
Merge pull request #74606 from andrewsykim/cleanup-volumeattachment
...
replace usage of v1beta1 VolumeAttachments with v1
2019-02-28 00:27:36 -08:00
Kubernetes Prow Robot
02b8056efb
Merge pull request #73288 from wangzhen127/npd-config
...
Decouple node-problem-detector release from kubernetes
2019-02-28 00:27:25 -08:00
danielqsj
a60365e67b
Fix golint in test/e2e/windows/hybrid_network.go
2019-02-28 15:55:14 +08:00
danielqsj
1187936c18
Fix golint in test/e2e/windows/volumes.go
2019-02-28 15:48:48 +08:00
danielqsj
cee02e62b7
Fix golint failures for e2e/windows
2019-02-28 15:48:48 +08:00
Kubernetes Prow Robot
6af2e9afea
Merge pull request #74591 from xichengliudui/fixgolint190226
...
fix shellcheck in test/image/...
2019-02-27 20:39:25 -08:00
SataQiu
c0a0471b3b
fix golint failures in test/e2e/instrumentation, test/e2e_node/environment
2019-02-28 12:29:22 +08:00
Kubernetes Prow Robot
48def74e64
Merge pull request #74550 from vyta/e2e-tests/hybrid-test
...
Add cross-OS test for service connectivity
2019-02-27 15:54:47 -08:00
Andrew Kim
01933b02a3
replace usage of v1beta1 VolumeAttachments with v1
2019-02-27 15:42:12 -05:00
Kubernetes Prow Robot
7dbe426b24
Merge pull request #74320 from gnufied/cleanup-csi-test-dups
...
Add e2e for CSI volume limit
2019-02-27 12:31:12 -08:00
Kubernetes Prow Robot
5d0e293b85
Merge pull request #70492 from mgdevstack/master-runtime-tabletest
...
Transition "e2e/common/runtime.go" table based tests to individual tests
2019-02-27 12:31:01 -08:00
Claudiu Belu
81ee747395
tests: Adds private gcr.io Windows image test case
...
Adds the test "should be able to pull from private registry with secret [NodeConformance]"
which will pull the image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.
2019-02-27 11:23:08 -08:00
Claudiu Belu
ab3ccc1bd7
Removes [WindowsOnly] tag
...
Removes the [WindowsOnly] tag from the test:
"should be able to pull image from docker hub [WindowsOnly] [NodeConformance]"
2019-02-27 11:23:08 -08:00
Claudiu Belu
0f12efa8d3
tests: Adds gcr.io Windows image test case
...
Adds the test "should be able to pull image from gcr.io [NodeConformance]",
which will pull the the image "gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.
The command passed to the Windows Container has been changed to
"ping -t localhost", which will keep the container in the Running state,
which is required and checked by the test.
2019-02-27 11:22:53 -08:00
Masaki Kimura
c5155f81a0
Fix resource leaking PDs for volume mode test
...
fixes #74380
2019-02-27 18:48:34 +00:00
Vy Ta
a7a1f5871b
poll_interval to pollInterval
2019-02-27 10:01:46 -08:00
Vy Ta
25d0352029
remove key from toleration
2019-02-27 09:47:33 -08:00
Kevin Taylor
833720669c
Fix pod creation for node e2e tests
2019-02-27 15:38:17 +00:00
Johannes M. Scheuermann
cf171f43eb
Add bash dependency to redis e2e image
2019-02-27 11:02:21 +01:00
Kubernetes Prow Robot
076af3d1b5
Merge pull request #74570 from s-ito-ts/add_resourcequota_test
...
Adding e2e test for update and delete of resourcequota
2019-02-27 01:04:08 -08:00
Kubernetes Prow Robot
649f225517
Merge pull request #73064 from pontiyaraja/flaky
...
removed flaky watch from pods test cases
2019-02-27 01:03:57 -08:00
Vu Cong Tuan
c747b7f38d
Fix many typos in both code and comments
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 14:41:02 +07:00
Kubernetes Prow Robot
218642e84e
Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
...
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Mayank Gaikwad
5c96bb6be7
Refactor table based tests into individual tests
2019-02-27 12:45:04 +05:30
pontiyaraja
12943ce1ac
removed flaky watch from pods test cases
2019-02-27 11:24:20 +05:30
Zhen Wang
6df207bdaa
allows configuring NPD image version in node e2e test and fix the test
2019-02-26 21:29:50 -08:00
Zhen Wang
efa96f7eb8
allows configuring NPD release and flags on GCI and add cluster e2e test
2019-02-26 21:21:54 -08:00
Kubernetes Prow Robot
4505f12215
Merge pull request #72738 from alexbrand/fix-serve-hostname
...
DaemonSet e2e: Update image and rolling upgrade test timeout
2019-02-26 20:55:01 -08:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
...
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Kubernetes Prow Robot
9059021d9a
Merge pull request #67350 from tnozicka/retry-watcher
...
#50102 Task 3: Until, backed by retry watcher
2019-02-26 19:40:01 -08:00
s-ito-ts
5752bc35fb
Adding e2e test for update and delete of resourcequota
2019-02-27 02:13:18 +00:00
liucimin
a9d368fc73
Typo fix in e2e test description message: kubadm->kubeadm
2019-02-27 10:01:19 +08:00
Xiangyang Chu
53c1fcf2c6
Fix shellchecks follow the ${var:?}
pattern
2019-02-27 09:27:13 +08:00
Haowei Cai
1a25ced1c7
generated
2019-02-26 15:00:35 -08:00
Haowei Cai
ad0d523d6e
tests
2019-02-26 14:44:31 -08:00
Haowei Cai
e6626b70cc
build and push e2e test image
2019-02-26 14:44:03 -08:00
Jingfang Liu
127c2f1e74
address comments
2019-02-26 14:12:58 -08:00
Kubernetes Prow Robot
493b261057
Merge pull request #74586 from danielqsj/patch3
...
fix golint failures for test/e2e/cloud|kubectl|servicecatalog
2019-02-26 14:08:16 -08:00
Kubernetes Prow Robot
26f90e850d
Merge pull request #74540 from oomichi/golint-e2e-framework-ingress
...
Fix golint under test/e2e/framework/ingress
2019-02-26 14:08:06 -08:00
Kubernetes Prow Robot
0ecba229aa
Merge pull request #74512 from danielqsj/ui
...
fix golint failures for test/e2e/ui
2019-02-26 14:07:54 -08:00
Claudiu Belu
de1e1ad045
tests: Adds configurable registry for etcd image
...
The image ``quay.io/coreos/etcd:v3.3.10`` does not have Windows
support and Windows Containers cannot be spawned using it.
Makes the etcd image's registry configurable, so the tests can be
configured to use a registry which has Windows support.
2019-02-26 13:54:55 -08:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
...
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Vy Ta
f150874ed2
Requested changes and refactor
2019-02-26 12:10:43 -08:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Hemant Kumar
2516cbd453
Add e2e for CSI volume limit stuff
...
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Tomas Nozicka
09af8485f2
Add Until based on RetryWatcher
2019-02-26 16:21:38 +01:00
Kubernetes Prow Robot
a99d6cef86
Merge pull request #72729 from bclau/tests/split-dns-host-entries
...
tests: Separates DNS hosts entries test
2019-02-26 06:38:10 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
danielqsj
8911a2ddbb
fix golint failures for test/e2e/kubectl
2019-02-26 18:27:01 +08:00
danielqsj
9ea1b3d86d
fix golint failures for test/e2e/servicecatalog
2019-02-26 18:25:23 +08:00
danielqsj
84aeafee7b
fix golint failures for test/e2e/cloud
2019-02-26 18:25:23 +08:00
Kubernetes Prow Robot
0d98463f9c
Merge pull request #73508 from k-toyoda-pi/add_test_conmponentstatuses
...
Add e2e test for getting componentstatuses by kubectl
2019-02-26 01:55:20 -08:00
danielqsj
1ce7b0b2fa
fix golint failures for test/e2e/ui
2019-02-26 14:03:34 +08:00
xichengliudui
4b38978329
fix shellcheck in test/e2e_node/jenkins/...
...
update pull request
2019-02-26 01:01:48 -05:00
Kubernetes Prow Robot
d48eb30c59
Merge pull request #74547 from spiffxp/fix-test-cmd-kubectl-run-flake
...
Fix test-cmd kubectl_run flake
2019-02-25 21:49:03 -08:00
Kubernetes Prow Robot
33a0afafe7
Merge pull request #74508 from danielqsj/uapps
...
Fix golint failures for e2e/upgrades/...
2019-02-25 21:48:42 -08:00
toyoda
bdd17d4ca6
add test for getting componentstatuses
2019-02-26 11:25:14 +09:00
Kubernetes Prow Robot
1595089ec5
Merge pull request #74453 from xichengliudui/fixgolintfailures1902
...
fixgo lint failures test/integration/...
2019-02-25 17:25:34 -08:00
Kubernetes Prow Robot
0ff7e463ee
Merge pull request #73746 from mrbobbytables/kubemark-shellcheck
...
Fix shellcheck lint errors in Kubemark scripts
2019-02-25 17:25:13 -08:00
Kubernetes Prow Robot
d532d50e29
Merge pull request #63947 from jennybuckley/aggr-conf-test
...
Promote aggregator e2e test to conformance
2019-02-25 17:25:02 -08:00
Jingfang Liu
beacc87ebf
add cmdline tests for -k
2019-02-25 16:31:03 -08:00
Vy Ta
2869c67076
Windows-linux connectivity
2019-02-25 14:42:02 -08:00
Wei Huang
76174b3d0f
e2e: ensure static system-node-critical pod not to be evicted
2019-02-25 14:26:24 -08:00
Kubernetes Prow Robot
fb92681882
Merge pull request #74370 from oomichi/issue/74326
...
Register openstack provider for e2e test
2019-02-25 13:54:21 -08:00
Kubernetes Prow Robot
86a3caee35
Merge pull request #74085 from vyta/e2e-tests/win-volumes
...
Add readonly volume tests for windows
2019-02-25 13:54:00 -08:00
Aaron Crickenberger
e563402701
Fix test-cmd kubectl_run flake
...
It is unrealistic to expect a cascading delete to immediately take
effect. Somehow this test got away with it for a while, but we
have finally reached a point where apiserver performance has changed
just enough to expsoe this flaky expectation.
2019-02-25 13:51:48 -08:00
Kenichi Omichi
215dee7dd2
Fix golint under test/e2e/framework/ingress
2019-02-25 20:55:03 +00:00
Bob Killen
e137f4702a
Fix shellcheck lint errors in test/kubemark/stop-kubemark.sh
2019-02-25 15:21:32 -05:00
Bob Killen
b8aae458a1
Fix shellcheck lint errors in test/kubemark/start-kubemark.sh
2019-02-25 15:21:31 -05:00
Bob Killen
46333a01b4
Fix shellcheck lint errors in test/kubemark/run-e2e-tests.sh
2019-02-25 15:21:31 -05:00
Bob Killen
adf4bf1741
Fix shellcheck lint errors in test/kubemark/resources/start-kubemark-master.sh
2019-02-25 15:21:31 -05:00
Bob Killen
f72ac1f5b7
Fix shellcheck lint errors in test/kubemark/master-log-dump.sh
2019-02-25 15:21:31 -05:00
Bob Killen
cb59cb33ff
Fix shellcheck lint errors in test/kubemark/iks/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
e3e2a96521
Fix shellcheck lint errors in test/kubemark/iks/startup.sh
2019-02-25 15:21:30 -05:00
Bob Killen
6310305d3b
Fix shellcheck lint errors in test/kubemark/iks/shutdown.sh
2019-02-25 15:21:30 -05:00
Bob Killen
186b83fe5b
Fix shellcheck lint errors in test/kubemark/gce/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
5f4b919887
Fix shellcheck lint errors in test/kubemark/common/util.sh
2019-02-25 15:21:29 -05:00
Zihong Zheng
08e406b3f1
[e2e] Add acceptableFailureRatio to service latencies test
2019-02-25 11:58:20 -08:00
Bob Killen
b538f18c0e
Add color-coding to kubemark scripts.
2019-02-25 14:53:40 -05:00
Kubernetes Prow Robot
a826e80ca7
Merge pull request #74096 from oomichi/cleanup-e2e-framework-ingress
...
Remove unused GetDefaultBackendNodePort()
2019-02-25 11:33:32 -08:00
Kubernetes Prow Robot
d0f79fcf73
Merge pull request #72440 from ajatprabha/issue_34059
...
annotate errors in apps/job e2e tests
2019-02-25 11:33:00 -08:00
Vy Ta
59987e7410
update bazel
2019-02-25 10:22:03 -08:00
Vy Ta
585426f85f
External connectivity test
2019-02-25 09:49:40 -08:00
danielqsj
6322025d5c
fix golint failures for test/e2e/upgrades
2019-02-25 16:36:26 +08:00
danielqsj
7c8498ab03
fix golint failures for test/e2e/upgrades/storage
2019-02-25 15:41:31 +08:00
danielqsj
8916ccabaf
fix golint failures for test/e2e/upgrades/apps
2019-02-25 13:32:15 +08:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
...
Test cmd what
2019-02-23 02:54:36 -08:00
Kubernetes Prow Robot
8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
...
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Kubernetes Prow Robot
686c4912e9
Merge pull request #73930 from ixdy/bazel-cgo-crossbuild
...
bazel: initial support for cross-compilation
2019-02-23 01:43:27 -08:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Kubernetes Prow Robot
1847c071cf
Merge pull request #74445 from msau42/fix-localssd-e2e
...
Fix localssd test panic
2019-02-22 23:27:53 -08:00
Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Thomas Runyon
d4df8879f3
call kube:test:clear_all during cleanup
2019-02-22 21:23:53 -05:00
Jeff Grafton
7a938eb541
Create work-around wrappers for pure attribute on go_binary and go_test
...
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -08:00
Kubernetes Prow Robot
ee95a1a349
Merge pull request #74293 from lubinsz/pr_ds
...
Fix conformance daemon_set test failing in local cluster
2019-02-22 17:58:33 -08:00
Michelle Au
6266c47972
Fix localssd test panic
2019-02-22 17:06:11 -08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
...
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Alexander Brand
d971597b59
DaemonSet e2e: Update image and rolling upgrade test timeout
...
Use Nginx as the DaemonSet image instead of the ServeHostname image.
This was changed because the ServeHostname has a sleep after terminating
which makes it incompatible with the DaemonSet Rolling Upgrade e2e test.
In addition, make the DaemonSet Rolling Upgrade e2e test timeout a
function of the number of nodes that make up the cluster. This is
required because the more nodes there are, the longer the time it will
take to complete a rolling upgrade.
Signed-off-by: Alexander Brand <alexbrand09@gmail.com>
2019-02-22 15:47:54 -05:00
Kubernetes Prow Robot
51554f0818
Merge pull request #74290 from johscheuer/fix-e2e-netpol-tests
...
Fix e2e network policy tests
2019-02-22 12:07:43 -08:00
Bobby (Babak) Salamat
59da8af4b4
update e2e tests to use scheduling V1 API
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
1dac6d03e3
generated files
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
453498fe2c
Graduate PriorityClass to GA
2019-02-22 10:51:13 -08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
Patrick Barker
9e4f8d6fae
Audit test utils fix ( #74276 )
...
* changes audit e2e event version scheme; adds internal audit to common audit scheme; removes unneeded comments
* add more detail to audit missing events in e2e/integration tests
* adds version priority to audit scheme; updates comment
2019-02-22 00:19:51 -08:00
qingsenLi
790601bb0a
remove some unused const in test/e2e_node
2019-02-22 12:02:31 +08:00
Bin Lu
ab165fc6e5
Fix conformance daemon_set test failing in local cluster
...
Fixing up conformance test related to:
1, ci-k8s-conformance-arm64-aws-cluster
https://storage.googleapis.com/k8s-conformance-arm/logs/ci-k8s-conformance-arm64-aws-cluster/84/build-log.txt
2, conformance test results for ppc64le
https://storage.googleapis.com/ppc64le-kubernetes/logs/ci-conformance-kubernetes/2809/build-log.txt
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-02-22 11:10:33 +08:00
Kubernetes Prow Robot
a07c73d098
Merge pull request #74371 from rajansandeep/testhealthcheck
...
Add health plugin for CoreDNS in the DNS tests
2019-02-21 16:27:43 -08:00
Vy Ta
5e06b93e0b
Add readonly volume tests for windows
2019-02-21 15:54:07 -08:00
Sandeep Rajan
0172019d7d
add health plugin in the DNS tests
2019-02-21 16:24:34 -05:00
Kenichi Omichi
5c3b0c1eef
Register openstack provider for e2e test
...
Since the commit f3d79e152e
openstack provider has been denied on e2e test runner.
However there are storage e2e tests which are related to
openstack. So this adds the registration of openstack
provider for e2e test.
2019-02-21 21:15:36 +00:00
Kubernetes Prow Robot
105c9c35f7
Merge pull request #74358 from Katharine/fix-bad-junit-xml
...
Turn off command echoing in test to avoid illegal bytes in XML
2019-02-21 12:27:17 -08:00
Kubernetes Prow Robot
4763720dc1
Merge pull request #74338 from BenTheElder/testcmdshellcheck
...
make test/cmd/delete.sh pass shellcheck
2019-02-21 12:26:57 -08:00
Kubernetes Prow Robot
aec0bfe611
Merge pull request #73922 from bclau/tests/adds-linuxonly-tag
...
tests: Adds [LinuxOnly] tag to conformance test
2019-02-21 10:42:56 -08:00
Katharine Berry
dd4f1c1990
Turn off command echoing to avoid illegal bytes in XML.
2019-02-21 09:30:41 -08:00
Kubernetes Prow Robot
ec1d83b82d
Merge pull request #74335 from cofyc/fix74229
...
Use same fsGroup for both pods
2019-02-21 09:22:01 -08:00
Thomas Runyon
f97170ea38
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-21 11:35:23 -05:00
Thomas Runyon
30c78c7e1c
Feedback from review
2019-02-21 06:15:13 -05:00
Kubernetes Prow Robot
7d75b73e1d
Merge pull request #74057 from liggitt/ingress-network-v1beta1
...
Ingress extensions/v1beta1 -> networking.k8s.io/v1beta1
2019-02-21 01:07:48 -08:00
Benjamin Elder
da859ae734
make test/cmd/delete.sh pass shellcheck
2019-02-21 00:45:37 -08:00
xichengliudui
a499d81fc6
fix shellcheck in test/image/...
...
update pull request
2019-02-21 03:11:55 -05:00
Kubernetes Prow Robot
54240ce5ba
Merge pull request #74330 from xichengliudui/fixshellcheck190221
...
Fixed a minor bug
2019-02-20 23:57:28 -08:00
Kubernetes Prow Robot
e24e944ce1
Merge pull request #74312 from oomichi/golint-e2e-framework-aws
...
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 23:56:36 -08:00
Yecheng Fu
5c67d55002
Use same fsGroup for both pods until we have a reliable way to detect
...
volumes are unmounted or not
2019-02-21 15:56:35 +08:00
xichengliudui
d251d089f2
Fixed a minor bug
2019-02-20 22:39:23 -05:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Jordan Liggitt
8c28d3f63c
Add networking.k8s.io/v1beta1 Ingress
2019-02-20 16:41:14 -05:00
Jordan Liggitt
47cb9559be
Move internal Ingress type from extensions to networking
2019-02-20 16:41:12 -05:00
Johannes M. Scheuermann
30098fd73f
Make use of nc for Linux and Windows compatibility
2019-02-20 22:23:13 +01:00
Hemant Kumar
abf8df7543
clean up duplication
2019-02-20 15:43:12 -05:00
Kubernetes Prow Robot
d60b7d6a64
Merge pull request #73866 from apelisse/add-ssa-tests
...
Add basic server-side apply test to test-cmd
2019-02-20 11:33:02 -08:00
Kenichi Omichi
36b80a4c61
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 19:11:53 +00:00
Kubernetes Prow Robot
21e3c15dfe
Merge pull request #72732 from sandeeppsunny/vsphere_volume_zone
...
Added e2e tests for multi-zone volume provisioning through VCP
2019-02-20 09:01:27 -08:00
Johannes M. Scheuermann
b515aa1d31
Use wget instead of curl for e2e network policy tests
2019-02-20 17:07:32 +01:00
Kubernetes Prow Robot
07cf5fa08e
Merge pull request #72434 from pohly/storage-volume-testsuites-config
...
e2e/storage: delay CreateDriver, simplify APIs and test definition
2019-02-20 05:37:45 -08:00
Kubernetes Prow Robot
b473d5c111
Merge pull request #73201 from YoubingLi/bugfix
...
Fixes #73077 - Allow to convert type across all version
2019-02-20 02:23:21 -08:00
Kubernetes Prow Robot
52353ed0c3
Merge pull request #74275 from ixdy/e2e-image-util-docker-manifest-expperimental
...
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 21:41:48 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
9e55995a31
Merge pull request #73989 from oomichi/golint-e2e-framework-metrics
...
Fix golint failures under test/e2e/framework/metrics
2019-02-19 16:23:48 -08:00
Jeff Grafton
ff1543e8d5
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 14:41:27 -08:00
Kubernetes Prow Robot
b67126e350
Merge pull request #74113 from oomichi/use-ExpectNoError-on-e2e-framework
...
Use framework.ExpectNoError() instead Expect()
2019-02-19 13:42:06 -08:00
Kubernetes Prow Robot
ee50d4784d
Merge pull request #74193 from xichengliudui/fixshellcheck19021802
...
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-19 09:56:07 -08:00
Kubernetes Prow Robot
e67562dc4c
Merge pull request #74143 from oomichi/issue/73771
...
Call getRandomClusterZone() only if necessary
2019-02-19 09:55:55 -08:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
...
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
Kubernetes Prow Robot
9ac5e49111
Merge pull request #73682 from selfmanagingresource/fixtest
...
Remove race condition with run-test
2019-02-19 07:21:38 -08:00
Sandeep Sunny
5b59c6e08c
Added e2e tests for multi-zone volume provisioning
2019-02-19 18:44:20 +05:30
xichengliudui
0b184d35a1
fixgo lint failures test/integration/...
...
update pull request
update pull request
add files
update pull request
2019-02-19 04:41:50 -05:00
Kubernetes Prow Robot
f35b7a365e
Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https
...
Fix websocket e2e tests for https endpoints
2019-02-18 22:45:33 -08:00
Kubernetes Prow Robot
aaf479f94a
Merge pull request #74013 from s-ito-ts/statefulsets_scale
...
Add e2e test for scale sub-resource of statefulsets
2019-02-18 20:16:36 -08:00
Kubernetes Prow Robot
0b01b9ce51
Merge pull request #72470 from danielqsj/kl
...
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
Kubernetes Prow Robot
f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
...
Windows networking tests
2019-02-18 06:24:24 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
Mikkel Oscar Lyderik Larsen
9f34d8bc79
Remove 'tlsConfig != nil' check
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Mikkel Oscar Lyderik Larsen
93abdb1205
Fix websocket e2e tests for https endpoints
...
When running e2e conformance tests against a public https protected
APIserver the websocket tests would fail because it fell back to using
`ws://` instead of `wss://` for the websocket connection.
This happened because the code detect if HTTPS is used only looks for
HTTPS related configuration in the kubeconfig, like a custom CA or
certificates.
The fix is to always use HTTPS when the apiserver URL has the scheme `https://`.
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
xichengliudui
641f883b82
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-18 01:16:39 -05:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
Davanum Srinivas
985a4201e9
Stop testing containerized kubelet in e2e-node
...
Change-Id: I2d948f9ff29a2c84358c39ac07627e7c1a8ee44d
2019-02-17 14:20:56 -05:00
Mehdy Bohlool
c14e7e2004
Add e2e test for multi-version CRD admission webhook patch bug
2019-02-16 00:46:57 -08:00
Kubernetes Prow Robot
07a5488b2a
Merge pull request #74141 from zetaab/fixtest
...
disable xfs localvolume test
2019-02-16 00:29:57 -08:00
Kubernetes Prow Robot
528cf14aa2
Merge pull request #74121 from truongnh1992/edit-owner-contact
...
Correct typecheck contact info
2019-02-15 22:59:48 -08:00
Kubernetes Prow Robot
95c3cbaf9f
Merge pull request #74094 from gnufied/fix-multizone-test-resizing
...
Use delayed binding for multizone tests
2019-02-15 20:35:51 -08:00
Nguyen Hai Truong
4c18fbcbb5
Correct owner's contact
...
@rmmh was no longer involved in the project anymore.
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-16 09:19:34 +07:00
Kubernetes Prow Robot
149d6f1115
Merge pull request #74117 from carlory/patch-1
...
fix typo
2019-02-15 18:02:58 -08:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
...
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
d5b890ea46
Merge pull request #72777 from bclau/tests/hardcoded-docker-image
...
Adds test which pulls dockerhub Windows image
2019-02-15 16:45:42 -08:00
Hemant Kumar
abb2fc656d
Use delayed binding for multizone tests
2019-02-15 15:57:21 -05:00
Kenichi Omichi
a01381a7d2
Call getRandomClusterZone() only if necessary
...
e2e test "[It] should provision storage with different parameters"
depends on cloud providers as gce/gke, aws, openstack, vsphere and
azure. If the other cloud providers like local, the test is skipped.
However getRandomClusterZone() was called before the above cloud
provider check, and if the zone label is not found the test was failed.
This makes the test call getRandomClusterZone() only if necessary
to avoid such unnecessary failures.
Fixes : #73771
2019-02-15 20:07:11 +00:00
Jesse Haka
c75b0bf8ca
disable xfs localvolume test
2019-02-15 21:31:25 +02:00
jennybuckley
8101b86ac4
Promote aggregator e2e test to conformance
2019-02-15 11:04:38 -08:00
Kenichi Omichi
2635b6d95c
Use framework.ExpectNoError() instead Expect()
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-02-15 16:52:57 +00:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
763042e938
Merge pull request #73939 from jiayingz/cuda10-test
...
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-15 05:28:00 -08:00
Patrick Ohly
ec3655a1d4
e2e/storage: re-initialize all local variables
...
There is a risk that the init function does not reset one of the local
variables that was set by a previous test. To avoid this, all
variables set by init are now in a struct which gets cleaned
completely first.
2019-02-15 11:03:28 +01:00
Patrick Ohly
e79cd9efe1
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2019-02-15 11:01:09 +01:00
Patrick Ohly
4643624084
e2e/storage: remove test pattern filtering
...
The recommended approach for not running unsuitable tests is to skip
them at runtime with an explanation. Filtering out unsuitable test
patters and thus not even defining unsuitable tests was done earlier
because it was faster than skipping tests at runtime.
But now these tests can be skipped efficiently, so this special case
can be removed.
2019-02-15 11:01:08 +01:00
Patrick Ohly
05cc31697f
e2e/storage: speed up skipping, simplify APIs and test definition
...
CreateDriver (now called SetupTest) is a potentially expensive
operation, depending on the driver. Creating and tearing down a
framework instance also takes time (measured at 6 seconds on a fast
machine) and produces quite a bit of log output.
Both can be avoided for tests that skip based on static
information (like for instance the current OS, vendor, driver and test
pattern) by making the test suite responsible for creating framework
and driver.
The lifecycle of the TestConfig instance was confusing because it was
stored inside the DriverInfo, a struct which conceptually is static,
while the TestConfig is dynamic. It is cleaner to separate the two,
even if that means that an additional pointer must be passed into some
functions. Now CreateDriver is responsible for initializing the
PerTestConfig that is to be used by the test.
To make this approach simpler to implement (= less functions which
need the pointer) and the tests easier to read, the entire setup and
test definition is now contained in a single function. This is how it
is normally done in Ginkgo. This is easier to read because one can see
at a glance where variables are set, instead of having to trace values
though two additional structs (TestResource and TestInput).
Because we are changing the API already, also other changes are made:
- some function prototypes get simplified
- the naming of functions is changed to match their purpose
(tests aren't executed by the test suite, they only get defined
for later execution)
- unused methods get removed (TestSuite.skipUnsupportedTest is redundant)
2019-02-15 11:01:05 +01:00
Youbing Li
0756781994
Fixes #73077 - Allow to convert type across all version
2019-02-15 04:03:35 -05:00
yeya24
a6527d2eb1
remove the redundant "the"
...
Here there are two "the" in the doc. Remove the redundant one.
2019-02-15 16:05:54 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Patrick Ohly
1cb121d2a9
e2e/storage: introduce TestVolume interface
...
This increases type safety and makes the code easier to read because
it becomes obvious that the "test resource" passed to some functions
must be the result of a previous CreateVolume.
This makes it possible to remove:
- functions that never did anything (the DeleteVolume methods in
drivers that never create a volume)
- type casts (in the DeleteVolume implementation)
- the unused DeleteVolume parameters
- the stand-alone DeleteVolume function (which would be just a non-nil
check)
GetPersistentVolumeSource and GetVolumeSource could also become
methods on more specific interfaces - they don't actually use anything
from TestDriver instance which provides them.
The main motivation however is to reduce the number of methods which
might need an explicit test config parameter.
2019-02-15 08:38:54 +01:00
帝俊
09519fde26
fix typo
2019-02-15 15:28:43 +08:00
Kubernetes Prow Robot
0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
...
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kenichi Omichi
680e83a811
Remove unused GetDefaultBackendNodePort()
...
Since the commit f5bb5234c1
the method has never been used. This just removes it for cleanup.
2019-02-14 22:44:54 +00:00
Kubernetes Prow Robot
1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
...
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Jose A. Rivera
a33acd2ba6
CSIDriverRegistry e2e: Use framework.Poll when waiting for PVC delete
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera
86c71472df
CSIDriverRegistry e2e: Wait for CSIDriver creation
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 11:25:15 -06:00
Jose A. Rivera
81bc0e5ec8
CRIDriverRegistry e2e: Clarify variable name
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:59:43 -06:00
Jose A. Rivera
1ac3b37848
CSIDriverRegistry e2e: Always clean up driver
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-14 06:56:17 -06:00
Kubernetes Prow Robot
d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
...
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Kubernetes Prow Robot
b13438ab24
Merge pull request #73928 from wongma7/protection-waitforfirstconsumer
...
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 21:50:17 -08:00
Kubernetes Prow Robot
2e287a0ac1
Merge pull request #73677 from jarrpa/csi-cluster-registrar
...
e2e: Use cluster-driver-registrar for CSIDriverRegistry tests
2019-02-13 17:31:33 -08:00
Kubernetes Prow Robot
888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
...
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
Kubernetes Prow Robot
508a4f7544
Merge pull request #74000 from caesarxuchao/json-patch-operations
...
Limit the number of operations in a single json patch to be 10,000
2019-02-13 16:12:12 -08:00
Kubernetes Prow Robot
f9af7e94a9
Merge pull request #73962 from wongma7/glusterfs-sc
...
Fix glusterfs e2e not using correct storageclass
2019-02-13 14:32:16 -08:00
Kubernetes Prow Robot
a5653dc01b
Merge pull request #73903 from smarterclayton/cluster_upgrade
...
Upgrade tests don't tolerate nodes with taints correctly
2019-02-13 14:32:05 -08:00
Jose A. Rivera
62f3211d76
Run hack/update-bazel.sh
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Jose A. Rivera
6115fc49a6
Use cluster-driver-registrar for CSIDriverRegistry tests
...
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-02-13 15:06:58 -06:00
Kubernetes Prow Robot
812016fa23
Merge pull request #73818 from gnufied/add-e2e-for-no-expand
...
add e2e test when expansion is disabled
2019-02-13 12:16:09 -08:00
Robert Krawitz
2597a1d97e
Implement SupportNodePidsLimit, hand-tested
2019-02-13 14:56:17 -05:00
Chao Xu
5e6fc5dce8
Limit the number of operations in a single json patch to be 10,000
2019-02-13 10:53:32 -08:00
Kenichi Omichi
89f6f1d0cc
Fix golint failures under e2e/framework/metrics
2019-02-13 18:07:16 +00:00
Kubernetes Prow Robot
1250237316
Merge pull request #73995 from humblec/fix-e2e
...
Use correct server url in dynamic provisioning tests
2019-02-13 09:45:15 -08:00
Matthew Wong
2f981fa4c1
Fix PVC protection e2es when default storage class is WaitForFirstConsumer
2019-02-13 12:41:45 -05:00
Hemant Kumar
7d823e5df0
also remove slow tag from resizing tests
2019-02-13 10:48:49 -05:00
Hemant Kumar
e3faa003a1
add e2e test when expansion is disabled
...
Also refactor some of the code that creates resizable SC
2019-02-13 10:48:49 -05:00
Humble Chirammal
a078ebf246
Set correct server uri on e2e dynamic provisioner
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-02-13 13:52:38 +05:30
s-ito-ts
b46cbc31cd
Add e2e test for scale sub-resource of statefulsets
2019-02-13 08:04:37 +00:00
Kubernetes Prow Robot
5442980dd9
Merge pull request #73900 from cofyc/fix-local-test
...
Wait for first pod to termiante in PV test
2019-02-12 20:01:57 -08:00
Kubernetes Prow Robot
461dccf246
Merge pull request #73898 from xiezongzhe/patch-5
...
fix typo
2019-02-12 20:01:47 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Kenichi Omichi
dbe669aeb1
Move PrintSample() to place which uses it
...
PrintSample() was used at metrics_util.go only, so this moves
the method to metrics_util.go and makes it local.
2019-02-13 01:32:53 +00:00
Kubernetes Prow Robot
5c780c8cb1
Merge pull request #73978 from oomichi/golint-e2e-framework-timer
...
Fix golint failures of test/e2e/framework/timer
2019-02-12 17:29:43 -08:00
Kubernetes Prow Robot
29403174fb
Merge pull request #73805 from caesarxuchao/resource-size-limit
...
Adding a limit on the size of request body the apiserver will decode for write operations
2019-02-12 15:10:57 -08:00
Kubernetes Prow Robot
72eb785f60
Merge pull request #73440 from yliaog/master
...
Fix resource quota e2e test
2019-02-12 15:10:47 -08:00
Chao Xu
1f2e2e61cf
generated
2019-02-12 15:04:57 -08:00
Kenichi Omichi
60ded1d54a
Fix golint failures of test/e2e/framework/timer
2019-02-12 21:01:39 +00:00
Kubernetes Prow Robot
ff504cd869
Merge pull request #73681 from kwiesmueller/feature-serverside-apply
...
strip selected fields from managedFields
2019-02-12 12:39:20 -08:00
Chao Xu
3f21ca029a
changing imports
2019-02-12 10:06:04 -08:00
Kubernetes Prow Robot
f968499812
Merge pull request #72002 from pohly/storage-volume-testsuites-concurrency
...
E2E storage: more tests for different pod/node combinations
2019-02-12 10:04:50 -08:00
Matthew Wong
6d73de1154
Fix glusterfs e2e not using correct storageclass
2019-02-12 11:31:29 -05:00
Patrick Ohly
ecc0c4e4b4
e2e/storage: enable concurrent writes for gcepd
...
The driver should support multiple pods using the same volume on the
same node.
2019-02-12 09:21:50 +01:00
Patrick Ohly
03d352f7aa
e2e/storage: test usage of volume in multiple pods at once
...
This is a special case that both kubelet and the volume driver should
support, because users might expect it. One Kubernetes mechanism to
deploy pods like this is via pod affinity.
However, strictly speaking the CSI spec does not allow this usage
mode (see https://github.com/container-storage-interface/spec/pull/150 ) and
there is an on-going debate to enable it (see
https://github.com/container-storage-interface/spec/issues/178 ). Therefore
this test gets skipped unless explicitly enabled for a driver.
CSI drivers which create a block device for a remote volume in
NodePublishVolume fail this test. They have to make the volume
available in NodeStageVolume and then in NodePublishVolume merely do a
bind mount (as for example in
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/master/pkg/gce-pd-csi-driver/node.go#L150 ).
2019-02-12 09:21:50 +01:00
Patrick Ohly
ca42cf4993
e2e/storage: test provisioned volume on multiple nodes
...
Whether the read test after writing was done on the same node was
random for drivers that weren't locked onto a single node. Now it is
deterministic: it always happens on the same node.
The case with reading on another node is covered separately for test
configurations that support it (not locked onto a single node, more
than one node in the test cluster).
As before, the TestConfig.ClientNodeSelector is ignored by the
provisioning testsuite.
2019-02-12 09:21:50 +01:00
pontiyaraja
6d7a707320
Test case for shared volumes between the containers in pod
2019-02-12 12:26:43 +05:30
Kubernetes Prow Robot
34e523f188
Merge pull request #73860 from msau42/owners
...
add msau42 to approvers for volume e2es
2019-02-11 19:58:29 -08:00
Yecheng Fu
00a7fc3208
Wait for first pod to termiante in local pv test
...
local plugin will skip setting fsGroup if volume is mounted by other pods
2019-02-12 09:55:49 +08:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
...
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Jiaying Zhang
d66cd67377
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-11 15:45:53 -08:00
Kevin Wiesmüller
9082cac482
strip selected fields from managedFields
...
refactor fieldstrip and update tests
add checks and remove empty fields
shorten test and check for nil manager
fix gofmt
panic on nil manager
2019-02-11 23:10:57 +01:00
Jennifer Buckley
1a5e48e29d
Honor forceAllowCreate in service registry
2019-02-11 11:05:30 -08:00
Claudiu Belu
434090349d
tests: Adds [LinuxOnly] tag to conformance test
...
The test "should write entries to /etc/hosts" should have the [LinuxOnly] tag as
it cannot pass on Windows; individual files cannot be mounted in Windows Containers.
This test was missed in the original PR (https://github.com/kubernetes/kubernetes/pull/73204 )
2019-02-11 02:44:09 -08:00
zhoulin xie
f71bc19ca8
Fix fmt.Sprintf error message
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-11 16:43:20 +08:00
Clayton Coleman
a7dfbb99c4
updates: DaemonSet test should tolerate all taints
...
The test specifically includes all nodes, but doesn't actually ensure
the daemonset covers all nodes despite taints.
2019-02-10 23:53:57 -05:00
Clayton Coleman
3e0dd7f365
upgrade: ClusterUpgrade and MasterUpgrade are equivalent
...
Some tests were only checking for MasterUpgrade, but that is also
implied by ClusterUpgrade.
2019-02-10 23:51:27 -05:00
xiezongzhe
3cec62b3f5
fix typo
...
Is ->It in line 6
2019-02-11 11:38:25 +08:00
Kubernetes Prow Robot
b862590bfc
Merge pull request #73847 from wojtek-t/watch_metric
...
Add metric exposing amount of processed init events in watchcache
2019-02-10 03:47:35 -08:00
qingsenLi
012076d324
delete some unused const
2019-02-10 17:23:15 +08:00
Patrick Ohly
54d8f1648f
e2e/storage: improve PV checking
...
TestDynamicProvisioning had multiple ways of choosing additional
checks:
- the PvCheck callback
- the builtin write/read check controlled by a boolean
- the snapshot testing
Complicating matters further, that builtin write/read test had been
more customizable with new fields `NodeSelector` and
`ExpectUnschedulable` which were only set by one particular test (see
https://github.com/kubernetes/kubernetes/pull/70941 ).
That is confusing and will only get more confusing when adding more
checks in the future. Therefore the write/read check is now a separate
function that must be enabled explicitly by tests that want to run it.
The snapshot checking is also defined only for the snapshot test.
The test that expects unschedulable pods now also checks for that
particular situation itself. Instead of testing it with two pods (the
behavior from the write/read check) that both fail to start, only a
single unschedulable pod is created.
Because node name, node selector and the `ExpectUnschedulable` were
only used for checking, it is possible to simplify `StorageClassTest`
by removing all of these fields.
Expect(err).NotTo(HaveOccurred()) is an anti-pattern in Ginkgo testing
because a test failure doesn't explain what failed (see
https://github.com/kubernetes/kubernetes/issues/34059 ). We avoid it
now by making the check function itself responsible for checking
errors and including more information in those checks.
2019-02-09 14:20:17 +01:00
Patrick Ohly
5b8826b610
e2e/storage: use different names for test pods
...
When the provisioning test gets stuck, the log fills up with messages
about waiting for a certain pod to run. Now the pod names are
pvc-[volume-tester|snapshot]-[writer|reader] plus the random
number appended by Kubernetes. This makes it easier to see where the
test is stuck.
2019-02-09 14:20:17 +01:00
Patrick Ohly
e92bdd14cc
e2e/storage: remove unnecessary empty string checks
...
There is no need to check for empty strings, we can also directly
initialize structs with the value. The end result is the same when the
value is empty (empty string in the struct).
2019-02-09 14:20:17 +01:00
Patrick Ohly
315266b25e
e2e: refine snapshot test
...
This addresses the two remaining change requests from
https://github.com/kubernetes/kubernetes/pull/69036 :
- replace "csi-hostpath-v0" name check with capability
check (cleaner that way)
- add feature tag to "should create snapshot with defaults" because
that is an alpha feature
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2019-02-09 14:20:17 +01:00
Patrick Ohly
f8536e8e42
e2e: fix snapshot skip test
...
Even if snapshots are supported by the driver interface, the driver or
suite might still want to skip a particular test, so those checks
still need to be executed.
2019-02-09 14:19:37 +01:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Antoine Pelisse
308c981633
Add basic server-side apply test to test-cmd
2019-02-08 16:51:29 -08:00
Chao Xu
e90409d735
add integration test
2019-02-08 16:15:43 -08:00
Claudiu Belu
609b5c3010
tests: Adds docker hub Windows image test case
...
Adds the test "should be able to pull image from docker hub [WindowsOnly]",
which will pull a Windows busybox image from dockerhub. Since it is busybox,
the same command will also work for this image.
The busybox image is currently used in other E2E tests, so the image should
already be prepulled on the nodes. Additionally, the image has a manifest list
for Windows Server 1803 and Windows Server 2019, and future versions will be
added to it.
2019-02-08 15:25:56 -08:00
Kubernetes Prow Robot
8f7ccf8d4c
Merge pull request #69036 from wackxu/snapshottest
...
add e2e test for snapshot
2019-02-08 13:14:04 -08:00
Kubernetes Prow Robot
834c9a5e3d
Merge pull request #72491 from liggitt/delegated-auth-permissions
...
Ensure controller manager and scheduler can perform delegated auth checks
2019-02-08 11:53:52 -08:00
Yu Liao
fa6699dc4d
there could be existing resource quotas, count them first and check the
...
expected is the existing + 1
2019-02-08 11:35:56 -08:00
Michelle Au
ddc1a9c8c8
add msau42 to approvers for volume e2es
2019-02-08 11:34:02 -08:00
Kubernetes Prow Robot
54a578d3a1
Merge pull request #72012 from yeya24/patch-1
...
fix typos lable -> label
2019-02-08 10:36:05 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Jordan Liggitt
4212a9a05a
Ensure controller manager and scheduler can perform delegated auth checks
2019-02-08 11:15:52 -05:00
wojtekt
0a0835e92d
Add metric exposing amount of processed init events in watchcache
2019-02-08 13:03:33 +01:00
Kubernetes Prow Robot
a7966022d7
Merge pull request #73714 from tallclair/debian-base
...
Bump debian-* base image versions to latest
2019-02-07 19:44:44 -08:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Jiaying Zhang
8408188cdf
Update CudaVectorAdd test image to be built with Cuda10 docker image.
...
The previous version of CudaVectorAdd test image can still be used
in our testing. A later change will extend the existing gpu e2e tests
to run pods with two containers. One with CudaVectorAdd version1 and
the other with CudaVectorAdd version2 so that we can test both
Cuda versions.
2019-02-07 13:29:48 -08:00
Kubernetes Prow Robot
713eaf450f
Merge pull request #73511 from vikaschoudhary16/image-only
...
Add image for sample-device-plugin
2019-02-07 04:59:11 -08:00
vikaschoudhary16
0ec6bdd2b5
Add image for sample-device-plugin
2019-02-07 11:28:28 +05:30
Claudiu Belu
00e2582c67
Adds Windows-related Networking tests
...
Creating pods with HostNetwork is not currently supported on
Windows Kubelet, and thus, ones without HostNetwork are created instead.
2019-02-06 15:58:18 -08:00
Claudiu Belu
cb9c594f98
tests: Separates DNS hosts entries test
...
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for the cluster" test to fail.
This test separates the hosts entries checks from the mentioned test to a new test.
2019-02-06 15:41:57 -08:00
Kubernetes Prow Robot
3dedf4b7f6
Merge pull request #73525 from cofyc/fix71237-intree
...
Implement localDriver with various local volume types
2019-02-06 10:44:37 -08:00
Kubernetes Prow Robot
ae45068688
Merge pull request #72323 from danielqsj/dockershim
...
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Thomas Runyon
6770fa7ba5
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-06 12:28:52 -05:00
Kubernetes Prow Robot
fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
...
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
Yecheng Fu
aa87e4b57c
Implement localDriver
2019-02-06 12:28:28 +08:00
Thomas Runyon
4fc5be8d5a
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-05 19:23:21 -05:00
Kubernetes Prow Robot
9384e93dc1
Merge pull request #73749 from wongma7/subpath-init-write-multiple
...
Fix multiple subpaths e2e: read/write in same container
2019-02-05 13:57:02 -08:00
Kubernetes Prow Robot
3f933ec7c4
Merge pull request #72407 from aespejel/fix_resource_consumer_metrics_endpoint
...
Fixed /metrics endpoint for resource consumer
2019-02-05 12:08:49 -08:00
Kubernetes Prow Robot
fdfc3b86d8
Merge pull request #73258 from Betula-L/master
...
fix test config pod spec affinity mishandling
2019-02-05 10:48:59 -08:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
David Eads
66b1f5ba67
add --all-namespaces to
2019-02-05 13:37:14 -05:00
Matthew Wong
613d8bb8ea
Fix multiple subpaths e2e: read/write in same container
2019-02-05 10:55:27 -05:00
Kubernetes Prow Robot
ffec91179d
Merge pull request #70156 from nagiesek/fix_pqdn_tests
...
Removes PQDNs from conformance tests and places them in their own tests
2019-02-05 06:47:28 -08:00
Kubernetes Prow Robot
e91e032de2
Merge pull request #73522 from tnozicka/e2e-add-exec-debug
...
Enhance debuggability of e2e tests using exec command
2019-02-05 03:18:31 -08:00
Alfredo Espejel
688e1d1053
Fixed resource consumer to expose /metrics instead of /Metrics
2019-02-05 10:15:42 +01:00
Kubernetes Prow Robot
641b2adcd3
Merge pull request #73318 from wongma7/subpath-init-write
...
Do writes in init container before trying reads
2019-02-04 18:28:14 -08:00
Kubernetes Prow Robot
2a5a41a08b
Merge pull request #72947 from apelisse/wip-feature-serverside-apply-merge
...
Merge feature-serverside-apply back in master
2019-02-04 18:28:03 -08:00
Kubernetes Prow Robot
6a149864fb
Merge pull request #73285 from tallclair/typed-runtimeclass
...
Migrate RuntimeClass support to the generated typed client
2019-02-04 16:13:30 -08:00
jennybuckley
6b2e4682fe
Minor fixes
2019-02-04 13:51:49 -08:00
Antoine Pelisse
b55417f429
Plugin FieldManager in CRD handler, change to API
2019-02-04 13:51:49 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
732cb10019
Merge pull request #73402 from pohly/e2e-vendor-parameter
...
e2e: reject unknown providers
2019-02-04 12:59:06 -08:00
Tim Allclair
1b9d0c1094
Bump debian-* base image versions to latest
2019-02-04 11:58:51 -08:00
Chris Sosa
06fe60af5b
Remove race condition with run-test
...
This change modifies kubectl run e2e test to remove a race condition
where kubectl run might complete before we can scrape the logs off via
attach.
Tested via running the e2e tests a few times on gce via kubetest.
2019-02-04 11:47:20 -08:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
...
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
Kubernetes Prow Robot
1a0a841abe
Merge pull request #73204 from bclau/tests/adds-linuxonly-tag
...
Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
2019-02-04 09:36:09 -08:00
Kubernetes Prow Robot
6ed54138ee
Merge pull request #73175 from soltysh/fix_jobttl
...
Report proper namespace in TTLAfterFinished test
2019-02-04 09:35:58 -08:00
Kubernetes Prow Robot
d61aab2063
Merge pull request #72594 from pbarker/audit-proxy
...
audit-proxy image for dynamic audit e2e test
2019-02-04 09:35:46 -08:00
Kubernetes Prow Robot
b4a02c359b
Merge pull request #71746 from rctl/rctl-wait-all
...
Add support for waiting by label selector or on all resources
2019-02-04 06:21:00 -08:00
Kubernetes Prow Robot
d5a1ebbd33
Merge pull request #73634 from JoeWrightss/patch-2
...
Fix some typos in comment
2019-02-04 05:09:47 -08:00
Kubernetes Prow Robot
c5da2c559f
Merge pull request #73270 from mm4tt/dump_systemd_journal
...
Allow dumping full systemd journal in log-dump.sh.
2019-02-04 00:30:13 -08:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot
0bd35d1b68
Merge pull request #73448 from AdamDang/patch-21
...
Fix some error in returned message
2019-02-03 18:20:51 -08:00
Matt Matejczyk
35543f8989
Allow dumping full systemd journal in log-dump.sh.
...
The feature is gated behind a newly introduced 'dump-systemd-journal' flag.
We want to dump the full systemd journal in our scalability performance tests.
2019-02-03 21:28:37 +01:00
Thomas Runyon
b52aff72c8
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-02 20:42:26 -05:00
Rasmus Jönsson
4c31e9855d
Add support for waiting by label selector or on all resources
...
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Kubernetes Prow Robot
9f872d0b85
Merge pull request #73486 from dashpole/fix_ubuntu_eviction
...
Fix node e2e localstorage eviction tests
2019-02-01 17:14:26 -08:00
Kubernetes Prow Robot
4331660fcd
Merge pull request #73445 from danielqsj/fix-exec
...
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-02-01 17:14:15 -08:00
Kubernetes Prow Robot
aee11a844c
Merge pull request #73596 from liggitt/deprecated-tests
...
Stop using beta apps versions
2019-02-01 16:02:08 -08:00
Kubernetes Prow Robot
153bc23365
Merge pull request #73403 from hello2mao/reduce-hard-code
...
Reduce hard code to avoid more mistakes
2019-02-01 14:32:14 -08:00
Nathan Gieseker
689db1b4cb
removes incorrect dns name to resolve in dns test
2019-02-01 13:35:33 -08:00
Claudiu Belu
5daa08878f
Adds [LinuxOnly] tag to conformance tests that cannot be run on Windows
...
Some of the tests cannot pass using Windows nodes due to various reasons:
- seLinuxOptions are not supported on Windows.
- Running as an UID / GID is not supported on Windows.
- file permissions work differently on Windows, and they cannot be set in
the same manner as on Linux.
- individual files cannot be mounted in Windows Containers.
- Cannot create container using Linux image (e.g.: alpine) on Windows.
Because of this, it has been decided to use the "[LinuxOnly]" tag for the
tests which cannot run on Windows because of the mentioned reasons. This way,
when running tests using Windows nodes, those tests can simply be skipped by
adding the "[LinuxOnly]" tag to the ginkgo.skip argument.
2019-02-01 11:42:42 -08:00
Thomas Runyon
8772e26315
Fixed variable check for new WHAT command
2019-02-01 13:53:23 -05:00
Thomas Runyon
31aac97a85
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-01 11:40:18 -05:00
Kubernetes Prow Robot
2e01637f86
Merge pull request #69504 from krmayankk/refactor-sched1
...
Move informer event handlers to scheduler
2019-02-01 06:31:39 -08:00
zhoulin xie
777174080b
Fix some typos in comment
...
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-01 21:11:55 +08:00
xushiwei
7280fcef5c
address reviewer comments
2019-02-01 16:34:16 +08:00
Jordan Liggitt
f100a762bc
Stop using apps/v1beta1 in tests
2019-01-31 10:12:38 -05:00
Patrick Ohly
7b5e65977c
e2e: "skeleton" as fallback, empty string as default
...
Not accepting --provider= (i.e. setting an empty provider name) broke
some test jobs. As suggested in
https://github.com/kubernetes/kubernetes/pull/73402#issuecomment-459368230 ,
now --provider= and not passing --provider at all both trigger a
message and then continue as if --provider=skeleton had been used.
2019-01-31 15:54:48 +01:00
Daniel (Shijun) Qian
e72b32558c
Merge branch 'master' into keymutex
2019-01-31 20:50:57 +08:00
Kubernetes Prow Robot
fb96afb194
Merge pull request #73482 from liggitt/cross-group-watch
...
Always select the in-memory group/version as a target when decoding from storage
2019-01-30 17:50:06 -08:00
Chao Xu
bed7696876
generated BUILD files
2019-01-30 13:28:48 -08:00
Chao Xu
98a1003f57
Remove unnecessary group storage version defaults. The storage version
...
is either decided by the schema's version priority, or by the per
resource override.
This fixes a bug where the "batch" group is encoded in v1beta1, which
was hidden when --storage-versions is a valid flag.
2019-01-30 13:28:48 -08:00
Kubernetes Prow Robot
9f673c8129
Merge pull request #72728 from phoenixking25/e2e/annotate_errors
...
annotate errors in e2e tests
2019-01-30 11:53:48 -08:00
Kubernetes Prow Robot
f66805ef5e
Merge pull request #63600 from bclau/remove-hardcoded-yaml-images
...
tests: Removed hardcoded images from yaml files
2019-01-30 11:53:37 -08:00
Jordan Liggitt
131dad6ee1
Always select the in-memory group/version as a target when decoding from storage
2019-01-30 13:58:37 -05:00
xushiwei
3410d435ed
add snapshot e2e
2019-01-30 19:04:45 +08:00
Tomas Nozicka
cfcac1737b
Enhance debuggability of e2e tests using exec command
2019-01-30 11:46:30 +01:00
Krzysztof Siedlecki
aa93e2bb94
reverting test to apiserver_request_latencies_summary metric
2019-01-30 10:36:32 +01:00
Kubernetes Prow Robot
233f3e7b94
Merge pull request #73500 from shyamjvs/tls-config-fix-scale-tests
...
Fix TLS config in load test clients
2019-01-29 19:38:51 -08:00
Kubernetes Prow Robot
be33917744
Merge pull request #73194 from danielqsj/zkimage
...
Add missing dependency to zookeeper-install
2019-01-29 19:38:19 -08:00
danielqsj
6535689680
clean pkg/util/strings
2019-01-30 10:24:00 +08:00
danielqsj
df7e4f3d49
clean pkg/util/keymutex
2019-01-30 10:23:59 +08:00
Mayank Kumar
e0a7d96632
Move informer event handlers to Scheduler
2019-01-29 17:53:20 -08:00
hello2mao
7371c40abe
update the BUILD file
2019-01-30 09:45:06 +08:00
Shyam Jeedigunta
6cd03ab8ae
Fix TLS config in load test clients
2019-01-29 16:24:53 -08:00
Patrick Barker
451261f8c2
returns 500 on error; updates header dates for audit proxy
2019-01-29 13:34:42 -07:00
David Ashpole
6d07624ae3
fix node e2e localstorage eviction tests
2019-01-29 11:02:48 -08:00
Patrick Ohly
dde3445a45
e2e: change default for --provider
...
The empty string was the default and then triggered a special
warning. There's no good reason for that behavior, so now the special
handling for "unset provider" is gone and "skeleton" is the non-empty
default for the value.
2019-01-29 19:50:40 +01:00
Kubernetes Prow Robot
819dcaaa17
Merge pull request #73446 from cofyc/fix73419
...
Fix local pv stress tests
2019-01-29 10:12:17 -08:00
Kubernetes Prow Robot
d66db4a585
Merge pull request #72918 from bclau/tests/windows-cmd-fix
...
tests: Makes UDP testing command more Windows friendly
2019-01-29 05:15:37 -08:00
globervinodhn
a2078bd4af
Promote empty-key ConfigMap e2e to Conformance
2019-01-29 15:41:27 +05:30
Kubernetes Prow Robot
5262dba064
Merge pull request #73198 from mourya007/library
...
Re-Organize the pkutil library
2019-01-29 01:20:42 -08:00
Kubernetes Prow Robot
44d1859205
Merge pull request #72730 from liggitt/eviction-graceful-deletion
...
Make pod eviction trigger graceful deletion to match deletion via API
2019-01-28 21:51:53 -08:00
Kubernetes Prow Robot
efbaad5e58
Merge pull request #72561 from vllry/e2e-test-no-endpoints
...
Add e2e test for services with no endpoints
2019-01-28 21:51:42 -08:00
Kubernetes Prow Robot
b6701153b5
Merge pull request #70823 from mkimuram/issue/70822
...
Fix volumes e2e test to check fsType
2019-01-28 21:51:31 -08:00
Kubernetes Prow Robot
c0e80056d1
Merge pull request #73196 from mkumatag/fix_node
...
increase the memory limits to max
2019-01-28 20:11:57 -08:00
Kubernetes Prow Robot
22080f9f47
Merge pull request #72967 from wgliang/bugfix/scheduler_perf-fail
...
fix scheduler_perf integration test fails
2019-01-28 20:11:42 -08:00
AdamDang
f870382587
Fix some error in returned message
...
Fix some error in returned message:
a interval -> an interval
to small -> too small
2019-01-29 12:09:37 +08:00
Yecheng Fu
1660a0d260
Fix bug
2019-01-29 11:42:18 +08:00
danielqsj
c7a012f033
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-01-29 10:55:10 +08:00
Thomas Runyon
b308c53d6d
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-01-28 20:49:31 -05:00
Matthew Wong
9f5a799213
Do writes in init container before trying reads
2019-01-28 15:42:14 -05:00
Patrick Ohly
f3d79e152e
e2e: reject unknown providers
...
This finishes the work started for 1.13: instead of merely warning
about an unknown value given to --profile, the test/e2e/e2e.test
binary will now print an error and refuse to run.
Fixes : #70200
2019-01-28 19:55:45 +01:00
hello2mao
38b86fd97e
reduce hard code to avoid more mistakes
2019-01-28 21:55:09 +08:00
danielqsj
44eb1fb864
bump zookeeper-installer image version in e2e
2019-01-28 09:56:17 +08:00
Eric Paris
384da53441
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
2019-01-26 17:12:50 -05:00
Vallery Lancey
21cccbb863
Variable & timeout cleanup in no-endpoints e2e test
2019-01-26 10:15:13 -08:00
Kubernetes Prow Robot
8bce3620b0
Merge pull request #72690 from Katharine/no-conformance-skips
...
Never skip multi-node conformance tests (instead just fail).
2019-01-26 07:30:13 -08:00
Thomas Runyon
eecd88b450
fixed merge
2019-01-26 09:06:40 -05:00
Thomas Runyon
1a821ff5cf
Merge remote-tracking branch 'upstream/master' into test-cmd-what
...
Conflicts:
test/cmd/legacy-script.sh
2019-01-26 07:40:33 -05:00
Kubernetes Prow Robot
b5f2147a5a
Merge pull request #73193 from shyamjvs/avoid-master-ssh
...
Avoid master ssh in eks
2019-01-26 02:51:49 -08:00
mourya007
7c37e91a6d
Re-Organize the pkutil library
2019-01-26 14:56:36 +05:30
Kubernetes Prow Robot
c6d0cdf309
Merge pull request #72694 from liggitt/integration-api-versions
...
Use apps/v1 APIs in integration, explicitly enable all resources for print/etcd/scale tests
2019-01-26 00:35:43 -08:00
Kubernetes Prow Robot
e1605310a5
Merge pull request #72902 from andrewsykim/72649
...
E2E test for node deleted in cloud provider
2019-01-25 22:31:16 -08:00
Jordan Liggitt
cdfb5d3170
Make pod eviction trigger graceful deletion to match deletion via API
2019-01-25 23:35:49 -05:00
Kubernetes Prow Robot
54015767a5
Merge pull request #73326 from ixdy/k8s-master-go1.11.5
...
Update to go1.11.5
2019-01-25 19:44:10 -08:00
andrewsykim
596c6fbf03
e2e test for node deleted in cloud provider
2019-01-25 17:45:18 -05:00
Jeff Grafton
e273db831c
Update to go1.11.5
2019-01-25 11:38:58 -08:00
Jordan Liggitt
89b0b0b84b
Clean up initializer-related comments, test data
2019-01-25 12:37:45 -05:00
ajatprabha
c3bc60b214
update error message
2019-01-25 13:29:43 +05:30
ajatprabha
e08f4e2bd2
annotate errors in apps/job e2e tests
2019-01-25 13:29:42 +05:30
Kubernetes Prow Robot
d654b49c0e
Merge pull request #73097 from bsalamat/fix_taint_nodes
...
Add NotReady taint to new nodes during admission
2019-01-24 23:46:23 -08:00
Kubernetes Prow Robot
402263fd4f
Merge pull request #72087 from pontiyaraja/pod_termination
...
graceful pod termination with preStop container life cycle hook
2019-01-24 21:17:44 -08:00
Jordan Liggitt
b64075dbd0
explicitly enable apps/v1beta1, apps/v1beta2, extensions/v1beta1 for print,etcd,storage tests
2019-01-24 21:43:15 -05:00
Jordan Liggitt
4fc63fd014
use apps/v1 APIs in integration tests
2019-01-24 21:34:12 -05:00
Thomas Runyon
a844df60f8
Fixed spacing in readme
2019-01-24 19:54:28 -05:00
Kubernetes Prow Robot
2cbb16bc8d
Merge pull request #73243 from andrewsykim/update-utils-vendor
...
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Kubernetes Prow Robot
d306d68a36
Merge pull request #72978 from liggitt/addon-changelog
...
Update addon-manager changelog/image
2019-01-24 16:30:00 -08:00
Bobby (Babak) Salamat
37be9f590d
Disable TaintNodesByCondition in node e2e tests, because node lifecycle controller does not run in the tests
2019-01-24 15:41:44 -08:00
Kubernetes Prow Robot
e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
...
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Andrew Kim
0bc5508aca
replace client-go/util/integer with k8s.io/utils/integer
2019-01-24 15:34:21 -05:00
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
Thomas Runyon
5d766bdb24
Removed resetting KUBE_ROOT
2019-01-23 07:01:55 -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
Thomas Runyon
f47e404125
removed debugging code
2019-01-15 16:21:59 -05:00
Thomas Runyon
163844cb13
Added ability to execute subsets of cli tests
2019-01-15 16:20:50 -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
Justin SB
19a5528a65
Remove executable permission from testdata
2019-01-03 12:21:31 -05: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
Vallery Lancey
3d81b0b2c8
Moved GCE-specific ingress test yaml to a ./gce directory. ( #58640 )
2018-12-16 12:12:29 -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
soggiest
c7c119752c
Removed erroneous spaces in PodPreset E2E tests
2018-12-04 10:55:46 -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
Patrick Ohly
1103477335
e2e/framework: absolute test file paths
...
Tests might want to use there own options for specifying a file path,
while still using the abstract file access API. For example,
framework.CreateFromManifests might be used to create a mixture of
files under the repo root and from elsewhere. To support this,
absolute paths can now be given to the testfiles package and they will
be read directly.
2018-12-03 18:57:11 +01:00
Kubernetes Prow Robot
4855b78c33
Merge pull request #71550 from pontiyaraja/privileged_disable
...
Removed privileged option for the test case [sig-storage] should give a volume the correct mode test case
2018-12-01 06:34:53 -08:00
Kubernetes Prow Robot
2c322a2ff5
Merge pull request #70227 from bsalamat/reserve
...
Add plugin interfaces for reserve and prebind extension points of the scheduling framework
2018-12-01 05:25:12 -08:00
Bobby (Babak) Salamat
679d88c1a0
Add 'reserve' and 'prebind' plugin tests
2018-11-30 16:09:43 -08:00
Bobby (Babak) Salamat
e60f510e38
Autogenerated files
2018-11-30 16:03:47 -08:00
Cheng Xing
87e4a460fb
Volume exec file test: added NodeSelector to pod
2018-11-30 15:31:34 -08:00
Brad Hoekstra
ae49bf6458
Add e2e test for service.kubernetes.io/service-proxy-name
2018-11-30 16:29:52 -05:00
k8s-ci-robot
51453a3131
Merge pull request #71576 from MrHohn/e2e-ingress-resp-new
...
[e2e ingress] actually assign value to resp
2018-11-30 12:09:28 -08:00
k8s-ci-robot
06cc355b76
Merge pull request #71574 from msau42/remove-events-e2e
...
Check for subpath error in container status instead of pod events
2018-11-30 12:09:18 -08:00
k8s-ci-robot
3156df3e80
Merge pull request #71537 from davidz627/fix/updateGCE
...
Create cloud-sa on GCE PD Driver creation
2018-11-30 08:20:29 -08:00
k8s-ci-robot
dda9637f94
Merge pull request #71281 from Huang-Wei/preemption-e2e-test
...
Preemption e2e test
2018-11-30 08:19:59 -08:00
k8s-ci-robot
0955c930be
Merge pull request #70756 from msau42/add-io-exec-test
...
Add e2e test for file exec
2018-11-30 08:19:48 -08:00
Maciej Borsz
1d9b1a69b1
In NodeKiller.Run, wait before first attempt to kill.
2018-11-30 11:01:55 +01:00
k8s-ci-robot
16c0f3ce4a
Merge pull request #71493 from smarterclayton/limit_max
...
e2e: Allow max-node-to-gather to be changed when running against larger clusters
2018-11-30 01:20:17 -08:00
k8s-ci-robot
9ebf53fffd
Merge pull request #71480 from msau42/remove-legacy-flex-e2e
...
Remove legacy gci flex directory from e2e tests
2018-11-30 01:20:08 -08:00
k8s-ci-robot
8b6d20ab60
Merge pull request #71339 from cofyc/fix71301
...
Add prebound pvs test cases in integration stress tests
2018-11-30 00:04:08 -08:00
k8s-ci-robot
79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
...
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot
550f6200c5
Merge pull request #67036 from Huang-Wei/update-ds-pod-tolerations
...
update logic of adding default DS pod tolerations
2018-11-29 19:04:17 -08:00
Michelle Au
7571b7e100
Check for subpath error in container status instead of pod events
2018-11-29 15:57:02 -08:00
k8s-ci-robot
bf7efc6272
Merge pull request #71256 from bclau/fixes-hardcoded-image-names
...
tests: Fixes wrong Pod Container Image usage in test/e2e/apps
2018-11-29 15:27:04 -08:00
k8s-ci-robot
05fe21fa52
Merge pull request #71210 from pohly/podlogs-activated-pods
...
e2e/framework: capture logs only from pods that actually started
2018-11-29 15:26:31 -08:00
Zihong Zheng
4069dc7c05
[e2e ingress] actually assign value to resp
2018-11-29 13:57:54 -08:00
k8s-ci-robot
409a5ecae2
Merge pull request #71036 from bclau/test-windows-permissions
...
tests: Checks for Windows permissions as well
2018-11-29 11:16:49 -08:00
k8s-ci-robot
7db6ad1f0e
Merge pull request #70781 from emwalker/68026-golint-fixes-4
...
Remove test/images/* from hack/.golint_failures
2018-11-29 11:16:28 -08:00
Michelle Au
03065a1bde
Refactor driverinfo feature support into capabilities map
2018-11-29 11:10:06 -08:00
Michelle Au
8bb501bc70
Add e2e test for file exec
2018-11-29 11:08:15 -08:00
David Zhu
67a40cd3cc
Do GCE Secret setup in driver creation instead of skip test
2018-11-29 10:51:01 -08:00
Wei Huang
f9f588f052
address comments
2018-11-29 10:29:39 -08:00
k8s-ci-robot
ba5f1cbfba
Merge pull request #71320 from mborsz/nodekiller
...
Introduce NodeKiller -- a utility to simulate node failures in e2e tests
2018-11-29 05:18:52 -08:00
Maciej Borsz
9e493e169d
Implement NodeKiller -- a util to simulate node failures.
2018-11-29 12:56:50 +01:00
k8s-ci-robot
9f75e03481
Merge pull request #70714 from freehan/serve-hostname-close
...
add ability to close connection for serve-host
2018-11-29 02:01:23 -08:00
Wei Huang
ad6e3617d3
update logic of adding default DS pod tolerations
...
- update DS pod default tolerations: add PIDPressure, remove OutOfDisk
- remove useless tolerations testcases
2018-11-29 01:18:32 -08:00
k8s-ci-robot
e5326f22ea
Merge pull request #70471 from xichengliudui/fix181031
...
Fix some typos
2018-11-29 00:48:16 -08:00
Zihong Zheng
aaafb216d7
[e2e] Bump firewall test timeout to something more reasonable
2018-11-28 18:20:38 -08:00
Michelle Au
b02cada150
Revert "CSI: enhance driver tests to update the drivers."
2018-11-28 17:10:13 -08:00
soggiest
d80bbb9d57
PodPreset: Added tests to verify initcontainers modified as expected
2018-11-28 15:09:37 -08:00
k8s-ci-robot
3f47b4febd
Merge pull request #70578 from jsafrane/csi-e2e-driver-update
...
CSI: enhance driver tests to update the drivers.
2018-11-28 05:20:45 -08:00
pontiyaraja
6bdbb460fc
Removed privileged option for [sig-storage] host path
2018-11-28 12:33:44 +05:30
Clayton Coleman
653ed22fc9
e2e: Allow max-node-to-gather to be changed when running against larger clusters
...
While debugging issues I found myself having to change the constant in the code
for a cluster > 20 nodes, and then on a very small cluster I found myself passing
0 to avoid the mostly useless output (it's useful in specific scenarios but generates
a *lot* of output that doesn't help debugging the rest of the time).
2018-11-27 23:26:54 -05:00
Masaki Kimura
bae2e8a5e3
Fix timeout for testPodFailSubpathError longer to avoid flake
2018-11-28 00:04:52 +00:00
Michelle Au
6032a1e2df
Remove legacy gci flex directory from e2e tests
2018-11-27 15:10:37 -08:00
Jan Safranek
8fb3e9fe2a
Make HostPath CSI driver persistent across restart.
...
The driver dynamically provisions its volumes in /tmp. To preserve the data
across driver restarts, the directory must be mapped to more persistent
place, /tmp on the host seems to be the safest choice.
2018-11-27 13:53:48 +01:00
k8s-ci-robot
fad23990ce
Merge pull request #71429 from gnufied/fix-detach-while-mount-flake
...
Fix flake with e2e test that checks detach while mount in progress
2018-11-26 16:57:21 -08:00
k8s-ci-robot
ce68cfa453
Merge pull request #71428 from mkimuram/issue/71383
...
Fix subpath test flake that is caused in testPodFailSubpathError
2018-11-26 15:43:33 -08:00
k8s-ci-robot
855f3fae5e
Merge pull request #71235 from msau42/fix-hostpath-io
...
Fix io test to use unique file names and cleanup all files
2018-11-26 13:34:10 -08:00
Hemant Kumar
df88257ad8
Fix flake with e2e test that checks detach while mount in progress
...
A volume can show up as in-use even before it gets attached
to the node.
2018-11-26 15:28:05 -05:00
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
toyoda
52959b4bcb
e2e/auth: fix NodeAuthenticator tests not working
2018-11-19 15:40:17 +09: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
Nathan Gieseker
1a7e07b618
Rebase, fixes format error, removes a host name from confomance test
2018-11-13 14:15:05 -08:00
Nathan Gieseker
ee73270915
Removes PQDNs from conformance tests and places them in their own tests
2018-11-13 13:59:18 -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
Mikalai Radchuk
b73b5bc99c
Fixes error message in e2e tests
2018-11-11 13:24:37 +00: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
qingsenLi
3e83f0f08a
fix typo and instead of amd
2018-10-30 01:27:50 +08: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
Jordan Liggitt
57df11bc0f
Switch kubectl rollout to directly rolling back deployments
2018-10-26 23:48:44 -04:00
k8s-ci-robot
7b5705c619
Merge pull request #70203 from ravisantoshgudimetla/fix-e2e-resource-limits
...
Fix e2e resource limits
2018-10-26 19:13:41 -07:00
k8s-ci-robot
95613765e4
Merge pull request #70114 from mikedanese/svcacctscale
...
scale test service account token projection in kubemark
2018-10-26 17:58:01 -07:00
Samuel Davidson
294e02ed4b
Revert "limit forbidden error to details of what was forbidden"
...
This reverts commit ecbd013795
.
2018-10-26 15:58:09 -07:00
Patrick Ohly
248df4ac58
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-27 00:39:44 +02:00
Patrick Ohly
a56c518292
e2e CSI: bump all containers to v0.4.1
2018-10-27 00:39:44 +02:00
k8s-ci-robot
1355e6b277
Merge pull request #70283 from justinsb/only_reconcile_health_check_on_gce
...
e2e: Only do LB health check reconciliation test on GCE
2018-10-26 14:44:01 -07:00
Patrick Ohly
38efff564c
e2e: deploy from manifest files + enhance CSI volume output
...
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests
The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).
In addition, it is ensuring that each test gets its own instance of the
entities.
The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.
Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []
The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
k8s-ci-robot
c56dcddbe4
Merge pull request #70253 from dekkagaijin/master
...
always allow unimportant legacy root paths
2018-10-26 12:22:29 -07:00
ravisantoshgudimetla
c0a8d4702a
Fix e2e test and build file
2018-10-26 13:48:51 -04:00
ravisantoshgudimetla
fad6b326e3
Fix default algorithm provider priority insertion
2018-10-26 13:48:44 -04:00
Mike Danese
7613482623
scale test service account token projection in kubemark
2018-10-26 09:57:56 -07:00
Justin SB
4f3aafd6f5
e2e: Only do LB health check reconciliation test on GCE
...
The test requires restarting kube-controller-manager, we don't support
that on GKE.
Fix #70280
2018-10-26 07:19:43 -04:00
Justin SB
ff8a0e08cb
Disambiguate "unsupported provider" messages
...
When we get an unsupported provider message, it often isn't clear what
method actually failed - add more information to the error message.
Issue #70280
2018-10-26 07:13:20 -04:00
Patrick Ohly
dcbcef13b4
e2e: simplify gcePD .yaml files
...
Setting command line arguments via env variables that are not needed
by the binaries is just unnecessarily complex. The driver renaming
code in the E2E manifest PR would have to be made more complex to deal
with such a deployment. It is easier for that code and humans who look
at the .yaml file to remove the indirection.
2018-10-26 10:32:46 +02:00
Patrick Ohly
1effe0ca0f
e2e framework: UniqueName
...
This is needed for tests which have to create entities that aren't
namespaced, like ServiceAccounts.
2018-10-26 10:32:46 +02:00
k8s-ci-robot
022c05c141
Merge pull request #70254 from msau42/add-out-of-tree-pd-tests
...
Add new driver config for testing PD CSI driver out of tree
2018-10-25 23:24:22 -07:00
Michelle Au
9acb8bca6d
Add new driver config for testing PD CSI driver out of tree
2018-10-25 16:42:51 -07:00
k8s-ci-robot
35290b2207
Merge pull request #70243 from runcom/test-output-useful
...
test/e2e/storage: fix output in case of failure and use another NFS mount option
2018-10-25 15:25:46 -07:00
k8s-ci-robot
1975747b10
Merge pull request #70210 from cblecker/remove-golang-fork
...
Remove golang fork for typecheck
2018-10-25 14:03:17 -07:00
k8s-ci-robot
ebace7718a
Merge pull request #70099 from grayluck/five-sec-hc
...
Change GCE LB health check interval from 2s to 8s
2018-10-25 14:03:07 -07:00
Jake Sanders
2a585d3fc7
bump metadata-concealment version to 1.1.1
2018-10-25 13:05:37 -07:00
Jake Sanders
884bfd11d9
always allow unimportant legacy root paths
2018-10-25 12:32:19 -07:00
Aniket Kulkarni
82f83a8f82
Updating build files after review comments
2018-10-25 14:49:01 -04:00
k8s-ci-robot
9ed206e3b9
Merge pull request #70206 from runcom/fix-cronjob-e2e
...
test/e2e/apps: fix race in cronjob test
2018-10-25 11:46:50 -07:00
Antonio Murdaca
fc80120a0f
test/e2e/storage: use relatime for checking NFS options
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:33 +02:00
Antonio Murdaca
ebdc25a80e
test/e2e/storage: provide useful output if test fail
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:28 +02:00
Aniket Kulkarni
45aec048db
Incorporating review comments
2018-10-25 14:29:01 -04:00
Christoph Blecker
e415c1ec1d
Fix typecheck test error message
...
extra characters due to whitespace differences
2018-10-25 11:27:58 -07:00
Christoph Blecker
8574c38f81
Update srcimporter.go to golang/go@5f0a9ba
...
Also move to third_party/ as it's copied code.
2018-10-25 11:27:53 -07:00
k8s-ci-robot
2dc511a4ec
Merge pull request #70233 from jbartosik/e2e-deflake
...
Change back HPA e2e tests to request 500 mCPU
2018-10-25 08:24:56 -07:00
k8s-ci-robot
63e9ecabb6
Merge pull request #70209 from ixdy/update-images-after-#69995
...
Update images after #69995
2018-10-25 05:55:29 -07:00
Joachim Bartosik
1b90dc96d7
Change back HPA e2e tests to request 500 mCPU
...
I increased request from 500mCPU to 1CPU in
https://github.com/kubernetes/kubernetes/pull/70125 but this interacts
poorly with other e2e tests (higher requests mean pods fil to schedule).
So revert that change.
2018-10-25 11:16:31 +02:00
k8s-ci-robot
689df2010d
Merge pull request #68676 from mikkeloscar/fix-redis-statefulset-test
...
Fix Redis StatefulSet e2e test
2018-10-24 22:53:05 -07:00
k8s-ci-robot
0df5462db6
Merge pull request #69700 from verult/repd-e2e-regionalcluster
...
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 19:26:51 -07:00
k8s-ci-robot
375ff10803
Merge pull request #70195 from dekkagaijin/master
...
Increment version for metadata-concealment test image
2018-10-24 18:10:31 -07:00
k8s-ci-robot
432e8d43e0
Merge pull request #70141 from pohly/provider-warning
...
e2e: allow unknown providers with a warning
2018-10-24 18:10:22 -07:00
yankaiz
40ab479f06
Change GCE LB health check interval from 2s to 8s, unhealthyThreashold to 3
...
Force ELB to ensureHealthCheck when target pool exists.
Add e2e test to ensure that HC interval will be reconciled when
kube-controller-manager restarts.
Health checks with bigger thresholds and larger intervals will not be reconciled.
Add unittest for ILB and ELB to ensure HC reconciles and is configurable.
2018-10-24 17:55:26 -07:00
Christoph Blecker
328c3ce90a
Swap typecheck to use go/types stdlib
2018-10-24 17:39:52 -07:00
k8s-ci-robot
c31d7f5b26
Merge pull request #70199 from mkimuram/issue/70191
...
Move the provisioning test for retain policy back to volume_provisioning.go
2018-10-24 16:58:31 -07:00
Jeff Grafton
162c00bdbc
Update e2e test image manifests
2018-10-24 16:23:12 -07:00
Jeff Grafton
7b93b50e40
Update to use kube-addon-manager:v8.9
2018-10-24 16:19:51 -07:00
Antonio Murdaca
48f12259b1
test/e2e/apps: fix race in cronjob test
...
With CRI-O we've been hitting a lot of flakes with the following test:
[sig-apps] CronJob should remove from active list jobs that have been deleted
The events shown in the test failures in both kube and openshift were the following:
STEP: Found 13 events.
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040: {job-controller } SuccessfulCreate: Created pod: forbid-1540412040-z7n7t
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040-z7n7t: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412040-z7n7t to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:12 +0000 UTC - event for forbid: {cronjob-controller } MissingJob: Active job went missing: forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412100
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100: {job-controller } SuccessfulCreate: Created pod: forbid-1540412100-rq89l
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100-rq89l: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412100-rq89l to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
The code in test is racy because the Forbid policy can still let the controller to create
a new pod for the cronjob. CRI-O is fast at re-creating the pod and by the time
the test code reaches the check, it fails. The events are as follow:
[It] should remove from active list jobs that have been deleted
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/apps/cronjob.go:192
STEP: Creating a ForbidConcurrent cronjob
STEP: Ensuring a job is scheduled
STEP: Ensuring exactly one is scheduled
STEP: Deleting the job
STEP: deleting Job.batch forbid-1540412040 in namespace e2e-tests-cronjob-rjr2m, will wait for the garbage collector to delete the pods
Oct 24 20:14:02.533: INFO: Deleting Job.batch forbid-1540412040 took: 2.699182ms
Oct 24 20:14:02.634: INFO: Terminating Job.batch forbid-1540412040 pods took: 100.223228ms
STEP: Ensuring job was deleted
STEP: Ensuring there are no active jobs in the cronjob
[AfterEach] [sig-apps] CronJob
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:148
It looks clear that by the time we're ensuring that there are no more active jobs, there
could be _already_ a new job spinned, making the test flakes.
This PR fixes all the above by making sure that the _deleted_ job is not in the Active
list anymore, besides other pod already running but with different UUID which is
going to be fine anyway for the purpose of the test.
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 00:14:19 +02:00
k8s-ci-robot
2126045bcc
Merge pull request #70197 from dims/switch-from-mirror-to-main-download-site-for-zookeeper
...
Switch from mirror to main download site for zookeeper
2018-10-24 14:47:25 -07:00
Kim Min
79599ac419
Prune internal clientset/informer from kubeapiserver admission initializer ( #70167 )
...
* externalize pv resize admission controller
* externalize podtolerationrestriction admission controller
* externalize podnodeselector admission controller
* remove internal clientset/informer from kubeapiserver admission initializer
* minor change: fixes scheduler integration test compiliation
2018-10-24 14:47:16 -07:00
k8s-ci-robot
10121e6448
Merge pull request #69898 from Huang-Wei/scheudler-perf-more-cases
...
add more scheduler benchmark testcases
2018-10-24 14:47:06 -07:00
k8s-ci-robot
86e2d2bf03
Merge pull request #69587 from jonfriesen/fix_golint_tests
...
Fixes golint for test/list
2018-10-24 14:46:57 -07:00
Cheng Xing
8ee882a98a
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 13:22:39 -07:00
Patrick Ohly
bf08f5c63c
e2e: allow unknown providers with a warning
...
The E2E refactoring tightened the sanity checking of the --provider
parameter such that it only allowed known providers. That seemed to
make sense because it catches typos, but it turned out that various
callers depended on the "accept arbitrary provider value" behavior,
therefore it gets restored.
2018-10-24 21:57:02 +02:00
Aniket Kulkarni
bfc0d45303
e2e tests for flex volume expand
...
mysterious build error
2018-10-24 15:31:24 -04:00
Aniket Kulkarni
75350d11e9
adding support for expanding in use persistent volumes for Flex
2018-10-24 15:31:16 -04:00
Masaki Kimura
6afcaccf7d
Move the provisioning test for retain policy back to volume_provisioning.go
...
Provisioning test for retain policy requires each driver's backend volume
deletion logic. Without it, volume leakage happens. Move this test back
to volume_provisioning.go and test it only for gce, until general
backend volume deletion code for each driver becomes available.
Fixes : #70191
2018-10-24 19:21:28 +00:00
Davanum Srinivas
3e56e3c1c6
Switch from mirror to main download site for zookeeper
...
Change-Id: I14cd6aeef2f10ac3d270d03e624216eed78368ec
2018-10-24 14:46:45 -04:00
Jake Sanders
5d943acc09
Increment version for metadata-concealment test image
2018-10-24 11:36:25 -07:00
Wei Huang
5259d09c38
add more scheduler benchmark testcases
...
- add benchmark test for PodAffinity
- add benchmark test for NodeAffinity
- add 1000-nodes test for PodAntiAffinity/PodAffinity/NodeAffinity
2018-10-24 11:06:32 -07:00
zuoxiu.jm
38ddb4413a
update token authn constructor
2018-10-24 16:56:38 +08:00
Audrey Lim
3eaab702fb
Annotate errors in apimachinery e2e tests
2018-10-23 20:34:20 -07:00
k8s-ci-robot
daf17e2aee
Merge pull request #69571 from bclau/tests-linux-commands-fix
...
tests: Makes tests' commands platform agnostic
2018-10-23 09:33:30 -07:00
k8s-ci-robot
8be25aaade
Merge pull request #70125 from jbartosik/e2e-deflake
...
Deflake e2e tests of HPA
2018-10-23 08:21:30 -07:00
k8s-ci-robot
83d3f7033b
Merge pull request #69441 from mkimuram/provision
...
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-23 07:08:35 -07:00
Joachim Bartosik
e2394bd3b8
Deflake e2e tests of HPA
...
Resource consumer might use slightly more CPU than requested. That
resulted in HPA sometimes increasing size of deployments during e2e
tests. Deflake tests by:
- Scaling up CPU requests in those tests. Resource consumer might go a fixed
number of milli CPU seconds above target. Having higher requests makes
the test less sensitive.
- On scale down consume CPU in the middle between what would generate
recommendation of expexted size and 1 pod fewer (instead of righ on
edge beween expected and expected +1).
Some variables were int32 but always cast to int before use. Make them
int.
2018-10-23 14:50:41 +02:00
k8s-ci-robot
fecaa546c9
Merge pull request #69593 from dekkagaijin/legacy-metadata-test
...
account for disabled legacy metadata endpoints
2018-10-23 03:20:44 -07:00
k8s-ci-robot
b1fbdfe76b
Merge pull request #69993 from Pradip-Khakurel/issue-#34059-annotate-auth-e2e-errors
...
make error messages more helpful for some e2e auth tests
2018-10-23 02:08:22 -07:00
k8s-ci-robot
4d182cec03
Merge pull request #70105 from mikedanese/trev1
...
promote --service-account-api-audiences to top level kube-apiserver config
2018-10-22 23:59:34 -07:00
k8s-ci-robot
baa8d800ad
Merge pull request #69582 from mikedanese/trev7
...
tokenreview: authenticator interface changes
2018-10-22 23:59:04 -07:00
k8s-ci-robot
2472d67357
Merge pull request #68218 from jcsirot/fix-SkipIfMultizone-message
...
Fix the skip message since it was the exact opposite of the tested co…
2018-10-22 22:46:32 -07:00
k8s-ci-robot
77a1199b6c
Merge pull request #70019 from enj/enj/t/shared_etcd_stubs
...
Refactor dry run test to reuse ETCD storage data
2018-10-22 19:44:29 -07:00
Mike Danese
371b1e7fed
promote --service-account-api-audiences to top level kube-apiserver config
...
The service account authenticator isn't the only authenticator that
should respect API audience. The authentication config structure should
reflect that.
2018-10-22 18:21:37 -07:00
Mike Danese
e5227216c0
rebase authenticators onto new interface.
2018-10-22 10:16:59 -07:00
Masaki Kimura
4fcb36e205
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-22 16:04:43 +00:00
Claudiu Belu
fb8d2f7ef5
tests: Fixes DNS tests false positives
...
If dig fails to reach the DNS, it will output errors to stdout, which
can cause the test -n to falsely pass:
ubuntu@ubuntu:~$ dig +notcp +noall +answer +search kubernetes.default A
;; connection timed out; no servers could be reached
command terminated with exit code 9
ubuntu@ubuntu:~$ test -n "$(dig +notcp +noall +answer +search kubernetes.default A)" && echo OK
OK
This patch solves this issue by making sure the dig command actually succeeds
before checking its output.
2018-10-21 14:29:15 -07:00
k8s-ci-robot
570f9195d0
Merge pull request #69829 from jpbetz/watch-e2e-test1
...
Add api-machinery 'watch-consistency' e2e test
2018-10-19 22:17:54 -07:00
Claudiu Belu
d76108c595
Removes unnecessary SELinuxOptions from test case
...
The test "should run with the expected status" passes with and without
the set SELinuxOptions, but removing it will ensure that the test will
be able to run and pass on Windows nodes as well.
2018-10-19 17:31:49 -07:00
Benjamin Elder
3787a4b5be
register skeleton provider
2018-10-19 17:05:06 -07:00
k8s-ci-robot
82cba09870
Merge pull request #69995 from ixdy/purge-libsystemd-from-debian-base
...
debian-base: purge libsystemd0 to eliminate CVE false-positives
2018-10-19 16:04:23 -07:00
Monis Khan
c16edb2738
Refactor dry run test to reuse ETCD storage data
...
This change updates the ETCD storage test so that its data is
exported. Thus it can be used by other tests. The dry run test was
updated to consume this data instead of having a duplicate copy.
The code to start a master that can be used for "one of every
resource" style tests was also factored out. It is reused in the
dry run test as well.
This prevents these tests from drifting in the future and reduces
the long term maintenance burden.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-10-19 18:35:56 -04:00
Joe Betz
f87d2c61f3
Add api-machinery 'watch-consistency' e2e test
2018-10-19 14:05:43 -07:00
k8s-ci-robot
8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
...
e2e refactor
2018-10-19 12:32:01 -07:00
Jeff Grafton
7a8696c331
Update to debian-base 0.4.0
...
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
k8s-ci-robot
c0d9a0728c
Merge pull request #69897 from code-sleuth/develop
...
Remove error output from stdout to stderr
2018-10-19 04:57:33 -07:00
k8s-ci-robot
cfd6343477
Merge pull request #66515 from justinsb/verify_kubectl_dump
...
Add test for kubectl cluster-info dump
2018-10-18 18:38:52 -07:00
k8s-ci-robot
c30f5269a3
Merge pull request #69810 from chrisohaver/checkmem
...
Add DNS container memory check to scalability tests
2018-10-18 14:44:09 -07:00
Ibrahim Mbaziira
7480650e05
Remove error output from stdout to stderr
2018-10-19 00:28:36 +03:00
Pradip-Khakurel
8c4fd312c9
make error messages more helpful for some e2e auth tests
2018-10-18 22:03:02 +02:00
Chris O'Haver
402266afde
add dns pod memory constraint
2018-10-18 10:35:30 -04:00
k8s-ci-robot
0ab29b4852
Merge pull request #69944 from jingxu97/defertest
...
Make sure kubelet is restarted after it is stopped in the test
2018-10-18 00:10:54 -07:00
Weibin Lin
e81776b140
update bazel
2018-10-18 10:18:15 +08:00
Weibin Lin
d02e3bd780
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-18 10:18:13 +08:00
k8s-ci-robot
0652e098d0
Merge pull request #67547 from pbarker/audit-api
...
dynamic audit configuration api
2018-10-17 16:19:39 -07:00
Jing Xu
9de354034b
Make sure kubelet is restarted in the storage test
...
In some storage tests, kubelet is stopped first and the test check node
NotReady state. However, if it fails to have this state, kubelet could
not be restarted because the defer function is placed after the stop
kubelet command. This PR fixes this issue.
2018-10-17 14:19:04 -07:00
k8s-ci-robot
897b3a9fa7
Merge pull request #69437 from ravisantoshgudimetla/promote-resource-limits-priority-function
...
Promote resource limits priority function to beta
2018-10-17 11:57:02 -07:00
Jeff Grafton
a88244598a
Use sudo only when not already root
2018-10-16 23:42:22 -07:00
Jeff Grafton
9e4fa1493d
Use our forked qemu-static-register scripts instead of a privileged container
2018-10-16 23:41:32 -07:00
k8s-ci-robot
bba6e2583e
Merge pull request #69739 from mortent/UnflakeCmdRsTest
...
Remove flaky test by avoiding reuse of name for replicaset
2018-10-16 19:26:05 -07:00
k8s-ci-robot
1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
...
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
k8s-ci-robot
851444f382
Merge pull request #68300 from yliaog/e2e-api
...
Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server
2018-10-16 16:23:17 -07:00
k8s-ci-robot
08be38186d
Merge pull request #69755 from mrunalp/use_fsync
...
Use fsync instead of sync for test
2018-10-16 13:01:52 -07:00
k8s-ci-robot
dbd3be9213
Merge pull request #67695 from ipuustin/start-kubemark
...
start-kubemark.sh: clean up the shell script.
2018-10-16 10:03:04 -07:00
ravisantoshgudimetla
ba71ae7227
E2E and build file generated
2018-10-16 12:58:38 -04:00
Patrick Barker
b8e1250487
adds dynamic audit api generated
2018-10-16 13:07:27 +00:00
Patrick Barker
381d0a5d14
adds dynamic audit api
2018-10-16 06:46:34 -06:00
Wei Huang
8726ed29ef
enable and improve e2e of NoExecuteTaintManager
...
- e2e test file cannot end with "_test.go". rename "taints_test.go" to "taints.go"
- test multiple pods case
2018-10-15 16:02:05 -07:00
Yu Liao
ce1e62fb1b
Upgraded the test to 1.10 Sample API server.
2018-10-15 15:35:24 -07:00
k8s-ci-robot
c7886f8ba4
Merge pull request #69828 from ironcladlou/e2e-psp-reentrancy-fix
...
Make CreatePrivilegedPSPBinding reentrant
2018-10-15 15:04:53 -07:00
Mrunal Patel
6327c7403b
Use fsync instead of sync for test
...
sync sometimes hangs with misbehaving NFS during the tests
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-15 14:27:26 -07:00
k8s-ci-robot
d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
...
Simplify rand seeding
2018-10-15 13:53:01 -07:00
Cheng Pan
42ef7ae8d5
fix golint issues for pkg/volume/empty_dir
2018-10-15 20:00:36 +00:00
Dan Mace
0bef5e4325
Make CreatePrivilegedPSPBinding reentrant
...
Make CreatePrivilegedPSPBinding reentrant so tests using it (e.g. DNS) can be
executed more than once against a cluster. Without this change, such tests will
fail because the PSP already exists, short circuiting test setup.
2018-10-15 15:31:25 -04:00
k8s-ci-robot
d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
...
fix some typos
2018-10-13 21:47:08 -07:00
k8s-ci-robot
e9066b848d
Merge pull request #64993 from liggitt/aggregator-authz
...
Add auth-delegator permissions for e2e sample server test
2018-10-13 14:26:58 -07:00
k8s-ci-robot
2129bc9f85
Merge pull request #69742 from apelisse/fix-diff-error
...
Rename KUBERNETES_EXTERNAL_DIFF to KUBECTL_EXTERNAL_DIFF
2018-10-13 09:54:52 -07:00
k8s-ci-robot
1ba56437d9
Merge pull request #69673 from dims/add-labels-when-conformance-directory-changes
...
Add labels when conformance/ directory changes
2018-10-13 07:37:32 -07:00
k8s-ci-robot
d918327926
Merge pull request #69239 from fedebongio/aggregator-update
...
upgrading sample-apiserver to 1.10
2018-10-12 20:41:59 -07:00
k8s-ci-robot
d82397b5c9
Merge pull request #69192 from tanshanshan/scheduler927
...
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-12 20:41:50 -07:00
k8s-ci-robot
79869afda5
Merge pull request #68910 from msau42/fix-names
...
Distinguish projected secret, configmap and downward api tests
2018-10-12 20:41:40 -07:00
k8s-ci-robot
9c5cf3ccf7
Merge pull request #69549 from tallclair/podevent-test
...
Fix WaitTimeoutForPodEvent logic
2018-10-12 19:13:52 -07:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +08:00
k8s-ci-robot
53e85280f4
Merge pull request #69714 from ericchiang/owners
...
Remove ericchiang from OWNERS files
2018-10-12 16:01:52 -07:00
Federico Bongiovanni
f777787481
Update BASEIMAGE
...
Adding suggested lost in translation missing ARCH to the BASEIMAGE
2018-10-12 15:18:40 -07:00
k8s-ci-robot
a8c76d4d57
Merge pull request #69674 from mooncak/fix_e2e_issue
...
Fix typos in the test comments
2018-10-12 14:48:46 -07:00
k8s-ci-robot
4d4c9065de
Merge pull request #69631 from Huang-Wei/use-gcr-io-pause
...
use k8s.gcr.io/pause instead of kubernetes/pause
2018-10-12 14:48:36 -07:00
k8s-ci-robot
3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
...
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Antoine Pelisse
572a028148
kubectl diff: Print error when something goes wrong
2018-10-12 14:12:32 -07:00
Jordan Liggitt
f8cfb7437c
Add auth-delegator permissions for e2e sample server test
2018-10-12 15:01:17 -04:00
Morten Torkildsen
dcb3d8b14f
Remove flaky test by avoiding reuse of name for replicaset
2018-10-12 12:01:07 -07:00
Tim Allclair
5214be3f16
Fix WaitTimeoutForPodEvent logic
2018-10-12 11:59:45 -07:00
SataQiu
e1d5b97f3f
fix some typos
2018-10-12 22:29:18 +08:00
k8s-ci-robot
23a84774b1
Merge pull request #69241 from wangzhen127/heartbeat
...
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-12 03:32:15 -07:00
k8s-ci-robot
e1a1aa2112
Merge pull request #69695 from justinsb/service_utils_typos
...
e2e: fix some small typos
2018-10-11 20:46:30 -07:00
k8s-ci-robot
b516a99a01
Merge pull request #69568 from bclau/fixes-webhook-test
...
Fixes webhook test failures
2018-10-11 19:35:42 -07:00
k8s-ci-robot
b3033a7278
Merge pull request #67934 from tanshanshan/typo828
...
fix spelling mistakes
2018-10-11 18:26:24 -07:00
Eric Chiang
766f5875bf
Remove ericchiang from OWNERS files
...
Kept myself in the OpenID Connect ones for now.
2018-10-11 18:11:15 -07:00
Zhen Wang
e35d808aa2
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-11 16:07:15 -07:00
k8s-ci-robot
cdf264cab5
Merge pull request #69651 from justinsb/faster_dns_e2e
...
e2e: speed up DNS tests
2018-10-11 15:22:25 -07:00
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Justin Santa Barbara
ee1b0c81a7
e2e: fix some small typos
2018-10-11 13:06:42 -07:00
k8s-ci-robot
632df63061
Merge pull request #68822 from pohly/csi-pod-creation
...
CSI E2E: retry csi-pod creation
2018-10-11 12:32:28 -07:00
Wei Huang
328f63179e
use k8s.gcr.io/pause instead of kubernetes/pause
2018-10-11 11:39:57 -07:00
mooncake
91419e6782
Fix typos in the test comments
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-11 19:25:55 +08:00
Davanum Srinivas
744b8c1694
Add labels when conformance/ directory changes
...
So we don't have to do this manually for every PR
Change-Id: I4dc656e84ff6c48bc582b2aee6615bef11553257
2018-10-11 07:18:07 -04:00
Mikhail Mazurskiy
55bc668f8d
Seed math/rand in TestMain before tests are executed
2018-10-11 22:07:45 +11:00
Mikhail Mazurskiy
f5e9c0473c
Remove unnecessary random re-seeding
...
Package k8s.io/apimachinery/pkg/util/rand seeds the random based on time
during the package initialization, so no need to re-seed it.
2018-10-11 22:02:01 +11:00
Mikhail Mazurskiy
3a243090a5
Simplify random seed initialization
...
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11:00
Patrick Ohly
97101a6a86
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-11 11:36:25 +02:00
Patrick Ohly
8b17db7e0c
e2e: modular framework
...
Not all users of the E2E framework want to run cloud-provider specific
tests. By splitting out the code it becomes possible to decide in
a E2E test suite which providers are supported.
This is achieved in two ways:
- the framework calls certain functions through a provider
interface instead of calling specific cloud provider functions
directly
- tests that are cloud-provider specific directly import the
new provider packages
The ingress test utilities are only needed by a few tests. Splitting
them out into a separate package makes the framework simpler for test
suites not using those tests.
Fixes : #66649
2018-10-11 11:16:11 +02:00
k8s-ci-robot
8012b9583e
Merge pull request #69650 from justinsb/remove_etcd2_test_workarounds
...
e2e: remove workarounds for etcd2 test jobs
2018-10-10 22:22:58 -07:00
k8s-ci-robot
a9fb3f5fc9
Merge pull request #69616 from k82cn/sched_perf_owner
...
Aligned sched_perf owner.
2018-10-10 20:25:04 -07:00
k8s-ci-robot
362de68bef
Merge pull request #68353 from wgliang/fixbug/handle-close-not-check-err
...
fix bug not check error before defer conn.Close()
2018-10-10 20:24:27 -07:00
Justin Santa Barbara
ed7840ad50
e2e: speed up DNS tests
...
Poll a little more often, and use PollImmediate instead of Poll.
2018-10-10 19:33:57 -07:00
Justin Santa Barbara
9023dae86b
e2e: remove workarounds for etcd2 test jobs
...
Now we've removed support for etcd2, we should make sure we're testing
chunking fully.
2018-10-10 19:31:57 -07:00
k8s-ci-robot
8042411f0c
Merge pull request #65296 from lichuqiang/povision_inter_test
...
Add volume topology-aware dynamic provisioning related integration case
2018-10-10 13:13:48 -07:00
k8s-ci-robot
9c94363ef9
Merge pull request #69105 from pohly/e2e-settings
...
E2E settings
2018-10-10 12:01:07 -07:00
Davanum Srinivas
65da81f42e
Fix up test cases
...
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Da K. Ma
f6ad347982
Fixed node namespace to none.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:17:15 +08:00
Da K. Ma
0064c2c4d4
Aligned sched_perf owner.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
lichuqiang
db775814e2
add volume topology-aware dynamic provisioning integration case
2018-10-10 09:38:04 +08:00
Michelle Au
17c0e9f7ea
Update build and conformance test list
2018-10-09 14:27:58 -07:00
Michelle Au
253e8d5b74
Update test suite names
2018-10-09 14:25:30 -07:00
Michelle Au
cb7cb9aa8e
Keep related test cases and delete the rest
2018-10-09 14:25:29 -07:00
Michelle Au
f82ff5b16d
Break up projected.go into projected_combined/configmap/secret/downwardapi
2018-10-09 14:25:29 -07:00
Kenichi Omichi
2e6a8deece
Add debugging info in pv/pvc protection e2e tests
...
When facing an issue which is due to lack of PV/PVC Protection
finalizer on the e2e tests, the error message is just like
Expected
<bool>: false
to be true
Actually we cannot understand what happened during the tests.
This adds more debugging info on the tests.
2018-10-09 21:15:45 +00:00
Jake Sanders
e5945c2da0
account for disabled legacy metadata endpoints
...
Signed-off-by: Jake Sanders <jsand@google.com>
2018-10-09 13:43:17 -07:00
k8s-ci-robot
830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
...
port-forward listen on address
2018-10-09 12:38:55 -07:00
Jon Friesen
65ada74b98
Fixes golint for test/list
...
Fixes minor golint errors in the test/list tool.
ref: #68026
2018-10-09 12:32:27 -07:00
k8s-ci-robot
637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
...
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
juanvallejo
e55a28d169
fix paths w shortcuts when copying from pods
...
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot
321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
...
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
k8s-ci-robot
1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
...
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
Guoliang Wang
f5ff020892
fix bug not checkou err before defer conn.CLose()
2018-10-09 10:35:50 +08:00
k8s-ci-robot
a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
...
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
Claudiu Belu
7cd4ebf3c3
tests: Makes tests' commands platform agnostic
...
Some commands used in tests are Linux specific and do not exist
or do not behave the same on Windows nodes. This can cause those
tests to fail on Windows nodes.
Replaces the mentioned commands with ones that behave the same on
both Linux and Windows.
2018-10-08 17:19:18 -07:00
Claudiu Belu
6db2dadc87
Fixes webhook test failures
...
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.
Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
2018-10-08 16:55:33 -07:00
Justin Santa Barbara
b56d577e4d
Add test for kubectl cluster-info dump
...
kubectl cluster-info dump is currently giving a schema error; adding a
test for it.
2018-10-08 18:52:52 -04:00
Justin Santa Barbara
58fc3c8c23
Introduce test harness into unit tests
...
The harness lets us execute code after the test has completed.
Use it to clean-up temp dirs in the flexvolume tests (initially).
2018-10-08 18:44:05 -04:00
Justin Santa Barbara
f841f3ab40
Remove superfluous MkdirAll from MakeTempDirOrDie
...
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything. The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot
981a064c85
Merge pull request #68793 from aveshagarwal/master-rhbz-1628998
...
Fix DS tests to set node selectors related annotations on test namespaces to empty.
2018-10-08 10:41:57 -07:00
Radek Pieczonka
4643c6e95e
port-forward listen on address
...
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost
2018-10-07 22:18:18 +02:00
k8s-ci-robot
c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
...
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
k8s-ci-robot
664d797245
Merge pull request #69466 from mooncak/fix_test_issues
...
Remove the duplicated words in test files
2018-10-05 22:18:31 -07:00
k8s-ci-robot
bc135bd328
Merge pull request #69198 from mkumatag/fix-tests
...
Use proper manifest images
2018-10-05 20:25:23 -07:00
k8s-ci-robot
0abb0f533a
Merge pull request #69377 from justinsb/avoid_spurious_highlighting
...
e2e: change test strings to avoid error highlighting
2018-10-05 18:47:51 -07:00
k8s-ci-robot
0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
...
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Christoph Blecker
ee3e404122
fix vet error in test/soak/serve_hostnames/serve_hostnames.go
...
test/soak/serve_hostnames/serve_hostnames.go:124: Warningf format %e has arg ns of wrong type string
2018-10-05 16:05:17 -07:00
Christoph Blecker
781d3f6055
fix vet error in test/soak/cauldron/cauldron.go
...
test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type string
2018-10-05 16:04:40 -07:00
k8s-ci-robot
13705ac81e
Merge pull request #68310 from cheftako/cpiMove
...
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Christoph Blecker
962fdbcbca
Bump golang version to 1.11.1
2018-10-05 12:58:56 -07:00
mooncake
4894f5583d
Remove the duplicated words in test files
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 22:55:16 +08:00
Patrick Ohly
4423735dc3
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-05 14:28:03 +02:00
Patrick Ohly
7305a3e395
e2e/lifecycle: decentralized settings
...
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.
For the sake of backwards compatibility the name of the command line
flags are not changed.
2018-10-05 14:24:35 +02:00
Patrick Ohly
752203d3fa
e2e/instrumentation: decentralized settings
...
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.
Using the new framework/config code also has several advantages:
- defaults can be set with less code
- no confusion around what's a duration
- the options can also be set via command line flags
While at it, a minor bug gets fixed:
- readConfig() returns only defaults when called while
registering Ginkgo tests because Viperize() gets called later,
so the scale in the logging soak test couldn't really be configured;
now the value is read when the test runs and thus can be changed
The options get moved into the "instrumentation.logging"
resp. "instrumentation.monitoring" group to make it more obvious where
they are used. This is a breaking change, but that was already
necessary to improve the duration setting from plain integer to a
proper time duration.
2018-10-05 14:24:35 +02:00
Patrick Ohly
8cde9c08f0
e2e/storage: decentralized settings
...
Tests shouldn't have to use the central context for their settings,
because conceptually tests and framework get developed independently.
This does not yet use the new framework/config utility code because
that code still needs to be reviewed.
Besides moving the flags, they also get renamed from the top-level
"--csiImage{Version|Registry}" to
"--storage.csi.image.{version|registry}". These flags were introduced
fairly recently and shouldn't be in use much, so now is a good time to
introduce a hierarchical naming for storage flags, in particular
because more flags will be added soon.
2018-10-05 14:24:35 +02:00
Patrick Ohly
cf0dcc6ab2
e2e: clarify and enhance configuration support
...
Storing settings in the framework's TestContext is not something that
out-of-tree test authors can do because for them the framework is a
read-only upstream component. Conceptually the same is true for
in-tree tests, so the recommended approach is to define configuration
settings in the code that uses them.
How to do that is a bit uncertain. Viper has several
drawbacks (maintenance status uncertain, cannot list supported
options, cannot validate the configuration file). How to handle
configuration files is currently getting discussed for kubeadm, with
similar concerns about
Viper (https://github.com/kubernetes/kubeadm/issues/1040 ).
Instead of making a choice now for E2E, the recommendation is that
test authors continue to define command line flags as before, except
that they should do it in their own code and with better flag names.
But the ability to read options also from a file is useful, so
several enhancements get added:
- all settings defined via flags can also be read from a
configuration file, without extra work for test authors
- framework/config makes it possible to populate a struct directly
and define flags with a single function call
- a path and file suffix can be given to --viper-config (as in
"--viper-config /tmp/e2e.json") instead of expecting the file in
the current directory; as before, just plain "--viper-config e2e"
still works
- if "--viper-config" is set, the file must exist; otherwise the
"e2e" config is optional (as before)
- errors from Viper are no longer silently ignored, so syntax errors
are detected early
- Viper support is optional: test suite authors who don't want
it are not forced to use it by the e2e/framework
2018-10-05 14:22:18 +02:00
Guoliang Wang
c2622dd9d8
Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize
2018-10-05 17:56:56 +08:00
k8s-ci-robot
766d860f86
Merge pull request #69021 from mgdevstack/master-kubelet-conformance
...
Promote kubelet NodeConformance tests to Conformance
2018-10-04 18:19:25 -07:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot
409871ecae
Merge pull request #69310 from liggitt/remove-etcd2
...
Remove etcd2 storage backend
2018-10-04 13:40:00 -07:00
k8s-ci-robot
166490a473
Merge pull request #69103 from pohly/testfiles
...
E2E: handling extra files
2018-10-04 13:39:49 -07:00
k8s-ci-robot
c568da3ab4
Merge pull request #69384 from oomichi/add-distros
...
Update options of master/node-os-distro
2018-10-04 10:09:45 -07:00
Jordan Liggitt
ad46728158
Switch e2e_node to etcd3
2018-10-04 11:41:16 -04:00
k8s-ci-robot
68536e4382
Merge pull request #68520 from verult/top-auth-integration
...
Auth integration tests for CSINodeInfo changes
2018-10-03 21:32:01 -07:00
k8s-ci-robot
5dd78df7da
Merge pull request #68982 from aruneli/master
...
Fixes #65869 Do not listen insecurely if secure port is specified
2018-10-03 17:32:28 -07:00
k8s-ci-robot
16256296d2
Merge pull request #69353 from davidz627/fix/provisionerName
...
Update provisioner name and don't supply zone in GCE PD CSI test
2018-10-03 15:21:59 -07:00
Cheng Xing
c65d7c9a49
NodeAuthorizer and NodeRestriction integration test for CSINodeInfo permissions
2018-10-03 14:31:16 -07:00
k8s-ci-robot
10368ee68b
Merge pull request #68915 from oomichi/issue/68914
...
Add fall-back to get node IP on host_path tests
2018-10-03 13:01:54 -07:00
k8s-ci-robot
e03886c34a
Merge pull request #68297 from leakingtapan/golint-fix-gce-pd
...
fix golint for pkg/volume/gce_pd
2018-10-03 13:01:34 -07:00
Kenichi Omichi
b259e91420
Update options of master/node-os-distro
...
Some e2e tests are skipped by depending on Linux distribution of
master and node, and the options can be one of "debian", "ubuntu",
"gci" or "custom". This updates the help message of the options.
2018-10-03 17:44:28 +00:00
k8s-ci-robot
c635e19e59
Merge pull request #69349 from davidz627/fix/gcePDCSITest
...
Add PodSecurityPolicy Binding back to GCE PD CSI Test and make non-serial
2018-10-03 10:38:16 -07:00
Justin Santa Barbara
153f91693b
e2e: change test strings to avoid error highlighting
...
The words "error" and "fail" are magic in test output, and are
highlighted in the build logs. Change some test strings to avoid
hitting the highlighting in normal operation.
2018-10-03 09:37:26 -07:00
k8s-ci-robot
c1ad6e961a
Merge pull request #69337 from MrHohn/addon-manager-manifest-8.8
...
Bump addon-manager to v8.8
2018-10-03 04:44:17 -07:00
k8s-ci-robot
f149d2a2c2
Merge pull request #68409 from wgliang/feature/remove-chaosclien
...
Remove unused chaosclient
2018-10-02 21:46:22 -07:00
k8s-ci-robot
c179a9c9df
Merge pull request #67356 from yliaog/master
...
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…
2018-10-02 20:35:51 -07:00
k8s-ci-robot
2d67d782de
Merge pull request #69225 from gnufied/volume-limit-tidy-up
...
Enable volume limit feature by default
2018-10-02 17:03:32 -07:00
David Zhu
fa41fa9acd
Update provisioner name and don't supply zone in GCE PD CSI test
2018-10-02 16:52:14 -07:00
David Zhu
fd18fc548d
Remove redundant [Serial] tags and dont delete CRD's at the end of test
2018-10-02 16:01:38 -07:00
David Zhu
e7af381538
Add Pod Security Policy back in to GCE PD Cluster Role
2018-10-02 14:42:14 -07:00
Zihong Zheng
81eae648cb
Bump addon-manager to v8.8
...
- Rebase docker image on debian-base:0.3.2.
2018-10-02 11:43:40 -07:00
Hemant Kumar
e38cfb61be
Add a e2e test to check node limits
2018-10-02 13:59:05 -04:00
Yu Liao
fc21115c3f
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap
2018-10-02 09:46:13 -07:00
k8s-ci-robot
59957af125
Merge pull request #69283 from chrisohaver/trackdns2
...
Add option to track dns pods
2018-10-02 05:35:33 -07:00
k8s-ci-robot
a27adf1612
Merge pull request #69300 from mrunalp/subpath_test_wait_for_event
...
test: Wait for pod event to show up
2018-10-02 01:12:00 -07:00
k8s-ci-robot
a9823bc314
Merge pull request #69154 from pohly/csi-0.4.0
...
CSI sidecar containers 0.4.0
2018-10-02 01:11:51 -07:00
Patrick Ohly
20c9549c10
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-02 08:31:03 +02:00
Patrick Ohly
212af1ac29
e2e: abstract access to additional files
...
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.
In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.
"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.
Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
https://github.com/kubernetes/kubernetes/pull/61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in https://github.com/kubernetes/examples/issues/214 .
The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.
Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.
Related-to: #66649 and #23987
2018-10-02 08:31:03 +02:00
k8s-ci-robot
d25e6a6f62
Merge pull request #69291 from mrunalp/bump_up_pod_start_short_timeout
...
Increase the pod start short timeout
2018-10-01 22:21:08 -07:00
k8s-ci-robot
de2b43f14d
Merge pull request #64080 from karataliu/klv
...
Update verbose level for kubectl test
2018-10-01 18:03:45 -07:00
Mrunal Patel
c771de1e6b
test: Wait for pod event to show up
...
We are seeing flakes where pod event isn't yet visible when
we check for it leading to test failure.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-01 12:28:40 -07:00
Cheng Pan
7d68fd00e6
fix golint for pkg/volume/gce_pd
2018-10-01 18:58:30 +00:00
k8s-ci-robot
e567c791aa
Merge pull request #69273 from dims/use-token-file-for-in-cluster-config-during-e2e-tests
...
Use token file for in cluster config during e2e tests
2018-10-01 09:28:04 -07:00
Mrunal Patel
c58fc8ce4b
Increase the pod start short timeout
...
We have seen flakes related to this timeout.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-01 09:27:22 -07:00
Patrick Ohly
39d28d1af4
E2E CSI: bump versions of sidecar containers to 0.4.0
...
The 0.4.0 versions are what is getting released together with and for
Kubernetes 1.12.
2018-10-01 17:38:39 +02:00
k8s-ci-robot
860d3cb32c
Merge pull request #68887 from jsafrane/csi-roles
...
Add controller roles to CSI e2e tests
2018-10-01 08:18:36 -07:00
Chris O'Haver
9060fc6e6d
add opt to track dns pods
2018-10-01 10:00:16 -04:00
k8s-ci-robot
577e06e0b8
Merge pull request #69222 from SataQiu/fix-2018092805
...
fix typo
2018-10-01 04:40:34 -07:00
Davanum Srinivas
57f1f6e5b7
Use token file for in cluster config during e2e tests
...
Change-Id: I08e792d7c4db2d81861eec6f91028ebf26dea8db
2018-10-01 05:55:37 -04:00
Jan Safranek
60f736ed3d
Add controller roles to CSI e2e tests
...
External attacher + provisioner need extra role for leader election.
2018-10-01 10:31:31 +02:00
Mayank Gaikwad
78a15ed1c9
Promote pod's websocket based NodeConformance tests to Conformance
2018-09-30 21:57:49 +05:30
k8s-ci-robot
945e075aa1
Merge pull request #69215 from bertinatto/fix_csi_plugin_test
...
Fix flake in CSI plugin e2e test
2018-09-29 14:25:21 -07:00
k8s-ci-robot
bcc23dfdc1
Merge pull request #68621 from jcsirot/fix-deleting-critical-pod
...
Move pod created into kube-system namespace delete call into a defer …
2018-09-29 07:58:07 -07:00
k8s-ci-robot
72dd54ec48
Merge pull request #69169 from mgdevstack/master-pods-fmt
...
Add slow test comment and format import statements in e2e/common/pods.go
2018-09-28 18:57:27 -07:00
Kenichi Omichi
dd9cffb18f
Add fall-back to get node IP on host_path tests
...
As the same as the commit[1], this adds fall-back way to get a
node IP address on host_path e2e tests for environments which
don't support external IPs.
[1]: 4e7c2f638d (diff-5ee86aefbb33223865bc542107ea8560L81)
2018-09-28 23:01:18 +00:00
Federico Bongiovanni
54ba2ae877
upgrading sample-apiserver to 1.10
2018-09-28 15:17:29 -07:00
SataQiu
94a653f100
fix typo
2018-09-28 23:41:24 +08:00
Fabio Bertinatto
8894021b99
Fix flake in CSI plugin e2e test
2018-09-28 14:00:39 +02:00
Manjunath A Kumatagi
55868655ff
Use proper manifest images
2018-09-28 04:17:07 +00:00
k8s-ci-robot
8fd28eface
Merge pull request #69167 from apelisse/kubectl-diff
...
Move `diff` command from alpha sub-command to root cmd
2018-09-27 20:52:11 -07:00
k8s-ci-robot
f31cec4174
Merge pull request #69149 from mkumatag/update-auth-images
...
Update authenticated-image-pulling with fat manifest image
2018-09-27 15:53:37 -07:00
k8s-ci-robot
01379fe61e
Merge pull request #69022 from k82cn/k8s_68987
...
Got allocatable GPUs.
2018-09-27 15:53:19 -07:00
Antoine Pelisse
e1eadc5031
Move diff
command to root rather than alpha
...
New command is now `kubectl diff` rather than `kubectl alpha diff` since
it's moving out of alpha soon, and will be using dry-run apply to
produce the diff rather than the custom merge logic.
2018-09-27 13:11:43 -07:00
k8s-ci-robot
aa3993abc6
Merge pull request #69102 from x13n/test-fix
...
Fix Stackdriver custom metrics tests
2018-09-27 12:21:36 -07:00
Mayank Gaikwad
440816af3d
Add slow test comment and format import statements
2018-09-28 00:47:11 +05:30
k8s-ci-robot
0787715978
Merge pull request #69124 from tanshanshan/httpcode
...
replace 200 with http.StatusOK
2018-09-27 09:51:48 -07:00
k8s-ci-robot
b25bf81573
Merge pull request #69044 from enj/enj/i/gv_remove_pointers
...
Remove pointer receivers from schema structs
2018-09-27 07:18:40 -07:00