[ 
https://issues.apache.org/jira/browse/MESOS-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159861#comment-15159861
 ] 

Joseph Wu commented on MESOS-4677:
----------------------------------

Managed to get some verbose logs + failure:
{code}
[ RUN      ] LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids
I0223 18:50:51.567102  4178 linux_launcher.cpp:101] Using 
/sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
I0223 18:50:51.567337  4178 resources.cpp:576] Parsing resources as JSON 
failed: cpus:0.5;mem:512
Trying semicolon-delimited string format instead
I0223 18:50:51.573931  4192 cpushare.cpp:389] Updated 'cpu.shares' to 512 (cpus 
0.5) for container d1e8db7a-d46e-42a9-9d4c-155edcf17f33
I0223 18:50:51.584337  4178 linux_launcher.cpp:304] Cloning child process with 
flags = 
../../src/tests/containerizer/isolator_tests.cpp:807: Failure
Value of: usage.get().threads()
  Actual: 0
Expected: 1U
Which is: 1
I0223 18:50:51.614691  4193 cgroups.cpp:2427] Freezing cgroup 
/sys/fs/cgroup/freezer/mesos/d1e8db7a-d46e-42a9-9d4c-155edcf17f33
I0223 18:50:51.619819  4198 cgroups.cpp:1409] Successfully froze cgroup 
/sys/fs/cgroup/freezer/mesos/d1e8db7a-d46e-42a9-9d4c-155edcf17f33 after 
5.063936ms
I0223 18:50:51.625041  4199 cgroups.cpp:2445] Thawing cgroup 
/sys/fs/cgroup/freezer/mesos/d1e8db7a-d46e-42a9-9d4c-155edcf17f33
I0223 18:50:51.630051  4199 cgroups.cpp:1438] Successfullly thawed cgroup 
/sys/fs/cgroup/freezer/mesos/d1e8db7a-d46e-42a9-9d4c-155edcf17f33 after 
4.97024ms
[  FAILED  ] LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids (183 ms)
{code}
The only difference between this and a successful run is the failed expectation.

> LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids is flaky.
> -----------------------------------------------------------
>
>                 Key: MESOS-4677
>                 URL: https://issues.apache.org/jira/browse/MESOS-4677
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.27
>            Reporter: Bernd Mathiske
>              Labels: flaky, test
>
> This test fails very often when run on CentOS 7, but may also fail elsewhere 
> sometimes. Unfortunately, it tends to only fail when --verbose is not set. 
> The output is this:
> {noformat}
> [21:45:21][Step 8/8] [ RUN      ] 
> LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids
> [21:45:21][Step 8/8] ../../src/tests/containerizer/isolator_tests.cpp:807: 
> Failure
> [21:45:21][Step 8/8] Value of: usage.get().threads()
> [21:45:21][Step 8/8]   Actual: 0
> [21:45:21][Step 8/8] Expected: 1U
> [21:45:21][Step 8/8] Which is: 1
> [21:45:21][Step 8/8] [  FAILED  ] 
> LimitedCpuIsolatorTest.ROOT_CGROUPS_Pids_and_Tids (94 ms)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to