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



FAIL: Mesos tests failed to build.

Reviews applied: `['55334', '55335', '59687', '62997', '56721', '56722', 
'62853', '60471']`

Failed command: `cmake.exe --build . --target mesos-tests --config Debug`

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

Relevant logs:

- 
[mesos-tests-build-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/60471/logs/mesos-tests-build-cmake-stdout.log):

```
  C:\mesos\mesos\src\authentication\cram_md5\authenticatee.cpp(75): warning 
C4267: '=': conversion from 'size_t' to 'unsigned long', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\authentication\cram_md5\authenticatee.cpp(271): warning 
C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of 
data [C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\authentication\cram_md5\authenticatee.cpp(333): warning 
C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\authentication\cram_md5\authenticator.cpp(216): warning 
C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of 
data [C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\authentication\cram_md5\authenticator.cpp(242): warning 
C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of 
data [C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\authentication\cram_md5\authenticator.cpp(274): warning 
C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master/master.hpp(2059): warning C4244: 'return': 
conversion from 'unsigned __int64' to 'double', possible loss of data 
(compiling source file C:\mesos\mesos\src\common\protobuf_utils.cpp) 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\files\files.cpp(703): warning C4267: 'argument': 
conversion from 'size_t' to 'off_t', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master/master.hpp(2059): warning C4244: 'return': 
conversion from 'unsigned __int64' to 'double', possible loss of data 
(compiling source file C:\mesos\mesos\src\master\master.cpp) 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\master.cpp(5936): warning C4244: 'argument': 
conversion from 'const ::size_t' to 'double', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\master.cpp(6023): warning C4244: 'argument': 
conversion from 'const ::size_t' to 'double', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\master.cpp(6562): warning C4244: 'argument': 
conversion from 'const ::size_t' to 'double', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\master.cpp(8016): warning C4244: 'argument': 
conversion from 'const ::size_t' to 'double', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\master.cpp(9564): warning C4244: 'return': 
conversion from '::size_t' to 'double', possible loss of data 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master/master.hpp(2059): warning C4244: 'return': 
conversion from 'unsigned __int64' to 'double', possible loss of data 
(compiling source file C:\mesos\mesos\src\master\quota_handler.cpp) 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master/master.hpp(2059): warning C4244: 'return': 
conversion from 'unsigned __int64' to 'double', possible loss of data 
(compiling source file C:\mesos\mesos\src\master\weights_handler.cpp) 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\master\allocator\sorter\drf\sorter.cpp(589): warning 
C4267: 'return': conversion from 'size_t' to 'int', possible loss of data 
[C:\mesos\src\mesos.vcxproj]


"C:\mesos\src\tests\mesos-tests.vcxproj" (default target) (1) ->
"C:\mesos\src\mesos.vcxproj" (default target) (12) ->
(ClCompile target) -> 
  C:\mesos\mesos\src\slave/containerizer/mesos/provisioner/provisioner.hpp(37): 
fatal error C1083: Cannot open include file: 'process/rwmutex.hpp': No such 
file or directory (compiling source file 
C:\mesos\mesos\src\slave\containerizer\mesos\provisioner\provisioner.cpp) 
[C:\mesos\src\mesos.vcxproj]
  C:\mesos\mesos\src\slave/containerizer/mesos/provisioner/provisioner.hpp(37): 
fatal error C1083: Cannot open include file: 'process/rwmutex.hpp': No such 
file or directory (compiling source file 
C:\mesos\mesos\src\slave\containerizer\mesos\provisioner\docker\metadata_manager.cpp)
 [C:\mesos\src\mesos.vcxproj]

    228 Warning(s)
    2 Error(s)

Time Elapsed 00:14:48.48
```

- 
[mesos-tests-CMakeOutput.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/60471/logs/mesos-tests-CMakeOutput.log):

```
  Creating directory "C:\mesos\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_4c7e7.dir\Debug\cmTC_4c7e7.tlog\".

InitializeBuildStatus:

  Creating "cmTC_4c7e7.dir\Debug\cmTC_4c7e7.tlog\unsuccessfulbuild" because 
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\CL.exe /c /Zi 
/W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D 
COMPILER_SUPPORTS_CXX11 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 
/MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR 
/Fo"cmTC_4c7e7.dir\Debug\" /Fd"cmTC_4c7e7.dir\Debug\vc141.pdb" /Gd /TP 
/errorReport:queue C:\mesos\CMakeFiles\CMakeTmp\src.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D 
COMPILER_SUPPORTS_CXX11 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 
/MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR 
/Fo"cmTC_4c7e7.dir\Debug\" /Fd"cmTC_4c7e7.dir\Debug\vc141.pdb" /Gd /TP 
/errorReport:queue C:\mesos\CMakeFiles\CMakeTmp\src.cxx

  src.cxx

  

Link:

  C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\link.exe 
/ERRORREPORT:QUEUE /OUT:"C:\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_4c7e7.exe" 
/INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib 
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST 
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG 
/PDB:"C:/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4c7e7.pdb" /SUBSYSTEM:CONSOLE 
/TLBID:1 /DYNAMICBASE /NXCOMPAT 
/IMPLIB:"C:/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4c7e7.lib" /MACHINE:X64  
/machine:x64 cmTC_4c7e7.dir\Debug\src.obj

  cmTC_4c7e7.vcxproj -> C:\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_4c7e7.exe

  cmTC_4c7e7.vcxproj -> C:/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_4c7e7.pdb (Full 
PDB)

FinalizeBuildStatus:

  Deleting file "cmTC_4c7e7.dir\Debug\cmTC_4c7e7.tlog\unsuccessfulbuild".

  Touching "cmTC_4c7e7.dir\Debug\cmTC_4c7e7.tlog\cmTC_4c7e7.lastbuildstate".

Done Building Project "C:\mesos\CMakeFiles\CMakeTmp\cmTC_4c7e7.vcxproj" 
(default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:01.75


Source file was:
int main() { return 0; }
```

- 
[mesos-tests-CMakeError.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/60471/logs/mesos-tests-CMakeError.log):

```
PrepareForBuild:

  Creating directory "cmTC_fd650.dir\Debug\".

  Creating directory "C:\mesos\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_fd650.dir\Debug\cmTC_fd650.tlog\".

InitializeBuildStatus:

  Creating "cmTC_fd650.dir\Debug\cmTC_fd650.tlog\unsuccessfulbuild" because 
"AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\CL.exe /c /Zi 
/W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D UNICODE /D 
_UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /RTC1 /MTd /GS 
/fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_fd650.dir\Debug\" 
/Fd"cmTC_fd650.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue 
C:\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D 
UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- 
/RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline 
/Fo"cmTC_fd650.dir\Debug\" /Fd"cmTC_fd650.dir\Debug\vc141.pdb" /Gd /TC 
/errorReport:queue C:\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  CheckIncludeFile.c

  

C:\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot 
open include file: 'pthread.h': No such file or directory 
[C:\mesos\CMakeFiles\CMakeTmp\cmTC_fd650.vcxproj]

Done Building Project "C:\mesos\CMakeFiles\CMakeTmp\cmTC_fd650.vcxproj" 
(default targets) -- FAILED.



Build FAILED.



"C:\mesos\CMakeFiles\CMakeTmp\cmTC_fd650.vcxproj" (default target) (1) ->

(ClCompile target) -> 

  C:\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot 
open include file: 'pthread.h': No such file or directory 
[C:\mesos\CMakeFiles\CMakeTmp\cmTC_fd650.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:01.13



```

- Mesos Reviewbot Windows


On Oct. 17, 2017, 5:06 p.m., Zhitao Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60471/
> -----------------------------------------------------------
> 
> (Updated Oct. 17, 2017, 5:06 p.m.)
> 
> 
> Review request for mesos, Gilbert Song and Jason Lai.
> 
> 
> Bugs: MESOS-4945
>     https://issues.apache.org/jira/browse/MESOS-4945
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added tests for pruneImages for containerizer and provisioner.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/mesos_containerizer_tests.cpp 
> e61a85df6ec5308ccd2832e66df803b0ad7b53ee 
>   src/tests/containerizer/provisioner_docker_tests.cpp 
> 920be77b16178a4458d72145020c015130799ec4 
> 
> 
> Diff: https://reviews.apache.org/r/60471/diff/8/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Zhitao Li
> 
>

Reply via email to