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
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
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
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
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
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
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
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