----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64618/#review193826 -----------------------------------------------------------
FAIL: Mesos tests failed to build. Reviews applied: `['64618']` 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/64618 Relevant logs: - [mesos-tests-build-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64618/logs/mesos-tests-build-cmake-stdout.log): ``` D:\DCOS\mesos\mesos\src\master/master.hpp(2093): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data (compiling source file D:\DCOS\mesos\mesos\src\master\master.cpp) [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master/master.hpp(2093): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data (compiling source file D:\DCOS\mesos\mesos\src\master\quota_handler.cpp) [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(6314): warning C4244: 'argument': conversion from 'const ::size_t' to 'double', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(6416): warning C4244: 'argument': conversion from 'const ::size_t' to 'double', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(6981): warning C4244: 'argument': conversion from 'const ::size_t' to 'double', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(9105): warning C4244: 'argument': conversion from 'const ::size_t' to 'double', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(10946): warning C4244: 'return': conversion from '::size_t' to 'double', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\allocator\sorter\drf\sorter.cpp(589): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master/master.hpp(2093): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data (compiling source file D:\DCOS\mesos\mesos\src\master\weights_handler.cpp) [D:\DCOS\mesos\src\mesos.vcxproj] "D:\DCOS\mesos\src\tests\mesos-tests.vcxproj" (default target) (1) -> "D:\DCOS\mesos\src\mesos.vcxproj" (default target) (12) -> (ClCompile target) -> D:\DCOS\mesos\mesos\src\master\master.cpp(5897): error C2039: 'fromBytes': is not a member of 'mesos::UUID' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5897): error C3861: 'fromBytes': identifier not found [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5897): error C2228: left of '.get' must have class/struct/union [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5934): error C2440: 'initializing': cannot convert from 'Option<T>' to 'Option<mesos::UUID>' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5945): error C2664: 'mesos::OfferOperation *mesos::internal::master::Slave::getOfferOperation(const id::UUID &) const': cannot convert argument 1 from 'const mesos::UUID' to 'const id::UUID &' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5961): error C2039: 'set_status_uuid': is not a member of 'mesos::internal::OfferOperationUpdateAcknowledgementMessage' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5961): error C2039: 'toBytes': is not a member of 'mesos::UUID' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5962): error C2039: 'set_operation_uuid': is not a member of 'mesos::internal::OfferOperationUpdateAcknowledgementMessage' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5962): error C2039: 'toBytes': is not a member of 'mesos::UUID' [D:\DCOS\mesos\src\mesos.vcxproj] D:\DCOS\mesos\mesos\src\master\master.cpp(5978): error C2039: 'toBytes': is not a member of 'mesos::UUID' [D:\DCOS\mesos\src\mesos.vcxproj] 135 Warning(s) 10 Error(s) Time Elapsed 00:02:27.55 ``` - [mesos-tests-CMakeOutput.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64618/logs/mesos-tests-CMakeOutput.log): ``` Creating directory "cmTC_2a160.dir\Debug\". Creating directory "D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_2a160.dir\Debug\cmTC_2a160.tlog\". InitializeBuildStatus: Creating "cmTC_2a160.dir\Debug\cmTC_2a160.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\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_2a160.dir\Debug\" /Fd"cmTC_2a160.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue D:\DCOS\mesos\CMakeFiles\CMakeTmp\src.cxx Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25830.2 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_2a160.dir\Debug\" /Fd"cmTC_2a160.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue D:\DCOS\mesos\CMakeFiles\CMakeTmp\src.cxx src.cxx Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_2a160.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:"D:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_2a160.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_2a160.lib" /MACHINE:X64 /machine:x64 cmTC_2a160.dir\Debug\src.obj cmTC_2a160.vcxproj -> D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_2a160.exe FinalizeBuildStatus: Deleting file "cmTC_2a160.dir\Debug\cmTC_2a160.tlog\unsuccessfulbuild". Touching "cmTC_2a160.dir\Debug\cmTC_2a160.tlog\cmTC_2a160.lastbuildstate". Done Building Project "D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_2a160.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:00.99 Source file was: int main() { return 0; } ``` - [mesos-tests-CMakeError.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64618/logs/mesos-tests-CMakeError.log): ``` PrepareForBuild: Creating directory "cmTC_1451b.dir\Debug\". Creating directory "D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_1451b.dir\Debug\cmTC_1451b.tlog\". InitializeBuildStatus: Creating "cmTC_1451b.dir\Debug\cmTC_1451b.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\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_1451b.dir\Debug\" /Fd"cmTC_1451b.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue D:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25830.2 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_1451b.dir\Debug\" /Fd"cmTC_1451b.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue D:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c CheckIncludeFile.c D:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_1451b.vcxproj] Done Building Project "D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_1451b.vcxproj" (default targets) -- FAILED. Build FAILED. "D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_1451b.vcxproj" (default target) (1) -> (ClCompile target) -> D:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_1451b.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.57 ``` - Mesos Reviewbot Windows On Dec. 14, 2017, 6:27 p.m., Gaston Kleiman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/64618/ > ----------------------------------------------------------- > > (Updated Dec. 14, 2017, 6:27 p.m.) > > > Review request for mesos, Chun-Hung Hsiao, Greg Mann, and Jie Yu. > > > Bugs: MESOS-8184 > https://issues.apache.org/jira/browse/MESOS-8184 > > > Repository: mesos > > > Description > ------- > > Implemented the master's ACKNOWLEDGE_OFFER_OPERATION_UPDATE handler. > > > Diffs > ----- > > src/master/master.cpp e082da8267fa22c26818c67bd6da573fe1808696 > src/master/metrics.hpp f701efec0a82d6ba72b2414f739fcd1cd7ee2491 > src/master/metrics.cpp 64fc829ac3b58d95fc0bd074571a46518a80bbba > > > Diff: https://reviews.apache.org/r/64618/diff/1/ > > > Testing > ------- > > `make check` on GNU/Linux > > > Thanks, > > Gaston Kleiman > >