summaryrefslogtreecommitdiff
path: root/test/e2e/pod_stats_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-16 15:52:25 +0000
committerGitHub <noreply@github.com>2020-12-16 15:52:25 +0000
commitbacb2fc526dba7214e3c8420eccc5cf22bbb1a29 (patch)
tree1e0e5dc8f71cacb030cd001734957c87b5370380 /test/e2e/pod_stats_test.go
parent978c0767fa72abfa41f720f6fab34a62e3ac7a12 (diff)
parentf66ecc882df822260e41de24b1c5f44a1ba3c3ad (diff)
downloadpodman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.gz
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.tar.bz2
podman-bacb2fc526dba7214e3c8420eccc5cf22bbb1a29.zip
Merge pull request #8312 from cevich/new_ubuntu_images
Cirrus: Update VM Images; Both Fedora and Ubuntu "prior" flavors run with CGroupsV1 & runc
Diffstat (limited to 'test/e2e/pod_stats_test.go')
-rw-r--r--test/e2e/pod_stats_test.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/e2e/pod_stats_test.go b/test/e2e/pod_stats_test.go
index 41fc59267..a034ec2d1 100644
--- a/test/e2e/pod_stats_test.go
+++ b/test/e2e/pod_stats_test.go
@@ -17,8 +17,9 @@ var _ = Describe("Podman pod stats", func() {
)
BeforeEach(func() {
- if os.Geteuid() != 0 {
- SkipIfCgroupV2("--cgroup-manager=cgroupfs which doesn't work in rootless mode")
+ SkipIfRootless("Tests fail with both CGv1/2 + required --cgroup-manager=cgroupfs")
+ if isContainerized() {
+ SkipIfCgroupV1("All tests fail Error: unable to load cgroup at ...: cgroup deleted")
}
tempdir, err = CreateTempDirInTempDir()
@@ -176,7 +177,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()