----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67965/#review206518 -----------------------------------------------------------
FAIL: Some of the unit tests failed. Please check the relevant logs. Reviews applied: `['67965']` Failed command: `Start-MesosCITesting` All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/artifacts/mesos-reviewbot-testing/1988/mesos-review-67965 Relevant logs: - [stout-tests-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/artifacts/mesos-reviewbot-testing/1988/mesos-review-67965/logs/stout-tests-cmake-stdout.log): ``` d:\dcos\mesos\3rdparty\bzip2-1.0.6\src\bzip2-1.0.6\bzlib.c(1425): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\DCOS\mesos\3rdparty\bzip2-1.0.6\src\bzip2-1.0.6-build\bzip2.vcxproj] [D:\DCOS\mesos\3rdparty\bzip2-1.0.6.vcxproj] d:\dcos\mesos\3rdparty\bzip2-1.0.6\src\bzip2-1.0.6\bzlib.c(1431): warning C4996: 'fdopen': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fdopen. See online help for details. [D:\DCOS\mesos\3rdparty\bzip2-1.0.6\src\bzip2-1.0.6-build\bzip2.vcxproj] [D:\DCOS\mesos\3rdparty\bzip2-1.0.6.vcxproj] "D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj" (default target) (1) -> (ClCompile target) -> d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\archiver_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\flags_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\jsonify_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\json_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\ip_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\mac_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\protobuf_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\path_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\subcommand_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\copyfile_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\env_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\filesystem_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\rmdir_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\process_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\socket_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\strerror_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\stout\tests\os\sendfile_tests.cpp) [D:\DCOS\mesos\3rdparty\stout\tests\stout-tests.vcxproj] 141 Warning(s) 18 Error(s) Time Elapsed 00:19:44.22 ``` - [libprocess-tests-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/artifacts/mesos-reviewbot-testing/1988/mesos-review-67965/logs/libprocess-tests-cmake-stdout.log): ``` "D:\DCOS\mesos\3rdparty\libprocess\src\tests\libprocess-tests.vcxproj" (default target) (1) -> "D:\DCOS\mesos\3rdparty\libprocess\src\tests\benchmarks.vcxproj" (default target) (6) -> "D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj" (default target) (16) -> (ClCompile target) -> d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\authenticator.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\firewall.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\help.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\authenticator_manager.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\clock.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\http_proxy.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\http.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\latch.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\memory_profiler.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\logging.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\pid.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\metrics\metrics.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\profiler.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\reap.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\libwinio.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\poll_socket.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\time.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\socket.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\event_loop.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] 18 Warning(s) 20 Error(s) Time Elapsed 00:00:34.90 ``` - [mesos-tests-cmake-stdout.log](http://dcos-win.westus.cloudapp.azure.com/artifacts/mesos-reviewbot-testing/1988/mesos-review-67965/logs/mesos-tests-cmake-stdout.log): ``` "D:\DCOS\mesos\src\tests\mesos-tests.vcxproj" (default target) (1) -> "D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj" (default target) (17) -> (ClCompile target) -> d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\authenticator_manager.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\clock.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\help.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\latch.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\http_proxy.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\firewall.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\http.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\authenticator.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\memory_profiler.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\metrics\metrics.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\pid.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\process.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\profiler.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\socket.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\reap.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\logging.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\time.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\event_loop.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\poll_socket.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] d:\dcos\mesos\mesos\3rdparty\stout\include\stout\jsonify.hpp(36): fatal error C1083: Cannot open include file: 'rapidjson/stringbuffer.h': No such file or directory (compiling source file D:\DCOS\mesos\mesos\3rdparty\libprocess\src\windows\libwinio.cpp) [D:\DCOS\mesos\3rdparty\libprocess\src\process.vcxproj] 172 Warning(s) 20 Error(s) Time Elapsed 00:06:03.06 ``` - Mesos Reviewbot Windows On July 26, 2018, 7:14 p.m., Meng Zhu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/67965/ > ----------------------------------------------------------- > > (Updated July 26, 2018, 7:14 p.m.) > > > Review request for mesos, Benjamin Mahler, Gastón Kleiman, and Vinod Kone. > > > Bugs: MESOS-9086 > https://issues.apache.org/jira/browse/MESOS-9086 > > > Repository: mesos > > > Description > ------- > > The current ranges subtraction uses boost IntervalSet. > Based on the profiling result of MESOS-8989, the ranges > subtraction operation is about 2~3 times more expensive > than that of addition. The conversion cost from Ranges > to IntervalSet may be the culprit. > > This patch optimizes the ranges subtraction operation by > converting Ranges to a vector of internal sub-ranges, sorting > the vector based on sub-range start and then applying a > one-pass algorithm similar to that of addition. > > > Diffs > ----- > > src/common/values.cpp afe4137f82115dd4ec9967b5eba16a1dd15401c8 > src/tests/values_tests.cpp 2f5abedfd461c114d03f5e941d81ebe414188033 > src/v1/values.cpp d2c31f6c91998382dec1d8834b40613013716cdd > > > Diff: https://reviews.apache.org/r/67965/diff/4/ > > > Testing > ------- > > make check > > Benchmarking: > > tl:dr: more than 80% performance improvment across board. Performance of > subtraction is now on par or better than the addition, especially when there > are a large number of sub-ranges. > > Build with -O2 optimization, ran on a multicore machine with peak frequency > at 2.2GHz: > > Took 1.617706ms to perform 1000 'a += b' operations on ports:[1-6, 11-16, > 21-26...91-96] and ports:[3-8, 13-18, 23-28..., 93-98] with 10 sub-ranges > Took 1.607999ms to perform 1000 'a -= b' operations on ports:[1-6, 11-16, > 21-26...91-96] and ports:[3-8, 13-18, 23-28..., 93-98] with 10 sub-ranges > Took 3.094113ms to perform 1000 'a + b' operations on ports:[1-6, 11-16, > 21-26...91-96] and ports:[3-8, 13-18, 23-28..., 93-98] with 10 sub-ranges > Took 3.152291ms to perform 1000 'a - b' operations on ports:[1-6, 11-16, > 21-26...91-96] and ports:[3-8, 13-18, 23-28..., 93-98] with 10 sub-ranges > > Took 14.908924ms to perform 1000 'a += b' operations on ports:[1-6, 11-16, > 21-26...991-996] and ports:[3-8, 13-18, 23-28..., 993-998] with 100 sub-ranges > Took 13.564767ms to perform 1000 'a -= b' operations on ports:[1-6, 11-16, > 21-26...991-996] and ports:[3-8, 13-18, 23-28..., 993-998] with 100 sub-ranges > Took 25.523443ms to perform 1000 'a + b' operations on ports:[1-6, 11-16, > 21-26...991-996] and ports:[3-8, 13-18, 23-28..., 993-998] with 100 sub-ranges > Took 24.871216ms to perform 1000 'a - b' operations on ports:[1-6, 11-16, > 21-26...991-996] and ports:[3-8, 13-18, 23-28..., 993-998] with 100 sub-ranges > > Took 234.22483ms to perform 1000 'a += b' operations on ports:[1-6, 11-16, > 21-26...9991-9996] and ports:[3-8, 13-18, 23-28..., 9993-9998] with 1000 > sub-ranges > Took 144.417381ms to perform 1000 'a -= b' operations on ports:[1-6, 11-16, > 21-26...9991-9996] and ports:[3-8, 13-18, 23-28..., 9993-9998] with 1000 > sub-ranges > Took 322.548021ms to perform 1000 'a + b' operations on ports:[1-6, 11-16, > 21-26...9991-9996] and ports:[3-8, 13-18, 23-28..., 9993-9998] with 1000 > sub-ranges > Took 227.835441ms to perform 1000 'a - b' operations on ports:[1-6, 11-16, > 21-26...9991-9996] and ports:[3-8, 13-18, 23-28..., 9993-9998] with 1000 > sub-ranges > > > Thanks, > > Meng Zhu > >
