Matt Matejczyk
532298c399
Adjust nginx lb timeout in tests
...
In addition delete the service & lb before ending to test to avoid the case
when deleting the namespace times out due to long LB deletion.
Ref. https://github.com/kubernetes/kubernetes/issues/82695
2019-09-16 13:07:47 +02:00
Dan Winship
967fd5aaf0
e2e: test that both kube-proxy and kubelet recover after iptables flush
2019-09-15 15:34:24 -04:00
hwdef
af16366001
use log func in test/e2e/network
2019-09-13 17:54:51 +08:00
Kubernetes Prow Robot
4ab4e201aa
Merge pull request #82060 from aojea/isipv6method
...
Add a method to TestContext to check if is IPv6
2019-09-11 10:38:48 -07:00
Kubernetes Prow Robot
86b426932b
Merge pull request #81479 from danwinship/service-test-cleanup-2
...
more e2eservice.TestJig cleanups
2019-09-10 14:31:04 -07:00
Kubernetes Prow Robot
35cf6b6cbc
Merge pull request #82262 from nilo19/t-qini-fix_index_panic
...
Prevent resultPod.Status.ContainerStatuses from being empty.
2019-09-08 21:47:17 -07:00
Mayank Gaikwad
eb07002d41
Promote PQDN for services DNS e2e to Conformance
2019-09-06 02:14:46 +05:30
Dan Winship
c921c6893b
inline e2eservice.CreatePausePodDeployment into tests
...
This isn't a generically-useful helper; it's specific to 2 test cases.
2019-09-05 11:43:42 -04:00
Dan Winship
0b9fa1146f
Move a bunch of totally non-jiggy code out of e2eservice.TestJig
...
When test/e2e/framework/service was first created, a lot of service
test code got crammed into TestJig even though it didn't use any of
TestJig's members. Make that code available outside of TestJig.
2019-09-05 11:36:26 -04:00
t-qini
56219956ec
Prevent resultPod.Status.ContainerStatuses from being empty.
2019-09-05 20:31:21 +08:00
Zihong Zheng
1f0ef69efc
Make sure loadbalancer service is deleted before exiting the test
2019-09-03 17:18:02 -07:00
Sandeep Rajan
95b0c3bde0
add ready plugin to dns tests
2019-09-03 10:34:27 -04:00
Mayank Gaikwad
f5c6eba92d
Add LinuxOnly tag to e2e testing session affinity
2019-08-30 17:37:03 +05:30
Kubernetes Prow Robot
af54eae69a
Merge pull request #81612 from rikatz/issue81060
...
Remove watching Endpoints of Headless Services
2019-08-28 14:44:25 -07:00
Kubernetes Prow Robot
d7ecc85239
Merge pull request #81955 from danwinship/add-hairpin-test
...
e2e/network: add service hairpin test
2019-08-28 08:56:16 -07:00
Kubernetes Prow Robot
8f17e46e5c
Merge pull request #81943 from dims/update-import-aliases-for-1.16-test-e2e
...
Use preferred import packages for test/e2e
2019-08-28 05:11:25 -07:00
Kubernetes Prow Robot
07e0cce409
Merge pull request #81750 from aojea/fixdnsIPv6
...
Fix e2e DNS IPv6 CI
2019-08-27 19:38:06 -07:00
Kubernetes Prow Robot
ab13cf1055
Merge pull request #81691 from MrHohn/svc-finalizer-beta
...
Promote service load balancer finalizer to Beta
2019-08-27 19:37:48 -07:00
Antonio Ojea
45d6f08868
Add a method to TestContext to check if is IPv6
2019-08-27 15:41:10 +02:00
Antonio Ojea
930a1321da
DNS e2e tests differentiate between IP family
...
The e2e DNS tests differentiate between IP family to
avoid false positives with dual stack clusters.
2019-08-27 12:57:40 +02:00
Dan Winship
8d91e9e2b6
e2e/network: add service hairpin test
2019-08-26 14:47:43 -04:00
Davanum Srinivas
46cc8adcc3
Use preferred import packages for test/e2e
...
Ran `hack/update-import-aliases.sh`
Change-Id: Ieaf3599a80ec90026b2c83f25c797d121a461549
2019-08-26 08:56:42 -04:00
Ricardo Pchevuzinske Katz
6c30d23e6c
Remove watching Endpoints of Headless Services
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br >
2019-08-25 17:27:08 -03:00
Kubernetes Prow Robot
8dc4b1b585
Merge pull request #80213 from bclau/tests/skips-windows-unrelated-tests
...
tests: Skips Windows-unrelated tests on Windows
2019-08-23 20:56:25 -07:00
Kubernetes Prow Robot
c008cf95a9
Merge pull request #77865 from mgdevstack/promote-service-types-updates
...
Promote e2e verifying different types of services and their behaviours
2019-08-22 00:50:32 -07:00
Zihong Zheng
0a7c085b14
Check service finalizer on upgrade test and fix-up test cases
2019-08-21 15:19:56 -07:00
Kubernetes Prow Robot
9c7c9916e3
Merge pull request #81363 from bclau/tests/fixes-dns-tests-for-windows
...
tests: Fixes DNS tests for Windows
2019-08-20 23:05:29 -07:00
Kubernetes Prow Robot
d935e06dd4
Merge pull request #80682 from mgdevstack/dns-google-cloud
...
Remove cloud specific DNS check to make e2e Conformance eligible
2019-08-20 20:39:43 -07:00
Kubernetes Prow Robot
7a81ecd191
Merge pull request #77794 from saiyan86/fixAzureE2ETest
...
Use TCP instead of ICMP to check outbound connectivity
2019-08-20 19:13:18 -07:00
Claudiu Belu
8812720148
tests: Skips Windows-unrelated tests on Windows
...
Skips IPv6 tests on Windows.
Skips sysctl tests on Windows.
Skips network policy tests on Windows.
Skips RunAsUser / FSGroup / file permissions related tests, as those are
not supported on Windows.
Skips the test "should preserve source pod IP for traffic thru service cluster IP"
on Windows, as it creates a Pod with HostNetwork=true, which is unsupported.
What works and what doesn't work on Windows has been documented here:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md#windows--linux-considerations
2019-08-20 14:19:14 -07:00
Mayank Gaikwad
78741f149a
Modify dns e2e to individualise GCE specific dns checks into seperate e2e
2019-08-16 22:12:29 +05:30
Yongli Chen
b158098401
replace ping with connect in msg
2019-08-15 20:44:55 -07:00
Yongli Chen
68e553ae6c
use agnhost image
...
add back ServeHostnameImage
2019-08-15 20:40:07 -07:00
Guangming Wang
05d322bbb0
cleanup: fix typos in error message in e2e test
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io >
2019-08-15 22:34:25 +08:00
Mayank Gaikwad
7c64fc9d98
Promote e2e verifying service type updates
2019-08-14 16:07:59 +05:30
Kubernetes Prow Robot
43fa5ca693
Merge pull request #81087 from johnSchnake/addSkipsIfSSHNotPresent
...
Ensure tests which rely on SSH behavior are skipped if unavailable
2019-08-13 07:56:07 -07:00
Kubernetes Prow Robot
61af419d38
Merge pull request #81291 from danwinship/service-test-cleanup-1
...
Inline/simplify two used-only-once service test helper functions
2019-08-12 20:12:38 -07:00
Dan Winship
6a42e102b7
Inline/simplify two used-only-once service test helper functions
2019-08-12 09:51:54 -04:00
Claudiu Belu
a8c63d132b
tests: Fixes DNS tests for Windows
...
A previous commit replaced the usage of hostname -i with getent hosts
in DNS probe commands (for testing IPv6), which breaks the Windows tests
(getent hosts is a Linux-specific command that looks into the /etc/hosts
file, which, on Windows, is not managed by Kubelet).
This commit addresses this issue by executing getent hosts on IPv6 clusters
and hostname -i on IPv4 clusters (Windows does not support IPv6 at this
moment).
2019-08-11 11:19:31 -07:00
Kenichi Omichi
19c474fc4d
Remove core dependency from endpoints e2e fw
...
WaitForEndpoint() of the endpoints e2e framework was used in
test/e2e/network/proxy.go only. In addition, the endpoints e2e
framework imported the core of e2e framework only for the function.
So this moves the function into test/e2e/network/proxy.go then we
can remove dependency of core framework from the sub e2e framework.
2019-08-09 20:22:56 +00:00
John Schnake
37212fa934
Ensure tests which rely on SSH behavior are skipped if unavailable
...
A number of tests rely on SSH behavior but are not marked with
SkipUnlessSSHKeysPresent(). This means that the tests will run and
hang. This can be confusing for users because they may not know why
the tests failed. Instead, we should be reporting on the known issue
and skipping the test (hence why the helper Skip... function exists).
2019-08-07 10:24:39 -05:00
Kubernetes Prow Robot
cc4301025d
Merge pull request #80655 from johnbelamaric/promote-nodeport-creation
...
Promote NodePort service creation e2e test to conformance
2019-08-06 23:56:50 -07:00
John Belamaric
60a51ce020
Promote NodePort service creation e2e test to conformance
2019-08-06 16:23:40 -07:00
Kubernetes Prow Robot
6278b90731
Merge pull request #80805 from mgdevstack/flaky-execPod
...
Fix failing service e2e due to execPod unavailability
2019-08-02 08:43:52 -07:00
Kubernetes Prow Robot
f370abb230
Merge pull request #80595 from aojea/e2e_preserve
...
Add IPv6 support to preserve source pod IP test
2019-08-02 06:53:53 -07:00
Antonio Ojea
48f1756b93
Add IPv6 support to preserve source pod IP test
...
Co-Authored-By: Benjamin Elder <bentheelder@google.com >
2019-08-02 00:16:05 +02:00
Mayank Gaikwad
bf1597f665
Fix failing service e2e due to execPod IP unavailability
2019-08-01 08:34:22 +05:30
Kubernetes Prow Robot
e5cec2edc8
Merge pull request #80646 from danwinship/network-granular-checks
...
Un-[Slow] a bunch of networking tests
2019-07-31 03:04:21 -07:00
Kenichi Omichi
7ca57877b0
Fix error message of ListTargetHTTPSProxies
...
The error message of ListTargetHTTPSProxies operation contained
ListTargetHTTPProxies(HTTP instead of HTTPS) wrongly.
This fixes it.
2019-07-26 20:25:11 +00:00
Dan Winship
28526721b8
Un-[Slow] a bunch of networking tests
2019-07-26 12:25:03 -04:00