def all_cgroup_delete():
 try:
  utils.run('cgclear', ignore_status=False)
 except error.CmdError as detail:
  logging.warn('cgclear: Fail to clear all cgroups, some specific system cgroups might exist and affect further testing.')

def all_cgroup_delete ( ) : try : utils . run ( 'cgclear' , ignore_status = False ) except error . CmdError as detail : logging . warn ( 'cgclear: Fail to clear all cgroups, some specific system cgroups might exist and affect further testing.' )
clear all cgroups in system .