You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrei Budnik (JIRA)" <ji...@apache.org> on 2018/04/24 12:53:00 UTC
[jira] [Created] (MESOS-8827) Eliminate calling of `await()` in the
docker library.
Andrei Budnik created MESOS-8827:
------------------------------------
Summary: Eliminate calling of `await()` in the docker library.
Key: MESOS-8827
URL: https://issues.apache.org/jira/browse/MESOS-8827
Project: Mesos
Issue Type: Task
Reporter: Andrei Budnik
After making composing containerizer as a default containerizer in tests, some tests (e.g. `AgentAPITest.AttachContainerInputValidation`) started to hang due to a paused clocks and the use of clock-dependent method `await()` by the docker library.
Tests hang in [`Docker::validateVersion()`|https://github.com/apache/mesos/blob/ca21ca82071f2c53d5817424569977728260da65/src/docker/docker.cpp#L241], which is called from [`Docker::create()`|https://github.com/apache/mesos/blob/ca21ca82071f2c53d5817424569977728260da65/src/docker/docker.cpp#L145] when an instance of docker containerizer is created.
A possible solution might be removing `DOCKER_VERSION_WAIT_TIMEOUT` or making both `Docker::validateVersion()` and `Docker::create()` asynchronous.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)