Project: mesos
Issue MESOS-3086: Create cgroups TasksKiller for non freeze subsystems.
We have a number of test issues when we cannot remove cgroups (in case there are still related tasks running) in cases where the freezer subsystem is not available. In the current code (https://github.com/apache/mesos/blob/0.22.1/src/linux/cgroups.cpp#L1728) we will fallback to a very simple mechnism of recursivly trying to remove the cgroups which fails if there are still tasks running. Therefore we need an additional (NonFreeze)TasksKiller which doesn't rely on the freezer subsystem. This problem caused issues when running 'sudo make check' during 0.23 release testing, where BenH provided already a better error message with b1a23d6a52c31b8c5c840ab01902dbe00cb1feef / https://reviews.apache.org/r/36604.
Story points: 4