You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:55 UTC

[jira] [Issue Comment Deleted] (MESOS-9139) Use composing containerizer by default in tests.

     [ https://issues.apache.org/jira/browse/MESOS-9139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-9139:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Use composing containerizer by default in tests.
> ------------------------------------------------
>
>                 Key: MESOS-9139
>                 URL: https://issues.apache.org/jira/browse/MESOS-9139
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization
>            Reporter: Alexander Rukletsov
>            Priority: Major
>              Labels: containerizer, integration, mesosphere, tests
>
> If we assign "docker,mesos" to the `containerizers` flag for an agent, then {{ComposingContainerizer}} will be used for many tests that do not specify {{containerizers}} flag. That's the goal of this task.
> I tried to do that by adding {{flags.containerizers = "docker,mesos"}}, but it turned out that some tests are started to hang due to a paused clocks, while docker c'zer and docker library use libprocess clocks.
> After setting composing c'zer by default, some tests (e.g. {{AgentAPITest.AttachContainerInputValidation}}) started to hang due to a paused clocks and the use of clock-dependent methods, like {{await()}}, {{delay()}}, etc. by the docker library.
> It hangs in {{Docker::validateVersion()}}, which is called from {{Docker::create()}}. After I added {{Clock::resume()}} before calling {{version.await(DOCKER_VERSION_WAIT_TIMEOUT)}}, tests have started to hang due to the hanging docker recovery: docker c'zer launches {{docker ps -a}} subprocess and subscribes for its termination. As a reaper process uses {{delay()}}, this leads to a hanging recovery process for the docker c'zer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)