You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Gilbert Song <so...@gmail.com> on 2018/01/24 03:27:36 UTC

Re: Review Request 64062: Added 6 nested container tests for `docker/volume` isolator.

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




src/tests/containerizer/docker_volume_isolator_tests.cpp
Lines 698-700 (patched)
<https://reviews.apache.org/r/64062/#comment275611>

    is this expected?
    ```
    [ RUN      ] DockerVolumeIsolatorTest.ROOT_NestedContainerNoRootfsFailedWithSameVolumes
    Marked '/' as rslave
    I0123 19:26:11.479921 28576 executor.cpp:192] Version: 1.6.0
    I0123 19:26:11.501245 28597 default_executor.cpp:191] Received SUBSCRIBED event
    I0123 19:26:11.503440 28597 default_executor.cpp:195] Subscribed executor on core-dev
    I0123 19:26:11.503963 28597 default_executor.cpp:191] Received LAUNCH_GROUP event
    I0123 19:26:11.504897 28605 default_executor.cpp:403] Setting 'MESOS_CONTAINER_IP' to: 10.0.49.2
    I0123 19:26:11.513514 28573 default_executor.cpp:191] Received ACKNOWLEDGED event
    E0123 19:26:11.517210 28575 default_executor.cpp:530] Received '400 Bad Request' (Found duplicate docker volume with driver 'driver1' and name 'name1') while launching child container
    I0123 19:26:11.517249 28575 default_executor.cpp:1018] Terminating after 1secs
    I0123 19:26:12.519101 28611 process.cpp:888] Failed to accept socket: future discarded
    
    GMOCK WARNING:
    Uninteresting mock function call - returning directly.
        Function call: failure(0x7ffe43af60d0, @0x7f7374002880 48-byte object <B0-97 C8-F7 73-7F 00-00 00-00 00-00 00-00 00-00 07-00 00-00 00-00 00-00 20-4B 00-74 73-7F 00-00 D0-24 00-74 73-7F 00-00 00-00 00-00 73-7F 00-00>)
    NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
    [       OK ] DockerVolumeIsolatorTest.ROOT_NestedContainerNoRootfsFailedWithSameVolumes (1532 ms)
    ```


- Gilbert Song


On Nov. 24, 2017, 6:23 a.m., Qian Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64062/
> -----------------------------------------------------------
> 
> (Updated Nov. 24, 2017, 6:23 a.m.)
> 
> 
> Review request for mesos, Gilbert Song, Jie Yu, and Vinod Kone.
> 
> 
> Bugs: MESOS-6193
>     https://issues.apache.org/jira/browse/MESOS-6193
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added 6 nested container tests for `docker/volume` isolator.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/docker_volume_isolator_tests.cpp 9123cbe50e4a3417dc4f205092a436d7230c7414 
> 
> 
> Diff: https://reviews.apache.org/r/64062/diff/1/
> 
> 
> Testing
> -------
> 
> Ran all the tests for `docker/volume` isolator repeatedly (20 times).
> 
> 
> Thanks,
> 
> Qian Zhang
> 
>