Change:
What happened: test failing My cluster is based on 1.16.3 release with multus CNI, when I ran networkingperf suite from , it is failing out with below error. Apr 17 07:46:25.532: INFO: At 2020-04-17 07:36:40 +0000 UTC - event for iperf-e2e-pod-0: {kubelet worker-pool1-09u5e8jl-esiperu-demo-cluster} FailedCreatePodSandBox: Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "fb85ec94a3d2f884902dc4ccc5cf05cf9c50bb4f53d4f14903fcad3302fd18d8" network for pod "iperf-e2e-pod-0": networkPlugin cni failed to set up pod "iperf-e2e-pod-0network-perf-3964" network: Multus: [network-perf-3964/iperf-e2e-pod-0]: error adding container to network "k8s-pod-network": delegateAdd: cannot set "" interface name to " eth0": validateIfName: no net namespace /proc//ns/net found: failed to Statfs "/proc//ns/net": no such file or directory What you expected to happen: The networkingperf test should work. How to reproduce it (as minimally and precisely as possible): ./hack/ginkgo- -- -- Anything else we need to know?: This issue is there in current master branch also Both IPv4 and IPv6 Fails. The issue is container configuration in the test, the ENTRYPOINT for the agnhost image is agnhost , which will not take the argument as ""/bin/sh", "-c", "/usr/local/bin/iperf " + familyStr + "-c service-for-" + appName + " -p 8002 --reportstyle C && sleep 5"," hence container is coming out early, thus CNI is complaining. container configuration should take command as "/bin/sh" and argument as "-c", "/usr/local/bin/iperf " + familyStr + "-c service-for-" + appName + " -p 8002 --reportstyle C && sleep 5" . Environment: Kubernetes version (use ): 1.16.3 Cloud provider or hardware configuration: OS (e.g: ): SUSE Linux Enterprise Server 15 SP1 Kernel (e.g. ):4.12.14-197.29-default Install tools: Network plugin and version (if this is a network-related bug): Others: /sig network /sig testing
/triage unresolved Comment when the issue is assessed and confirmed. I am a bot run by vllry. ‍
The label(s) cannot be applied, because the repository doesn't have them <detailsIn response to : What happened: My cluster is based on 1.16.3 release with multus CNI, when I ran networkingperf suite from , it is failing out with below error. Apr 17 07:46:25.532: INFO: At 2020-04-17 07:36:40 +0000 UTC - event for iperf-e2e-pod-0: {kubelet worker-pool1-09u5e8jl-esiperu-demo-cluster} FailedCreatePodSandBox: Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "fb85ec94a3d2f884902dc4ccc5cf05cf9c50bb4f53d4f14903fcad3302fd18d8" network for pod "iperf-e2e-pod-0": networkPlugin cni failed to set eth0": validateIfName: no net namespace /proc//ns/net found: failed to Statfs "/proc//ns/net": no such file or directory The networkingperf test should work. The issue is container configuration in the test, the ENTRYPOINT for the agnhost image is agnhost , which will not take the argument as ""/bin/sh", Kubernetes version (use ): 1.16.3 Cloud provider or hardware configuration: OS (e.g: ): SUSE Linux Enterprise Server 15 SP1 Kernel (e.g. ):4.12.14-197.29-default Install tools: Network plugin and version (if this is a network-related bug): Others: /sig testing /kind/failing-test Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
/assign /remove-triage unresolved

Discussion:
func(n v1.Node) v1.PodSpec { return v1.PodSpec{ Containers: []v1.Container{{ <del> Name:  "iperf-server", Image: imageutils.GetE2EImage(imageutils.Agnhost), </del> <ins> Name:    "iperf-server", Image:   imageutils.GetE2EImage(imageutils.Agnhost), Command: []string{"/bin/sh"}, </ins> Args: []string{ <del> "/bin/sh", </del> "-c", "/usr/local/bin/iperf " + familyStr + "-s -p 8001 ", },

return v1.PodSpec{ Containers: []v1.Container{ { <del> Name:  "iperf-client", Image: imageutils.GetE2EImage(imageutils.Agnhost), </del> <ins> Name:    "iperf-client", Image:   imageutils.GetE2EImage(imageutils.Agnhost), Command: []string{"/bin/sh"}, </ins> Args: []string{ <del> "/bin/sh", </del> "-c", "/usr/local/bin/iperf " + familyStr + "-c service-for-" + appName + " -p 8002 --reportstyle C && sleep 5", },