Details
Description
Cgroups v2 hierarchies don't list the "controllers" field (e.g., "0::/user.slice/user-1000.slice/session-5.scope) is empty [1] and hence the cgroup parser failes. We should simply skip over fields with empty controller field.
[ RUN ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read ../../src/tests/containerizer/cgroups_tests.cpp:464: Failure cgroup: Unexpected format in /proc/20668/cgroup [ FAILED ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read (8 ms)
[1] See 6-2 in https://www.kernel.org/doc/Documentation/cgroup-v2.txt