Disable pod stats tests in containerized Fedora w/ CGroupsV1
Nearly/all of the 'podman stats' tests fail on Fedora when executing testing inside a container, and CGroupsV1 is used on the host. The typical failure message is of the form `Error: unable to load cgroup at /machine.slice/.../: cgroup deleted`. 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>
This commit is contained in:
		
							parent
							
								
									e6ab566574
								
							
						
					
					
						commit
						8997a2d106
					
				| 
						 | 
				
			
			@ -20,6 +20,9 @@ var _ = Describe("Podman pod stats", func() {
 | 
			
		|||
		if os.Geteuid() != 0 {
 | 
			
		||||
			SkipIfCgroupV2("--cgroup-manager=cgroupfs which doesn't work in rootless mode")
 | 
			
		||||
		}
 | 
			
		||||
		if isContainerized() {
 | 
			
		||||
			SkipIfCgroupV1("All tests fail Error: unable to load cgroup at ...: cgroup deleted")
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		tempdir, err = CreateTempDirInTempDir()
 | 
			
		||||
		if err != nil {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue