mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos Reviewbot Windows <revi...@mesos.apache.org>
Subject Re: Review Request 65202: Adopted the libprocess `DEFAULT_TEST_TIMEOUT`.
Date Thu, 18 Jan 2018 00:38:50 GMT

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



FAIL: Mesos libprocess-tests failed to build

Reviews applied: `['65201', '65202']`

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

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

Relevant logs:

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

```
  Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25830.2 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  cl /c /ID:\DCOS\mesos\mesos\3rdparty\libprocess\src\tests.. /ID:\DCOS\mesos\mesos\3rdparty\libprocess\src..\include
/ID:\DCOS\mesos\mesos\3rdparty\stout\include /I"D:\DCOS\mesos\3rdparty\libapr-1.5.2\src\libapr-1.5.2\include"
/I"D:\DCOS\mesos\3rdparty\libapr-1.5.2\src\libapr-1.5.2-build" /I"D:\DCOS\mesos\3rdparty\boost-1.53.0\src\boost-1.53.0"
/I"D:\DCOS\mesos\3rdparty\curl-7.57.0\src\curl-7.57.0\include" /I"D:\DCOS\mesos\3rdparty\elfio-3.2\src\elfio-3.2"
/I"D:\DCOS\mesos\3rdparty\glog-da816ea70\src\glog-da816ea70\src\windows" /I"D:\DCOS\mesos\3rdparty\picojson-1.3.0\src\picojson-1.3.0"
/I"D:\DCOS\mesos\3rdparty\protobuf-3.5.0\src\protobuf-3.5.0\src" /I"D:\DCOS\mesos\3rdparty\zlib-1.2.8\src\zlib-1.2.8"
/I"D:\DCOS\mesos\3rdparty\zlib-1.2.8\src\zlib-1.2.8-build" /I"D:\DCOS\mesos\3rdparty\http_parser-2.6.2\src\http_parser-2.6.2"
/I"C:\OpenSSL-Win64\include" /I"D:\DCOS\mesos\3rdparty\googletest-1.8.0\src\googletest-1.8.0\googlemock\include"
/I"D:\DCOS\mesos\3rdparty\googletest-1.8.0\sr
 c\googletest-1.8.0\googletest\include" /Zi /W3 /WX- /diagnostics:classic /MP /Od /Ob0 /D
WIN32 /D _WINDOWS /D UNICODE /D _UNICODE /D __WINDOWS__ /D _SCL_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_WARNINGS
/D _CRT_NONSTDC_NO_WARNINGS /D "PKGLIBEXECDIR=\"WARNINGDONOTUSEME\"" /D "LIBDIR=\"WARNINGDONOTUSEME\""
/D "VERSION=\"1.6.0\"" /D "PKGDATADIR=\"\"" /D USE_SSL_SOCKET=1 /D CURL_STATICLIB /D NOGDI
/D NOMINMAX /D GOOGLE_GLOG_DLL_DECL= /D PICOJSON_USE_INT64 /D __STDC_FORMAT_MACROS /D HAVE_LIBZ
/D _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE
/Gm- /EHsc /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"test-linkee.dir\Debug\"
/Fd"test-linkee.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue  /bigobj /vd2 /permissive-
D:\DCOS\mesos\mesos\3rdparty\libprocess\src\tests\test_linkee.cpp
  test_linkee.cpp
  
  Unknown compiler version - please run the configure tests and report the results
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\3rdparty\libprocess\src\tests\Debug\test-linkee.exe"
/INCREMENTAL /NOLOGO ..\Debug\process.lib "......\libapr-1.5.2\src\libapr-1.5.2-build\Debug\libapr-1.lib"
"......\curl-7.57.0\src\curl-7.57.0-build\lib\Debug\libcurl-d.lib" crypt32.lib "......\glog-da816ea70\src\glog-da816ea70-build\Debug\glog.lib"
DbgHelp.lib "......\protobuf-3.5.0\src\protobuf-3.5.0-build\Debug\libprotobufd.lib" "......\zlib-1.2.8\src\zlib-1.2.8-build\Debug\zlibstaticd.lib"
Ws2_32.lib IPHlpAPI.lib Mswsock.lib Secur32.lib Userenv.lib "......\http_parser-2.6.2\src\http_parser-2.6.2-build\Debug\http_parser.lib"
"C:\OpenSSL-Win64\lib\VC\ssleay32MTd.lib" "C:\OpenSSL-Win64\lib\VC\libeay32MTd.lib" "......\libevent-2.1.5-beta\src\libevent-2.1.5-beta-build\lib\Debug\event.lib"
"......\googletest-1.8.0\src\googletest-1.8.0-build\googlemock\Debug\gmock.lib" "......\googlet
 est-1.8.0\src\googletest-1.8.0-build\googlemock\gtest\Debug\gtest.lib" 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/3rdparty/libprocess/src/tests/Debug/test-linkee.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/DCOS/mesos/3rdparty/libprocess/src/tests/Debug/test-linkee.lib"
/MACHINE:X64  /machine:x64 "test-linkee.dir\Debug\test_linkee.obj"
     Creating library D:/DCOS/mesos/3rdparty/libprocess/src/tests/Debug/test-linkee.lib and
object D:/DCOS/mesos/3rdparty/libprocess/src/tests/Debug/test-linkee.exp
  test-linkee.vcxproj -> D:\DCOS\mesos\3rdparty\libprocess\src\tests\Debug\test-linkee.exe
FinalizeBuildStatus:
  Deleting file "test-linkee.dir\Debug\test-linkee.tlog\unsuccessfulbuild".
  Touching "test-linkee.dir\Debug\test-linkee.tlog\test-linkee.lastbuildstate".
Done Building Project "D:\DCOS\mesos\3rdparty\libprocess\src\tests\test-linkee.vcxproj" (default
targets).
Done Building Project "D:\DCOS\mesos\3rdparty\libprocess\src\tests\libprocess-tests.vcxproj"
(default targets) -- FAILED.

Build FAILED.

"D:\DCOS\mesos\3rdparty\libprocess\src\tests\libprocess-tests.vcxproj" (default target) (1)
->
"D:\DCOS\mesos\3rdparty\libprocess\src\tests\ssl-client.vcxproj" (default target) (16) ->
(Link target) -> 
  ssl_client.obj : error LNK2001: unresolved external symbol "class Duration process::DEFAULT_TEST_TIMEOUT"
(?DEFAULT_TEST_TIMEOUT@process@@3VDuration@@A) [D:\DCOS\mesos\3rdparty\libprocess\src\tests\ssl-client.vcxproj]
  D:\DCOS\mesos\3rdparty\libprocess\src\tests\Debug\ssl-client.exe : fatal error LNK1120:
1 unresolved externals [D:\DCOS\mesos\3rdparty\libprocess\src\tests\ssl-client.vcxproj]

    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:24.02
```

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

```
  Creating directory "cmTC_228ed.dir\Debug\".

  Creating directory "D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\".

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

InitializeBuildStatus:

  Creating "cmTC_228ed.dir\Debug\cmTC_228ed.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_228ed.dir\Debug\" /Fd"cmTC_228ed.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_228ed.dir\Debug\" /Fd"cmTC_228ed.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_228ed.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_228ed.pdb" /SUBSYSTEM:CONSOLE
/TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/DCOS/mesos/CMakeFiles/CMakeTmp/Debug/cmTC_228ed.lib"
/MACHINE:X64  /machine:x64 cmTC_228ed.dir\Debug\src.obj

  cmTC_228ed.vcxproj -> D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\cmTC_228ed.exe

FinalizeBuildStatus:

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

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

Done Building Project "D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_228ed.vcxproj" (default targets).



Build succeeded.

    0 Warning(s)

    0 Error(s)



Time Elapsed 00:00:00.82


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

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

```
PrepareForBuild:

  Creating directory "cmTC_0aa4c.dir\Debug\".

  Creating directory "D:\DCOS\mesos\CMakeFiles\CMakeTmp\Debug\".

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

InitializeBuildStatus:

  Creating "cmTC_0aa4c.dir\Debug\cmTC_0aa4c.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_0aa4c.dir\Debug\" /Fd"cmTC_0aa4c.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_0aa4c.dir\Debug\" /Fd"cmTC_0aa4c.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_0aa4c.vcxproj]

Done Building Project "D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_0aa4c.vcxproj" (default targets)
-- FAILED.



Build FAILED.



"D:\DCOS\mesos\CMakeFiles\CMakeTmp\cmTC_0aa4c.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_0aa4c.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.49



```

- Mesos Reviewbot Windows


On Jan. 17, 2018, 3:55 p.m., James Peach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65202/
> -----------------------------------------------------------
> 
> (Updated Jan. 17, 2018, 3:55 p.m.)
> 
> 
> Review request for mesos, Benjamin Bannier and Gaston Kleiman.
> 
> 
> Bugs: MESOS-7016
>     https://issues.apache.org/jira/browse/MESOS-7016
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Rather than hard-coding a 15sec test timeout, use the libprocess
> `DEFAULT_TEST_TIMEOUT` variable so that this can be globally
> tuned. Added a test flag `--default_timeout` that can be used
> to set the `DEFAULT_TEST_TIMEOUT` on a test run.
> 
> 
> Diffs
> -----
> 
>   src/logging/flags.hpp fe40a11c6a5e3ef44ecf008d1aa03d4e74e59859 
>   src/tests/agent_container_api_tests.cpp 618569277545205017320aaf1f3a70e540d35e30 
>   src/tests/containerizer/cgroups_isolator_tests.cpp 5412a7eccaa836a7f182772f1eb33b10298c96a1

>   src/tests/containerizer/xfs_quota_tests.cpp d761ea46fd4f12c6bed74090bf5ead7587f16811

>   src/tests/disk_quota_tests.cpp 4e25e32bf784ea818e18497fe3ebc9f94c5861ff 
>   src/tests/fetcher_cache_tests.cpp 7db7b7dcef27b1686ccae5a7408ff2811a3b9255 
>   src/tests/flags.hpp df4d4588f405ea884bb89021264e70218e054fae 
>   src/tests/flags.cpp 4542f3443830474edd97e8b695af0c61685e947c 
>   src/tests/gc_tests.cpp 0e34c017f2c629b527915218f517b88d8392aa4b 
>   src/tests/main.cpp f945ac9e8858998174b4c2785f6a5612bae66a41 
>   src/tests/master_contender_detector_tests.cpp 015d310b72a152829641d436f7cb558f72dfd77c

>   src/tests/mesos.hpp 16c75bb0ca570dfb7089743344cf38acdb517705 
>   src/tests/registrar_tests.cpp cbb58c1cd72dc13ed16b5465452d17526255c763 
>   src/tests/slave_recovery_tests.cpp 641fc6e82be19bdea55d35ec8f34a862de58489e 
>   src/tests/slave_tests.cpp 59e3065ad9aadbd90cdfd32e830b433b88d6de86 
> 
> 
> Diff: https://reviews.apache.org/r/65202/diff/1/
> 
> 
> Testing
> -------
> 
> make check (Fedora 27).
> 
> 
> Thanks,
> 
> James Peach
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message