mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Budnik <>
Subject Review Request 66449: Fixed flaky `ROOT_IsolatorFlags` test.
Date Wed, 04 Apr 2018 12:17:58 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Alexander Rukletsov, Gilbert Song, and Jie Yu.

Bugs: MESOS-8489

Repository: mesos


Starting more than one agent simultaneously in tests leads to a race
condition between a linux launcher which calls `cgroups::prepare()` for
the first slave and `LinuxLauncherProcess::recover()` which iterates
over cgroups hierarchy for the second slave. Therefore, `mesos/test`
cgroup that is created to check if the kernel supports nested cgroups
can be detected by a recovery process as they use same cgroup hierarchy
path by default. That leads to orphan containers and causes flakiness
of `ROOT_IsolatorFlags` test. To fix the issue, this patch adds
termination of an agent before starting a new one.


  src/tests/containerizer/linux_capabilities_isolator_tests.cpp 147f2cc09307cf8c9cf6f71d0175f8a3593c0256



internal CI


Andrei Budnik

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message