aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/pod_stats_test.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-12-11 13:52:29 -0500
committerChris Evich <cevich@redhat.com>2020-12-15 18:49:09 -0500
commite6fbc15f26b2a609936dfc11732037c70ee14cba (patch)
treebcd4f448149a05108c8a66657619c9c64d09eb2d /test/e2e/pod_stats_test.go
parent8997a2d106a26fa1c643824b0c2638aedd05159a (diff)
downloadpodman-e6fbc15f26b2a609936dfc11732037c70ee14cba.tar.gz
podman-e6fbc15f26b2a609936dfc11732037c70ee14cba.tar.bz2
podman-e6fbc15f26b2a609936dfc11732037c70ee14cba.zip
Disable CGv1 pod stats on net=host post
This should be addressed by PR https://github.com/containers/podman/pull/8685 Note: Recently updated F32 (prior-fedora) and Ubuntu 20.04 (prior-ubuntu) VMs always use CGroupsV1 with runc. F33 and Ubuntu 20.10 were updated to always use CGroupsV2 with crun. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/e2e/pod_stats_test.go')
-rw-r--r--test/e2e/pod_stats_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/pod_stats_test.go b/test/e2e/pod_stats_test.go
index 85a60b29b..9af410fcc 100644
--- a/test/e2e/pod_stats_test.go
+++ b/test/e2e/pod_stats_test.go
@@ -179,7 +179,8 @@ var _ = Describe("Podman pod stats", func() {
It("podman stats on net=host post", func() {
// --net=host not supported for rootless pods at present
- SkipIfRootlessCgroupsV1("Pause stats not supported in cgroups v1")
+ // problem with sysctls being passed to containers of the pod.
+ SkipIfCgroupV1("Bug: Error: sysctl net.ipv4.ping_group_range is not allowed in the hosts network namespace: OCI runtime error")
podName := "testPod"
podCreate := podmanTest.Podman([]string{"pod", "create", "--net=host", "--name", podName})
podCreate.WaitWithDefaultTimeout()