You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Andrei Budnik <ab...@mesosphere.com> on 2017/12/18 12:44:27 UTC

Review Request 64680: Fixed flaky `ROOT_CGROUPS_RecoverLauncherOrphans` test.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64680/
-----------------------------------------------------------

Review request for mesos, Alexander Rukletsov and Gilbert Song.


Bugs: MESOS-8267
    https://issues.apache.org/jira/browse/MESOS-8267


Repository: mesos


Description
-------

Containerizer recovery returns control to the caller before completion
of destruction of orphaned containers. Previously, `wait` was called on
a container right after calling `recover`, so `wait` was almost always
successfull, because destruction of the orphaned container takes some
time to complete.

This patch replaces check for the container existence with the check
that a related freezer cgroup has been destroyed. The freezer cgroup
is destroyed during container destruction initiated by a containerizer
recovery process.


Diffs
-----

  src/tests/containerizer/nested_mesos_containerizer_tests.cpp 22bd9955140ef1c75d8bb78faa6e6d50a71c2318 


Diff: https://reviews.apache.org/r/64680/diff/1/


Testing
-------

1. make check
2. `./src/mesos-tests --gtest_filter=NestedMesosContainerizerTest.ROOT_CGROUPS_RecoverLauncherOrphans --gtest_break_on_failure --gtest_repeat=1000`


Thanks,

Andrei Budnik


Re: Review Request 64680: Fixed flaky `ROOT_CGROUPS_RecoverLauncherOrphans` test.

Posted by Mesos Reviewbot Windows <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64680/#review194068
-----------------------------------------------------------



PASS: Mesos patch 64680 was successfully built and tested.

Reviews applied: `['64680']`

All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64680

- Mesos Reviewbot Windows


On Dec. 18, 2017, 12:44 p.m., Andrei Budnik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64680/
> -----------------------------------------------------------
> 
> (Updated Dec. 18, 2017, 12:44 p.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov and Gilbert Song.
> 
> 
> Bugs: MESOS-8267
>     https://issues.apache.org/jira/browse/MESOS-8267
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Containerizer recovery returns control to the caller before completion
> of destruction of orphaned containers. Previously, `wait` was called on
> a container right after calling `recover`, so `wait` was almost always
> successfull, because destruction of the orphaned container takes some
> time to complete.
> 
> This patch replaces check for the container existence with the check
> that a related freezer cgroup has been destroyed. The freezer cgroup
> is destroyed during container destruction initiated by a containerizer
> recovery process.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/nested_mesos_containerizer_tests.cpp 22bd9955140ef1c75d8bb78faa6e6d50a71c2318 
> 
> 
> Diff: https://reviews.apache.org/r/64680/diff/1/
> 
> 
> Testing
> -------
> 
> 1. make check
> 2. `./src/mesos-tests --gtest_filter=NestedMesosContainerizerTest.ROOT_CGROUPS_RecoverLauncherOrphans --gtest_break_on_failure --gtest_repeat=1000`
> 
> 
> Thanks,
> 
> Andrei Budnik
> 
>


Re: Review Request 64680: Fixed flaky `ROOT_CGROUPS_RecoverLauncherOrphans` test.

Posted by Alexander Rukletsov <ru...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64680/#review194156
-----------------------------------------------------------


Ship it!




Ship It!

- Alexander Rukletsov


On Dec. 18, 2017, 12:44 p.m., Andrei Budnik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64680/
> -----------------------------------------------------------
> 
> (Updated Dec. 18, 2017, 12:44 p.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov and Gilbert Song.
> 
> 
> Bugs: MESOS-8267
>     https://issues.apache.org/jira/browse/MESOS-8267
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Containerizer recovery returns control to the caller before completion
> of destruction of orphaned containers. Previously, `wait` was called on
> a container right after calling `recover`, so `wait` was almost always
> successfull, because destruction of the orphaned container takes some
> time to complete.
> 
> This patch replaces check for the container existence with the check
> that a related freezer cgroup has been destroyed. The freezer cgroup
> is destroyed during container destruction initiated by a containerizer
> recovery process.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/nested_mesos_containerizer_tests.cpp 22bd9955140ef1c75d8bb78faa6e6d50a71c2318 
> 
> 
> Diff: https://reviews.apache.org/r/64680/diff/1/
> 
> 
> Testing
> -------
> 
> 1. make check
> 2. `./src/mesos-tests --gtest_filter=NestedMesosContainerizerTest.ROOT_CGROUPS_RecoverLauncherOrphans --gtest_break_on_failure --gtest_repeat=1000`
> 
> 
> Thanks,
> 
> Andrei Budnik
> 
>