You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/06/09 16:50:18 UTC

[jira] [Commented] (MESOS-7342) Port Docker tests

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

Andrew Schwartzmeyer commented on MESOS-7342:
---------------------------------------------

This is odd. I have two separate builds of Mesos on Windows right now, and in one of them, these tests try to run:

{{.\src\mesos-tests.exe --gtest_filter="ROOT_DOCKER*"}}

{noformat}
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from ROOT_DOCKER_DockerAndMesosContainerizers/DefaultExecutorTest
[ RUN      ] ROOT_DOCKER_DockerAndMesosContainerizers/DefaultExecutorTest.TaskRunning/0

C:\Users\andschwa\src\mesos\3rdparty\libprocess\include\process/gmock.hpp(209): ERROR: this mock object (used in test RO
OT_DOCKER_DockerAndMesosContainerizers/DefaultExecutorTest.TaskRunning/0) should be deleted but never is. Its address is
 @000002024AEB5888.
C:\Users\andschwa\src\mesos\src\tests\default_executor_tests.cpp(131): ERROR: this mock object (used in test ROOT_DOCKER
_DockerAndMesosContainerizers/DefaultExecutorTest.TaskRunning/0) should be deleted but never is. Its address is @0000020
24CBAF220.
C:\Users\andschwa\src\mesos\src\tests\mock_registrar.cpp(54): ERROR: this mock object (used in test ROOT_DOCKER_DockerAn
dMesosContainerizers/DefaultExecutorTest.TaskRunning/0) should be deleted but never is. Its address is @000002024D6B4E70
.
ERROR: 3 leaked mock objects found at program exit.
{noformat}


And in the other:

{noformat}
[==========] Running 0 tests from 0 test cases.
[==========] 0 tests from 0 test cases ran. (16 ms total)
[  PASSED  ] 0 tests.
{noformat}

I'm trying to identify the difference between the two builds that is causing this.

> Port Docker tests
> -----------------
>
>                 Key: MESOS-7342
>                 URL: https://issues.apache.org/jira/browse/MESOS-7342
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker
>         Environment: Windows 10
>            Reporter: Andrew Schwartzmeyer
>            Assignee: John Kordich
>              Labels: microsoft, windows
>
> While one of Daniel Pravat's last acts was introducing the the Docker containerizer for Windows, we don't have tests. We need to port `docker_tests.cpp` and `docker_containerizer_tests.cpp` to Windows.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)