Commit Graph

265 Commits (3287dec0725e65bb93f5598c0d07acbc4dff42eb)

Author SHA1 Message Date
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
Jordan Liggitt 0ff455e340 generated files 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
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
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
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
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
Brad Hoekstra ae49bf6458 Add e2e test for service.kubernetes.io/service-proxy-name 2018-11-30 16:29:52 -05:00
Zihong Zheng 4069dc7c05 [e2e ingress] actually assign value to resp 2018-11-29 13:57:54 -08:00
Zihong Zheng aaafb216d7 [e2e] Bump firewall test timeout to something more reasonable 2018-11-28 18:20:38 -08: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 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
tanshanshan cb95edafe8 kube-scheduler: enable secure ports 10259 2018-11-08 16:43:59 +01: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
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
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 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 4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Sandeep Rajan 4c8a65ac01 configure cluster domain via flags 2018-11-01 12:27:54 -04:00
Ashley Gau 4840bfd913 test switching between standalone/Ingress NEG 2018-10-31 09:49:18 -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
k8s-ci-robot 0768fa5604
Merge pull request #70188 from rajansandeep/ipv6tests
Extend DNS ConfigMap tests to support IPv6
2018-10-29 12:08:03 -07:00
walter 735ad9ed63 Fixed lint errors for pkg/cloudprovider/providers/gce.
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
Sandeep Rajan 9e8bd5ccca extend tests to support ipv6 functionality
ipv6 tests for configmap
2018-10-29 12:34:00 -04:00
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
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
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
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
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 8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
e2e refactor
2018-10-19 12:32:01 -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
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
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
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
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
Guoliang Wang c2622dd9d8 Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize 2018-10-05 17:56:56 +08: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 6da4d79373
Merge pull request #67967 from MrHohn/e2e-esipp-skip-aws
Skip LB session affinity test on AWS
2018-09-24 17:17:10 -07:00
k8s-ci-robot 73942d8b13
Merge pull request #67105 from cadmuxe/fix_example_test
fix yaml file path for test/e2e/network/example_cluster_dns.go
2018-09-24 13:19:21 -07:00
Zihong Zheng 0cebf887e6 Disable DNS federation test 2018-09-18 10:23:03 -07:00
Sandeep Rajan e2d435f213 add coredns configmap to federation test 2018-09-11 16:26:08 -04:00
Zihong Zheng 24c648cba7 Skip LB session affinity test on AWS 2018-08-28 12:27:47 -07:00
Kubernetes Submit Queue 4b5a1b7421
Merge pull request #67835 from smarterclayton/serial
Automatic merge from submit-queue (batch tested with PRs 67822, 67835). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Tests that use CheckTestingNSDeletedExcept must be [Serial]
2018-08-26 10:39:01 -07:00
Clayton Coleman 3a81391153
Tests that use CheckTestingNSDeletedExcept must be [Serial]
Otherwise, another e2e test could be running at the same time and cause
a namespace to get created, which fails this test.
2018-08-24 12:29:58 -04:00
Louis Lepper 70650cbff4 Output more context with the log messages, and general style tweaks 2018-08-21 20:52:47 +10:00