mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Qiu" <>
Subject Re: Review Request 38454: Fix failed test LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids
Date Fri, 18 Sep 2015 02:51:13 GMT

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

(Updated Sept. 18, 2015, 2:51 a.m.)

Review request for mesos, haosdent huang, Marco Massenzio, and Vinod Kone.

Bugs: MESOS-3293

Repository: mesos

Description (updated)

This test is to isolate one single process with on thread in cgroup, and checks the number
of processes and threads in the cgroup before/after isolation. The previous test case uses
"sh -c "while true; do sleep 1; done;"" as the process, however, it periodically forks a child
process "sleep 1" in cgroup causing the test failure (expected number of process/thread should
be 1, but here is 2). This patch is to issue a "cat" command, so there will be only one process
in cgroup.


  src/tests/containerizer/isolator_tests.cpp a25ae97a519feb8ead6177da160df8a276ca15bf 



./ --gtest_filter="LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids" --gtest_repeat=1000


Jian Qiu

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