[ 
https://issues.apache.org/jira/browse/PROTON-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831923#comment-16831923
 ] 

Meng Zhou commented on PROTON-1993:
-----------------------------------

Looks like this issue has something to do with VS2017. I tried VS2017 32bit on 
0.22.0 and here is what I get:

[^LastTest-0.22.0.log]

 
{code:java}
// code placeholder
1>------ Build started: Project: RUN_TESTS, Configuration: Release Win32 ------
1>Test project C:/Users/Meng/Documents/projects/qpid-proton-0.22.0/build32
1> Start 1: cpp-codec_test
1> 1/25 Test #1: cpp-codec_test ................... Passed 0.06 sec
1> Start 2: cpp-connection_driver_test
1> 2/25 Test #2: cpp-connection_driver_test ....... Passed 0.06 sec
1> Start 3: cpp-interop_test
1> 3/25 Test #3: cpp-interop_test ................. Passed 0.06 sec
1> Start 4: cpp-message_test
1> 4/25 Test #4: cpp-message_test ................. Passed 0.06 sec
1> Start 5: cpp-map_test
1> 5/25 Test #5: cpp-map_test ..................... Passed 0.06 sec
1> Start 6: cpp-scalar_test
1> 6/25 Test #6: cpp-scalar_test .................. Passed 0.06 sec
1> Start 7: cpp-value_test
1> 7/25 Test #7: cpp-value_test ................... Passed 0.06 sec
1> Start 8: cpp-container_test
1> 8/25 Test #8: cpp-container_test ...............***Exception: SegFault 1.02 
sec
1> Start 9: cpp-url_test
1> 9/25 Test #9: cpp-url_test ..................... Passed 0.06 sec
1> Start 10: cpp-reconnect_test
1>10/25 Test #10: cpp-reconnect_test ...............***Exception: SegFault 1.00 
sec
1> Start 11: c-object-tests
1>11/25 Test #11: c-object-tests ................... Passed 0.09 sec
1> Start 12: c-message-tests
1>12/25 Test #12: c-message-tests .................. Passed 0.06 sec
1> Start 13: c-engine-tests
1>13/25 Test #13: c-engine-tests ................... Passed 0.06 sec
1> Start 14: c-refcount-tests
1>14/25 Test #14: c-refcount-tests ................. Passed 0.07 sec
1> Start 15: c-event-tests
1>15/25 Test #15: c-event-tests .................... Passed 0.06 sec
1> Start 16: c-data-tests
1>16/25 Test #16: c-data-tests ..................... Passed 0.06 sec
1> Start 17: c-condition-tests
1>17/25 Test #17: c-condition-tests ................ Passed 0.06 sec
1> Start 18: c-connection-driver-tests
1>18/25 Test #18: c-connection-driver-tests ........ Passed 0.06 sec
1> Start 19: c-ssl-tests
1>19/25 Test #19: c-ssl-tests ...................... Passed 0.04 sec
1> Start 20: c-parse-url-tests
1>20/25 Test #20: c-parse-url-tests ................ Passed 0.08 sec
1> Start 21: c-proactor-tests
1>21/25 Test #21: c-proactor-tests .................***Exception: SegFault 1.05 
sec
1> Start 22: c-fdlimit-tests
1>22/25 Test #22: c-fdlimit-tests .................. Passed 0.19 sec
1> Start 23: c-example-tests
1>23/25 Test #23: c-example-tests ..................***Failed 13.81 sec
1> Start 24: cpp-example-container
1>24/25 Test #24: cpp-example-container ............***Failed 11.95 sec
1> Start 25: cpp-example-container-ssl
1>25/25 Test #25: cpp-example-container-ssl ........***Failed 4.31 sec
1>
1>76% tests passed, 6 tests failed out of 25
1>
1>Total Test time (real) = 34.55 sec
1>
1>The following tests FAILED:
1> 8 - cpp-container_test (SEGFAULT)
1> 10 - cpp-reconnect_test (SEGFAULT)
1> 21 - c-proactor-tests (SEGFAULT)
1> 23 - c-example-tests (Failed)
1> 24 - cpp-example-container (Failed)
1> 25 - cpp-example-container-ssl (Failed)
1>Errors while running CTest
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: The command "setlocal
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: "C:\Program Files\CMake\bin\ctest.exe" 
--force-new-ctest-process -C Release
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmEnd
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: exit /b %1
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmDone
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :VCEnd" exited with code 8.
1>Done building project "RUN_TESTS.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped 
=========={code}

> Tests fail on Windows for release builds (without debug symbols)
> ----------------------------------------------------------------
>
>                 Key: PROTON-1993
>                 URL: https://issues.apache.org/jira/browse/PROTON-1993
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.26.0, proton-c-0.27.0
>         Environment: Windows 7 Pro 64 bit, as well as Windows 10 Pro 64 bit, 
> up to date MSVC 2017 compiler, CMake build system.
>            Reporter: Bogdan Bozi
>            Priority: Major
>         Attachments: LastTest-0.22.0.log, LastTest.zip
>
>
> Environment: project created using CMake, building only the C and C++ 
> binding, for 64 bit architecture using the MS VS2017 compiler.
>  
> Tests are ok for the following build configurations:
>  * Debug
>  * RelWithDebInfo
> Tests fail for the following build configurations:
>  * Release
>  * MinSizeRel
>  
> Issue is present with the current head, as well as the released 
> proton-c-0.26.0. Older versions were not tested but might fail too.
> Linux builds were not tested.
>  
> Test results for builds with debug symbols:
> {noformat}
> 1>------ Build started: Project: RUN_TESTS, Configuration: Debug x64 ------
> 1>Test project C:/Work/projects/qpid-proton/build
> 1> Start 1: c-example-tests
> 1> 1/22 Test #1: c-example-tests .................. Passed 1.68 sec
> 1> Start 2: c-core-test
> 1> 2/22 Test #2: c-core-test ...................... Passed 0.11 sec
> 1> Start 3: c-extra-test
> 1> 3/22 Test #3: c-extra-test ..................... Passed 0.07 sec
> 1> Start 4: c-proactor-test
> 1> 4/22 Test #4: c-proactor-test .................. Passed 8.29 sec
> 1> Start 5: c-fdlimit-tests
> 1> 5/22 Test #5: c-fdlimit-tests .................. Passed 0.10 sec
> 1> Start 6: fuzz-connection-driver
> 1> 6/22 Test #6: fuzz-connection-driver ........... Passed 0.96 sec
> 1> Start 7: fuzz-message-decode
> 1> 7/22 Test #7: fuzz-message-decode .............. Passed 0.28 sec
> 1> Start 8: fuzz-url
> 1> 8/22 Test #8: fuzz-url ......................... Passed 0.10 sec
> 1> Start 9: fuzz-sniff-header
> 1> 9/22 Test #9: fuzz-sniff-header ................ Passed 0.06 sec
> 1> Start 10: cpp-codec_test
> 1>10/22 Test #10: cpp-codec_test ................... Passed 0.07 sec
> 1> Start 11: cpp-connection_driver_test
> 1>11/22 Test #11: cpp-connection_driver_test ....... Passed 0.09 sec
> 1> Start 12: cpp-interop_test
> 1>12/22 Test #12: cpp-interop_test ................. Passed 0.06 sec
> 1> Start 13: cpp-message_test
> 1>13/22 Test #13: cpp-message_test ................. Passed 0.07 sec
> 1> Start 14: cpp-map_test
> 1>14/22 Test #14: cpp-map_test ..................... Passed 0.07 sec
> 1> Start 15: cpp-scalar_test
> 1>15/22 Test #15: cpp-scalar_test .................. Passed 0.07 sec
> 1> Start 16: cpp-value_test
> 1>16/22 Test #16: cpp-value_test ................... Passed 0.08 sec
> 1> Start 17: cpp-container_test
> 1>17/22 Test #17: cpp-container_test ............... Passed 0.60 sec
> 1> Start 18: cpp-reconnect_test
> 1>18/22 Test #18: cpp-reconnect_test ............... Passed 8.58 sec
> 1> Start 19: cpp-link_test
> 1>19/22 Test #19: cpp-link_test .................... Passed 1.10 sec
> 1> Start 20: cpp-url-test
> 1>20/22 Test #20: cpp-url-test ..................... Passed 0.07 sec
> 1> Start 21: cpp-example-container
> 1>21/22 Test #21: cpp-example-container ............ Passed 0.75 sec
> 1> Start 22: cpp-example-container-ssl
> 1>22/22 Test #22: cpp-example-container-ssl ........ Passed 0.46 sec
> 1>
> 1>100% tests passed, 0 tests failed out of 22
> 1>
> 1>Total Test time (real) = 23.76 sec
> ========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
> {noformat}
> Test results for builds without debug symbols:
> {noformat}
> 1>------ Build started: Project: RUN_TESTS, Configuration: Release x64 ------
> 1>Test project C:/Work/projects/qpid-proton/build
> 1> Start 1: c-example-tests
> 1> 1/22 Test #1: c-example-tests ..................***Failed 0.95 sec
> 1> Start 2: c-core-test
> 1> 2/22 Test #2: c-core-test ...................... Passed 0.07 sec
> 1> Start 3: c-extra-test
> 1> 3/22 Test #3: c-extra-test ..................... Passed 0.06 sec
> 1> Start 4: c-proactor-test
> 1> 4/22 Test #4: c-proactor-test ..................***Failed 0.06 sec
> 1> Start 5: c-fdlimit-tests
> 1> 5/22 Test #5: c-fdlimit-tests .................. Passed 0.10 sec
> 1> Start 6: fuzz-connection-driver
> 1> 6/22 Test #6: fuzz-connection-driver ........... Passed 0.46 sec
> 1> Start 7: fuzz-message-decode
> 1> 7/22 Test #7: fuzz-message-decode .............. Passed 0.25 sec
> 1> Start 8: fuzz-url
> 1> 8/22 Test #8: fuzz-url ......................... Passed 0.09 sec
> 1> Start 9: fuzz-sniff-header
> 1> 9/22 Test #9: fuzz-sniff-header ................ Passed 0.06 sec
> 1> Start 10: cpp-codec_test
> 1>10/22 Test #10: cpp-codec_test ................... Passed 0.06 sec
> 1> Start 11: cpp-connection_driver_test
> 1>11/22 Test #11: cpp-connection_driver_test ....... Passed 0.07 sec
> 1> Start 12: cpp-interop_test
> 1>12/22 Test #12: cpp-interop_test ................. Passed 0.06 sec
> 1> Start 13: cpp-message_test
> 1>13/22 Test #13: cpp-message_test ................. Passed 0.07 sec
> 1> Start 14: cpp-map_test
> 1>14/22 Test #14: cpp-map_test ..................... Passed 0.06 sec
> 1> Start 15: cpp-scalar_test
> 1>15/22 Test #15: cpp-scalar_test .................. Passed 0.06 sec
> 1> Start 16: cpp-value_test
> 1>16/22 Test #16: cpp-value_test ................... Passed 0.07 sec
> 1> Start 17: cpp-container_test
> 1>17/22 Test #17: cpp-container_test ...............***Failed 0.07 sec
> 1> Start 18: cpp-reconnect_test
> 1>18/22 Test #18: cpp-reconnect_test ...............***Failed 0.07 sec
> 1> Start 19: cpp-link_test
> 1>19/22 Test #19: cpp-link_test .................... Passed 1.11 sec
> 1> Start 20: cpp-url-test
> 1>20/22 Test #20: cpp-url-test ..................... Passed 0.08 sec
> 1> Start 21: cpp-example-container
> 1>21/22 Test #21: cpp-example-container ............***Failed 8.64 sec
> 1> Start 22: cpp-example-container-ssl
> 1>22/22 Test #22: cpp-example-container-ssl ........***Failed 0.45 sec
> 1>
> 1>73% tests passed, 6 tests failed out of 22
> 1>
> 1>Total Test time (real) = 13.03 sec
> 1>
> 1>The following tests FAILED:
> 1>    1 - c-example-tests (Failed)
> 1>    4 - c-proactor-test (Failed)
> 1>    17 - cpp-container_test (Failed)
> 1>    18 - cpp-reconnect_test (Failed)
> 1>    21 - cpp-example-container (Failed)
> 1>    22 - cpp-example-container-ssl (Failed)
> 1>Errors while running CTest
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: The command "setlocal
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: C:\Work\apps\cmake-3.13.3-win64-x64\bin\ctest.exe 
> --force-new-ctest-process -C Release
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: if %errorlevel% neq 0 goto :cmEnd
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: :cmEnd
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: :cmErrorLevel
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: exit /b %1
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: :cmDone
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: if %errorlevel% neq 0 goto :VCEnd
> 1>C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(138,5):
>  error MSB3073: :VCEnd" exited with code 8.
> 1>Done building project "RUN_TESTS.vcxproj" -- FAILED.
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to