----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63915/#review191369 -----------------------------------------------------------
FAIL: mesos-java failed to build. Reviews applied: `['63628', '63629', '63630', '63631', '63632', '63633', '63634', '63635', '63636', '63637', '63638', '63641', '63761', '63913', '63914', '63915']` Failed command: `cmake.exe --build . --target mesos-java` All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63915 Relevant logs: - [mesos-java-build-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63915/logs/mesos-java-build-cmake-stdout.log): ``` C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::network::internal::PollSocketImpl::accept::<lambda_93cedaaa4607c5912799eb2cdcce441b>' to 'lambda::CallableOnce<process::Future<std::shared_ptr<_Ty>> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl *)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const process::network::Address &),std::shared_ptr<process::network::internal::PollSocketImpl>,const process::network::Address &>' to 'lambda::CallableOnce<process::Future<Nothing> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl *)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const char *,::size_t),const std::shared_ptr<process::network::internal::PollSocketImpl> &,const char *&,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl *)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd,off_t,::size_t),const std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd &,off_t &,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl *)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,const char *,::size_t),std::shared_ptr<process::network::internal::PollSocketImpl>,const char *&,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<::size_t> (__cdecl *)(const std::shared_ptr<process::network::internal::PollSocketImpl> &,int_fd,off_t,::size_t),std::shared_ptr<process::network::internal::PollSocketImpl>,int_fd &,off_t &,size_t &>' to 'lambda::CallableOnce<process::Future<::size_t> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(354): error C2665: 'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\reap.cpp) [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<std::string> (__cdecl *)(const std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string>,::size_t,boost::shared_array<char>,::size_t),const std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string> &,size_t &,boost::shared_array<char> &,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<std::string> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<std::string> (__cdecl *)(const std::shared_ptr<_Ty> &,const Option<ssize_t> &,process::Owned<std::string>,::size_t,boost::shared_array<char>,::size_t),std::shared_ptr<_Ty>,const Option<ssize_t> &,process::Owned<std::string> &,size_t &,boost::shared_array<char> &,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<std::string> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl *)(const std::shared_ptr<_Ty> &,process::Owned<std::string>,::size_t,::size_t),const std::shared_ptr<_Ty> &,process::Owned<std::string> &,size_t &,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<Nothing> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'std::_Binder<std::_Unforced,process::Future<Nothing> (__cdecl *)(const std::shared_ptr<_Ty> &,process::Owned<std::string>,::size_t,::size_t),std::shared_ptr<_Ty>,process::Owned<std::string> &,int,const std::_Ph<1> &>' to 'lambda::CallableOnce<process::Future<Nothing> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(354): error C2665: 'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp) [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(255): error C2665: 'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp) [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::convert::<lambda_834bf78f8edef2fe9e55e2adf504e247>' to 'lambda::CallableOnce<process::Future<process::Owned<process::http::Request>> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::parse::<lambda_fa7fe7a891de0631ef3c250851666c4d>' to 'lambda::CallableOnce<process::Future<process::MessageEvent *> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(452): error C2665: 'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp) [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::ProcessManager::__processes__::<lambda_a7d64029608c7f85445bdf3fcb302af9>' to 'lambda::CallableOnce<process::Future<process::http::Response> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(1149): error C2664: 'void std::vector<lambda::CallableOnce<void (const process::Future<Option<T>> &)>,std::allocator<_Ty>>::push_back(_Ty &&)': cannot convert argument 1 from 'std::_Binder<std::_Unforced,void (__cdecl *)(process::Owned<process::Latch>),process::Owned<process::Latch> &>' to 'const lambda::CallableOnce<void (const process::Future<Option<T>> &)> &' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::network::internal::Socket<process::network::inet::Address>::accept::<lambda_4355d0ac067a661c69dc94b9e2900c01>' to 'lambda::CallableOnce<process::Future<process::network::internal::Socket<process::network::inet::Address>> (const T &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(297): error C2440: '<function-style-cast>': cannot convert from 'lambda::_Partial<process::Future<Option<T>>::onAny::<lambda_ff27bbeda6bc51debecbb94ef194a477>,lambda::_BindProtect<std::_Binder<std::_Unforced,void (__cdecl &)(const process::Future<Option<T>> &,process::Promise<Option<T>> *,const process::Subprocess &),const std::_Ph<1> &,process::Promise<Option<T>> *&,process::Subprocess &>>,const std::_Ph<1> &>' to 'lambda::CallableOnce<void (const process::Future<Option<T>> &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(327): error C2440: '<function-style-cast>': cannot convert from 'lambda::_Partial<process::Future<short>::onDiscard::<lambda_2e7fc8b7307a3799349322f38d41a916>,lambda::_BindProtect<std::_Binder<std::_Unforced,void (__cdecl *)(const std::weak_ptr<_Ty> &,short),std::weak_ptr<_Ty> &,short &>>>' to 'lambda::CallableOnce<void (void)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/dispatch.hpp(354): error C2665: 'lambda::CallableOnce<void (process::ProcessBase *)>::CallableOnce': none of the 3 overloads could convert all the argument types (compiling source file C:\DCOS\mesos\mesos\3rdparty\libprocess\src\jwt_authenticator.cpp) [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(327): error C2440: '<function-style-cast>': cannot convert from 'lambda::_Partial<process::Future<::size_t>::onDiscard::<lambda_991c22fd862988aaa0f7ef18667682b8>,_Ty>' to 'lambda::CallableOnce<void (void)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] C:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/future.hpp(412): error C2440: '<function-style-cast>': cannot convert from 'process::network::internal::LibeventSSLSocketImpl::accept::<lambda_1413eb46764582dd3b152d21ca092bb0>' to 'lambda::CallableOnce<process::Future<std::shared_ptr<_Ty>> (const process::Future<std::shared_ptr<_Ty>> &)>' [C:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] 347 Warning(s) 36 Error(s) Time Elapsed 00:41:23.32 ``` - [mesos-java-build-CMakeOutput.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63915/logs/mesos-java-build-CMakeOutput.log): ``` Creating directory "C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_ce27d.dir\Debug\cmTC_ce27d.tlog\". InitializeBuildStatus: Creating "cmTC_ce27d.dir\Debug\cmTC_ce27d.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_ce27d.dir\Debug\" /Fd"cmTC_ce27d.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue C:\DCOS\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_ce27d.dir\Debug\" /Fd"cmTC_ce27d.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue C:\DCOS\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:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_ce27d.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:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_ce27d.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_ce27d.lib" /MACHINE:X64 /machine:x64 cmTC_ce27d.dir\Debug\src.obj cmTC_ce27d.vcxproj -> C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_ce27d.exe cmTC_ce27d.vcxproj -> C:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_ce27d.pdb (Full PDB) FinalizeBuildStatus: Deleting file "cmTC_ce27d.dir\Debug\cmTC_ce27d.tlog\unsuccessfulbuild". Touching "cmTC_ce27d.dir\Debug\cmTC_ce27d.tlog\cmTC_ce27d.lastbuildstate". Done Building Project "C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_ce27d.vcxproj" (default targets). Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:01.82 Source file was: int main() { return 0; } ``` - [mesos-java-build-CMakeError.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/63915/logs/mesos-java-build-CMakeError.log): ``` PrepareForBuild: Creating directory "cmTC_e37b9.dir\Debug\". Creating directory "C:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_e37b9.dir\Debug\cmTC_e37b9.tlog\". InitializeBuildStatus: Creating "cmTC_e37b9.dir\Debug\cmTC_e37b9.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_e37b9.dir\Debug\" /Fd"cmTC_e37b9.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue C:\DCOS\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_e37b9.dir\Debug\" /Fd"cmTC_e37b9.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c CheckIncludeFile.c C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_e37b9.vcxproj] Done Building Project "C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_e37b9.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_e37b9.vcxproj" (default target) (1) -> (ClCompile target) -> C:\DCOS\mesos\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_e37b9.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:01.76 ``` - Mesos Reviewbot Windows On Nov. 17, 2017, 2:02 p.m., Dmitry Zhuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63915/ > ----------------------------------------------------------- > > (Updated Nov. 17, 2017, 2:02 p.m.) > > > Review request for mesos, Benjamin Mahler and Michael Park. > > > Bugs: MESOS-6972 > https://issues.apache.org/jira/browse/MESOS-6972 > > > Repository: mesos > > > Description > ------- > > Tasks can be moved into master's internal data structures from message > to save some cycles on copying the data. > > > Diffs > ----- > > src/master/master.hpp a309fc78ee2613762f3d5d22ac7559afc7aac4a3 > src/master/master.cpp 2ddd67ada3731803b00883b6a1f32b20c1bb238f > > > Diff: https://reviews.apache.org/r/63915/diff/1/ > > > Testing > ------- > > make check > > Ran benchmark with `--enable-optimize --enable-lock-free-run-queue > --enable-lock-free-event-queue > --enable-last-in-first-out-fixed-size-semaphore` > `./mesos-tests.sh --benchmark > --gtest_filter=AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.*` > On 2608c0b8f62a9359d3d23e1724b6e91f316cfc76 (includes protobuf-3.5.0): > ``` > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/0 > Starting reregistration for all agents > Reregistered 2000 agents with a total of 100000 running tasks and 100000 > completed tasks in 16.202206916secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/0 > (30065 ms) > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/1 > Starting reregistration for all agents > Reregistered 2000 agents with a total of 200000 running tasks and 0 completed > tasks in 30.509804836secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/1 > (57145 ms) > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/2 > Starting reregistration for all agents > Reregistered 20000 agents with a total of 100000 running tasks and 0 > completed tasks in 22.581999748secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/2 > (39629 ms) > ``` > > On this chain of patches: > ``` > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/0 > Starting reregistration for all agents > Reregistered 2000 agents with a total of 100000 running tasks and 100000 > completed tasks in 8.456615936secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/0 > (22659 ms) > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/1 > Starting reregistration for all agents > Reregistered 2000 agents with a total of 200000 running tasks and 0 completed > tasks in 15.09102354secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/1 > (43828 ms) > [ RUN ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/2 > Starting reregistration for all agents > Reregistered 20000 agents with a total of 100000 running tasks and 0 > completed tasks in 16.122729767secs > [ OK ] > AgentFrameworkTaskCount/MasterFailover_BENCHMARK_Test.AgentReregistrationDelay/2 > (33182 ms) > ``` > > > Thanks, > > Dmitry Zhuk > >