k3s/test/e2e/network
Kubernetes Submit Queue 05529df248
Merge pull request #57896 from chrisglass/conntrack_test_fix
Automatic merge from submit-queue (batch tested with PRs 57896, 58070). 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>.

Use /proc/net/nf_conntrack.

/proc/net/ip_conntrack was finally removed from linux 4.9 onwards,
instead we should use /proc/net/nf_conntrack (see commit message at
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adf0516845bcd0e626323c858ece28ee58c74455)

Signed-off-by: Chris Glass <chris.glass@canonical.com>



**What this PR does / why we need it**:

This PR fixes a test failure from linux kernels 4.9 onwards. The alternative interface used in this PR has been available for 10 years, so it is unlikely not to be available.

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-01-21 20:25:29 -08:00
..
BUILD Update generated files 2017-11-09 12:14:08 +01:00
OWNERS
dns.go Merge pull request #54946 from bradtopol/adddnscrdcmprobeconform 2017-11-13 14:47:05 -08:00
dns_common.go Collect all the assorted image URLs from e2e tests in one place 2017-12-19 12:16:07 -05:00
dns_configmap.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
doc.go
example_cluster_dns.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
firewall.go update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
framework.go Add [sig-network] prefix to network e2e tests 2017-07-25 08:56:35 +08:00
ingress.go Don't call BeforeEach() again in ingress suite 2017-11-20 20:01:22 -08:00
kube_proxy.go Use /proc/net/nf_conntrack. 2018-01-21 20:34:39 +01:00
network_policy.go Add named port egress test 2017-11-06 14:34:01 -08:00
network_tiers.go Update Forwarding rules to use generated code 2018-01-18 17:34:15 -08:00
networking.go Don't share nodePort service in session affinity tests 2017-11-05 22:42:33 -08:00
networking_perf.go Add IPv6 option for e2e iPerf test 2017-10-03 11:19:50 -04:00
no_snat.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
proxy.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
service.go the changes introduced in this commit plumbs in the generic scaler into kubectl. 2018-01-12 09:21:18 +01:00
service_latency.go Add framework.ConformanceIt as the new way to declare conformance tests. 2017-10-27 15:29:59 -07:00
serviceloadbalancers.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
util_iperf.go fix newline in raw string in e2e net perf case 2017-10-25 13:26:43 +08:00